[
  {
    "path": ".gitignore",
    "content": "# Compiled Object files, Static and Dynamic libs (Shared Objects)\n*.o\n*.a\n*.so\n\n# Folders\n_obj\n_test\n\n# Architecture specific extensions/prefixes\n*.[568vq]\n[568vq].out\n\n*.cgo1.go\n*.cgo2.c\n_cgo_defun.c\n_cgo_gotypes.go\n_cgo_export.*\n\n_testmain.go\n\n*.exe\n*.test\n*.prof\n\n\ntest.*\n\nnode_modules/\nnohup.out\n"
  },
  {
    "path": ".travis.yml",
    "content": "sudo: false\nlanguage: go\n\nenv:\n  - SOURCE_MAP_SUPPORT=false TRAVIS_NODE_VERSION=\"5.1\" CXX=\"g++-4.8\"\n\ngo:\n  - 1.8\n  \ninstall:\n  - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION\n  - node -v\n  - go get -u github.com/gopherjs/gopherjs\n  - npm install\n  - npm install --global node-gyp\n  - pushd $HOME/gopath/src/github.com/gopherjs/gopherjs/node-syscall && node-gyp rebuild && mkdir -p ~/.node_libraries/ && cp build/Release/syscall.node ~/.node_libraries/syscall.node && popd\n\nscript:\n  - make check\n\nos:\n  - linux\n\naddons:\n  apt:\n    sources:\n      - ubuntu-toolchain-r-test\n    packages:\n      - g++-4.8\n\nnotifications:\n  email: true\n"
  },
  {
    "path": "LICENSE.md",
    "content": "Apache License\n==============\n\n_Version 2.0, January 2004_\n_&lt;<http://www.apache.org/licenses/>&gt;_\n\n### Terms and Conditions for use, reproduction, and distribution\n\n#### 1. Definitions\n\n“License” shall mean the terms and conditions for use, reproduction, and\ndistribution as defined by Sections 1 through 9 of this document.\n\n“Licensor” shall mean the copyright owner or entity authorized by the copyright\nowner that is granting the License.\n\n“Legal Entity” shall mean the union of the acting entity and all other entities\nthat control, are controlled by, or are under common control with that entity.\nFor the purposes of this definition, “control” means **(i)** the power, direct or\nindirect, to cause the direction or management of such entity, whether by\ncontract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the\noutstanding shares, or **(iii)** beneficial ownership of such entity.\n\n“You” (or “Your”) shall mean an individual or Legal Entity exercising\npermissions granted by this License.\n\n“Source” form shall mean the preferred form for making modifications, including\nbut not limited to software source code, documentation source, and configuration\nfiles.\n\n“Object” form shall mean any form resulting from mechanical transformation or\ntranslation of a Source form, including but not limited to compiled object code,\ngenerated documentation, and conversions to other media types.\n\n“Work” shall mean the work of authorship, whether in Source or Object form, made\navailable under the License, as indicated by a copyright notice that is included\nin or attached to the work (an example is provided in the Appendix below).\n\n“Derivative Works” shall mean any work, whether in Source or Object form, that\nis based on (or derived from) the Work and for which the editorial revisions,\nannotations, elaborations, or other modifications represent, as a whole, an\noriginal work of authorship. For the purposes of this License, Derivative Works\nshall not include works that remain separable from, or merely link (or bind by\nname) to the interfaces of, the Work and Derivative Works thereof.\n\n“Contribution” shall mean any work of authorship, including the original version\nof the Work and any modifications or additions to that Work or Derivative Works\nthereof, that is intentionally submitted to Licensor for inclusion in the Work\nby the copyright owner or by an individual or Legal Entity authorized to submit\non behalf of the copyright owner. For the purposes of this definition,\n“submitted” means any form of electronic, verbal, or written communication sent\nto the Licensor or its representatives, including but not limited to\ncommunication on electronic mailing lists, source code control systems, and\nissue tracking systems that are managed by, or on behalf of, the Licensor for\nthe purpose of discussing and improving the Work, but excluding communication\nthat is conspicuously marked or otherwise designated in writing by the copyright\nowner as “Not a Contribution.”\n\n“Contributor” shall mean Licensor and any individual or Legal Entity on behalf\nof whom a Contribution has been received by Licensor and subsequently\nincorporated within the Work.\n\n#### 2. Grant of Copyright License\n\nSubject to the terms and conditions of this License, each Contributor hereby\ngrants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,\nirrevocable copyright license to reproduce, prepare Derivative Works of,\npublicly display, publicly perform, sublicense, and distribute the Work and such\nDerivative Works in Source or Object form.\n\n#### 3. Grant of Patent License\n\nSubject to the terms and conditions of this License, each Contributor hereby\ngrants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,\nirrevocable (except as stated in this section) patent license to make, have\nmade, use, offer to sell, sell, import, and otherwise transfer the Work, where\nsuch license applies only to those patent claims licensable by such Contributor\nthat are necessarily infringed by their Contribution(s) alone or by combination\nof their Contribution(s) with the Work to which such Contribution(s) was\nsubmitted. If You institute patent litigation against any entity (including a\ncross-claim or counterclaim in a lawsuit) alleging that the Work or a\nContribution incorporated within the Work constitutes direct or contributory\npatent infringement, then any patent licenses granted to You under this License\nfor that Work shall terminate as of the date such litigation is filed.\n\n#### 4. Redistribution\n\nYou may reproduce and distribute copies of the Work or Derivative Works thereof\nin any medium, with or without modifications, and in Source or Object form,\nprovided that You meet the following conditions:\n\n* **(a)** You must give any other recipients of the Work or Derivative Works a copy of\nthis License; and\n* **(b)** You must cause any modified files to carry prominent notices stating that You\nchanged the files; and\n* **(c)** You must retain, in the Source form of any Derivative Works that You distribute,\nall copyright, patent, trademark, and attribution notices from the Source form\nof the Work, excluding those notices that do not pertain to any part of the\nDerivative Works; and\n* **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any\nDerivative Works that You distribute must include a readable copy of the\nattribution notices contained within such NOTICE file, excluding those notices\nthat do not pertain to any part of the Derivative Works, in at least one of the\nfollowing places: within a NOTICE text file distributed as part of the\nDerivative Works; within the Source form or documentation, if provided along\nwith the Derivative Works; or, within a display generated by the Derivative\nWorks, if and wherever such third-party notices normally appear. The contents of\nthe NOTICE file are for informational purposes only and do not modify the\nLicense. You may add Your own attribution notices within Derivative Works that\nYou distribute, alongside or as an addendum to the NOTICE text from the Work,\nprovided that such additional attribution notices cannot be construed as\nmodifying the License.\n\nYou may add Your own copyright statement to Your modifications and may provide\nadditional or different license terms and conditions for use, reproduction, or\ndistribution of Your modifications, or for any such Derivative Works as a whole,\nprovided Your use, reproduction, and distribution of the Work otherwise complies\nwith the conditions stated in this License.\n\n#### 5. Submission of Contributions\n\nUnless You explicitly state otherwise, any Contribution intentionally submitted\nfor inclusion in the Work by You to the Licensor shall be under the terms and\nconditions of this License, without any additional terms or conditions.\nNotwithstanding the above, nothing herein shall supersede or modify the terms of\nany separate license agreement you may have executed with Licensor regarding\nsuch Contributions.\n\n#### 6. Trademarks\n\nThis License does not grant permission to use the trade names, trademarks,\nservice marks, or product names of the Licensor, except as required for\nreasonable and customary use in describing the origin of the Work and\nreproducing the content of the NOTICE file.\n\n#### 7. Disclaimer of Warranty\n\nUnless required by applicable law or agreed to in writing, Licensor provides the\nWork (and each Contributor provides its Contributions) on an “AS IS” BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,\nincluding, without limitation, any warranties or conditions of TITLE,\nNON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are\nsolely responsible for determining the appropriateness of using or\nredistributing the Work and assume any risks associated with Your exercise of\npermissions under this License.\n\n#### 8. Limitation of Liability\n\nIn no event and under no legal theory, whether in tort (including negligence),\ncontract, or otherwise, unless required by applicable law (such as deliberate\nand grossly negligent acts) or agreed to in writing, shall any Contributor be\nliable to You for damages, including any direct, indirect, special, incidental,\nor consequential damages of any character arising as a result of this License or\nout of the use or inability to use the Work (including but not limited to\ndamages for loss of goodwill, work stoppage, computer failure or malfunction, or\nany and all other commercial damages or losses), even if such Contributor has\nbeen advised of the possibility of such damages.\n\n#### 9. Accepting Warranty or Additional Liability\n\nWhile redistributing the Work or Derivative Works thereof, You may choose to\noffer, and charge a fee for, acceptance of support, warranty, indemnity, or\nother liability obligations and/or rights consistent with this License. However,\nin accepting such obligations, You may act only on Your own behalf and on Your\nsole responsibility, not on behalf of any other Contributor, and only if You\nagree to indemnify, defend, and hold each Contributor harmless for any liability\nincurred by, or claims asserted against, such Contributor by reason of your\naccepting any such warranty or additional liability.\n\n_END OF TERMS AND CONDITIONS_\n\n### APPENDIX: How to apply the Apache License to your work\n\nTo apply the Apache License to your work, attach the following boilerplate\nnotice, with the fields enclosed by brackets `[]` replaced with your own\nidentifying information. (Don't include the brackets!) The text should be\nenclosed in the appropriate comment syntax for the file format. We also\nrecommend that a file or class name and description of purpose be included on\nthe same “printed page” as the copyright notice for easier identification within\nthird-party archives.\n\n    Copyright [yyyy] [name of copyright owner]\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n"
  },
  {
    "path": "Makefile",
    "content": "DIRS=$(shell go list -f {{.Dir}} ./...)\n\ncheck: fmt vet lint test\n\ncyclo:\n\t@for d in $(DIRS) ; do \\\n\t\tif [ \"`gocyclo -over 20 $$d | tee /dev/stderr`\" ]; then \\\n\t\t\techo \"^ cyclomatic complexity exceeds 20, refactor the code!\" && echo && exit 1; \\\n\t\tfi \\\n\tdone\n\nfmt:\n\t@for d in $(DIRS) ; do \\\n\t\tif [ \"`gofmt -l -s $$d/*.go | tee /dev/stderr`\" ]; then \\\n\t\t\techo \"^ improperly formatted go files\" && echo && exit 1; \\\n\t\tfi \\\n\tdone\n\nlint:\n\t@if [ \"`golint -min_confidence 0.85 ./... | tee /dev/stderr`\" ]; then \\\n\t\techo \"^ golint errors!\" && echo && exit 1; \\\n\tfi\n\ntest:\n\tgopherjs test github.com/bep/gr/tests\n\nvet:\n\t@if [ \"`go vet ./... | tee /dev/stderr`\" ]; then \\\n\t\techo \"^ go vet errors!\" && echo && exit 1; \\\n\tfi\n\n"
  },
  {
    "path": "README.md",
    "content": "# Go React\n\n[![Build Status](https://travis-ci.org/bep/gr.svg)](https://travis-ci.org/bep/gr)\n[![GoDoc](https://godoc.org/github.com/bep/gr?status.svg)](https://godoc.org/github.com/bep/gr)\n[![Go Report Card](https://goreportcard.com/badge/github.com/bep/gr)](https://goreportcard.com/report/github.com/bep/gr)\n\n**See Also:**\n\n* https://github.com/bep/grcomponents\n* [grouter: react-router bindings](https://github.com/bep/grouter)\n\t\t\n[GopherJS](https://github.com/gopherjs/gopherjs) bindings for Facebook React. \n\n**NOTE: Still early and not production ready.**\n\n## Examples\n\n**NOTE: Make sure that your GopherJS is up-to-date before running these: `go get -u github.com/gopherjs/gopherjs`**\n\nFor a live demo of the examples below, see [http://bego.io/gr/](http://bego.io/gr/)  (may not be up-to-date).\n\nThere are some runnable examples in `/examples`. Just navigate to that folder and do a:\n\n```bash\ngopherjs serve\n```\nThen navigate to [http://localhost:8080/github.com/bep/gr/examples/](http://localhost:8080/github.com/bep/gr/examples/).\n\nTo get a sense of the API, here is the [click-counter](https://github.com/bep/gr/blob/master/examples/basic-click-counter/main.go) example:\n\n```go\nfunc main() {\n\tcomponent := gr.New(new(clickCounter))\n\n\tgr.RenderLoop(func() {\n\t\tcomponent.Render(\"react\", gr.Props{})\n\t})\n}\n\ntype clickCounter struct {\n\t*gr.This\n}\n\n// Implements the StateInitializer interface.\nfunc (c clickCounter) GetInitialState() gr.State {\n\treturn gr.State{\"counter\": 0}\n}\n\n// Implements the Renderer interface.\nfunc (c clickCounter) Render() gr.Component {\n\tcounter := c.State()[\"counter\"]\n\tmessage := fmt.Sprintf(\" Click me! Number of clicks: %v\", counter)\n\n\telem := el.Div(\n\t\tel.Button(\n\t\t\tgr.CSS(\"btn\", \"btn-lg\", \"btn-primary\"),\n\t\t\tgr.Style(\"color\", \"orange\"),\n\t\t\tgr.Text(message),\n\t\t\tevt.Click(c.onClick)))\n\n\treturn examples.Example(\"Click Counter\", elem)\n}\n\nfunc (c clickCounter) onClick(event *gr.Event) {\n\tc.SetState(gr.State{\"counter\": c.State().Int(\"counter\") + 1})\n}\n\n// Implements the ShouldComponentUpdate interface.\nfunc (c clickCounter) ShouldComponentUpdate(next gr.Cops) bool {\n\treturn c.State().HasChanged(next.State, \"counter\")\n}\n```\n\nFor help installing GopherJS, please visit [that cool project](https://github.com/gopherjs/gopherjs).\n\n\n## Inspiration\n\nThis project is highly inspired by [Vecty](https://github.com/gopherjs/vecty), a *promising and pure* Go React-like framework. If you're not heavily invested in Facebook's React, take that for a spin.\n\n"
  },
  {
    "path": "attr/generate.go",
    "content": "// +build ignore\n\n/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"log\"\n\t\"os\"\n\t\"sort\"\n\t\"strings\"\n)\n\nvar altDoc = map[string]string{\n\t\"key\": `Key adds an optional, unique identifier. \nWhen your component shuffles around during render passes, it might be destroyed \nand recreated due to the diff algorithm. Assigning it a key that persists makes \nsure the component stays.`,\n\t\"ref\": \"Ref adds an ref to a component, see http://facebook.github.io/react/docs/more-about-refs.html\",\n\t\"dangerouslySetInnerHTML\": `DangerouslySetInnerHTML Provides the ability to insert raw HTML, \nmainly for cooperating with DOM string manipulation libraries.`,\n\t\"defaultValue\": `DefaultValue can be used to initialize an uncontrolled React component with a non-empty value.\n\nSee https://facebook.github.io/react/docs/forms.html`,\n}\n\nvar altType = map[string]string{\n\t\"key\": \"interface{}\",\n\t\"ref\": \"interface{}\",\n\t\"dangerouslySetInnerHTML\": \"interface{}\",\n}\n\nfunc main() {\n\tb, err := ioutil.ReadFile(\"htmlattributes.source.txt\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\treplacements := strings.NewReplacer(\n\t\t\"Html\", \"HTML\", \"Http\", \"HTTP\",\n\t\t\"Href\", \"HRef\", \"Id\", \"ID\",\n\t\t\"Wmode\", \"WMode\")\n\n\tsource := string(b)\n\n\tfile, err := os.Create(\"htmlattributes.autogen.go\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer file.Close()\n\n\tfmt.Fprint(file, `//go:generate go run generate.go\n\n// Package attr defines markup to create HTML attributes supported by Facebook React.\n//\n// Created from \"HTML Attributes\" as defined by Facebook in\n// - https://facebook.github.io/react/docs/tags-and-attributes.html\n// - http://facebook.github.io/react/docs/special-non-dom-attributes.html\npackage attr\n\nimport \"github.com/bep/gr\"\n`)\n\n\twords := strings.Fields(source)\n\tsort.Strings(words)\n\n\tfor _, w := range words {\n\t\tfuncName := strings.Title(w)\n\t\tfuncName = replacements.Replace(funcName)\n\t\tdocString := fmt.Sprintf(\"%s creates an HTML attribute for '%s'.\", funcName, w)\n\t\tpropType := \"interface{}\"\n\t\tif alt, ok := altDoc[w]; ok {\n\t\t\tdocString = strings.Replace(alt, \"\\n\", \"\\n// \", -1)\n\t\t}\n\n\t\tif alt, ok := altType[w]; ok {\n\t\t\tpropType = alt\n\t\t}\n\n\t\tfuncBody := fmt.Sprintf(`\n// %s\nfunc %s(v %s) gr.Modifier {\n\treturn gr.Prop(\"%s\", v)\n}\n`, docString, funcName, propType, w)\n\n\t\tfmt.Fprintf(file, \"%s\", funcBody)\n\n\t}\n\n}\n"
  },
  {
    "path": "attr/htmlattributes.autogen.go",
    "content": "//go:generate go run generate.go\n\n// Package attr defines markup to create HTML attributes supported by Facebook React.\n//\n// Created from \"HTML Attributes\" as defined by Facebook in\n// - https://facebook.github.io/react/docs/tags-and-attributes.html\n// - http://facebook.github.io/react/docs/special-non-dom-attributes.html\npackage attr\n\nimport \"github.com/bep/gr\"\n\n// About creates an HTML attribute for 'about'.\nfunc About(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"about\", v)\n}\n\n// Accept creates an HTML attribute for 'accept'.\nfunc Accept(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"accept\", v)\n}\n\n// AcceptCharset creates an HTML attribute for 'acceptCharset'.\nfunc AcceptCharset(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"acceptCharset\", v)\n}\n\n// AccessKey creates an HTML attribute for 'accessKey'.\nfunc AccessKey(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"accessKey\", v)\n}\n\n// Action creates an HTML attribute for 'action'.\nfunc Action(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"action\", v)\n}\n\n// AllowFullScreen creates an HTML attribute for 'allowFullScreen'.\nfunc AllowFullScreen(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"allowFullScreen\", v)\n}\n\n// AllowTransparency creates an HTML attribute for 'allowTransparency'.\nfunc AllowTransparency(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"allowTransparency\", v)\n}\n\n// Alt creates an HTML attribute for 'alt'.\nfunc Alt(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"alt\", v)\n}\n\n// Async creates an HTML attribute for 'async'.\nfunc Async(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"async\", v)\n}\n\n// AutoCapitalize creates an HTML attribute for 'autoCapitalize'.\nfunc AutoCapitalize(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"autoCapitalize\", v)\n}\n\n// AutoComplete creates an HTML attribute for 'autoComplete'.\nfunc AutoComplete(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"autoComplete\", v)\n}\n\n// AutoCorrect creates an HTML attribute for 'autoCorrect'.\nfunc AutoCorrect(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"autoCorrect\", v)\n}\n\n// AutoFocus creates an HTML attribute for 'autoFocus'.\nfunc AutoFocus(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"autoFocus\", v)\n}\n\n// AutoPlay creates an HTML attribute for 'autoPlay'.\nfunc AutoPlay(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"autoPlay\", v)\n}\n\n// AutoSave creates an HTML attribute for 'autoSave'.\nfunc AutoSave(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"autoSave\", v)\n}\n\n// Capture creates an HTML attribute for 'capture'.\nfunc Capture(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"capture\", v)\n}\n\n// CellPadding creates an HTML attribute for 'cellPadding'.\nfunc CellPadding(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"cellPadding\", v)\n}\n\n// CellSpacing creates an HTML attribute for 'cellSpacing'.\nfunc CellSpacing(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"cellSpacing\", v)\n}\n\n// Challenge creates an HTML attribute for 'challenge'.\nfunc Challenge(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"challenge\", v)\n}\n\n// CharSet creates an HTML attribute for 'charSet'.\nfunc CharSet(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"charSet\", v)\n}\n\n// Checked creates an HTML attribute for 'checked'.\nfunc Checked(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"checked\", v)\n}\n\n// Cite creates an HTML attribute for 'cite'.\nfunc Cite(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"cite\", v)\n}\n\n// ClassID creates an HTML attribute for 'classID'.\nfunc ClassID(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"classID\", v)\n}\n\n// ClassName creates an HTML attribute for 'className'.\nfunc ClassName(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"className\", v)\n}\n\n// ColSpan creates an HTML attribute for 'colSpan'.\nfunc ColSpan(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"colSpan\", v)\n}\n\n// Color creates an HTML attribute for 'color'.\nfunc Color(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"color\", v)\n}\n\n// Cols creates an HTML attribute for 'cols'.\nfunc Cols(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"cols\", v)\n}\n\n// Content creates an HTML attribute for 'content'.\nfunc Content(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"content\", v)\n}\n\n// ContentEditable creates an HTML attribute for 'contentEditable'.\nfunc ContentEditable(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"contentEditable\", v)\n}\n\n// ContextMenu creates an HTML attribute for 'contextMenu'.\nfunc ContextMenu(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"contextMenu\", v)\n}\n\n// Controls creates an HTML attribute for 'controls'.\nfunc Controls(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"controls\", v)\n}\n\n// Coords creates an HTML attribute for 'coords'.\nfunc Coords(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"coords\", v)\n}\n\n// CrossOrigin creates an HTML attribute for 'crossOrigin'.\nfunc CrossOrigin(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"crossOrigin\", v)\n}\n\n// DangerouslySetInnerHTML Provides the ability to insert raw HTML,\n// mainly for cooperating with DOM string manipulation libraries.\nfunc DangerouslySetInnerHTML(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"dangerouslySetInnerHTML\", v)\n}\n\n// Data creates an HTML attribute for 'data'.\nfunc Data(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"data\", v)\n}\n\n// Datatype creates an HTML attribute for 'datatype'.\nfunc Datatype(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"datatype\", v)\n}\n\n// DateTime creates an HTML attribute for 'dateTime'.\nfunc DateTime(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"dateTime\", v)\n}\n\n// Default creates an HTML attribute for 'default'.\nfunc Default(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"default\", v)\n}\n\n// DefaultValue can be used to initialize an uncontrolled React component with a non-empty value.\n//\n// See https://facebook.github.io/react/docs/forms.html\nfunc DefaultValue(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"defaultValue\", v)\n}\n\n// Defer creates an HTML attribute for 'defer'.\nfunc Defer(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"defer\", v)\n}\n\n// Dir creates an HTML attribute for 'dir'.\nfunc Dir(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"dir\", v)\n}\n\n// Disabled creates an HTML attribute for 'disabled'.\nfunc Disabled(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"disabled\", v)\n}\n\n// Download creates an HTML attribute for 'download'.\nfunc Download(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"download\", v)\n}\n\n// Draggable creates an HTML attribute for 'draggable'.\nfunc Draggable(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"draggable\", v)\n}\n\n// EncType creates an HTML attribute for 'encType'.\nfunc EncType(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"encType\", v)\n}\n\n// Form creates an HTML attribute for 'form'.\nfunc Form(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"form\", v)\n}\n\n// FormAction creates an HTML attribute for 'formAction'.\nfunc FormAction(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"formAction\", v)\n}\n\n// FormEncType creates an HTML attribute for 'formEncType'.\nfunc FormEncType(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"formEncType\", v)\n}\n\n// FormMethod creates an HTML attribute for 'formMethod'.\nfunc FormMethod(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"formMethod\", v)\n}\n\n// FormNoValidate creates an HTML attribute for 'formNoValidate'.\nfunc FormNoValidate(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"formNoValidate\", v)\n}\n\n// FormTarget creates an HTML attribute for 'formTarget'.\nfunc FormTarget(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"formTarget\", v)\n}\n\n// FrameBorder creates an HTML attribute for 'frameBorder'.\nfunc FrameBorder(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"frameBorder\", v)\n}\n\n// Headers creates an HTML attribute for 'headers'.\nfunc Headers(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"headers\", v)\n}\n\n// Height creates an HTML attribute for 'height'.\nfunc Height(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"height\", v)\n}\n\n// Hidden creates an HTML attribute for 'hidden'.\nfunc Hidden(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"hidden\", v)\n}\n\n// High creates an HTML attribute for 'high'.\nfunc High(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"high\", v)\n}\n\n// HRef creates an HTML attribute for 'href'.\nfunc HRef(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"href\", v)\n}\n\n// HRefLang creates an HTML attribute for 'hrefLang'.\nfunc HRefLang(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"hrefLang\", v)\n}\n\n// HTMLFor creates an HTML attribute for 'htmlFor'.\nfunc HTMLFor(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"htmlFor\", v)\n}\n\n// HTTPEquiv creates an HTML attribute for 'httpEquiv'.\nfunc HTTPEquiv(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"httpEquiv\", v)\n}\n\n// Icon creates an HTML attribute for 'icon'.\nfunc Icon(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"icon\", v)\n}\n\n// ID creates an HTML attribute for 'id'.\nfunc ID(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"id\", v)\n}\n\n// Inlist creates an HTML attribute for 'inlist'.\nfunc Inlist(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"inlist\", v)\n}\n\n// InputMode creates an HTML attribute for 'inputMode'.\nfunc InputMode(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"inputMode\", v)\n}\n\n// Integrity creates an HTML attribute for 'integrity'.\nfunc Integrity(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"integrity\", v)\n}\n\n// Is creates an HTML attribute for 'is'.\nfunc Is(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"is\", v)\n}\n\n// ItemProp creates an HTML attribute for 'itemProp'.\nfunc ItemProp(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"itemProp\", v)\n}\n\n// Key adds an optional, unique identifier.\n// When your component shuffles around during render passes, it might be destroyed\n// and recreated due to the diff algorithm. Assigning it a key that persists makes\n// sure the component stays.\nfunc Key(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"key\", v)\n}\n\n// KeyParams creates an HTML attribute for 'keyParams'.\nfunc KeyParams(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"keyParams\", v)\n}\n\n// KeyType creates an HTML attribute for 'keyType'.\nfunc KeyType(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"keyType\", v)\n}\n\n// Kind creates an HTML attribute for 'kind'.\nfunc Kind(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"kind\", v)\n}\n\n// Label creates an HTML attribute for 'label'.\nfunc Label(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"label\", v)\n}\n\n// Lang creates an HTML attribute for 'lang'.\nfunc Lang(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"lang\", v)\n}\n\n// List creates an HTML attribute for 'list'.\nfunc List(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"list\", v)\n}\n\n// Loop creates an HTML attribute for 'loop'.\nfunc Loop(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"loop\", v)\n}\n\n// Low creates an HTML attribute for 'low'.\nfunc Low(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"low\", v)\n}\n\n// Manifest creates an HTML attribute for 'manifest'.\nfunc Manifest(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"manifest\", v)\n}\n\n// MarginHeight creates an HTML attribute for 'marginHeight'.\nfunc MarginHeight(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"marginHeight\", v)\n}\n\n// MarginWidth creates an HTML attribute for 'marginWidth'.\nfunc MarginWidth(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"marginWidth\", v)\n}\n\n// Max creates an HTML attribute for 'max'.\nfunc Max(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"max\", v)\n}\n\n// MaxLength creates an HTML attribute for 'maxLength'.\nfunc MaxLength(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"maxLength\", v)\n}\n\n// Media creates an HTML attribute for 'media'.\nfunc Media(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"media\", v)\n}\n\n// MediaGroup creates an HTML attribute for 'mediaGroup'.\nfunc MediaGroup(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"mediaGroup\", v)\n}\n\n// Method creates an HTML attribute for 'method'.\nfunc Method(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"method\", v)\n}\n\n// Min creates an HTML attribute for 'min'.\nfunc Min(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"min\", v)\n}\n\n// MinLength creates an HTML attribute for 'minLength'.\nfunc MinLength(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"minLength\", v)\n}\n\n// Multiple creates an HTML attribute for 'multiple'.\nfunc Multiple(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"multiple\", v)\n}\n\n// Muted creates an HTML attribute for 'muted'.\nfunc Muted(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"muted\", v)\n}\n\n// Name creates an HTML attribute for 'name'.\nfunc Name(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"name\", v)\n}\n\n// NoValidate creates an HTML attribute for 'noValidate'.\nfunc NoValidate(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"noValidate\", v)\n}\n\n// Nonce creates an HTML attribute for 'nonce'.\nfunc Nonce(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"nonce\", v)\n}\n\n// Open creates an HTML attribute for 'open'.\nfunc Open(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"open\", v)\n}\n\n// Optimum creates an HTML attribute for 'optimum'.\nfunc Optimum(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"optimum\", v)\n}\n\n// Pattern creates an HTML attribute for 'pattern'.\nfunc Pattern(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"pattern\", v)\n}\n\n// Placeholder creates an HTML attribute for 'placeholder'.\nfunc Placeholder(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"placeholder\", v)\n}\n\n// Poster creates an HTML attribute for 'poster'.\nfunc Poster(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"poster\", v)\n}\n\n// Prefix creates an HTML attribute for 'prefix'.\nfunc Prefix(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"prefix\", v)\n}\n\n// Preload creates an HTML attribute for 'preload'.\nfunc Preload(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"preload\", v)\n}\n\n// Profile creates an HTML attribute for 'profile'.\nfunc Profile(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"profile\", v)\n}\n\n// Property creates an HTML attribute for 'property'.\nfunc Property(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"property\", v)\n}\n\n// RadioGroup creates an HTML attribute for 'radioGroup'.\nfunc RadioGroup(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"radioGroup\", v)\n}\n\n// ReadOnly creates an HTML attribute for 'readOnly'.\nfunc ReadOnly(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"readOnly\", v)\n}\n\n// Ref adds an ref to a component, see http://facebook.github.io/react/docs/more-about-refs.html\nfunc Ref(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"ref\", v)\n}\n\n// Rel creates an HTML attribute for 'rel'.\nfunc Rel(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"rel\", v)\n}\n\n// Required creates an HTML attribute for 'required'.\nfunc Required(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"required\", v)\n}\n\n// Resource creates an HTML attribute for 'resource'.\nfunc Resource(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"resource\", v)\n}\n\n// Results creates an HTML attribute for 'results'.\nfunc Results(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"results\", v)\n}\n\n// Reversed creates an HTML attribute for 'reversed'.\nfunc Reversed(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"reversed\", v)\n}\n\n// Role creates an HTML attribute for 'role'.\nfunc Role(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"role\", v)\n}\n\n// RowSpan creates an HTML attribute for 'rowSpan'.\nfunc RowSpan(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"rowSpan\", v)\n}\n\n// Rows creates an HTML attribute for 'rows'.\nfunc Rows(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"rows\", v)\n}\n\n// Sandbox creates an HTML attribute for 'sandbox'.\nfunc Sandbox(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"sandbox\", v)\n}\n\n// Scope creates an HTML attribute for 'scope'.\nfunc Scope(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"scope\", v)\n}\n\n// Scoped creates an HTML attribute for 'scoped'.\nfunc Scoped(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"scoped\", v)\n}\n\n// Scrolling creates an HTML attribute for 'scrolling'.\nfunc Scrolling(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"scrolling\", v)\n}\n\n// Seamless creates an HTML attribute for 'seamless'.\nfunc Seamless(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"seamless\", v)\n}\n\n// Security creates an HTML attribute for 'security'.\nfunc Security(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"security\", v)\n}\n\n// Selected creates an HTML attribute for 'selected'.\nfunc Selected(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"selected\", v)\n}\n\n// Shape creates an HTML attribute for 'shape'.\nfunc Shape(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"shape\", v)\n}\n\n// Size creates an HTML attribute for 'size'.\nfunc Size(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"size\", v)\n}\n\n// Sizes creates an HTML attribute for 'sizes'.\nfunc Sizes(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"sizes\", v)\n}\n\n// Span creates an HTML attribute for 'span'.\nfunc Span(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"span\", v)\n}\n\n// SpellCheck creates an HTML attribute for 'spellCheck'.\nfunc SpellCheck(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"spellCheck\", v)\n}\n\n// Src creates an HTML attribute for 'src'.\nfunc Src(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"src\", v)\n}\n\n// SrcDoc creates an HTML attribute for 'srcDoc'.\nfunc SrcDoc(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"srcDoc\", v)\n}\n\n// SrcLang creates an HTML attribute for 'srcLang'.\nfunc SrcLang(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"srcLang\", v)\n}\n\n// SrcSet creates an HTML attribute for 'srcSet'.\nfunc SrcSet(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"srcSet\", v)\n}\n\n// Start creates an HTML attribute for 'start'.\nfunc Start(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"start\", v)\n}\n\n// Step creates an HTML attribute for 'step'.\nfunc Step(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"step\", v)\n}\n\n// Style creates an HTML attribute for 'style'.\nfunc Style(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"style\", v)\n}\n\n// Summary creates an HTML attribute for 'summary'.\nfunc Summary(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"summary\", v)\n}\n\n// TabIndex creates an HTML attribute for 'tabIndex'.\nfunc TabIndex(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"tabIndex\", v)\n}\n\n// Target creates an HTML attribute for 'target'.\nfunc Target(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"target\", v)\n}\n\n// Title creates an HTML attribute for 'title'.\nfunc Title(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"title\", v)\n}\n\n// Type creates an HTML attribute for 'type'.\nfunc Type(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"type\", v)\n}\n\n// Typeof creates an HTML attribute for 'typeof'.\nfunc Typeof(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"typeof\", v)\n}\n\n// Unselectable creates an HTML attribute for 'unselectable'.\nfunc Unselectable(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"unselectable\", v)\n}\n\n// UseMap creates an HTML attribute for 'useMap'.\nfunc UseMap(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"useMap\", v)\n}\n\n// Value creates an HTML attribute for 'value'.\nfunc Value(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"value\", v)\n}\n\n// Vocab creates an HTML attribute for 'vocab'.\nfunc Vocab(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"vocab\", v)\n}\n\n// Width creates an HTML attribute for 'width'.\nfunc Width(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"width\", v)\n}\n\n// WMode creates an HTML attribute for 'wmode'.\nfunc WMode(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"wmode\", v)\n}\n\n// Wrap creates an HTML attribute for 'wrap'.\nfunc Wrap(v interface{}) gr.Modifier {\n\treturn gr.Prop(\"wrap\", v)\n}\n"
  },
  {
    "path": "attr/htmlattributes.source.txt",
    "content": "accept acceptCharset accessKey action allowFullScreen allowTransparency alt\nasync autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\ncharSet checked cite classID className colSpan cols content contentEditable\ncontextMenu controls coords crossOrigin data dateTime default defer dir\ndisabled download draggable encType form formAction formEncType formMethod\nformNoValidate formTarget frameBorder headers height hidden high href hrefLang\nhtmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label\nlang list loop low manifest marginHeight marginWidth max maxLength media\nmediaGroup method min minLength multiple muted name noValidate nonce open\noptimum pattern placeholder poster preload profile radioGroup readOnly rel\nrequired reversed role rowSpan rows sandbox scope scoped scrolling seamless\nselected shape size sizes span spellCheck src srcDoc srcLang srcSet start step\nstyle summary tabIndex target title type useMap value width wmode wrap\nabout datatype inlist prefix property resource typeof vocab\nautoCapitalize autoCorrect color itemProp security unselectable results autoSave\nkey ref dangerouslySetInnerHTML defaultValue"
  },
  {
    "path": "component.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"strings\"\n\n\t\"reflect\"\n\n\t\"github.com/bep/gr/support\"\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\nvar (\n\treact    = js.Global.Get(\"React\")\n\treactDOM = js.Global.Get(\"ReactDOM\")\n)\n\nfunc init() {\n\tif react == js.Undefined || reactDOM == js.Undefined {\n\t\t// Require as a fallback\n\t\tvar err error\n\t\tif react, err = support.Require(\"react\"); err != nil {\n\t\t\tpanic(fmt.Sprintf(\"Cannot find React\"))\n\t\t}\n\t\tif reactDOM, err = support.Require(\"react-dom\"); err != nil {\n\t\t\tpanic(fmt.Sprintf(\"Cannot find ReactDOM\"))\n\t\t}\n\t}\n}\n\n// A Component represents a React JS component.\n//\n// http://facebook.github.io/react/docs/glossary.html#react-nodes for a reference.\n//\n// A Component can be either a constructed element (analogous to a ReactElement)\n// or a factory (a ReactClass or a ReactFactory). Factories are identified by their\n// implementation of the Factory interface.\ntype Component interface {\n\tNode() *js.Object\n}\n\n// A Factory is a Component that can construct Elements (analogous to a ReactClass or a ReactFactory).\ntype Factory interface {\n\tComponent\n\tCreateElement(props Props, children ...Component) *Element\n}\n\n// ReactComponent wraps a Facebook React component.\n// This component can either be constructed from a Go implementation (see New) or\n// loaded from JavaScript (see FromGlobal and Require).\ntype ReactComponent struct {\n\t// The React.createClass response.\n\tnode *js.Object\n\n\t// Prototype cached for the cloning purpose.\n\telementPrototype *js.Object\n\n\t// The minimum interface needed to display something.\n\tr Renderer\n\n\treactClass *reactClass\n\n\t// Options\n\texportName      string\n\tglobalName      string\n\tcomponentConfig ComponentConfig\n\n\t// Needs to be created by createElement as opposed to standalone React factories.\n\t// TODO(bep) figure a way to extract that info from the JS object.\n\tneedsCreate bool\n}\n\n// FromGlobal loads a React component from JavaScript's global object\n// (\"window\" for browsers and \"GLOBAL\" for Node.js)\nfunc FromGlobal(path ...string) *ReactComponent {\n\n\tvar component *js.Object\n\n\tfor _, p := range path {\n\t\tif component != nil {\n\t\t\tcomponent = component.Get(p)\n\t\t} else {\n\t\t\tcomponent = js.Global.Get(p)\n\t\t}\n\t}\n\n\tif component == nil || component == js.Undefined {\n\t\tpanic(fmt.Sprintf(\"JS component in path %v not found\", path))\n\t}\n\n\t// TODO(bep): No concept of a Renderer implementation here. Do we need it?\n\treturn &ReactComponent{node: component, needsCreate: true}\n}\n\n// Require loads a module the Node.js way.\n// Note that this requires that the require function is present; if in the browser,\n// and not in Node.js, try Browserify.\nfunc Require(path ...string) *ReactComponent {\n\tm, err := support.Require(path...)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\treturn &ReactComponent{node: m, needsCreate: true}\n}\n\n// ComponentConfig is used to add optional static configuration to a component.\ntype ComponentConfig struct {\n\tContextTypesTemplate Context\n}\n\n// Option is used to configure a component.\ntype Option struct {\n\taction func(*ReactComponent) error\n\n\t// Whether to apply this option on the created React component or not.\n\tpreparePhase bool\n}\n\n// WithConfig adds optional static configuration to the component.\nfunc WithConfig(config ComponentConfig) Option {\n\t// This needs to run before createClass\n\treturn Option{preparePhase: true, action: func(r *ReactComponent) error {\n\t\tr.componentConfig = config\n\t\treturn nil\n\t}}\n}\n\n// Export is an option used to mark that the component should be exported to the\n// JavaScript world as a Node.js module export.\nfunc Export(name string) Option {\n\treturn Option{action: func(r *ReactComponent) error {\n\t\tif name == \"\" {\n\t\t\treturn errors.New(\"Must provide export name\")\n\t\t}\n\t\tr.exportName = name\n\t\treturn nil\n\t}}\n}\n\n// Global is an option used to mark that the component should be exported to the\n// JavaScript world as a global with the given name.\nfunc Global(name string) Option {\n\treturn Option{action: func(r *ReactComponent) error {\n\t\tif name == \"\" {\n\t\t\treturn errors.New(\"Must provide global name\")\n\t\t}\n\t\tr.globalName = name\n\t\treturn nil\n\t}}\n}\n\n// Apply the func to the newly created React component.\nfunc Apply(f func(o *js.Object) *js.Object) Option {\n\treturn Option{action: func(r *ReactComponent) error {\n\t\tr.node = f(r.node)\n\t\treturn nil\n\t}}\n}\n\n// NewSimpleRenderer can be used for quickly putting together components that only\n// need to implement Renderer with no need of the owner (this) argument.\nfunc NewSimpleRenderer(c Component) Renderer {\n\treturn simpleRenderer{c}\n}\n\ntype simpleRenderer struct {\n\tc Component\n}\n\n// Implements the Renderer interface.\nfunc (s simpleRenderer) Render() Component {\n\treturn s.c\n}\n\n// NewSimpleComponent can be used for quickly putting together components that only\n// need to implement Renderer with no need of the owner (this) argument.\n// Especially convenient for testing.\nfunc NewSimpleComponent(c Component, options ...Option) *ReactComponent {\n\treturn New(NewSimpleRenderer(c), options...)\n}\n\ntype reactClass struct {\n\t*js.Object\n\n\tdisplayName string `js:\"displayName\"`\n\n\trender            *js.Object `js:\"render\"`\n\tgetDefaultProps   *js.Object `js:\"getDefaultProps\"`\n\tgetInitialState   *js.Object `js:\"getInitialState\"`\n\tgetChildContext   *js.Object `js:\"getChildContext\"`\n\tchildContextTypes js.M       `js:\"childContextTypes\"`\n\tcontextTypes      js.M       `js:\"contextTypes\"`\n\n\tshouldComponentUpdate     *js.Object `js:\"shouldComponentUpdate\"`\n\tcomponentWillUpdate       *js.Object `js:\"componentWillUpdate\"`\n\tcomponentDidUpdate        *js.Object `js:\"componentDidUpdate\"`\n\tcomponentWillReceiveProps *js.Object `js:\"componentWillReceiveProps\"`\n\tcomponentWillMount        *js.Object `js:\"componentWillMount\"`\n\tcomponentDidMount         *js.Object `js:\"componentDidMount\"`\n\tcomponentWillUnmount      *js.Object `js:\"componentWillUnmount\"`\n}\n\ntype delegateRenderer struct {\n\tdelegate func() Component\n}\n\n// Render implements the Renderer interface.\nfunc (d delegateRenderer) Render() Component {\n\treturn d.delegate()\n}\n\n// NewRenderer creates a Renderer with the provided func as the implementation.\nfunc NewRenderer(renderFunc func() Component) Renderer {\n\treturn delegateRenderer{renderFunc}\n}\n\n// New creates a new Component given a Renderer and optional option(s).\n// Note that the Renderer is the minimum interface that needs to be implemented,\n// but New will perform interface upgrades for other lifecycle interfaces.\nfunc New(r Renderer, options ...Option) *ReactComponent {\n\troot := &ReactComponent{r: r, reactClass: &reactClass{Object: js.Global.Get(\"Object\").New()}}\n\n\ttyp := fmt.Sprintf(\"%T\", r)\n\tdisplayName := strings.TrimLeft(typ, \"*\")\n\troot.reactClass.displayName = displayName\n\n\t// TODO(bep)\n\t// getDefaultProps propTypes https://github.com/bep/gr/issues/23\n\t// mixins https://github.com/bep/gr/issues/24\n\t// statics  https://github.com/bep/gr/issues/25\n\n\tts := extractThisSetter(r)\n\n\t// Every component needs to render itself.\n\troot.reactClass.render = makeRenderFunc(ts, displayName, r.Render)\n\n\t// Optional lifecycle implementations below.\n\tif v, ok := r.(StateInitializer); ok {\n\t\troot.reactClass.getInitialState = makeStateFunc(ts, v.GetInitialState)\n\t} else if ts != nil {\n\t\troot.reactClass.getInitialState = js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\t\tts.SetThis(this)\n\t\t\treturn nil\n\t\t})\n\t}\n\n\tif v, ok := r.(ChildContextProvider); ok {\n\t\troot.reactClass.getChildContext, root.reactClass.childContextTypes = makeChildContextFunc(ts, v.GetChildContext)\n\t}\n\n\tif v, ok := r.(ShouldComponentUpdate); ok {\n\t\troot.reactClass.shouldComponentUpdate = makeComponentUpdateFunc(ts, v.ShouldComponentUpdate)\n\t}\n\n\tif v, ok := r.(ComponentWillUpdate); ok {\n\t\troot.reactClass.componentWillUpdate = makeComponentUpdateVoidFunc(ts, v.ComponentWillUpdate)\n\t}\n\n\tif v, ok := r.(ComponentDidUpdate); ok {\n\t\troot.reactClass.componentDidUpdate = makeComponentUpdateVoidFunc(ts, v.ComponentDidUpdate)\n\t}\n\n\tif v, ok := r.(ComponentWillReceiveProps); ok {\n\t\troot.reactClass.componentWillReceiveProps = makeComponentPropertyReceiverFunc(ts, v.ComponentWillReceiveProps)\n\t}\n\n\tif v, ok := r.(ComponentWillMount); ok {\n\t\troot.reactClass.componentWillMount = makeVoidFunc(ts, v.ComponentWillMount, true)\n\t}\n\n\tif v, ok := r.(ComponentDidMount); ok {\n\t\troot.reactClass.componentDidMount = makeVoidFunc(ts, v.ComponentDidMount, true)\n\t}\n\n\tif v, ok := r.(ComponentWillUnmount); ok {\n\t\troot.reactClass.componentWillUnmount = makeVoidFunc(ts, v.ComponentWillUnmount, true)\n\t}\n\n\tfor _, opt := range options {\n\t\tif !opt.preparePhase {\n\t\t\tcontinue\n\t\t}\n\t\terr := opt.action(root)\n\t\tif err != nil {\n\t\t\tpanic(err)\n\t\t}\n\t}\n\n\troot.handleOptionsOnPrepare()\n\n\tclass := react.Call(\"createClass\", root.reactClass.Object)\n\n\troot.node = react.Call(\"createFactory\", class)\n\n\tfor _, opt := range options {\n\t\tif opt.preparePhase {\n\t\t\tcontinue\n\t\t}\n\t\terr := opt.action(root)\n\t\tif err != nil {\n\t\t\tpanic(err)\n\t\t}\n\t}\n\n\troot.handleOptionsOnCreate()\n\n\treturn root\n}\n\n// CreateIfNeeded evaluates the given Component and returns an Element, creating\n// a new instance if needed. This is a convenience method; if you need to pass\n// properties, use the factory directly.\nfunc CreateIfNeeded(c Component) *Element {\n\tswitch v := c.(type) {\n\tcase *Element:\n\t\treturn v\n\tcase Factory:\n\t\treturn v.CreateElement(nil)\n\tdefault:\n\t\treturn NewPreparedElement(c.Node())\n\t}\n}\n\n// Node implements the Component interface.\nfunc (r *ReactComponent) Node() *js.Object {\n\treturn r.node\n}\n\n// Render the Component in the DOM with the given element ID and props.\nfunc (r *ReactComponent) Render(elementID string, props Props) {\n\tcontainer := js.Global.Get(\"document\").Call(\"getElementById\", elementID)\n\telem := r.CreateElement(props)\n\n\t// TODO(bep) evaluate if the need the \"this\" returned on render.\n\treactDOM.Call(\"render\", elem.Node(), container)\n}\n\n// CreateElement implements the Factory interface.\n// TODO(bep) consolidate and clean\nfunc (r *ReactComponent) CreateElement(props Props, children ...Component) *Element {\n\treturn &Element{properties: props, children: children, elFactory: createElementElementFactory(r)}\n}\n\n// CloneElement will, provided that an element has already been created for this component, clone that element with the\n// original element's props with the new props merged in shallowly.\n// New children will replace existing children.\n// If this is the first invocation, a new element will be created.\n// This may be be slightly faster when creating elements in a tight loop.\n//\n// See https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement\nfunc (r *ReactComponent) CloneElement(props Props, children ...Component) *Element {\n\treturn &Element{properties: props, children: children, elFactory: cloneOrCreateElementElementFactory(r)}\n}\n\nfunc cloneOrCreateElementElementFactory(r *ReactComponent) func(e *Element) *js.Object {\n\treturn func(e *Element) *js.Object {\n\t\tif r.elementPrototype == nil {\n\t\t\tr.elementPrototype = createOrInvoke(r.Node(), e, r.needsCreate)\n\t\t\treturn r.elementPrototype\n\t\t}\n\t\treturn cloneElement(r.elementPrototype, e)\n\t}\n}\n\nfunc createElementElementFactory(r *ReactComponent) func(e *Element) *js.Object {\n\treturn func(e *Element) *js.Object {\n\t\telem := createOrInvoke(r.Node(), e, r.needsCreate)\n\t\tr.elementPrototype = elem\n\t\treturn elem\n\t}\n}\n\nfunc cloneElement(prototype *js.Object, e *Element) *js.Object {\n\tvar elem *js.Object\n\n\tvar args []interface{}\n\n\tif len(e.children) > 0 {\n\t\tfor _, c := range e.children {\n\t\t\targs = append(args, c.Node())\n\t\t}\n\t}\n\n\telem = react.Call(\"cloneElement\", prototype, e.properties, args)\n\n\treturn elem\n}\n\nfunc createOrInvoke(node *js.Object, e *Element, needsCreate bool) *js.Object {\n\tvar elem *js.Object\n\n\tvar args []interface{}\n\n\tif len(e.children) > 0 {\n\t\tfor _, c := range e.children {\n\t\t\targs = append(args, c.Node())\n\t\t}\n\t}\n\n\tif needsCreate {\n\t\telem = react.Call(\"createElement\", node, e.properties, args)\n\t} else {\n\n\t\telem = node.Invoke(e.properties, args)\n\t}\n\treturn elem\n}\n\nfunc extractThisSetter(r Renderer) ThisSetter {\n\tvar thisSetter ThisSetter\n\n\trv := reflect.ValueOf(r)\n\n\tif rv.Kind() == reflect.Ptr {\n\t\trv = rv.Elem()\n\t}\n\n\trt := rv.Type()\n\n\tif rt.Kind() == reflect.Struct {\n\t\tfor i := 0; i < rt.NumField(); i++ {\n\t\t\tfv := rv.Field(i)\n\t\t\tif fv.CanInterface() {\n\t\t\t\tif init, ok := fv.Interface().(ThisSetter); ok {\n\t\t\t\t\tif fv.IsNil() {\n\t\t\t\t\t\tnewVal := reflect.New(rt.Field(i).Type.Elem())\n\t\t\t\t\t\tfv.Set(newVal)\n\t\t\t\t\t\tthisSetter = newVal.Interface().(ThisSetter)\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthisSetter = init\n\t\t\t\t\t}\n\t\t\t\t\t// We should maybe check for others and report an error, but for now the first one wins.\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t}\n\n\treturn thisSetter\n}\n\nfunc makeComponentUpdateFunc(ts ThisSetter, f func(c Cops) bool) *js.Object {\n\treturn js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\tif ts != nil {\n\t\t\tts.SetThis(this)\n\t\t}\n\t\treturn f(extractComponentUpdateArgs(arguments))\n\t})\n}\n\nfunc makeComponentUpdateVoidFunc(ts ThisSetter, f func(c Cops)) *js.Object {\n\treturn js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\tif ts != nil {\n\t\t\tts.SetThis(this)\n\t\t}\n\t\tf(extractComponentUpdateArgs(arguments))\n\t\treturn nil\n\t})\n}\n\nfunc makeComponentPropertyReceiverFunc(ts ThisSetter, f func(c Cops)) *js.Object {\n\treturn js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\tif ts != nil {\n\t\t\tts.SetThis(this)\n\t\t}\n\t\tdata := extractComponentUpdateArgs(arguments)\n\t\tf(data)\n\t\treturn nil\n\t})\n}\n\nfunc extractComponentUpdateArgs(arguments []*js.Object) Cops {\n\tvar (\n\t\tprops   Props\n\t\tstate   State\n\t\tcontext Context\n\t)\n\n\tif len(arguments) > 0 && arguments[0] != nil {\n\t\tprops = objectToMap(arguments[0])\n\n\t}\n\tif len(arguments) > 1 && arguments[1] != nil {\n\t\tstate = objectToMap(arguments[1])\n\t}\n\tif len(arguments) > 2 && arguments[2] != nil {\n\t\tcontext = objectToMap(arguments[2])\n\t}\n\n\treturn Cops{Props: props, State: state, Context: context}\n}\n\nfunc makeVoidFunc(ts ThisSetter, f func(), assumeBlocking bool) *js.Object {\n\treturn js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\tif ts != nil {\n\t\t\tts.SetThis(this)\n\t\t}\n\t\tif assumeBlocking {\n\t\t\tgo func() {\n\t\t\t\tf()\n\t\t\t}()\n\t\t} else {\n\t\t\tf()\n\t\t}\n\t\treturn nil\n\t})\n}\n\nfunc makeStateFunc(ts ThisSetter, f func() State) *js.Object {\n\treturn js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\tif ts != nil {\n\t\t\tts.SetThis(this)\n\t\t}\n\t\treturn f()\n\t})\n}\n\nfunc makeChildContextFunc(ts ThisSetter, f func() Context) (*js.Object, js.M) {\n\n\tgetChildContext := js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\tif ts != nil {\n\t\t\tts.SetThis(this)\n\t\t}\n\t\treturn f()\n\t})\n\n\tchildContextTypes := extractPropTypesFromTemplate(f())\n\n\treturn getChildContext, childContextTypes\n}\n\nfunc extractPropTypesFromTemplate(t map[string]interface{}) js.M {\n\tpropTypes := js.M{}\n\n\tfor k, v := range t {\n\t\tswitch v.(type) {\n\t\tcase string:\n\t\t\tpropTypes[k] = react.Get(\"PropTypes\").Get(\"string\")\n\t\tcase int:\n\t\t\tpropTypes[k] = react.Get(\"PropTypes\").Get(\"number\")\n\t\tdefault:\n\t\t\t// See: https://facebook.github.io/react/docs/reusable-components.html\n\t\t\t// TODO(bep): Reconsider all of this.\n\t\t\tpanic(\"Context type not implemented\")\n\t\t}\n\t}\n\n\treturn propTypes\n}\n\ntype incrementer struct {\n\tcounter int\n}\n\nfunc (i *incrementer) next() int {\n\ti.counter++\n\treturn i.counter\n}\n\nfunc makeRenderFunc(ts ThisSetter, s string, f func() Component) *js.Object {\n\n\treturn js.MakeFunc(func(this *js.Object, arguments []*js.Object) interface{} {\n\t\tif ts != nil {\n\t\t\tts.SetThis(this)\n\t\t}\n\n\t\tcomp := f()\n\n\t\tif comp == nil {\n\t\t\treturn nil\n\t\t}\n\n\t\tthat := NewThis(this)\n\n\t\t// TODO(bep) refactor\n\t\tif e, ok := comp.(*Element); ok {\n\t\t\taddEventListeners(ts, comp, that)\n\t\t\tidFactory := &incrementer{}\n\t\t\taddMissingKeys(s, e, idFactory)\n\t\t}\n\t\tif _, ok := comp.(Factory); ok {\n\t\t\tpanic(\"Render should return a ready-to-use Element.\")\n\t\t}\n\n\t\treturn comp.Node()\n\t})\n}\n\nfunc addEventListeners(ts ThisSetter, c Component, that *This) {\n\tif e, ok := c.(*Element); ok {\n\t\tfor _, l := range e.eventListeners {\n\t\t\tl.delegate = func(event *js.Object) {\n\t\t\t\tif ts != nil {\n\t\t\t\t\tts.SetThis(that.This)\n\t\t\t\t}\n\t\t\t\tif l.preventDefault {\n\t\t\t\t\tevent.Call(\"preventDefault\")\n\t\t\t\t}\n\t\t\t\tif l.stopPropagation {\n\t\t\t\t\tevent.Call(\"stopPropagation\")\n\t\t\t\t}\n\t\t\t\tl.listener(&Event{Object: event, This: that})\n\t\t\t}\n\n\t\t\te.properties[l.name] = l.delegate\n\n\t\t}\n\t\tfor _, child := range e.children {\n\t\t\taddEventListeners(ts, child, that)\n\t\t}\n\n\t}\n}\n\nfunc (r *ReactComponent) handleOptionsOnCreate() {\n\tif r.exportName != \"\" {\n\t\texports := js.Module.Get(\"exports\")\n\t\tif exports == js.Undefined {\n\t\t\tpanic(\"module.exports not present.\")\n\t\t}\n\t\texports.Set(r.exportName, r.node)\n\t}\n\tif r.globalName != \"\" {\n\t\tjs.Global.Set(r.globalName, r.node)\n\t}\n\n}\n\nfunc (r *ReactComponent) handleOptionsOnPrepare() {\n\tif r.componentConfig.ContextTypesTemplate != nil {\n\t\tr.reactClass.contextTypes = extractPropTypesFromTemplate(r.componentConfig.ContextTypesTemplate)\n\t}\n}\n\nfunc addMissingKeys(s string, e *Element, id *incrementer) {\n\n\tif !e.dynamic {\n\t\tif e.properties == nil {\n\t\t\te.properties = make(map[string]interface{})\n\t\t}\n\t\tif _, ok := e.properties[\"key\"]; !ok {\n\t\t\tkey := fmt.Sprintf(\"%s-%d\", s, id.next())\n\t\t\te.properties[\"key\"] = key\n\t\t}\n\t}\n\n\tfor _, c2 := range e.children {\n\t\tif e2, ok := c2.(*Element); ok {\n\t\t\taddMissingKeys(s, e2, id)\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "el/elements.autogen.go",
    "content": "//go:generate go run generate.go\n\n// Package el defines markup to create DOM elements.\n//\n// Generated from \"HTML element reference\" by Mozilla Contributors, https://developer.mozilla.org/en-US/docs/Web/HTML/Element, licensed under CC-BY-SA 2.5.\npackage el\n\nimport \"github.com/bep/gr\"\n\n// Anchor — The HTML Anchor Element (<a>) defines a hyperlink to a location on the same page or any other page on the Web. It can also be used (in an obsolete way) to create an anchor point—a destination for hyperlinks within the content of a page, so that links aren't limited to connecting simply to the top of a page.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a\nfunc Anchor(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"a\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Abbreviation — The HTML <abbr> element (or HTML Abbreviation Element) represents an abbreviation and optionally provides a full description for it. If present, the title attribute must contain this full description and nothing else.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr\nfunc Abbreviation(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"abbr\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Address — The HTML <address> element supplies contact information for its nearest <article> or <body> ancestor; in the latter case, it applies to the whole document.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address\nfunc Address(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"address\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Area — The HTML <area> element defines a hot-spot region on an image, and optionally associates it with a hypertext link. This element is used only within a <map> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area\nfunc Area(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"area\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Article — The HTML <article> element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). This could be a forum post, a magazine or newspaper article, a blog entry, an object, or any other independent item of content. Each <article> should be identified, typically by including a heading (<h1>-<h6> element) as a child of the <article> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article\nfunc Article(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"article\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Aside — The HTML <aside> element represents a section of the page with content connected tangentially to the rest, which could be considered separate from that content. These sections are often represented as sidebars or inserts. They often contain the definitions on the sidebars, such as definitions from the glossary; there may also be other types of information, such as related advertisements; the biography of the author; web applications; profile information or related links on the blog.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside\nfunc Aside(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"aside\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Audio — The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element; the browser will choose the most suitable one.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio\nfunc Audio(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"audio\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Bold — The HTML <b> Element represents a span of text stylistically different from normal text, without conveying any special importance or relevance. It is typically used for keywords in a summary, product names in a review, or other spans of text whose typical presentation would be boldfaced. Another example of its use is to mark the lead sentence of each paragraph of an article.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b\nfunc Bold(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"b\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Base — The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base\nfunc Base(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"base\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// BidirectionalIsolation — The HTML <bdi> Element (or Bi-Directional Isolation Element) isolates a span of text that might be formatted in a different direction from other text outside it.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi\nfunc BidirectionalIsolation(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"bdi\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// BidirectionalOverride — The HTML <bdo> Element (or HTML bidirectional override element) is used to override the current directionality of text. It causes the directionality of the characters to be ignored in favor of the specified directionality.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo\nfunc BidirectionalOverride(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"bdo\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// BlockQuote — The HTML <blockquote> Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote\nfunc BlockQuote(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"blockquote\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Break — The HTML element line break <br> produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br\nfunc Break(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"br\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Button — The HTML <button> Element represents a clickable button.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button\nfunc Button(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"button\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Canvas — The HTML <canvas> Element can be used to draw graphics via scripting (usually JavaScript). For example, it can be used to draw graphs, make photo compositions or even perform animations. You may (and should) provide alternate content inside the <canvas> block. That content will be rendered both on older browsers that don't support canvas and in browsers with JavaScript disabled.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas\nfunc Canvas(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"canvas\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Caption — The HTML <caption> Element (or HTML Table Caption Element) represents the title of a table. Though it is always the first descendant of a <table>, its styling, using CSS, may place it elsewhere, relative to the table.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption\nfunc Caption(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"caption\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Citation — The HTML Citation Element (<cite>) represents a reference to a creative work. It must include the title of a work or a URL reference, which may be in an abbreviated form according to the conventions used for the addition of citation metadata.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite\nfunc Citation(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"cite\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Code — The HTML Code Element (<code>) represents a fragment of computer code. By default, it is displayed in the browser's default monospace font.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code\nfunc Code(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"code\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Column — The HTML Table Column Element (<col>) defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col\nfunc Column(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"col\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// ColumnGroup — The HTML Table Column Group Element (<colgroup>) defines a group of columns within a table.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup\nfunc ColumnGroup(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"colgroup\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Data — The HTML <data> Element links a given content with a machine-readable translation. If the content is time- or date-related, the <time> must be used.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data\nfunc Data(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"data\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// DataList — The HTML Datalist Element (<datalist>) contains a set of <option> elements that represent the values available for other controls.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist\nfunc DataList(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"datalist\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Description — The HTML <dd> element (HTML Description Element) indicates the description of a term in a description list (<dl>) element. This element can occur only as a child element of a description list and it must follow a <dt> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd\nfunc Description(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"dd\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// DeletedText — The HTML Deleted Text Element (<del>) represents a range of text that has been deleted from a document. This element is often (but need not be) rendered with strike-through text.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del\nfunc DeletedText(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"del\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Details — The HTML Details Element (<details>) is used as a disclosure widget from which the user can retrieve additional information.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details\nfunc Details(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"details\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Definition — The HTML Definition Element (<dfn>) represents the defining instance of a term.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn\nfunc Definition(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"dfn\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Dialog — The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window. <form> elements can be integrated within a dialog by specifying them with the attribute method=\"dialog\". When such a form is submitted, the dialog is closed with a returnValue attribute set to the value of the submit button used.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog\nfunc Dialog(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"dialog\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Div — The HTML <div> element (or HTML Document Division Element) is the generic container for flow content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element (such as <article> or <nav>) is appropriate.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div\nfunc Div(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"div\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// DescriptionList — The HTML <dl> element (or HTML Description List Element) encloses a list of pairs of terms and descriptions. Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl\nfunc DescriptionList(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"dl\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// DefinitionTerm — The HTML <dt> element (or HTML Definition Term Element) identifies a term in a definition list. This element can occur only as a child element of a <dl>. It is usually followed by a <dd> element; however, multiple <dt> elements in a row indicate several terms that are all defined by the immediate next <dd> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt\nfunc DefinitionTerm(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"dt\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Element — The HTML <element> element is used to define new custom DOM elements.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/element\nfunc Element(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"element\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Emphasis — The HTML element emphasis  <em> marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em\nfunc Emphasis(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"em\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Embed — The HTML <embed> Element represents an integration point for an external application or interactive content (in other words, a plug-in).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed\nfunc Embed(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"embed\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// FieldSet — The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset\nfunc FieldSet(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"fieldset\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// FigureCaption — The HTML <figcaption> element represents a caption or a legend associated with a figure or an illustration described by the rest of the data of the <figure> element which is its immediate ancestor which means <figcaption> can be the first or last element inside a <figure> block. Also, the HTML Figcaption Element is optional; if not provided, then the parent figure element will have no caption.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption\nfunc FigureCaption(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"figcaption\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Figure — The HTML <figure> element represents self-contained content, frequently with a caption (<figcaption>), and is typically referenced as a single unit. While it is related to the main flow, its position is independent of the main flow. Usually this is an image, an illustration, a diagram, a code snippet, or a schema that is referenced in the main text, but that can be moved to another page or to an appendix without affecting the main flow.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure\nfunc Figure(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"figure\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Footer — The HTML <footer> element represents a footer for its nearest sectioning content or sectioning root element. A footer typically contains information about the author of the section, copyright data or links to related documents.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer\nfunc Footer(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"footer\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Form — The HTML <form> element represents a document section that contains interactive controls to submit information to a web server.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form\nfunc Form(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"form\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Header — The HTML <header> element represents a group of introductory or navigational aids. It may contain some heading elements but also other elements like a logo, wrapped section's header, a search form, and so on.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header\nfunc Header(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"header\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// HeadingsGroup — The HTML <hgroup> Element (HTML Headings Group Element) represents the heading of a section. It defines a single title that participates in the outline of the document as the heading of the implicit or explicit section that it belongs to.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup\nfunc HeadingsGroup(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"hgroup\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// HorizontalRule — The HTML <hr> element represents a thematic break between paragraph-level elements (for example, a change of scene in a story, or a shift of topic with a section). In previous versions of HTML, it represented a horizontal rule. It may still be displayed as a horizontal rule in visual browsers, but is now defined in semantic terms, rather than presentational terms.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr\nfunc HorizontalRule(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"hr\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Italic — The HTML <i> Element represents a range of text that is set off from the normal text for some reason, for example, technical terms, foreign language phrases, or fictional character thoughts. It is typically displayed in italic type.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i\nfunc Italic(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"i\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// InlineFrame — The HTML Inline Frame Element (<iframe>) represents a nested browsing context, effectively embedding another HTML page into the current page. In HTML 4.01, a document may contain a head and a body or a head and a frameset, but not both a body and a frameset. However, an <iframe> can be used within a normal document body. Each browsing context has its own session history and active document. The browsing context that contains the embedded content is called the parent browsing context. The top-level browsing context (which has no parent) is typically the browser window.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe\nfunc InlineFrame(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"iframe\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Image — The HTML <img> element represents an image in the document.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img\nfunc Image(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"img\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Input — The HTML element <input> is used to create interactive controls for web-based forms in order to accept data from the user. How an <input> works varies considerably depending on the value of its type attribute.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input\nfunc Input(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"input\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// InsertedText — The HTML <ins> Element (or HTML Inserted Text) HTML represents a range of text that has been added to a document.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins\nfunc InsertedText(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"ins\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// KeyboardInput — The HTML Keyboard Input Element (<kbd>) represents user input and produces an inline element displayed in the browser's default monospace font.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd\nfunc KeyboardInput(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"kbd\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Label — The HTML Label Element (<label>) represents a caption for an item in a user interface. It can be associated with a control either by placing the control element inside the <label> element, or by using the for attribute. Such a control is called the labeled control of the label element. One input can be associated with multiple labels.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label\nfunc Label(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"label\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Legend — The HTML <legend> Element (or HTML Legend Field Element) represents a caption for the content of its parent <fieldset>.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend\nfunc Legend(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"legend\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// ListItem — The HTML <li> element (or HTML List Item Element) is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li\nfunc ListItem(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"li\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Link — The HTML <link> element specifies relationships between the current document and an external resource. Possible uses for this element include defining a relational framework for navigation. This Element is most used to link to style sheets.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link\nfunc Link(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"link\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Main — The HTML <main> element represents the main content of  the <body> of a document or application. The main content area consists of content that is directly related to, or expands upon the central topic of a document or the central functionality of an application. This content should be unique to the document, excluding any content that is repeated across a set of documents such as sidebars, navigation links, copyright information, site logos, and search forms (unless the document's main function is as a search form).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main\nfunc Main(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"main\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Map — The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map\nfunc Map(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"map\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Mark — The HTML Mark Element (<mark>) represents highlighted text, i.e., a run of text marked for reference purpose, due to its relevance in a particular context. For example it can be used in a page showing search results to highlight every instance of the searched-for word.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark\nfunc Mark(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"mark\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Menu — The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu\nfunc Menu(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"menu\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// MenuItem — The HTML <menuitem> element represents a command that a user is able to invoke through a popup menu. This includes context menus, as well as menus that might be attached to a menu button.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem\nfunc MenuItem(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"menuitem\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Meta — The HTML <meta> element represents any metadata information that cannot be represented by one of the other HTML meta-related elements (<base>, <link>, <script>, <style> or <title>).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta\nfunc Meta(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"meta\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Meter — The HTML <meter> Element represents either a scalar value within a known range or a fractional value.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter\nfunc Meter(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"meter\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Multicol — The HTML <multicol> element was an experimental element designed to allow multi-column layouts. It never got any significant traction and is not implemented in any major browsers.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/multicol\nfunc Multicol(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"multicol\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Navigation — The HTML <nav> element (HTML Navigation Element) represents a section of a page that links to other pages or to parts within the page: a section with navigation links.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav\nfunc Navigation(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"nav\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// NoFrames — <noframes> is an HTML element which is used to supporting browsers which are not able to support <frame> elements or configured to do so.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noframes\nfunc NoFrames(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"noframes\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// NoScript — The HTML <noscript> Element defines a section of html to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript\nfunc NoScript(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"noscript\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Object — The HTML Embedded Object Element (<object>) represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object\nfunc Object(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"object\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// OrderedList — The HTML <ol> Element (or HTML Ordered List Element) represents an ordered list of items. Typically, ordered-list items are displayed with a preceding numbering, which can be of any form, like numerals, letters or Romans numerals or even simple bullets. This numbered style is not defined in the HTML description of the page, but in its associated CSS, using the list-style-type property.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol\nfunc OrderedList(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"ol\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// OptionsGroup — In a Web form, the HTML <optgroup> element  creates a grouping of options within a <select> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup\nfunc OptionsGroup(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"optgroup\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Option — In a Web form, the HTML <option> element is used to create a control representing an item within a <select>, an <optgroup> or a <datalist> HTML5 element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option\nfunc Option(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"option\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Output — The HTML <output> element represents the result of a calculation or user action.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output\nfunc Output(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"output\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Paragraph — The HTML <p> element (or HTML Paragraph Element) represents a paragraph of text.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p\nfunc Paragraph(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"p\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Parameter — The HTML <param> Element (or HTML Parameter Element) defines parameters for <object>.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param\nfunc Parameter(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"param\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Picture — The HTML <picture> element is a container used to specify multiple <source> elements for a specific <img> contained in it. The browser will choose the most suitable source according to the current layout of the page (the constraints of the box the image will appear in) and the device it will be displayed on (e.g. a normal or hiDPI device.)\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture\nfunc Picture(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"picture\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Preformatted — The HTML <pre> element (or HTML Preformatted Text) represents preformatted text. Text within this element is typically displayed in a non-proportional (\"monospace\") font exactly as it is laid out in the file. Whitespace inside this element is displayed as typed.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre\nfunc Preformatted(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"pre\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Progress — The HTML <progress> Element is used to view the completion progress of a task. While the specifics of how it's displayed is left up to the browser developer, it's typically displayed as a progress bar. Javascript can be used to manipulate the value of progress bar.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress\nfunc Progress(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"progress\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Quote — The HTML Quote Element (<q>) indicates that the enclosed text is a short inline quotation. This element is intended for short quotations that don't require paragraph breaks; for long quotations use <blockquote> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q\nfunc Quote(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"q\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// RubyParenthesis — The HTML <rp> element is used to provide fall-back parenthesis for browsers non-supporting ruby annotations. Ruby annotations are for showing pronunciation of East Asian characters, like using Japanese furigana or Taiwainese bopomofo characters. The <rp> element is used in the case of lack of <ruby> element support its content has what should be displayed in order to indicate the presence of a ruby annotation, usually parentheses.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp\nfunc RubyParenthesis(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"rp\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// RubyText — The HTML <rt> Element embraces pronunciation of characters presented in a ruby annotations, which are used to describe the pronunciation of East Asian characters. This element is always used inside a <ruby> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt\nfunc RubyText(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"rt\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// RubyTextContainer — The HTML <rtc> Element embraces semantic annotations of characters presented in a ruby of <rb> elements used inside of <ruby> element. <rb> elements can have both pronunciation (<rt>) and semantic (<rtc>) annotations.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc\nfunc RubyTextContainer(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"rtc\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Ruby — The HTML <ruby> Element represents a ruby annotation. Ruby annotations are for showing pronunciation of East Asian characters.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby\nfunc Ruby(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"ruby\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Strikethrough — The HTML Strikethrough Element (<s>) renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s\nfunc Strikethrough(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"s\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Sample — The HTML <samp> element is an element intended to identify sample output from a computer program. It is usually displayed in the browser's default monotype font (such as Lucida Console).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp\nfunc Sample(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"samp\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Script — The HTML Script Element (<script>) is used to embed or reference an executable script within an HTML or XHTML document.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script\nfunc Script(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"script\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Section — The HTML <section> element represents a generic section of a document, i.e., a thematic grouping of content, typically with a heading. Each <section> should be identified, typically by including a heading (<h1>-<h6> element) as a child of the <section> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section\nfunc Section(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"section\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Select — The HTML select (<select>) element represents a control that presents a menu of options. The options within the menu are represented by <option> elements, which can be grouped by <optgroup> elements. Options can be pre-selected for the user.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select\nfunc Select(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"select\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Shadow — The HTML <shadow> element is used as a shadow DOM insertion point. You might use it if you have created multiple shadow roots under a shadow host. It is not useful in ordinary HTML. It is used with Web Components.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Shadow\nfunc Shadow(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"shadow\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Small — The HTML Small Element (<small>) makes the text font size one size smaller (for example, from large to medium, or from small to x-small) down to the browser's minimum font size.  In HTML5, this element is repurposed to represent side-comments and small print, including copyright and legal text, independent of its styled presentation.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small\nfunc Small(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"small\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Source — Editorial review completed.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source\nfunc Source(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"source\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Span — The HTML <span> element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span\nfunc Span(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"span\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Strong — The HTML Strong Element (<strong>) gives text strong importance, and is typically displayed in bold.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong\nfunc Strong(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"strong\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Style — The HTML <style> element contains style information for a document, or part of a document. By default, the style instructions written inside that element are expected to be CSS.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style\nfunc Style(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"style\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Subscript — The HTML Subscript Element (<sub>) defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub\nfunc Subscript(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"sub\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Summary — The HTML summary element (<summary>) is used as a summary, caption, or legend for the content of a <details> element.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary\nfunc Summary(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"summary\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Superscript — The HTML Superscript Element (<sup>) defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup\nfunc Superscript(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"sup\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Table — The HTML Table Element (<table>) represents tabular data: information expressed via two dimensions or more.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table\nfunc Table(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"table\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// TableBody — The HTML Table Body Element (<tbody>) defines one or more <tr> element data-rows to be the body of its parent <table> element (as long as no <tr> elements are immediate children of that table element.)  In conjunction with a preceding <thead> and/or <tfoot> element, <tbody> provides additional semantic information for devices such as printers and displays. Of the parent table's child elements, <tbody> represents the content which, when longer than a page, will most likely differ for each page printed; while the content of <thead> and <tfoot> will be the same or similar for each page printed. For displays, <tbody> will enable separate scrolling of the <thead>, <tfoot>, and <caption> elements of the same parent <table> element.  Note that unlike the <thead>, <tfoot>, and <caption> elements however, multiple <tbody> elements are permitted (if consecutive), allowing the data-rows in long tables to be divided into different sections, each separately formatted as needed.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody\nfunc TableBody(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"tbody\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// TableData — The Table cell HTML element (<td>) defines a cell of a table that contains data. It participates in the table model.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td\nfunc TableData(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"td\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Template — The HTML template element <template> is a mechanism for holding client-side content that is not to be rendered when a page is loaded but may subsequently be instantiated during runtime using JavaScript.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template\nfunc Template(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"template\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// TextArea — The HTML <textarea> element represents a multi-line plain-text editing control.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea\nfunc TextArea(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"textarea\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// TableFoot — The HTML Table Foot Element (<tfoot>) defines a set of rows summarizing the columns of the table.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot\nfunc TableFoot(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"tfoot\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// TableHeader — The HTML element table header cell <th> defines a cell as a header for a group of cells of a table. The group of cells that the header refers to is defined by the scope and headers attribute.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th\nfunc TableHeader(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"th\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// TableHead — The HTML Table Head Element (<thead>) defines a set of rows defining the head of the columns of the table.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead\nfunc TableHead(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"thead\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Time — Technical review completed.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time\nfunc Time(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"time\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Title — The HTML <title> element defines the title of the document, shown in a browser's title bar or on the page's tab. It can only contain text, and any contained tags are ignored.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title\nfunc Title(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"title\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// TableRow — The HTML element table row <tr> defines a row of cells in a table. Those can be a mix of <td> and <th> elements.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr\nfunc TableRow(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"tr\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Track — The HTML <track> element is used as a child of the media elements—<audio> and <video>. It lets you specify timed text tracks (or time-based data), for example to automatically handle subtitles. The tracks are formatted in WebVTT format (.vtt files) — Web Video Text Tracks.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track\nfunc Track(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"track\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Underline — The HTML Underline Element (<u>) renders text with an underline, a line under the baseline of its content.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u\nfunc Underline(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"u\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// UnorderedList — The HTML <ul> element (or HTML Unordered List Element) represents an unordered list of items, namely a collection of items that do not have a numerical ordering, and their order in the list is meaningless. Typically, unordered-list items are displayed with a bullet, which can be of several forms, like a dot, a circle or a squared. The bullet style is not defined in the HTML description of the page, but in its associated CSS, using the list-style-type property.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul\nfunc UnorderedList(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"ul\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Variable — The HTML Variable Element (<var>) represents a variable in a mathematical expression or a programming context.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var\nfunc Variable(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"var\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Video — Editorial review completed.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video\nfunc Video(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"video\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// WordBreakOpportunity — The HTML element word break opportunity <wbr> represents a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location.\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr\nfunc WordBreakOpportunity(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"wbr\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Header1 — Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically( just like the fixed sider bar of this page on the right).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements\nfunc Header1(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"h1\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Header2 — Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically( just like the fixed sider bar of this page on the right).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements\nfunc Header2(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"h2\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Header3 — Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically( just like the fixed sider bar of this page on the right).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements\nfunc Header3(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"h3\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Header4 — Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically( just like the fixed sider bar of this page on the right).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements\nfunc Header4(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"h4\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Header5 — Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically( just like the fixed sider bar of this page on the right).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements\nfunc Header5(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"h5\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n\n// Header6 — Heading elements implement six levels of document headings, <h1> is the most important and <h6> is the least. A heading element briefly describes the topic of the section it introduces. Heading information may be used by user agents, for example, to construct a table of contents for a document automatically( just like the fixed sider bar of this page on the right).\n//\n// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements\nfunc Header6(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"h6\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n"
  },
  {
    "path": "el/generate.go",
    "content": "// +build ignore\n\n/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n// Portions Copyright (c) 2016 The Vecty Authors. All rights reserved.\n// See https://github.com/gopherjs/vecty for the origin of this clever\n// code generator.\n\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io\"\n\t\"os\"\n\t\"strings\"\n\n\t\"github.com/PuerkitoBio/goquery\"\n)\n\nvar elemNameMap = map[string]string{\n\t\"a\":          \"Anchor\",\n\t\"abbr\":       \"Abbreviation\",\n\t\"b\":          \"Bold\",\n\t\"bdi\":        \"BidirectionalIsolation\",\n\t\"bdo\":        \"BidirectionalOverride\",\n\t\"blockquote\": \"BlockQuote\",\n\t\"br\":         \"Break\",\n\t\"cite\":       \"Citation\",\n\t\"col\":        \"Column\",\n\t\"colgroup\":   \"ColumnGroup\",\n\t\"datalist\":   \"DataList\",\n\t\"dd\":         \"Description\",\n\t\"del\":        \"DeletedText\",\n\t\"dfn\":        \"Definition\",\n\t\"dl\":         \"DescriptionList\",\n\t\"dt\":         \"DefinitionTerm\",\n\t\"em\":         \"Emphasis\",\n\t\"fieldset\":   \"FieldSet\",\n\t\"figcaption\": \"FigureCaption\",\n\t\"h1\":         \"Header1\",\n\t\"h2\":         \"Header2\",\n\t\"h3\":         \"Header3\",\n\t\"h4\":         \"Header4\",\n\t\"h5\":         \"Header5\",\n\t\"h6\":         \"Header6\",\n\t\"hgroup\":     \"HeadingsGroup\",\n\t\"hr\":         \"HorizontalRule\",\n\t\"i\":          \"Italic\",\n\t\"iframe\":     \"InlineFrame\",\n\t\"img\":        \"Image\",\n\t\"ins\":        \"InsertedText\",\n\t\"kbd\":        \"KeyboardInput\",\n\t\"li\":         \"ListItem\",\n\t\"menuitem\":   \"MenuItem\",\n\t\"nav\":        \"Navigation\",\n\t\"noframes\":   \"NoFrames\",\n\t\"noscript\":   \"NoScript\",\n\t\"ol\":         \"OrderedList\",\n\t\"optgroup\":   \"OptionsGroup\",\n\t\"p\":          \"Paragraph\",\n\t\"param\":      \"Parameter\",\n\t\"pre\":        \"Preformatted\",\n\t\"q\":          \"Quote\",\n\t\"rp\":         \"RubyParenthesis\",\n\t\"rt\":         \"RubyText\",\n\t\"rtc\":        \"RubyTextContainer\",\n\t\"s\":          \"Strikethrough\",\n\t\"samp\":       \"Sample\",\n\t\"sub\":        \"Subscript\",\n\t\"sup\":        \"Superscript\",\n\t\"tbody\":      \"TableBody\",\n\t\"textarea\":   \"TextArea\",\n\t\"td\":         \"TableData\",\n\t\"tfoot\":      \"TableFoot\",\n\t\"th\":         \"TableHeader\",\n\t\"thead\":      \"TableHead\",\n\t\"tr\":         \"TableRow\",\n\t\"u\":          \"Underline\",\n\t\"ul\":         \"UnorderedList\",\n\t\"var\":        \"Variable\",\n\t\"wbr\":        \"WordBreakOpportunity\",\n}\n\nfunc main() {\n\tdoc, err := goquery.NewDocument(\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfile, err := os.Create(\"elements.autogen.go\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer file.Close()\n\n\tfmt.Fprint(file, `//go:generate go run generate.go\n\n// Package el defines markup to create DOM elements.\n//\n// Generated from \"HTML element reference\" by Mozilla Contributors, https://developer.mozilla.org/en-US/docs/Web/HTML/Element, licensed under CC-BY-SA 2.5.\npackage el\n\nimport \"github.com/bep/gr\"\n`)\n\n\tdoc.Find(\".quick-links a\").Each(func(i int, s *goquery.Selection) {\n\t\tlink, _ := s.Attr(\"href\")\n\t\tif !strings.HasPrefix(link, \"/en-US/docs/Web/HTML/Element/\") {\n\t\t\treturn\n\t\t}\n\n\t\tif s.Parent().Find(\".icon-trash, .icon-thumbs-down-alt, .icon-warning-sign\").Length() > 0 {\n\t\t\treturn\n\t\t}\n\n\t\tdesc, _ := s.Attr(\"title\")\n\n\t\ttext := s.Text()\n\t\tif text == \"Heading elements\" {\n\t\t\twriteElem(file, \"h1\", desc, link)\n\t\t\twriteElem(file, \"h2\", desc, link)\n\t\t\twriteElem(file, \"h3\", desc, link)\n\t\t\twriteElem(file, \"h4\", desc, link)\n\t\t\twriteElem(file, \"h5\", desc, link)\n\t\t\twriteElem(file, \"h6\", desc, link)\n\t\t\treturn\n\t\t}\n\n\t\tif strings.HasPrefix(text, \"webkit\") {\n\t\t\treturn\n\t\t}\n\n\t\tname := text[1 : len(text)-1]\n\t\tif name == \"html\" || name == \"head\" || name == \"body\" {\n\t\t\treturn\n\t\t}\n\n\t\twriteElem(file, name, desc, link)\n\t})\n}\n\nfunc writeElem(w io.Writer, name, desc, link string) {\n\tfunName := elemNameMap[name]\n\tif funName == \"\" {\n\t\tfunName = capitalize(name)\n\t}\n\t//TODO(bep) Make nicer description.\n\tfmt.Fprintf(w, `\n// %s — %s\n//\n// https://developer.mozilla.org%s\nfunc %s(mods ...gr.Modifier) *gr.Element {\n\te := gr.NewElement(\"%s\")\n\tgr.Modifiers(mods).Modify(e)\n\treturn e\n}\n`, funName, desc, link, funName, name)\n}\n\nfunc capitalize(s string) string {\n\treturn strings.ToUpper(s[:1]) + s[1:]\n}\n"
  },
  {
    "path": "element.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\nimport (\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\n// A Modifier modifies an element, adding attributes, style or child elements etc.\ntype Modifier interface {\n\tModify(element *Element)\n}\n\ntype elementFactory func(e *Element) *js.Object\n\nvar (\n\tdefaultElementFactory = (*Element).createElement\n\treturnStoredElement   = func(e *Element) *js.Object {\n\t\treturn e.element\n\t}\n)\n\n// Element represents a builder for a ReactElement.\n// An Element can be a simple text node or a HTML element with children, attributes etc.\ntype Element struct {\n\ttag string\n\n\tproperties     map[string]interface{}\n\tstyle          map[string]interface{}\n\teventListeners []*EventListener\n\n\tchildren []Component\n\n\telFactory elementFactory\n\n\t// We assume that this element is static, and as such we help by\n\t// adding auto generated keys when missing, to work around\n\t// annyoing warnings in the console.\n\t// This can be switched with the Dynamic modifier.\n\tdynamic bool\n\n\t// This is the actual ReactJS element.\n\t// ReactElement, ReactText or a ReactFragment\n\telement *js.Object\n}\n\n// NewElement creates a new Element with the given tag.\nfunc NewElement(tag string) *Element {\n\treturn &Element{tag: tag, properties: Props{}, elFactory: defaultElementFactory}\n}\n\n// NewPreparedElement creates an Element from a ready-to-use React element.\nfunc NewPreparedElement(o *js.Object) *Element {\n\treturn &Element{element: o, elFactory: returnStoredElement}\n}\n\n// Node returns the resulting ReactElement.\nfunc (e *Element) Node() *js.Object {\n\tif e.element == nil {\n\t\te.element = e.elFactory(e)\n\t}\n\treturn e.element\n}\n\n// Modify implements the Modifier interface.\nfunc (e *Element) Modify(in *Element) {\n\tin.children = append(in.children, e)\n}\n\n// Modifiers is used to Modify a list of elements (children).\ntype Modifiers []Modifier\n\n// Modify implements the Modifier interface.\nfunc (mods Modifiers) Modify(e *Element) {\n\tfor _, m := range mods {\n\t\tif m != nil {\n\t\t\tm.Modify(e)\n\t\t}\n\t}\n}\n\nfunc (e *Element) createElement() *js.Object {\n\tif e.properties == nil {\n\t\te.properties = make(map[string]interface{})\n\t}\n\n\tif len(e.style) != 0 {\n\t\t// TODO(bep) merge with existing?\n\t\te.properties[\"style\"] = e.style\n\t}\n\n\tvar args []interface{}\n\n\tif len(e.children) > 0 {\n\t\tfor _, c := range e.children {\n\t\t\targs = append(args, c.Node())\n\t\t}\n\t}\n\n\treturn createElement(e.tag, e.properties, args)\n\n}\n\nfunc createElement(tag string, props map[string]interface{}, args []interface{}) *js.Object {\n\tif len(args) == 0 {\n\t\treturn react.Call(\"createElement\", tag, props)\n\t}\n\n\treturn react.Call(\"createElement\", tag, props, args)\n}\n"
  },
  {
    "path": "event.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\nimport (\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\n// Event represents a browser event. See https://developer.mozilla.org/en-US/docs/Web/Events\ntype Event struct {\n\t*js.Object\n\tThis *This\n}\n\n// Persist can be used to make sure the event survives Facebook React's recycling of\n// events. Useful to avoid confusing debugging sessions in the console.\nfunc (e *Event) Persist() {\n\te.Call(\"persist\")\n}\n\n// Target gives the target triggering this event.\nfunc (e *Event) Target() *js.Object {\n\treturn e.Get(\"target\")\n}\n\n// TargetValue gives the target triggering this event's value. For a input select, this will be the selected value.\nfunc (e *Event) TargetValue() *js.Object {\n\treturn e.Target().Get(\"value\")\n}\n\n// CurrentTarget gives the currentTarget, i.e. the container triggering this event.\nfunc (e *Event) CurrentTarget() *js.Object {\n\treturn e.Get(\"currentTarget\")\n}\n\n// Int is a convenience method to get an Event attribute as an Int value, e.g. screenX.\nfunc (e *Event) Int(key string) int {\n\treturn e.Get(key).Int()\n}\n\n// An EventListener can be attached to a HTML element to listen for events, mouse clicks etc.\ntype EventListener struct {\n\tname            string\n\tlistener        func(*Event)\n\tpreventDefault  bool\n\tstopPropagation bool\n\tdelegate        func(jsEvent *js.Object)\n}\n\n// PreventDefault prevents the default event behaviour in the browser.\nfunc (l *EventListener) PreventDefault() *EventListener {\n\tl.preventDefault = true\n\treturn l\n}\n\n// StopPropagation prevents further propagation of the current event in the capturing and bubbling phases.\n//\n// See https://developer.mozilla.org/en-US/docs/Web/API/Event/stopPropagation.\nfunc (l *EventListener) StopPropagation() *EventListener {\n\tl.stopPropagation = true\n\treturn l\n}\n\n// Listener is the signature for the func that needs to be implemented by the\n// listener, e.g. the clickHandler etc.\ntype Listener func(*Event)\n\n// NewEventListener creates a new EventListener. In most cases you will use the\n// predefined event listeners in the evt package.\nfunc NewEventListener(name string, listener func(*Event)) *EventListener {\n\tl := &EventListener{name: name, listener: listener}\n\n\treturn l\n}\n\n// Modify implements the Modifier interface.\nfunc (l *EventListener) Modify(element *Element) {\n\telement.eventListeners = append(element.eventListeners, l)\n}\n"
  },
  {
    "path": "evt/event.autogen.go",
    "content": "//go:generate go run generate.go\n\n// Package evt defines markup to bind DOM events.\n//\n// Generated from \"Event reference\" by Mozilla Contributors, https://developer.mozilla.org/en-US/docs/Web/Events, licensed under CC-BY-SA 2.5.\npackage evt\n\nimport \"github.com/bep/gr\"\n\n// Abort gets notified when a transaction has been aborted.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/abort_indexedDB\nfunc Abort(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAbort\", listener)\n}\n\n// AfterPrint gets notified when the associated document has started printing or the print preview has been closed.\n//\n// https://developer.mozilla.org/docs/Web/Events/afterprint\nfunc AfterPrint(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAfterPrint\", listener)\n}\n\n// AnimationEnd gets notified when a CSS animation has completed.\n//\n// https://developer.mozilla.org/docs/Web/Events/animationend\nfunc AnimationEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAnimationEnd\", listener)\n}\n\n// AnimationIteration gets notified when a CSS animation is repeated.\n//\n// https://developer.mozilla.org/docs/Web/Events/animationiteration\nfunc AnimationIteration(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAnimationIteration\", listener)\n}\n\n// AnimationStart gets notified when a CSS animation has started.\n//\n// https://developer.mozilla.org/docs/Web/Events/animationstart\nfunc AnimationStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAnimationStart\", listener)\n}\n\n// AudioEnd gets notified when the user agent has finished capturing audio for speech recognition.\n//\n// https://developer.mozilla.org/docs/Web/Events/audioend\nfunc AudioEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAudioEnd\", listener)\n}\n\n// AudioProcess gets notified when the input buffer of a ScriptProcessorNode is ready to be processed.\n//\n// https://developer.mozilla.org/docs/Web/Events/audioprocess\nfunc AudioProcess(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAudioProcess\", listener)\n}\n\n// AudioStart gets notified when the user agent has started to capture audio for speech recognition.\n//\n// https://developer.mozilla.org/docs/Web/Events/audiostart\nfunc AudioStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onAudioStart\", listener)\n}\n\n// BeforePrint gets notified when the associated document is about to be printed or previewed for printing.\n//\n// https://developer.mozilla.org/docs/Web/Events/beforeprint\nfunc BeforePrint(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onBeforePrint\", listener)\n}\n\n// BeforeUnload gets notified when (no documentation)\n//\n// https://developer.mozilla.org/docs/Web/Events/beforeunload\nfunc BeforeUnload(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onBeforeUnload\", listener)\n}\n\n// BeginEvent gets notified when a SMIL animation element begins.\n//\n// https://developer.mozilla.org/docs/Web/Events/beginEvent\nfunc BeginEvent(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onBeginEvent\", listener)\n}\n\n// Blocked gets notified when an open connection to a database is blocking a versionchange transaction on the same database.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/blocked_indexedDB\nfunc Blocked(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onBlocked\", listener)\n}\n\n// Blur gets notified when an element has lost focus (does not bubble).\n//\n// https://developer.mozilla.org/docs/Web/Events/blur\nfunc Blur(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onBlur\", listener)\n}\n\n// Boundary gets notified when the spoken utterance reaches a word or sentence boundary\n//\n// https://developer.mozilla.org/docs/Web/Events/boundary\nfunc Boundary(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onBoundary\", listener)\n}\n\n// Cached gets notified when the resources listed in the manifest have been downloaded, and the application is now cached.\n//\n// https://developer.mozilla.org/docs/Web/Events/cached\nfunc Cached(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCached\", listener)\n}\n\n// CanPlay gets notified when the user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content.\n//\n// https://developer.mozilla.org/docs/Web/Events/canplay\nfunc CanPlay(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCanPlay\", listener)\n}\n\n// CanPlayThrough gets notified when the user agent can play the media, and estimates that enough data has been loaded to play the media up to its end without having to stop for further buffering of content.\n//\n// https://developer.mozilla.org/docs/Web/Events/canplaythrough\nfunc CanPlayThrough(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCanPlayThrough\", listener)\n}\n\n// Change gets notified when the change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user.\n//\n// https://developer.mozilla.org/docs/Web/Events/change\nfunc Change(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onChange\", listener)\n}\n\n// ChargingChange gets notified when the battery begins or stops charging.\n//\n// https://developer.mozilla.org/docs/Web/Events/chargingchange\nfunc ChargingChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onChargingChange\", listener)\n}\n\n// ChargingTimeChange gets notified when the chargingTime attribute has been updated.\n//\n// https://developer.mozilla.org/docs/Web/Events/chargingtimechange\nfunc ChargingTimeChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onChargingTimeChange\", listener)\n}\n\n// Checking gets notified when the user agent is checking for an update, or attempting to download the cache manifest for the first time.\n//\n// https://developer.mozilla.org/docs/Web/Events/checking\nfunc Checking(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onChecking\", listener)\n}\n\n// Click gets notified when a pointing device button has been pressed and released on an element.\n//\n// https://developer.mozilla.org/docs/Web/Events/click\nfunc Click(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onClick\", listener)\n}\n\n// Close gets notified when a WebSocket connection has been closed.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/close_websocket\nfunc Close(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onClose\", listener)\n}\n\n// Complete gets notified when the rendering of an OfflineAudioContext is terminated.\n//\n// https://developer.mozilla.org/docs/Web/Events/complete\nfunc Complete(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onComplete\", listener)\n}\n\n// CompositionEnd gets notified when the composition of a passage of text has been completed or canceled.\n//\n// https://developer.mozilla.org/docs/Web/Events/compositionend\nfunc CompositionEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCompositionEnd\", listener)\n}\n\n// CompositionStart gets notified when the composition of a passage of text is prepared (similar to keydown for a keyboard input, but works with other inputs such as speech recognition).\n//\n// https://developer.mozilla.org/docs/Web/Events/compositionstart\nfunc CompositionStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCompositionStart\", listener)\n}\n\n// CompositionUpdate gets notified when a character is added to a passage of text being composed.\n//\n// https://developer.mozilla.org/docs/Web/Events/compositionupdate\nfunc CompositionUpdate(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCompositionUpdate\", listener)\n}\n\n// ContextMenu gets notified when the right button of the mouse is clicked (before the context menu is displayed).\n//\n// https://developer.mozilla.org/docs/Web/Events/contextmenu\nfunc ContextMenu(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onContextMenu\", listener)\n}\n\n// Copy gets notified when the text selection has been added to the clipboard.\n//\n// https://developer.mozilla.org/docs/Web/Events/copy\nfunc Copy(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCopy\", listener)\n}\n\n// Cut gets notified when the text selection has been removed from the document and added to the clipboard.\n//\n// https://developer.mozilla.org/docs/Web/Events/cut\nfunc Cut(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onCut\", listener)\n}\n\n// DOMContentLoaded gets notified when the document has finished loading (but not its dependent resources).\n//\n// https://developer.mozilla.org/docs/Web/Events/DOMContentLoaded\nfunc DOMContentLoaded(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDOMContentLoaded\", listener)\n}\n\n// DeviceLight gets notified when fresh data is available from a light sensor.\n//\n// https://developer.mozilla.org/docs/Web/Events/devicelight\nfunc DeviceLight(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDeviceLight\", listener)\n}\n\n// DeviceMotion gets notified when fresh data is available from a motion sensor.\n//\n// https://developer.mozilla.org/docs/Web/Events/devicemotion\nfunc DeviceMotion(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDeviceMotion\", listener)\n}\n\n// DeviceOrientation gets notified when fresh data is available from an orientation sensor.\n//\n// https://developer.mozilla.org/docs/Web/Events/deviceorientation\nfunc DeviceOrientation(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDeviceOrientation\", listener)\n}\n\n// DeviceProximity gets notified when fresh data is available from a proximity sensor (indicates an approximated distance between the device and a nearby object).\n//\n// https://developer.mozilla.org/docs/Web/Events/deviceproximity\nfunc DeviceProximity(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDeviceProximity\", listener)\n}\n\n// DischargingTimeChange gets notified when the dischargingTime attribute has been updated.\n//\n// https://developer.mozilla.org/docs/Web/Events/dischargingtimechange\nfunc DischargingTimeChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDischargingTimeChange\", listener)\n}\n\n// DoubleClick gets notified when a pointing device button is clicked twice on an element.\n//\n// https://developer.mozilla.org/docs/Web/Events/dblclick\nfunc DoubleClick(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDoubleClick\", listener)\n}\n\n// Downloading gets notified when the user agent has found an update and is fetching it, or is downloading the resources listed by the cache manifest for the first time.\n//\n// https://developer.mozilla.org/docs/Web/Events/downloading\nfunc Downloading(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDownloading\", listener)\n}\n\n// Drag gets notified when an element or text selection is being dragged (every 350ms).\n//\n// https://developer.mozilla.org/docs/Web/Events/drag\nfunc Drag(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDrag\", listener)\n}\n\n// DragEnd gets notified when a drag operation is being ended (by releasing a mouse button or hitting the escape key).\n//\n// https://developer.mozilla.org/docs/Web/Events/dragend\nfunc DragEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDragEnd\", listener)\n}\n\n// DragEnter gets notified when a dragged element or text selection enters a valid drop target.\n//\n// https://developer.mozilla.org/docs/Web/Events/dragenter\nfunc DragEnter(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDragEnter\", listener)\n}\n\n// DragLeave gets notified when a dragged element or text selection leaves a valid drop target.\n//\n// https://developer.mozilla.org/docs/Web/Events/dragleave\nfunc DragLeave(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDragLeave\", listener)\n}\n\n// DragOver gets notified when an element or text selection is being dragged over a valid drop target (every 350ms).\n//\n// https://developer.mozilla.org/docs/Web/Events/dragover\nfunc DragOver(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDragOver\", listener)\n}\n\n// DragStart gets notified when the user starts dragging an element or text selection.\n//\n// https://developer.mozilla.org/docs/Web/Events/dragstart\nfunc DragStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDragStart\", listener)\n}\n\n// Drop gets notified when an element is dropped on a valid drop target.\n//\n// https://developer.mozilla.org/docs/Web/Events/drop\nfunc Drop(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDrop\", listener)\n}\n\n// DurationChange gets notified when the duration attribute has been updated.\n//\n// https://developer.mozilla.org/docs/Web/Events/durationchange\nfunc DurationChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onDurationChange\", listener)\n}\n\n// Emptied gets notified when the media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it.\n//\n// https://developer.mozilla.org/docs/Web/Events/emptied\nfunc Emptied(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onEmptied\", listener)\n}\n\n// End gets notified when the utterance has finished being spoken.\n//\n// https://developer.mozilla.org/docs/Web/Events/end_(SpeechSynthesis)\nfunc End(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onEnd\", listener)\n}\n\n// EndEvent gets notified when a SMIL animation element ends.\n//\n// https://developer.mozilla.org/docs/Web/Events/endEvent\nfunc EndEvent(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onEndEvent\", listener)\n}\n\n// Ended gets notified when (no documentation)\n//\n// https://developer.mozilla.org/docs/Web/Events/ended_(Web_Audio)\nfunc Ended(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onEnded\", listener)\n}\n\n// Error gets notified when an error occurs that prevents the utterance from being successfully spoken.\n//\n// https://developer.mozilla.org/docs/Web/Events/error_(SpeechSynthesisError)\nfunc Error(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onError\", listener)\n}\n\n// Focus gets notified when an element has received focus (does not bubble).\n//\n// https://developer.mozilla.org/docs/Web/Events/focus\nfunc Focus(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onFocus\", listener)\n}\n\n// FocusIn gets notified when an element is about to receive focus (bubbles).\n//\n// https://developer.mozilla.org/docs/Web/Events/focusin\nfunc FocusIn(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onFocusIn\", listener)\n}\n\n// FocusOut gets notified when an element is about to lose focus (bubbles).\n//\n// https://developer.mozilla.org/docs/Web/Events/focusout\nfunc FocusOut(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onFocusOut\", listener)\n}\n\n// FullScreenChange gets notified when an element was turned to fullscreen mode or back to normal mode.\n//\n// https://developer.mozilla.org/docs/Web/Events/fullscreenchange\nfunc FullScreenChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onFullScreenChange\", listener)\n}\n\n// FullScreenError gets notified when it was impossible to switch to fullscreen mode for technical reasons or because the permission was denied.\n//\n// https://developer.mozilla.org/docs/Web/Events/fullscreenerror\nfunc FullScreenError(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onFullScreenError\", listener)\n}\n\n// GamepadConnected gets notified when a gamepad has been connected.\n//\n// https://developer.mozilla.org/docs/Web/Events/gamepadconnected\nfunc GamepadConnected(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onGamepadConnected\", listener)\n}\n\n// GamepadDisconnected gets notified when a gamepad has been disconnected.\n//\n// https://developer.mozilla.org/docs/Web/Events/gamepaddisconnected\nfunc GamepadDisconnected(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onGamepadDisconnected\", listener)\n}\n\n// GotPointerCapture gets notified when element receives pointer capture.\n//\n// https://developer.mozilla.org/docs/Web/Events/gotpointercapture\nfunc GotPointerCapture(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onGotPointerCapture\", listener)\n}\n\n// HashChange gets notified when the fragment identifier of the URL has changed (the part of the URL after the #).\n//\n// https://developer.mozilla.org/docs/Web/Events/hashchange\nfunc HashChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onHashChange\", listener)\n}\n\n// Input gets notified when the value of an element changes or the content of an element with the attribute contenteditable is modified.\n//\n// https://developer.mozilla.org/docs/Web/Events/input\nfunc Input(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onInput\", listener)\n}\n\n// Invalid gets notified when a submittable element has been checked and doesn't satisfy its constraints.\n//\n// https://developer.mozilla.org/docs/Web/Events/invalid\nfunc Invalid(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onInvalid\", listener)\n}\n\n// KeyDown gets notified when a key is pressed down.\n//\n// https://developer.mozilla.org/docs/Web/Events/keydown\nfunc KeyDown(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onKeyDown\", listener)\n}\n\n// KeyPress gets notified when a key is pressed down and that key normally produces a character value (use input instead).\n//\n// https://developer.mozilla.org/docs/Web/Events/keypress\nfunc KeyPress(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onKeyPress\", listener)\n}\n\n// KeyUp gets notified when a key is released.\n//\n// https://developer.mozilla.org/docs/Web/Events/keyup\nfunc KeyUp(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onKeyUp\", listener)\n}\n\n// LanguageChange gets notified when (no documentation)\n//\n// https://developer.mozilla.org/docs/Web/Events/languagechange\nfunc LanguageChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLanguageChange\", listener)\n}\n\n// LevelChange gets notified when the level attribute has been updated.\n//\n// https://developer.mozilla.org/docs/Web/Events/levelchange\nfunc LevelChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLevelChange\", listener)\n}\n\n// Load gets notified when progression has been successful.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/load_(ProgressEvent)\nfunc Load(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLoad\", listener)\n}\n\n// LoadEnd gets notified when progress has stopped (after \"error\", \"abort\" or \"load\" have been dispatched).\n//\n// https://developer.mozilla.org/docs/Web/Events/loadend\nfunc LoadEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLoadEnd\", listener)\n}\n\n// LoadStart gets notified when progress has begun.\n//\n// https://developer.mozilla.org/docs/Web/Events/loadstart\nfunc LoadStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLoadStart\", listener)\n}\n\n// LoadedData gets notified when the first frame of the media has finished loading.\n//\n// https://developer.mozilla.org/docs/Web/Events/loadeddata\nfunc LoadedData(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLoadedData\", listener)\n}\n\n// LoadedMetadata gets notified when the metadata has been loaded.\n//\n// https://developer.mozilla.org/docs/Web/Events/loadedmetadata\nfunc LoadedMetadata(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLoadedMetadata\", listener)\n}\n\n// LostPointerCapture gets notified when element lost pointer capture.\n//\n// https://developer.mozilla.org/docs/Web/Events/lostpointercapture\nfunc LostPointerCapture(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onLostPointerCapture\", listener)\n}\n\n// Mark gets notified when the spoken utterance reaches a named SSML \"mark\" tag.\n//\n// https://developer.mozilla.org/docs/Web/Events/mark\nfunc Mark(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMark\", listener)\n}\n\n// Message gets notified when a message is received from a service worker, or a message is received in a service worker from another context.\n//\n// https://developer.mozilla.org/docs/Web/Events/message_(ServiceWorker)\nfunc Message(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMessage\", listener)\n}\n\n// MouseDown gets notified when a pointing device button (usually a mouse) is pressed on an element.\n//\n// https://developer.mozilla.org/docs/Web/Events/mousedown\nfunc MouseDown(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMouseDown\", listener)\n}\n\n// MouseEnter gets notified when a pointing device is moved onto the element that has the listener attached.\n//\n// https://developer.mozilla.org/docs/Web/Events/mouseenter\nfunc MouseEnter(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMouseEnter\", listener)\n}\n\n// MouseLeave gets notified when a pointing device is moved off the element that has the listener attached.\n//\n// https://developer.mozilla.org/docs/Web/Events/mouseleave\nfunc MouseLeave(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMouseLeave\", listener)\n}\n\n// MouseMove gets notified when a pointing device is moved over an element.\n//\n// https://developer.mozilla.org/docs/Web/Events/mousemove\nfunc MouseMove(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMouseMove\", listener)\n}\n\n// MouseOut gets notified when a pointing device is moved off the element that has the listener attached or off one of its children.\n//\n// https://developer.mozilla.org/docs/Web/Events/mouseout\nfunc MouseOut(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMouseOut\", listener)\n}\n\n// MouseOver gets notified when a pointing device is moved onto the element that has the listener attached or onto one of its children.\n//\n// https://developer.mozilla.org/docs/Web/Events/mouseover\nfunc MouseOver(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMouseOver\", listener)\n}\n\n// MouseUp gets notified when a pointing device button is released over an element.\n//\n// https://developer.mozilla.org/docs/Web/Events/mouseup\nfunc MouseUp(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onMouseUp\", listener)\n}\n\n// NoMatch gets notified when the speech recognition service returns a final result with no significant recognition.\n//\n// https://developer.mozilla.org/docs/Web/Events/nomatch\nfunc NoMatch(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onNoMatch\", listener)\n}\n\n// NoUpdate gets notified when the manifest hadn't changed.\n//\n// https://developer.mozilla.org/docs/Web/Events/noupdate\nfunc NoUpdate(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onNoUpdate\", listener)\n}\n\n// NotificationClick gets notified when a system notification spawned by ServiceWorkerRegistration.showNotification() has been clicked.\n//\n// https://developer.mozilla.org/docs/Web/Events/notificationclick\nfunc NotificationClick(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onNotificationClick\", listener)\n}\n\n// Obsolete gets notified when the manifest was found to have become a 404 or 410 page, so the application cache is being deleted.\n//\n// https://developer.mozilla.org/docs/Web/Events/obsolete\nfunc Obsolete(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onObsolete\", listener)\n}\n\n// Offline gets notified when the browser has lost access to the network.\n//\n// https://developer.mozilla.org/docs/Web/Events/offline\nfunc Offline(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onOffline\", listener)\n}\n\n// Online gets notified when the browser has gained access to the network (but particular websites might be unreachable).\n//\n// https://developer.mozilla.org/docs/Web/Events/online\nfunc Online(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onOnline\", listener)\n}\n\n// Open gets notified when an event source connection has been established.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/open_serversentevents\nfunc Open(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onOpen\", listener)\n}\n\n// OrientationChange gets notified when the orientation of the device (portrait/landscape) has changed\n//\n// https://developer.mozilla.org/docs/Web/Events/orientationchange\nfunc OrientationChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onOrientationChange\", listener)\n}\n\n// PageHide gets notified when a session history entry is being traversed from.\n//\n// https://developer.mozilla.org/docs/Web/Events/pagehide\nfunc PageHide(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPageHide\", listener)\n}\n\n// PageShow gets notified when a session history entry is being traversed to.\n//\n// https://developer.mozilla.org/docs/Web/Events/pageshow\nfunc PageShow(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPageShow\", listener)\n}\n\n// Paste gets notified when data has been transferred from the system clipboard to the document.\n//\n// https://developer.mozilla.org/docs/Web/Events/paste\nfunc Paste(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPaste\", listener)\n}\n\n// Pause gets notified when the utterance is paused part way through.\n//\n// https://developer.mozilla.org/docs/Web/Events/pause_(SpeechSynthesis)\nfunc Pause(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPause\", listener)\n}\n\n// Play gets notified when playback has begun.\n//\n// https://developer.mozilla.org/docs/Web/Events/play\nfunc Play(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPlay\", listener)\n}\n\n// Playing gets notified when playback is ready to start after having been paused or delayed due to lack of data.\n//\n// https://developer.mozilla.org/docs/Web/Events/playing\nfunc Playing(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPlaying\", listener)\n}\n\n// PointerCancel gets notified when the pointer is unlikely to produce any more events.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointercancel\nfunc PointerCancel(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerCancel\", listener)\n}\n\n// PointerDown gets notified when the pointer enters the active buttons state.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerdown\nfunc PointerDown(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerDown\", listener)\n}\n\n// PointerEnter gets notified when pointing device is moved inside the hit-testing boundary.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerenter\nfunc PointerEnter(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerEnter\", listener)\n}\n\n// PointerLeave gets notified when pointing device is moved out of the hit-testing boundary.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerleave\nfunc PointerLeave(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerLeave\", listener)\n}\n\n// PointerLockChange gets notified when the pointer was locked or released.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerlockchange\nfunc PointerLockChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerLockChange\", listener)\n}\n\n// PointerLockError gets notified when it was impossible to lock the pointer for technical reasons or because the permission was denied.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerlockerror\nfunc PointerLockError(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerLockError\", listener)\n}\n\n// PointerMove gets notified when the pointer changed coordinates.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointermove\nfunc PointerMove(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerMove\", listener)\n}\n\n// PointerOut gets notified when the pointing device moved out of hit-testing boundary or leaves detectable hover range.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerout\nfunc PointerOut(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerOut\", listener)\n}\n\n// PointerOver gets notified when the pointing device is moved into the hit-testing boundary.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerover\nfunc PointerOver(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerOver\", listener)\n}\n\n// PointerUp gets notified when the pointer leaves the active buttons state.\n//\n// https://developer.mozilla.org/docs/Web/Events/pointerup\nfunc PointerUp(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPointerUp\", listener)\n}\n\n// PopState gets notified when a session history entry is being navigated to (in certain cases).\n//\n// https://developer.mozilla.org/docs/Web/Events/popstate\nfunc PopState(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPopState\", listener)\n}\n\n// Progress gets notified when the user agent is downloading resources listed by the manifest.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/progress_(appcache_event)\nfunc Progress(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onProgress\", listener)\n}\n\n// Push gets notified when a Service Worker has received a push message.\n//\n// https://developer.mozilla.org/docs/Web/Events/push\nfunc Push(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPush\", listener)\n}\n\n// PushSubscriptionChange gets notified when a PushSubscription has expired.\n//\n// https://developer.mozilla.org/docs/Web/Events/pushsubscriptionchange\nfunc PushSubscriptionChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onPushSubscriptionChange\", listener)\n}\n\n// RateChange gets notified when the playback rate has changed.\n//\n// https://developer.mozilla.org/docs/Web/Events/ratechange\nfunc RateChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onRateChange\", listener)\n}\n\n// ReadyStateChange gets notified when the readyState attribute of a document has changed.\n//\n// https://developer.mozilla.org/docs/Web/Events/readystatechange\nfunc ReadyStateChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onReadyStateChange\", listener)\n}\n\n// RepeatEvent gets notified when a SMIL animation element is repeated.\n//\n// https://developer.mozilla.org/docs/Web/Events/repeatEvent\nfunc RepeatEvent(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onRepeatEvent\", listener)\n}\n\n// Reset gets notified when a form is reset.\n//\n// https://developer.mozilla.org/docs/Web/Events/reset\nfunc Reset(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onReset\", listener)\n}\n\n// Resize gets notified when the document view has been resized.\n//\n// https://developer.mozilla.org/docs/Web/Events/resize\nfunc Resize(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onResize\", listener)\n}\n\n// ResourceTimingBufferFull gets notified when the browser's resource timing buffer is full.\n//\n// https://developer.mozilla.org/docs/Web/Events/resourcetimingbufferfull\nfunc ResourceTimingBufferFull(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onResourceTimingBufferFull\", listener)\n}\n\n// Result gets notified when the speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app.\n//\n// https://developer.mozilla.org/docs/Web/Events/result\nfunc Result(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onResult\", listener)\n}\n\n// Resume gets notified when a paused utterance is resumed.\n//\n// https://developer.mozilla.org/docs/Web/Events/resume\nfunc Resume(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onResume\", listener)\n}\n\n// SVGAbort gets notified when page loading has been stopped before the SVG was loaded.\n//\n// https://developer.mozilla.org/docs/Web/Events/SVGAbort\nfunc SVGAbort(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSVGAbort\", listener)\n}\n\n// SVGError gets notified when an error has occurred before the SVG was loaded.\n//\n// https://developer.mozilla.org/docs/Web/Events/SVGError\nfunc SVGError(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSVGError\", listener)\n}\n\n// SVGLoad gets notified when an SVG document has been loaded and parsed.\n//\n// https://developer.mozilla.org/docs/Web/Events/SVGLoad\nfunc SVGLoad(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSVGLoad\", listener)\n}\n\n// SVGResize gets notified when an SVG document is being resized.\n//\n// https://developer.mozilla.org/docs/Web/Events/SVGResize\nfunc SVGResize(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSVGResize\", listener)\n}\n\n// SVGScroll gets notified when an SVG document is being scrolled.\n//\n// https://developer.mozilla.org/docs/Web/Events/SVGScroll\nfunc SVGScroll(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSVGScroll\", listener)\n}\n\n// SVGUnload gets notified when an SVG document has been removed from a window or frame.\n//\n// https://developer.mozilla.org/docs/Web/Events/SVGUnload\nfunc SVGUnload(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSVGUnload\", listener)\n}\n\n// SVGZoom gets notified when an SVG document is being zoomed.\n//\n// https://developer.mozilla.org/docs/Web/Events/SVGZoom\nfunc SVGZoom(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSVGZoom\", listener)\n}\n\n// Scroll gets notified when the document view or an element has been scrolled.\n//\n// https://developer.mozilla.org/docs/Web/Events/scroll\nfunc Scroll(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onScroll\", listener)\n}\n\n// Seeked gets notified when a seek operation completed.\n//\n// https://developer.mozilla.org/docs/Web/Events/seeked\nfunc Seeked(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSeeked\", listener)\n}\n\n// Seeking gets notified when a seek operation began.\n//\n// https://developer.mozilla.org/docs/Web/Events/seeking\nfunc Seeking(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSeeking\", listener)\n}\n\n// Select gets notified when some text is being selected.\n//\n// https://developer.mozilla.org/docs/Web/Events/select\nfunc Select(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSelect\", listener)\n}\n\n// SelectStart gets notified when a selection just started.\n//\n// https://developer.mozilla.org/docs/Web/Events/selectstart\nfunc SelectStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSelectStart\", listener)\n}\n\n// SelectionChange gets notified when the selection in the document has been changed.\n//\n// https://developer.mozilla.org/docs/Web/Events/selectionchange\nfunc SelectionChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSelectionChange\", listener)\n}\n\n// Show gets notified when a contextmenu event was fired on/bubbled to an element that has a contextmenu attribute\n//\n// https://developer.mozilla.org/docs/Web/Events/show\nfunc Show(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onShow\", listener)\n}\n\n// SoundEnd gets notified when any sound — recognisable speech or not — has stopped being detected.\n//\n// https://developer.mozilla.org/docs/Web/Events/soundend\nfunc SoundEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSoundEnd\", listener)\n}\n\n// SoundStart gets notified when any sound — recognisable speech or not — has been detected.\n//\n// https://developer.mozilla.org/docs/Web/Events/soundstart\nfunc SoundStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSoundStart\", listener)\n}\n\n// SpeechEnd gets notified when speech recognised by the speech recognition service has stopped being detected.\n//\n// https://developer.mozilla.org/docs/Web/Events/speechend\nfunc SpeechEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSpeechEnd\", listener)\n}\n\n// SpeechStart gets notified when sound that is recognised by the speech recognition service as speech has been detected.\n//\n// https://developer.mozilla.org/docs/Web/Events/speechstart\nfunc SpeechStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSpeechStart\", listener)\n}\n\n// Stalled gets notified when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming.\n//\n// https://developer.mozilla.org/docs/Web/Events/stalled\nfunc Stalled(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onStalled\", listener)\n}\n\n// Start gets notified when the utterance has begun to be spoken.\n//\n// https://developer.mozilla.org/docs/Web/Events/start_(SpeechSynthesis)\nfunc Start(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onStart\", listener)\n}\n\n// Storage gets notified when a storage area (localStorage or sessionStorage) has changed.\n//\n// https://developer.mozilla.org/docs/Web/Events/storage\nfunc Storage(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onStorage\", listener)\n}\n\n// Submit gets notified when a form is submitted.\n//\n// https://developer.mozilla.org/docs/Web/Events/submit\nfunc Submit(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSubmit\", listener)\n}\n\n// Success gets notified when a request successfully completed.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/success_indexedDB\nfunc Success(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSuccess\", listener)\n}\n\n// Suspend gets notified when media data loading has been suspended.\n//\n// https://developer.mozilla.org/docs/Web/Events/suspend\nfunc Suspend(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onSuspend\", listener)\n}\n\n// TimeUpdate gets notified when the time indicated by the currentTime attribute has been updated.\n//\n// https://developer.mozilla.org/docs/Web/Events/timeupdate\nfunc TimeUpdate(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTimeUpdate\", listener)\n}\n\n// Timeout gets notified when (no documentation)\n//\n// https://developer.mozilla.org/docs/Web/Events/timeout\nfunc Timeout(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTimeout\", listener)\n}\n\n// TouchCancel gets notified when a touch point has been disrupted in an implementation-specific manners (too many touch points for example).\n//\n// https://developer.mozilla.org/docs/Web/Events/touchcancel\nfunc TouchCancel(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTouchCancel\", listener)\n}\n\n// TouchEnd gets notified when a touch point is removed from the touch surface.\n//\n// https://developer.mozilla.org/docs/Web/Events/touchend\nfunc TouchEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTouchEnd\", listener)\n}\n\n// TouchEnter gets notified when a touch point is moved onto the interactive area of an element.\n//\n// https://developer.mozilla.org/docs/Web/Events/touchenter\nfunc TouchEnter(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTouchEnter\", listener)\n}\n\n// TouchLeave gets notified when a touch point is moved off the interactive area of an element.\n//\n// https://developer.mozilla.org/docs/Web/Events/touchleave\nfunc TouchLeave(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTouchLeave\", listener)\n}\n\n// TouchMove gets notified when a touch point is moved along the touch surface.\n//\n// https://developer.mozilla.org/docs/Web/Events/touchmove\nfunc TouchMove(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTouchMove\", listener)\n}\n\n// TouchStart gets notified when a touch point is placed on the touch surface.\n//\n// https://developer.mozilla.org/docs/Web/Events/touchstart\nfunc TouchStart(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTouchStart\", listener)\n}\n\n// TransitionEnd gets notified when a CSS transition has completed.\n//\n// https://developer.mozilla.org/docs/Web/Events/transitionend\nfunc TransitionEnd(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onTransitionEnd\", listener)\n}\n\n// Unload gets notified when the document or a dependent resource is being unloaded.\n//\n// https://developer.mozilla.org/docs/Web/Events/unload\nfunc Unload(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onUnload\", listener)\n}\n\n// UpdateReady gets notified when the resources listed in the manifest have been newly redownloaded, and the script can use swapCache() to switch to the new cache.\n//\n// https://developer.mozilla.org/docs/Web/Events/updateready\nfunc UpdateReady(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onUpdateReady\", listener)\n}\n\n// UpgradeNeeded gets notified when an attempt was made to open a database with a version number higher than its current version. A versionchange transaction has been created.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/upgradeneeded_indexedDB\nfunc UpgradeNeeded(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onUpgradeNeeded\", listener)\n}\n\n// UserProximity gets notified when fresh data is available from a proximity sensor (indicates whether the nearby object is near the device or not).\n//\n// https://developer.mozilla.org/docs/Web/Events/userproximity\nfunc UserProximity(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onUserProximity\", listener)\n}\n\n// VersionChange gets notified when a versionchange transaction completed.\n//\n// https://developer.mozilla.org/docs/Web/Reference/Events/versionchange_indexedDB\nfunc VersionChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onVersionChange\", listener)\n}\n\n// VisibilityChange gets notified when the content of a tab has become visible or has been hidden.\n//\n// https://developer.mozilla.org/docs/Web/Events/visibilitychange\nfunc VisibilityChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onVisibilityChange\", listener)\n}\n\n// VoicesChanged gets notified when the list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.)\n//\n// https://developer.mozilla.org/docs/Web/Events/voiceschanged\nfunc VoicesChanged(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onVoicesChanged\", listener)\n}\n\n// VolumeChange gets notified when the volume has changed.\n//\n// https://developer.mozilla.org/docs/Web/Events/volumechange\nfunc VolumeChange(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onVolumeChange\", listener)\n}\n\n// Waiting gets notified when playback has stopped because of a temporary lack of data.\n//\n// https://developer.mozilla.org/docs/Web/Events/waiting\nfunc Waiting(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onWaiting\", listener)\n}\n\n// Wheel gets notified when a wheel button of a pointing device is rotated in any direction.\n//\n// https://developer.mozilla.org/docs/Web/Events/wheel\nfunc Wheel(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"onWheel\", listener)\n}\n"
  },
  {
    "path": "evt/generate.go",
    "content": "// +build ignore\n\n/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n// Portions Copyright (c) 2016 The Vecty Authors. All rights reserved.\n// See https://github.com/gopherjs/vecty for the origin of this clever\n// code generator.\n\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"sort\"\n\t\"strings\"\n\t\"unicode\"\n\n\t\"github.com/PuerkitoBio/goquery\"\n)\n\ntype Event struct {\n\tName string\n\tLink string\n\tDesc string\n}\n\nfunc main() {\n\tnameMap := map[string]string{\n\t\t\"afterprint\":               \"AfterPrint\",\n\t\t\"animationend\":             \"AnimationEnd\",\n\t\t\"animationiteration\":       \"AnimationIteration\",\n\t\t\"animationstart\":           \"AnimationStart\",\n\t\t\"audioprocess\":             \"AudioProcess\",\n\t\t\"audioend\":                 \"AudioEnd\",\n\t\t\"audiostart\":               \"AudioStart\",\n\t\t\"beforeprint\":              \"BeforePrint\",\n\t\t\"beforeunload\":             \"BeforeUnload\",\n\t\t\"canplay\":                  \"CanPlay\",\n\t\t\"canplaythrough\":           \"CanPlayThrough\",\n\t\t\"chargingchange\":           \"ChargingChange\",\n\t\t\"chargingtimechange\":       \"ChargingTimeChange\",\n\t\t\"compassneedscalibration\":  \"CompassNeedsCalibration\",\n\t\t\"compositionend\":           \"CompositionEnd\",\n\t\t\"compositionstart\":         \"CompositionStart\",\n\t\t\"compositionupdate\":        \"CompositionUpdate\",\n\t\t\"contextmenu\":              \"ContextMenu\",\n\t\t\"dblclick\":                 \"DoubleClick\",\n\t\t\"devicelight\":              \"DeviceLight\",\n\t\t\"devicemotion\":             \"DeviceMotion\",\n\t\t\"deviceorientation\":        \"DeviceOrientation\",\n\t\t\"deviceproximity\":          \"DeviceProximity\",\n\t\t\"dischargingtimechange\":    \"DischargingTimeChange\",\n\t\t\"dragend\":                  \"DragEnd\",\n\t\t\"dragenter\":                \"DragEnter\",\n\t\t\"dragleave\":                \"DragLeave\",\n\t\t\"dragover\":                 \"DragOver\",\n\t\t\"dragstart\":                \"DragStart\",\n\t\t\"durationchange\":           \"DurationChange\",\n\t\t\"focusin\":                  \"FocusIn\",\n\t\t\"focusout\":                 \"FocusOut\",\n\t\t\"fullscreenchange\":         \"FullScreenChange\",\n\t\t\"fullscreenerror\":          \"FullScreenError\",\n\t\t\"gamepadconnected\":         \"GamepadConnected\",\n\t\t\"gamepaddisconnected\":      \"GamepadDisconnected\",\n\t\t\"gotpointercapture\":        \"GotPointerCapture\",\n\t\t\"hashchange\":               \"HashChange\",\n\t\t\"keydown\":                  \"KeyDown\",\n\t\t\"keypress\":                 \"KeyPress\",\n\t\t\"keyup\":                    \"KeyUp\",\n\t\t\"languagechange\":           \"LanguageChange\",\n\t\t\"levelchange\":              \"LevelChange\",\n\t\t\"loadeddata\":               \"LoadedData\",\n\t\t\"loadedmetadata\":           \"LoadedMetadata\",\n\t\t\"loadend\":                  \"LoadEnd\",\n\t\t\"loadstart\":                \"LoadStart\",\n\t\t\"lostpointercapture\":       \"LostPointerCapture\",\n\t\t\"mousedown\":                \"MouseDown\",\n\t\t\"mouseenter\":               \"MouseEnter\",\n\t\t\"mouseleave\":               \"MouseLeave\",\n\t\t\"mousemove\":                \"MouseMove\",\n\t\t\"mouseout\":                 \"MouseOut\",\n\t\t\"mouseover\":                \"MouseOver\",\n\t\t\"mouseup\":                  \"MouseUp\",\n\t\t\"noupdate\":                 \"NoUpdate\",\n\t\t\"nomatch\":                  \"NoMatch\",\n\t\t\"notificationclick\":        \"NotificationClick\",\n\t\t\"orientationchange\":        \"OrientationChange\",\n\t\t\"pagehide\":                 \"PageHide\",\n\t\t\"pageshow\":                 \"PageShow\",\n\t\t\"pointercancel\":            \"PointerCancel\",\n\t\t\"pointerdown\":              \"PointerDown\",\n\t\t\"pointerenter\":             \"PointerEnter\",\n\t\t\"pointerleave\":             \"PointerLeave\",\n\t\t\"pointerlockchange\":        \"PointerLockChange\",\n\t\t\"pointerlockerror\":         \"PointerLockError\",\n\t\t\"pointermove\":              \"PointerMove\",\n\t\t\"pointerout\":               \"PointerOut\",\n\t\t\"pointerover\":              \"PointerOver\",\n\t\t\"pointerup\":                \"PointerUp\",\n\t\t\"popstate\":                 \"PopState\",\n\t\t\"pushsubscriptionchange\":   \"PushSubscriptionChange\",\n\t\t\"ratechange\":               \"RateChange\",\n\t\t\"readystatechange\":         \"ReadyStateChange\",\n\t\t\"resourcetimingbufferfull\": \"ResourceTimingBufferFull\",\n\t\t\"selectstart\":              \"SelectStart\",\n\t\t\"selectionchange\":          \"SelectionChange\",\n\t\t\"soundend\":                 \"SoundEnd\",\n\t\t\"soundstart\":               \"SoundStart\",\n\t\t\"speechend\":                \"SpeechEnd\",\n\t\t\"speechstart\":              \"SpeechStart\",\n\t\t\"timeupdate\":               \"TimeUpdate\",\n\t\t\"touchcancel\":              \"TouchCancel\",\n\t\t\"touchend\":                 \"TouchEnd\",\n\t\t\"touchenter\":               \"TouchEnter\",\n\t\t\"touchleave\":               \"TouchLeave\",\n\t\t\"touchmove\":                \"TouchMove\",\n\t\t\"touchstart\":               \"TouchStart\",\n\t\t\"transitionend\":            \"TransitionEnd\",\n\t\t\"updateready\":              \"UpdateReady\",\n\t\t\"upgradeneeded\":            \"UpgradeNeeded\",\n\t\t\"userproximity\":            \"UserProximity\",\n\t\t\"versionchange\":            \"VersionChange\",\n\t\t\"visibilitychange\":         \"VisibilityChange\",\n\t\t\"voiceschanged\":            \"VoicesChanged\",\n\t\t\"volumechange\":             \"VolumeChange\",\n\t}\n\n\tdoc, err := goquery.NewDocument(\"https://developer.mozilla.org/en-US/docs/Web/Events\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tevents := make(map[string]*Event)\n\n\tdoc.Find(\".standard-table\").Eq(0).Find(\"tr\").Each(func(i int, s *goquery.Selection) {\n\t\tcols := s.Find(\"td\")\n\t\tif cols.Length() == 0 || cols.Find(\".icon-thumbs-down-alt\").Length() != 0 {\n\t\t\treturn\n\t\t}\n\t\tlink := cols.Eq(0).Find(\"a\").Eq(0)\n\t\tvar e Event\n\t\te.Name = link.Text()\n\t\te.Link, _ = link.Attr(\"href\")\n\t\te.Desc = strings.TrimSpace(cols.Eq(3).Text())\n\t\tif e.Desc == \"\" {\n\t\t\te.Desc = \"(no documentation)\"\n\t\t}\n\n\t\tfunName := nameMap[e.Name]\n\t\tif funName == \"\" {\n\t\t\tfunName = capitalize(e.Name)\n\t\t}\n\n\t\tevents[funName] = &e\n\t})\n\n\tvar names []string\n\tfor name := range events {\n\t\tnames = append(names, name)\n\t}\n\tsort.Strings(names)\n\n\tfile, err := os.Create(\"event.autogen.go\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer file.Close()\n\n\tfmt.Fprint(file, `//go:generate go run generate.go\n\n// Package evt defines markup to bind DOM events.\n//\n// Generated from \"Event reference\" by Mozilla Contributors, https://developer.mozilla.org/en-US/docs/Web/Events, licensed under CC-BY-SA 2.5.\npackage evt\n\nimport \"github.com/bep/gr\"\n`)\n\n\tfor _, name := range names {\n\t\te := events[name]\n\t\tfmt.Fprintf(file, `\n// %s gets notified when %s\n//\n// https://developer.mozilla.org%s\nfunc %s(listener gr.Listener) *gr.EventListener {\n\treturn gr.NewEventListener(\"on%s\", listener)\n}\n`, name, firstToLower(e.Desc), e.Link[6:], name, name)\n\t}\n}\n\nfunc capitalize(s string) string {\n\treturn strings.ToUpper(s[:1]) + s[1:]\n}\n\nfunc firstToLower(s string) string {\n\ta := []rune(s)\n\ta[0] = unicode.ToLower(a[0])\n\treturn string(a)\n}\n"
  },
  {
    "path": "examples/.gitignore",
    "content": "\n\n# Avoid the binaries (there may be a better .gitignore pattern for this)\n**/ajax/ajax\n**/basic/basic\n**/basic-click-counter/basic-click-counter\n**/lifecycle/lifecycle\n**/composition/composition\n**/interop/interop\n**/router/router\n**/debounce/debounce\n"
  },
  {
    "path": "examples/ajax/ajax.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AG,AH,AI,AV,E,H,K,R,W,AF;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AG=$pkg.Error=$newType(8,$kindInterface,\"runtime.Error\",true,\"runtime\",true,null);AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};H=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=\"\";d=0;e=false;f=new($global.Error)().stack.split($externalize(\"\\n\",$String))[(a+2>>0)];if(f===undefined){g=0;h=\"\";i=0;j=false;b=g;c=h;d=i;e=j;return[b,c,d,e];}k=f.substring(($parseInt(f.indexOf($externalize(\"(\",$String)))>>0)+1>>0,$parseInt(f.indexOf($externalize(\")\",$String)))>>0).split($externalize(\":\",$String));l=0;m=$internalize(k[0],$String);n=$parseInt(k[1])>>0;o=true;b=l;c=m;d=n;e=o;return[b,c,d,e];};$pkg.Caller=H;K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;W=function(a,b){var $ptr,a,b,c;c=new($global.Error)().stack;if(c===undefined){return 0;}return $copyString(a,$internalize(c.substr(($parseInt(c.indexOf($externalize(\"\\n\",$String)))>>0)+1>>0),$String));};$pkg.Stack=W;AF=function(a){var $ptr,a;};$pkg.KeepAlive=AF;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AG.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)}]);AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,AF,AJ,AK,AL,H,K,N,O,S,U,V,Y,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];AF=$pkg.Value=$newType(0,$kindStruct,\"atomic.Value\",true,\"sync/atomic\",true,function(noCopy_,v_){this.$val=this;if(arguments.length===0){this.noCopy=new AJ.ptr();this.v=$ifaceNil;return;}this.noCopy=noCopy_;this.v=v_;});AJ=$pkg.noCopy=$newType(0,$kindStruct,\"atomic.noCopy\",true,\"sync/atomic\",false,function(){this.$val=this;if(arguments.length===0){return;}});AK=$ptrType(AF);AL=$ptrType(AJ);H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;K=function(ad,ae,af){var $ptr,ad,ae,af,ag;if((ag=ad.$get(),(ag.$high===ae.$high&&ag.$low===ae.$low))){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapUint64=K;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;O=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>>0;ad.$set(af);return af;};$pkg.AddUint32=O;S=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadInt32=S;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;V=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint64=V;Y=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreInt32=Y;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;AF.ptr.prototype.Load=function(){var $ptr,ad,ae;ad=$ifaceNil;ae=this;ad=ae.v;return ad;};AF.prototype.Load=function(){return this.$val.Load();};AF.ptr.prototype.Store=function(ad){var $ptr,ad,ae;ae=this;if($interfaceIsEqual(ad,$ifaceNil)){$panic(new $String(\"sync/atomic: store of nil value into Value\"));}if(!($interfaceIsEqual(ae.v,$ifaceNil))&&!(ad.constructor===ae.v.constructor)){$panic(new $String(\"sync/atomic: store of inconsistently typed value into Value\"));}ae.v=ad;};AF.prototype.Store=function(ad){return this.$val.Store(ad);};AJ.ptr.prototype.Lock=function(){var $ptr;};AJ.prototype.Lock=function(){return this.$val.Lock();};AK.methods=[{prop:\"Load\",name:\"Load\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Store\",name:\"Store\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)}];AL.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)}];AF.init(\"sync/atomic\",[{prop:\"noCopy\",name:\"noCopy\",exported:false,typ:AJ,tag:\"\"},{prop:\"v\",name:\"v\",exported:false,typ:$emptyInterface,tag:\"\"}]);AJ.init(\"\",[]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,D,E,M,O,P,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AU,AW,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,N,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];D=$pkg.Cond=$newType(0,$kindStruct,\"sync.Cond\",true,\"sync\",true,function(noCopy_,L_,notify_,checker_,n_,ch_){this.$val=this;if(arguments.length===0){this.noCopy=new P.ptr();this.L=$ifaceNil;this.notify=new AF.ptr(0,0,0,0,0);this.checker=0;this.n=0;this.ch=$chanNil;return;}this.noCopy=noCopy_;this.L=L_;this.notify=notify_;this.checker=checker_;this.n=n_;this.ch=ch_;});E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});M=$pkg.WaitGroup=$newType(0,$kindStruct,\"sync.WaitGroup\",true,\"sync\",true,function(counter_,ch_,state1_,sema_){this.$val=this;if(arguments.length===0){this.counter=0;this.ch=$chanNil;this.state1=BH.zero();this.sema=0;return;}this.counter=counter_;this.ch=ch_;this.state1=state1_;this.sema=sema_;});O=$pkg.copyChecker=$newType(4,$kindUintptr,\"sync.copyChecker\",true,\"sync\",false,null);P=$pkg.noCopy=$newType(0,$kindStruct,\"sync.noCopy\",true,\"sync\",false,function(){this.$val=this;if(arguments.length===0){return;}});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AU=$structType(\"\",[]);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BF=$ptrType(D);BG=$funcType([],[$emptyInterface],false);BH=$arrayType($Uint8,12);BI=$ptrType($Uint64);BJ=$ptrType(M);BK=$chanType(AU,false,false);BL=$ptrType(O);BM=$ptrType(P);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);D.ptr.prototype.Wait=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;j.n=j.n+(1)>>0;if(j.ch===$chanNil){j.ch=new $Chan($Bool,0);}$r=j.L.Unlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=$recv(j.ch);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k[0];$r=j.L.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Wait};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Wait=function(){return this.$val.Wait();};D.ptr.prototype.Signal=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.n===0){$s=-1;return;}j.n=j.n-(1)>>0;$r=$send(j.ch,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Signal};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Signal=function(){return this.$val.Signal();};D.ptr.prototype.Broadcast=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.n;j.n=0;l=0;case 1:if(!(l<k)){$s=2;continue;}$r=$send(j.ch,true);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Broadcast};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Broadcast=function(){return this.$val.Broadcast();};E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};M.ptr.prototype.Add=function(j){var $ptr,j,k;k=this;k.counter=k.counter+(j)>>0;if(k.counter<0){$panic(new $String(\"sync: negative WaitGroup counter\"));}if(k.counter>0&&k.ch===$chanNil){k.ch=new $Chan(AU,0);}if((k.counter===0)&&!(k.ch===$chanNil)){$close(k.ch);k.ch=$chanNil;}};M.prototype.Add=function(j){return this.$val.Add(j);};M.ptr.prototype.Wait=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.counter>0){$s=1;continue;}$s=2;continue;case 1:k=$recv(j.ch);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k[0];case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Wait};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Wait=function(){return this.$val.Wait();};N=function(j){var $ptr,j;return new D.ptr(new P.ptr(),j,new AF.ptr(0,0,0,0,0),0,0,$chanNil);};$pkg.NewCond=N;P.ptr.prototype.Lock=function(){var $ptr;};P.prototype.Lock=function(){return this.$val.Lock();};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};M.ptr.prototype.Done=function(){var $ptr,j;j=this;j.Add(-1);};M.prototype.Done=function(){return this.$val.Done();};BF.methods=[{prop:\"Wait\",name:\"Wait\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Signal\",name:\"Signal\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Broadcast\",name:\"Broadcast\",pkg:\"\",typ:$funcType([],[],false)}];AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BJ.methods=[{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Wait\",name:\"Wait\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"state\",name:\"state\",pkg:\"sync\",typ:$funcType([],[BI],false)},{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[],false)}];BL.methods=[{prop:\"check\",name:\"check\",pkg:\"sync\",typ:$funcType([],[],false)}];BM.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];D.init(\"sync\",[{prop:\"noCopy\",name:\"noCopy\",exported:false,typ:P,tag:\"\"},{prop:\"L\",name:\"L\",exported:true,typ:S,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:AF,tag:\"\"},{prop:\"checker\",name:\"checker\",exported:false,typ:O,tag:\"\"},{prop:\"n\",name:\"n\",exported:false,typ:$Int,tag:\"\"},{prop:\"ch\",name:\"ch\",exported:false,typ:AS,tag:\"\"}]);E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);M.init(\"sync\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"},{prop:\"ch\",name:\"ch\",exported:false,typ:BK,tag:\"\"},{prop:\"state1\",name:\"state1\",exported:false,typ:BH,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);P.init(\"\",[]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I,N,O,P,S,T,V,W,AF,AH,AM,AN,AY,AZ,BA,BC,BD,AI,AJ,X,Y,Z,AA,AB,AC,AD,AE,AG,AO;A=$packages[\"errors\"];B=$packages[\"sync\"];C=$pkg.Reader=$newType(8,$kindInterface,\"io.Reader\",true,\"io\",true,null);D=$pkg.Writer=$newType(8,$kindInterface,\"io.Writer\",true,\"io\",true,null);E=$pkg.Closer=$newType(8,$kindInterface,\"io.Closer\",true,\"io\",true,null);H=$pkg.ReadCloser=$newType(8,$kindInterface,\"io.ReadCloser\",true,\"io\",true,null);I=$pkg.WriteCloser=$newType(8,$kindInterface,\"io.WriteCloser\",true,\"io\",true,null);N=$pkg.ReaderFrom=$newType(8,$kindInterface,\"io.ReaderFrom\",true,\"io\",true,null);O=$pkg.WriterTo=$newType(8,$kindInterface,\"io.WriterTo\",true,\"io\",true,null);P=$pkg.ReaderAt=$newType(8,$kindInterface,\"io.ReaderAt\",true,\"io\",true,null);S=$pkg.ByteScanner=$newType(8,$kindInterface,\"io.ByteScanner\",true,\"io\",true,null);T=$pkg.ByteWriter=$newType(8,$kindInterface,\"io.ByteWriter\",true,\"io\",true,null);V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);W=$pkg.stringWriter=$newType(8,$kindInterface,\"io.stringWriter\",true,\"io\",false,null);AF=$pkg.LimitedReader=$newType(0,$kindStruct,\"io.LimitedReader\",true,\"io\",true,function(R_,N_){this.$val=this;if(arguments.length===0){this.R=$ifaceNil;this.N=new $Int64(0,0);return;}this.R=R_;this.N=N_;});AH=$pkg.SectionReader=$newType(0,$kindStruct,\"io.SectionReader\",true,\"io\",true,function(r_,base_,off_,limit_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.base=new $Int64(0,0);this.off=new $Int64(0,0);this.limit=new $Int64(0,0);return;}this.r=r_;this.base=base_;this.off=off_;this.limit=limit_;});AM=$pkg.eofReader=$newType(0,$kindStruct,\"io.eofReader\",true,\"io\",false,function(){this.$val=this;if(arguments.length===0){return;}});AN=$pkg.multiReader=$newType(0,$kindStruct,\"io.multiReader\",true,\"io\",false,function(readers_){this.$val=this;if(arguments.length===0){this.readers=BA.nil;return;}this.readers=readers_;});AY=$sliceType($Uint8);AZ=$ptrType(AN);BA=$sliceType(C);BC=$ptrType(AF);BD=$ptrType(AH);X=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=$ifaceNil;e=$assertType(a,W,true);f=e[0];g=e[1];if(g){$s=1;continue;}$s=2;continue;case 1:i=f.WriteString(b);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;c=h[0];d=h[1];$s=-1;return[c,d];case 2:k=a.Write((new AY($stringToBytes(b))));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;c=j[0];d=j[1];$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:X};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.WriteString=X;Y=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=0;e=$ifaceNil;if(b.$length<c){f=0;g=$pkg.ErrShortBuffer;d=f;e=g;$s=-1;return[d,e];}case 1:if(!(d<c&&$interfaceIsEqual(e,$ifaceNil))){$s=2;continue;}h=0;j=a.Read($subslice(b,d));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;h=i[0];e=i[1];d=d+(h)>>0;$s=1;continue;case 2:if(d>=c){e=$ifaceNil;}else if(d>0&&$interfaceIsEqual(e,$pkg.EOF)){e=$pkg.ErrUnexpectedEOF;}$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ReadAtLeast=Y;Z=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=$ifaceNil;f=Y(a,b,b.$length);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;c=e[0];d=e[1];$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ReadFull=Z;AA=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=new $Int64(0,0);e=$ifaceNil;g=AB(a,AE(b,c));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;d=f[0];e=f[1];if((d.$high===c.$high&&d.$low===c.$low)){h=c;i=$ifaceNil;d=h;e=i;$s=-1;return[d,e];}if((d.$high<c.$high||(d.$high===c.$high&&d.$low<c.$low))&&$interfaceIsEqual(e,$ifaceNil)){e=$pkg.EOF;}$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.CopyN=AA;AB=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=new $Int64(0,0);d=$ifaceNil;f=AD(a,b,AY.nil);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;c=e[0];d=e[1];$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:AB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Copy=AB;AC=function(a,b,c){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=new $Int64(0,0);e=$ifaceNil;if(!(c===AY.nil)&&(c.$length===0)){$panic(new $String(\"empty buffer in io.CopyBuffer\"));}g=AD(a,b,c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;d=f[0];e=f[1];$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.CopyBuffer=AC;AD=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=new $Int64(0,0);e=$ifaceNil;f=$assertType(b,O,true);g=f[0];h=f[1];if(h){$s=1;continue;}$s=2;continue;case 1:j=g.WriteTo(a);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;d=i[0];e=i[1];$s=-1;return[d,e];case 2:k=$assertType(a,N,true);l=k[0];m=k[1];if(m){$s=4;continue;}$s=5;continue;case 4:o=l.ReadFrom(b);$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;d=n[0];e=n[1];$s=-1;return[d,e];case 5:if(c===AY.nil){c=$makeSlice(AY,32768);}case 7:q=b.Read(c);$s=9;case 9:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];if(r>0){$s=10;continue;}$s=11;continue;case 10:u=a.Write($subslice(c,0,r));$s=12;case 12:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(v>0){d=(x=(new $Int64(0,v)),new $Int64(d.$high+x.$high,d.$low+x.$low));}if(!($interfaceIsEqual(w,$ifaceNil))){e=w;$s=8;continue;}if(!((r===v))){e=$pkg.ErrShortWrite;$s=8;continue;}case 11:if(!($interfaceIsEqual(s,$ifaceNil))){if(!($interfaceIsEqual(s,$pkg.EOF))){e=s;}$s=8;continue;}$s=7;continue;case 8:y=d;z=e;d=y;e=z;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AD};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AE=function(a,b){var $ptr,a,b;return new AF.ptr(a,b);};$pkg.LimitReader=AE;AF.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if((e=d.N,(e.$high<0||(e.$high===0&&e.$low<=0)))){f=0;g=$pkg.EOF;b=f;c=g;$s=-1;return[b,c];}if((h=(new $Int64(0,a.$length)),i=d.N,(h.$high>i.$high||(h.$high===i.$high&&h.$low>i.$low)))){a=$subslice(a,0,$flatten64(d.N));}k=d.R.Read(a);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;b=j[0];c=j[1];d.N=(l=d.N,m=(new $Int64(0,b)),new $Int64(l.$high-m.$high,l.$low-m.$low));$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:AF.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};AF.prototype.Read=function(a){return this.$val.Read(a);};AG=function(a,b,c){var $ptr,a,b,c;return new AH.ptr(a,b,b,new $Int64(b.$high+c.$high,b.$low+c.$low));};$pkg.NewSectionReader=AG;AH.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if((e=d.off,f=d.limit,(e.$high>f.$high||(e.$high===f.$high&&e.$low>=f.$low)))){g=0;h=$pkg.EOF;b=g;c=h;$s=-1;return[b,c];}k=(i=d.limit,j=d.off,new $Int64(i.$high-j.$high,i.$low-j.$low));if((l=(new $Int64(0,a.$length)),(l.$high>k.$high||(l.$high===k.$high&&l.$low>k.$low)))){a=$subslice(a,0,$flatten64(k));}n=d.r.ReadAt(a,d.off);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;b=m[0];c=m[1];d.off=(o=d.off,p=(new $Int64(0,b)),new $Int64(o.$high+p.$high,o.$low+p.$low));$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:AH.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};AH.prototype.Read=function(a){return this.$val.Read(a);};AH.ptr.prototype.Seek=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i;c=this;d=b;if(d===(0)){a=(e=c.base,new $Int64(a.$high+e.$high,a.$low+e.$low));}else if(d===(1)){a=(f=c.off,new $Int64(a.$high+f.$high,a.$low+f.$low));}else if(d===(2)){a=(g=c.limit,new $Int64(a.$high+g.$high,a.$low+g.$low));}else{return[new $Int64(0,0),AI];}if((h=c.base,(a.$high<h.$high||(a.$high===h.$high&&a.$low<h.$low)))){return[new $Int64(0,0),AJ];}c.off=a;return[(i=c.base,new $Int64(a.$high-i.$high,a.$low-i.$low)),$ifaceNil];};AH.prototype.Seek=function(a,b){return this.$val.Seek(a,b);};AH.ptr.prototype.ReadAt=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=$ifaceNil;e=this;if((b.$high<0||(b.$high===0&&b.$low<0))||(f=(g=e.limit,h=e.base,new $Int64(g.$high-h.$high,g.$low-h.$low)),(b.$high>f.$high||(b.$high===f.$high&&b.$low>=f.$low)))){i=0;j=$pkg.EOF;c=i;d=j;$s=-1;return[c,d];}b=(k=e.base,new $Int64(b.$high+k.$high,b.$low+k.$low));m=(l=e.limit,new $Int64(l.$high-b.$high,l.$low-b.$low));if((n=(new $Int64(0,a.$length)),(n.$high>m.$high||(n.$high===m.$high&&n.$low>m.$low)))){$s=1;continue;}$s=2;continue;case 1:a=$subslice(a,0,$flatten64(m));p=e.r.ReadAt(a,b);$s=3;case 3:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;c=o[0];d=o[1];if($interfaceIsEqual(d,$ifaceNil)){d=$pkg.EOF;}q=c;r=d;c=q;d=r;$s=-1;return[c,d];case 2:t=e.r.ReadAt(a,b);$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;c=s[0];d=s[1];$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:AH.ptr.prototype.ReadAt};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AH.prototype.ReadAt=function(a,b){return this.$val.ReadAt(a,b);};AH.ptr.prototype.Size=function(){var $ptr,a,b,c;a=this;return(b=a.limit,c=a.base,new $Int64(b.$high-c.$high,b.$low-c.$low));};AH.prototype.Size=function(){return this.$val.Size();};AM.ptr.prototype.Read=function(a){var $ptr,a;return[0,$pkg.EOF];};AM.prototype.Read=function(a){return this.$val.Read(a);};AN.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;case 1:if(!(d.readers.$length>0)){$s=2;continue;}if(d.readers.$length===1){$s=3;continue;}$s=4;continue;case 3:e=$assertType((f=d.readers,(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])),AZ,true);g=e[0];h=e[1];if(h){d.readers=g.readers;$s=1;continue;}case 4:k=(j=d.readers,(0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0])).Read(a);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}i=k;b=i[0];c=i[1];if($interfaceIsEqual(c,$pkg.EOF)){(m=d.readers,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]=(l=new AM.ptr(),new l.constructor.elem(l))));d.readers=$subslice(d.readers,1);}if(b>0||!($interfaceIsEqual(c,$pkg.EOF))){if($interfaceIsEqual(c,$pkg.EOF)&&d.readers.$length>0){c=$ifaceNil;}$s=-1;return[b,c];}$s=1;continue;case 2:n=0;o=$pkg.EOF;b=n;c=o;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Read=function(a){return this.$val.Read(a);};AO=function(a){var $ptr,a,b;b=$makeSlice(BA,a.$length);$copySlice(b,a);return new AN.ptr(b);};$pkg.MultiReader=AO;BC.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}];BD.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([AY,$Int64],[$Int,$error],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)}];AM.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}];AZ.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}];C.init([{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}]);D.init([{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}]);E.init([{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}]);H.init([{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}]);I.init([{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}]);N.init([{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([C],[$Int64,$error],false)}]);O.init([{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([D],[$Int64,$error],false)}]);P.init([{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([AY,$Int64],[$Int,$error],false)}]);S.init([{prop:\"ReadByte\",name:\"ReadByte\",pkg:\"\",typ:$funcType([],[$Uint8,$error],false)},{prop:\"UnreadByte\",name:\"UnreadByte\",pkg:\"\",typ:$funcType([],[$error],false)}]);T.init([{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[$error],false)}]);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);W.init([{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)}]);AF.init(\"\",[{prop:\"R\",name:\"R\",exported:true,typ:C,tag:\"\"},{prop:\"N\",name:\"N\",exported:true,typ:$Int64,tag:\"\"}]);AH.init(\"io\",[{prop:\"r\",name:\"r\",exported:false,typ:P,tag:\"\"},{prop:\"base\",name:\"base\",exported:false,typ:$Int64,tag:\"\"},{prop:\"off\",name:\"off\",exported:false,typ:$Int64,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int64,tag:\"\"}]);AM.init(\"\",[]);AN.init(\"io\",[{prop:\"readers\",name:\"readers\",exported:false,typ:BA,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init,O,P,Q,R,T,AF,IS,IT,IU,IX,IY,AM,AX,IE,IF,IG,IH,II,A,C,I,M,U,V,X,AB,AC,AD,AG;O=$pkg.RangeTable=$newType(0,$kindStruct,\"unicode.RangeTable\",true,\"unicode\",true,function(R16_,R32_,LatinOffset_){this.$val=this;if(arguments.length===0){this.R16=IT.nil;this.R32=IU.nil;this.LatinOffset=0;return;}this.R16=R16_;this.R32=R32_;this.LatinOffset=LatinOffset_;});P=$pkg.Range16=$newType(0,$kindStruct,\"unicode.Range16\",true,\"unicode\",true,function(Lo_,Hi_,Stride_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Stride=0;return;}this.Lo=Lo_;this.Hi=Hi_;this.Stride=Stride_;});Q=$pkg.Range32=$newType(0,$kindStruct,\"unicode.Range32\",true,\"unicode\",true,function(Lo_,Hi_,Stride_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Stride=0;return;}this.Lo=Lo_;this.Hi=Hi_;this.Stride=Stride_;});R=$pkg.CaseRange=$newType(0,$kindStruct,\"unicode.CaseRange\",true,\"unicode\",true,function(Lo_,Hi_,Delta_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Delta=IS.zero();return;}this.Lo=Lo_;this.Hi=Hi_;this.Delta=Delta_;});T=$pkg.d=$newType(12,$kindArray,\"unicode.d\",true,\"unicode\",false,null);AF=$pkg.foldPair=$newType(0,$kindStruct,\"unicode.foldPair\",true,\"unicode\",false,function(From_,To_){this.$val=this;if(arguments.length===0){this.From=0;this.To=0;return;}this.From=From_;this.To=To_;});IS=$arrayType($Int32,3);IT=$sliceType(P);IU=$sliceType(Q);IX=$sliceType(R);IY=$sliceType(AF);A=function(b,c,d){var $ptr,b,c,d,e,f,g,h,i,j,k;if(b<0||3<=b){return 65533;}e=0;f=d.$length;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;i=((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]);if(((i.Lo>>0))<=c&&c<=((i.Hi>>0))){k=((j=i.Delta,((b<0||b>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[b])));if(k>1114111){return((i.Lo>>0))+((((((c-((i.Lo>>0))>>0))&~1)>>0)|(((b&1)>>0))))>>0;}return c+k>>0;}if(c<((i.Lo>>0))){f=h;}else{e=h+1>>0;}}return c;};C=function(b){var $ptr,b;if(b<=255){return 48<=b&&b<=57;}return X($pkg.Digit,b);};$pkg.IsDigit=C;I=function(b){var $ptr,b,c;if(((b>>>0))<=255){return!(((((c=((b<<24>>>24)),((c<0||c>=IG.length)?($throwRuntimeError(\"index out of range\"),undefined):IG[c]))&96)>>>0)===0));}return X($pkg.Letter,b);};$pkg.IsLetter=I;M=function(b){var $ptr,b,c;if(((b>>>0))<=255){c=b;if((c===(9))||(c===(10))||(c===(11))||(c===(12))||(c===(13))||(c===(32))||(c===(133))||(c===(160))){return true;}return false;}return X($pkg.White_Space,b);};$pkg.IsSpace=M;U=function(b,c){var $ptr,b,c,d,e,f,g,h,i,j,k,l,m,n;if(b.$length<=18||c<=255){d=b;e=0;while(true){if(!(e<d.$length)){break;}f=e;g=((f<0||f>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+f]);if(c<g.Lo){return false;}if(c<=g.Hi){return(h=((c-g.Lo<<16>>>16))%g.Stride,h===h?h:$throwRuntimeError(\"integer divide by zero\"))===0;}e++;}return false;}i=0;j=b.$length;while(true){if(!(i<j)){break;}l=i+(k=((j-i>>0))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;m=((l<0||l>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+l]);if(m.Lo<=c&&c<=m.Hi){return(n=((c-m.Lo<<16>>>16))%m.Stride,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0;}if(c<m.Lo){j=l;}else{i=l+1>>0;}}return false;};V=function(b,c){var $ptr,b,c,d,e,f,g,h,i,j,k,l,m,n;if(b.$length<=18){d=b;e=0;while(true){if(!(e<d.$length)){break;}f=e;g=((f<0||f>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+f]);if(c<g.Lo){return false;}if(c<=g.Hi){return(h=((c-g.Lo>>>0))%g.Stride,h===h?h:$throwRuntimeError(\"integer divide by zero\"))===0;}e++;}return false;}i=0;j=b.$length;while(true){if(!(i<j)){break;}l=i+(k=((j-i>>0))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;m=$clone(((l<0||l>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+l]),Q);if(m.Lo<=c&&c<=m.Hi){return(n=((c-m.Lo>>>0))%m.Stride,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0;}if(c<m.Lo){j=l;}else{i=l+1>>0;}}return false;};X=function(b,c){var $ptr,b,c,d,e,f,g;d=b.R16;e=b.LatinOffset;if(d.$length>e&&c<=(((f=d.$length-1>>0,((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])).Hi>>0))){return U($subslice(d,e),((c<<16>>>16)));}g=b.R32;if(g.$length>0&&c>=(((0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]).Lo>>0))){return V(g,((c>>>0)));}return false;};AB=function(b,c){var $ptr,b,c;return A(b,c,$pkg.CaseRanges);};$pkg.To=AB;AC=function(b){var $ptr,b;if(b<=127){if(97<=b&&b<=122){b=b-(32)>>0;}return b;}return AB(0,b);};$pkg.ToUpper=AC;AD=function(b){var $ptr,b;if(b<=127){if(65<=b&&b<=90){b=b+(32)>>0;}return b;}return AB(1,b);};$pkg.ToLower=AD;AG=function(b){var $ptr,b,c,d,e,f,g;if(b<0||b>1114111){return b;}if(((b>>0))<128){return((((b<0||b>=IH.length)?($throwRuntimeError(\"index out of range\"),undefined):IH[b])>>0));}c=0;d=II.$length;while(true){if(!(c<d)){break;}f=c+(e=((d-c>>0))/2,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((((f<0||f>=II.$length)?($throwRuntimeError(\"index out of range\"),undefined):II.$array[II.$offset+f]).From>>0))<b){c=f+1>>0;}else{d=f;}}if(c<II.$length&&(((((c<0||c>=II.$length)?($throwRuntimeError(\"index out of range\"),undefined):II.$array[II.$offset+c]).From>>0))===b)){return((((c<0||c>=II.$length)?($throwRuntimeError(\"index out of range\"),undefined):II.$array[II.$offset+c]).To>>0));}g=AD(b);if(!((g===b))){return g;}return AC(b);};$pkg.SimpleFold=AG;O.init(\"\",[{prop:\"R16\",name:\"R16\",exported:true,typ:IT,tag:\"\"},{prop:\"R32\",name:\"R32\",exported:true,typ:IU,tag:\"\"},{prop:\"LatinOffset\",name:\"LatinOffset\",exported:true,typ:$Int,tag:\"\"}]);P.init(\"\",[{prop:\"Lo\",name:\"Lo\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Hi\",name:\"Hi\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Stride\",name:\"Stride\",exported:true,typ:$Uint16,tag:\"\"}]);Q.init(\"\",[{prop:\"Lo\",name:\"Lo\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Hi\",name:\"Hi\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Stride\",name:\"Stride\",exported:true,typ:$Uint32,tag:\"\"}]);R.init(\"\",[{prop:\"Lo\",name:\"Lo\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Hi\",name:\"Hi\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Delta\",name:\"Delta\",exported:true,typ:T,tag:\"\"}]);T.init($Int32,3);AF.init(\"\",[{prop:\"From\",name:\"From\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"To\",name:\"To\",exported:true,typ:$Uint16,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:AM=new O.ptr(new IT([new P.ptr(65,90,1),new P.ptr(97,122,1),new P.ptr(170,181,11),new P.ptr(186,192,6),new P.ptr(193,214,1),new P.ptr(216,246,1),new P.ptr(248,705,1),new P.ptr(710,721,1),new P.ptr(736,740,1),new P.ptr(748,750,2),new P.ptr(880,884,1),new P.ptr(886,887,1),new P.ptr(890,893,1),new P.ptr(895,902,7),new P.ptr(904,906,1),new P.ptr(908,910,2),new P.ptr(911,929,1),new P.ptr(931,1013,1),new P.ptr(1015,1153,1),new P.ptr(1162,1327,1),new P.ptr(1329,1366,1),new P.ptr(1369,1377,8),new P.ptr(1378,1415,1),new P.ptr(1488,1514,1),new P.ptr(1520,1522,1),new P.ptr(1568,1610,1),new P.ptr(1646,1647,1),new P.ptr(1649,1747,1),new P.ptr(1749,1765,16),new P.ptr(1766,1774,8),new P.ptr(1775,1786,11),new P.ptr(1787,1788,1),new P.ptr(1791,1808,17),new P.ptr(1810,1839,1),new P.ptr(1869,1957,1),new P.ptr(1969,1994,25),new P.ptr(1995,2026,1),new P.ptr(2036,2037,1),new P.ptr(2042,2048,6),new P.ptr(2049,2069,1),new P.ptr(2074,2084,10),new P.ptr(2088,2112,24),new P.ptr(2113,2136,1),new P.ptr(2208,2228,1),new P.ptr(2230,2237,1),new P.ptr(2308,2361,1),new P.ptr(2365,2384,19),new P.ptr(2392,2401,1),new P.ptr(2417,2432,1),new P.ptr(2437,2444,1),new P.ptr(2447,2448,1),new P.ptr(2451,2472,1),new P.ptr(2474,2480,1),new P.ptr(2482,2486,4),new P.ptr(2487,2489,1),new P.ptr(2493,2510,17),new P.ptr(2524,2525,1),new P.ptr(2527,2529,1),new P.ptr(2544,2545,1),new P.ptr(2565,2570,1),new P.ptr(2575,2576,1),new P.ptr(2579,2600,1),new P.ptr(2602,2608,1),new P.ptr(2610,2611,1),new P.ptr(2613,2614,1),new P.ptr(2616,2617,1),new P.ptr(2649,2652,1),new P.ptr(2654,2674,20),new P.ptr(2675,2676,1),new P.ptr(2693,2701,1),new P.ptr(2703,2705,1),new P.ptr(2707,2728,1),new P.ptr(2730,2736,1),new P.ptr(2738,2739,1),new P.ptr(2741,2745,1),new P.ptr(2749,2768,19),new P.ptr(2784,2785,1),new P.ptr(2809,2821,12),new P.ptr(2822,2828,1),new P.ptr(2831,2832,1),new P.ptr(2835,2856,1),new P.ptr(2858,2864,1),new P.ptr(2866,2867,1),new P.ptr(2869,2873,1),new P.ptr(2877,2908,31),new P.ptr(2909,2911,2),new P.ptr(2912,2913,1),new P.ptr(2929,2947,18),new P.ptr(2949,2954,1),new P.ptr(2958,2960,1),new P.ptr(2962,2965,1),new P.ptr(2969,2970,1),new P.ptr(2972,2974,2),new P.ptr(2975,2979,4),new P.ptr(2980,2984,4),new P.ptr(2985,2986,1),new P.ptr(2990,3001,1),new P.ptr(3024,3077,53),new P.ptr(3078,3084,1),new P.ptr(3086,3088,1),new P.ptr(3090,3112,1),new P.ptr(3114,3129,1),new P.ptr(3133,3160,27),new P.ptr(3161,3162,1),new P.ptr(3168,3169,1),new P.ptr(3200,3205,5),new P.ptr(3206,3212,1),new P.ptr(3214,3216,1),new P.ptr(3218,3240,1),new P.ptr(3242,3251,1),new P.ptr(3253,3257,1),new P.ptr(3261,3294,33),new P.ptr(3296,3297,1),new P.ptr(3313,3314,1),new P.ptr(3333,3340,1),new P.ptr(3342,3344,1),new P.ptr(3346,3386,1),new P.ptr(3389,3406,17),new P.ptr(3412,3414,1),new P.ptr(3423,3425,1),new P.ptr(3450,3455,1),new P.ptr(3461,3478,1),new P.ptr(3482,3505,1),new P.ptr(3507,3515,1),new P.ptr(3517,3520,3),new P.ptr(3521,3526,1),new P.ptr(3585,3632,1),new P.ptr(3634,3635,1),new P.ptr(3648,3654,1),new P.ptr(3713,3714,1),new P.ptr(3716,3719,3),new P.ptr(3720,3722,2),new P.ptr(3725,3732,7),new P.ptr(3733,3735,1),new P.ptr(3737,3743,1),new P.ptr(3745,3747,1),new P.ptr(3749,3751,2),new P.ptr(3754,3755,1),new P.ptr(3757,3760,1),new P.ptr(3762,3763,1),new P.ptr(3773,3776,3),new P.ptr(3777,3780,1),new P.ptr(3782,3804,22),new P.ptr(3805,3807,1),new P.ptr(3840,3904,64),new P.ptr(3905,3911,1),new P.ptr(3913,3948,1),new P.ptr(3976,3980,1),new P.ptr(4096,4138,1),new P.ptr(4159,4176,17),new P.ptr(4177,4181,1),new P.ptr(4186,4189,1),new P.ptr(4193,4197,4),new P.ptr(4198,4206,8),new P.ptr(4207,4208,1),new P.ptr(4213,4225,1),new P.ptr(4238,4256,18),new P.ptr(4257,4293,1),new P.ptr(4295,4301,6),new P.ptr(4304,4346,1),new P.ptr(4348,4680,1),new P.ptr(4682,4685,1),new P.ptr(4688,4694,1),new P.ptr(4696,4698,2),new P.ptr(4699,4701,1),new P.ptr(4704,4744,1),new P.ptr(4746,4749,1),new P.ptr(4752,4784,1),new P.ptr(4786,4789,1),new P.ptr(4792,4798,1),new P.ptr(4800,4802,2),new P.ptr(4803,4805,1),new P.ptr(4808,4822,1),new P.ptr(4824,4880,1),new P.ptr(4882,4885,1),new P.ptr(4888,4954,1),new P.ptr(4992,5007,1),new P.ptr(5024,5109,1),new P.ptr(5112,5117,1),new P.ptr(5121,5740,1),new P.ptr(5743,5759,1),new P.ptr(5761,5786,1),new P.ptr(5792,5866,1),new P.ptr(5873,5880,1),new P.ptr(5888,5900,1),new P.ptr(5902,5905,1),new P.ptr(5920,5937,1),new P.ptr(5952,5969,1),new P.ptr(5984,5996,1),new P.ptr(5998,6000,1),new P.ptr(6016,6067,1),new P.ptr(6103,6108,5),new P.ptr(6176,6263,1),new P.ptr(6272,6276,1),new P.ptr(6279,6312,1),new P.ptr(6314,6320,6),new P.ptr(6321,6389,1),new P.ptr(6400,6430,1),new P.ptr(6480,6509,1),new P.ptr(6512,6516,1),new P.ptr(6528,6571,1),new P.ptr(6576,6601,1),new P.ptr(6656,6678,1),new P.ptr(6688,6740,1),new P.ptr(6823,6917,94),new P.ptr(6918,6963,1),new P.ptr(6981,6987,1),new P.ptr(7043,7072,1),new P.ptr(7086,7087,1),new P.ptr(7098,7141,1),new P.ptr(7168,7203,1),new P.ptr(7245,7247,1),new P.ptr(7258,7293,1),new P.ptr(7296,7304,1),new P.ptr(7401,7404,1),new P.ptr(7406,7409,1),new P.ptr(7413,7414,1),new P.ptr(7424,7615,1),new P.ptr(7680,7957,1),new P.ptr(7960,7965,1),new P.ptr(7968,8005,1),new P.ptr(8008,8013,1),new P.ptr(8016,8023,1),new P.ptr(8025,8031,2),new P.ptr(8032,8061,1),new P.ptr(8064,8116,1),new P.ptr(8118,8124,1),new P.ptr(8126,8130,4),new P.ptr(8131,8132,1),new P.ptr(8134,8140,1),new P.ptr(8144,8147,1),new P.ptr(8150,8155,1),new P.ptr(8160,8172,1),new P.ptr(8178,8180,1),new P.ptr(8182,8188,1),new P.ptr(8305,8319,14),new P.ptr(8336,8348,1),new P.ptr(8450,8455,5),new P.ptr(8458,8467,1),new P.ptr(8469,8473,4),new P.ptr(8474,8477,1),new P.ptr(8484,8490,2),new P.ptr(8491,8493,1),new P.ptr(8495,8505,1),new P.ptr(8508,8511,1),new P.ptr(8517,8521,1),new P.ptr(8526,8579,53),new P.ptr(8580,11264,2684),new P.ptr(11265,11310,1),new P.ptr(11312,11358,1),new P.ptr(11360,11492,1),new P.ptr(11499,11502,1),new P.ptr(11506,11507,1),new P.ptr(11520,11557,1),new P.ptr(11559,11565,6),new P.ptr(11568,11623,1),new P.ptr(11631,11648,17),new P.ptr(11649,11670,1),new P.ptr(11680,11686,1),new P.ptr(11688,11694,1),new P.ptr(11696,11702,1),new P.ptr(11704,11710,1),new P.ptr(11712,11718,1),new P.ptr(11720,11726,1),new P.ptr(11728,11734,1),new P.ptr(11736,11742,1),new P.ptr(11823,12293,470),new P.ptr(12294,12337,43),new P.ptr(12338,12341,1),new P.ptr(12347,12348,1),new P.ptr(12353,12438,1),new P.ptr(12445,12447,1),new P.ptr(12449,12538,1),new P.ptr(12540,12543,1),new P.ptr(12549,12589,1),new P.ptr(12593,12686,1),new P.ptr(12704,12730,1),new P.ptr(12784,12799,1),new P.ptr(13312,19893,1),new P.ptr(19968,40917,1),new P.ptr(40960,42124,1),new P.ptr(42192,42237,1),new P.ptr(42240,42508,1),new P.ptr(42512,42527,1),new P.ptr(42538,42539,1),new P.ptr(42560,42606,1),new P.ptr(42623,42653,1),new P.ptr(42656,42725,1),new P.ptr(42775,42783,1),new P.ptr(42786,42888,1),new P.ptr(42891,42926,1),new P.ptr(42928,42935,1),new P.ptr(42999,43009,1),new P.ptr(43011,43013,1),new P.ptr(43015,43018,1),new P.ptr(43020,43042,1),new P.ptr(43072,43123,1),new P.ptr(43138,43187,1),new P.ptr(43250,43255,1),new P.ptr(43259,43261,2),new P.ptr(43274,43301,1),new P.ptr(43312,43334,1),new P.ptr(43360,43388,1),new P.ptr(43396,43442,1),new P.ptr(43471,43488,17),new P.ptr(43489,43492,1),new P.ptr(43494,43503,1),new P.ptr(43514,43518,1),new P.ptr(43520,43560,1),new P.ptr(43584,43586,1),new P.ptr(43588,43595,1),new P.ptr(43616,43638,1),new P.ptr(43642,43646,4),new P.ptr(43647,43695,1),new P.ptr(43697,43701,4),new P.ptr(43702,43705,3),new P.ptr(43706,43709,1),new P.ptr(43712,43714,2),new P.ptr(43739,43741,1),new P.ptr(43744,43754,1),new P.ptr(43762,43764,1),new P.ptr(43777,43782,1),new P.ptr(43785,43790,1),new P.ptr(43793,43798,1),new P.ptr(43808,43814,1),new P.ptr(43816,43822,1),new P.ptr(43824,43866,1),new P.ptr(43868,43877,1),new P.ptr(43888,44002,1),new P.ptr(44032,55203,1),new P.ptr(55216,55238,1),new P.ptr(55243,55291,1),new P.ptr(63744,64109,1),new P.ptr(64112,64217,1),new P.ptr(64256,64262,1),new P.ptr(64275,64279,1),new P.ptr(64285,64287,2),new P.ptr(64288,64296,1),new P.ptr(64298,64310,1),new P.ptr(64312,64316,1),new P.ptr(64318,64320,2),new P.ptr(64321,64323,2),new P.ptr(64324,64326,2),new P.ptr(64327,64433,1),new P.ptr(64467,64829,1),new P.ptr(64848,64911,1),new P.ptr(64914,64967,1),new P.ptr(65008,65019,1),new P.ptr(65136,65140,1),new P.ptr(65142,65276,1),new P.ptr(65313,65338,1),new P.ptr(65345,65370,1),new P.ptr(65382,65470,1),new P.ptr(65474,65479,1),new P.ptr(65482,65487,1),new P.ptr(65490,65495,1),new P.ptr(65498,65500,1)]),new IU([new Q.ptr(65536,65547,1),new Q.ptr(65549,65574,1),new Q.ptr(65576,65594,1),new Q.ptr(65596,65597,1),new Q.ptr(65599,65613,1),new Q.ptr(65616,65629,1),new Q.ptr(65664,65786,1),new Q.ptr(66176,66204,1),new Q.ptr(66208,66256,1),new Q.ptr(66304,66335,1),new Q.ptr(66352,66368,1),new Q.ptr(66370,66377,1),new Q.ptr(66384,66421,1),new Q.ptr(66432,66461,1),new Q.ptr(66464,66499,1),new Q.ptr(66504,66511,1),new Q.ptr(66560,66717,1),new Q.ptr(66736,66771,1),new Q.ptr(66776,66811,1),new Q.ptr(66816,66855,1),new Q.ptr(66864,66915,1),new Q.ptr(67072,67382,1),new Q.ptr(67392,67413,1),new Q.ptr(67424,67431,1),new Q.ptr(67584,67589,1),new Q.ptr(67592,67594,2),new Q.ptr(67595,67637,1),new Q.ptr(67639,67640,1),new Q.ptr(67644,67647,3),new Q.ptr(67648,67669,1),new Q.ptr(67680,67702,1),new Q.ptr(67712,67742,1),new Q.ptr(67808,67826,1),new Q.ptr(67828,67829,1),new Q.ptr(67840,67861,1),new Q.ptr(67872,67897,1),new Q.ptr(67968,68023,1),new Q.ptr(68030,68031,1),new Q.ptr(68096,68112,16),new Q.ptr(68113,68115,1),new Q.ptr(68117,68119,1),new Q.ptr(68121,68147,1),new Q.ptr(68192,68220,1),new Q.ptr(68224,68252,1),new Q.ptr(68288,68295,1),new Q.ptr(68297,68324,1),new Q.ptr(68352,68405,1),new Q.ptr(68416,68437,1),new Q.ptr(68448,68466,1),new Q.ptr(68480,68497,1),new Q.ptr(68608,68680,1),new Q.ptr(68736,68786,1),new Q.ptr(68800,68850,1),new Q.ptr(69635,69687,1),new Q.ptr(69763,69807,1),new Q.ptr(69840,69864,1),new Q.ptr(69891,69926,1),new Q.ptr(69968,70002,1),new Q.ptr(70006,70019,13),new Q.ptr(70020,70066,1),new Q.ptr(70081,70084,1),new Q.ptr(70106,70108,2),new Q.ptr(70144,70161,1),new Q.ptr(70163,70187,1),new Q.ptr(70272,70278,1),new Q.ptr(70280,70282,2),new Q.ptr(70283,70285,1),new Q.ptr(70287,70301,1),new Q.ptr(70303,70312,1),new Q.ptr(70320,70366,1),new Q.ptr(70405,70412,1),new Q.ptr(70415,70416,1),new Q.ptr(70419,70440,1),new Q.ptr(70442,70448,1),new Q.ptr(70450,70451,1),new Q.ptr(70453,70457,1),new Q.ptr(70461,70480,19),new Q.ptr(70493,70497,1),new Q.ptr(70656,70708,1),new Q.ptr(70727,70730,1),new Q.ptr(70784,70831,1),new Q.ptr(70852,70853,1),new Q.ptr(70855,71040,185),new Q.ptr(71041,71086,1),new Q.ptr(71128,71131,1),new Q.ptr(71168,71215,1),new Q.ptr(71236,71296,60),new Q.ptr(71297,71338,1),new Q.ptr(71424,71449,1),new Q.ptr(71840,71903,1),new Q.ptr(71935,72384,449),new Q.ptr(72385,72440,1),new Q.ptr(72704,72712,1),new Q.ptr(72714,72750,1),new Q.ptr(72768,72818,50),new Q.ptr(72819,72847,1),new Q.ptr(73728,74649,1),new Q.ptr(74880,75075,1),new Q.ptr(77824,78894,1),new Q.ptr(82944,83526,1),new Q.ptr(92160,92728,1),new Q.ptr(92736,92766,1),new Q.ptr(92880,92909,1),new Q.ptr(92928,92975,1),new Q.ptr(92992,92995,1),new Q.ptr(93027,93047,1),new Q.ptr(93053,93071,1),new Q.ptr(93952,94020,1),new Q.ptr(94032,94099,67),new Q.ptr(94100,94111,1),new Q.ptr(94176,94208,32),new Q.ptr(94209,100332,1),new Q.ptr(100352,101106,1),new Q.ptr(110592,110593,1),new Q.ptr(113664,113770,1),new Q.ptr(113776,113788,1),new Q.ptr(113792,113800,1),new Q.ptr(113808,113817,1),new Q.ptr(119808,119892,1),new Q.ptr(119894,119964,1),new Q.ptr(119966,119967,1),new Q.ptr(119970,119973,3),new Q.ptr(119974,119977,3),new Q.ptr(119978,119980,1),new Q.ptr(119982,119993,1),new Q.ptr(119995,119997,2),new Q.ptr(119998,120003,1),new Q.ptr(120005,120069,1),new Q.ptr(120071,120074,1),new Q.ptr(120077,120084,1),new Q.ptr(120086,120092,1),new Q.ptr(120094,120121,1),new Q.ptr(120123,120126,1),new Q.ptr(120128,120132,1),new Q.ptr(120134,120138,4),new Q.ptr(120139,120144,1),new Q.ptr(120146,120485,1),new Q.ptr(120488,120512,1),new Q.ptr(120514,120538,1),new Q.ptr(120540,120570,1),new Q.ptr(120572,120596,1),new Q.ptr(120598,120628,1),new Q.ptr(120630,120654,1),new Q.ptr(120656,120686,1),new Q.ptr(120688,120712,1),new Q.ptr(120714,120744,1),new Q.ptr(120746,120770,1),new Q.ptr(120772,120779,1),new Q.ptr(124928,125124,1),new Q.ptr(125184,125251,1),new Q.ptr(126464,126467,1),new Q.ptr(126469,126495,1),new Q.ptr(126497,126498,1),new Q.ptr(126500,126503,3),new Q.ptr(126505,126514,1),new Q.ptr(126516,126519,1),new Q.ptr(126521,126523,2),new Q.ptr(126530,126535,5),new Q.ptr(126537,126541,2),new Q.ptr(126542,126543,1),new Q.ptr(126545,126546,1),new Q.ptr(126548,126551,3),new Q.ptr(126553,126561,2),new Q.ptr(126562,126564,2),new Q.ptr(126567,126570,1),new Q.ptr(126572,126578,1),new Q.ptr(126580,126583,1),new Q.ptr(126585,126588,1),new Q.ptr(126590,126592,2),new Q.ptr(126593,126601,1),new Q.ptr(126603,126619,1),new Q.ptr(126625,126627,1),new Q.ptr(126629,126633,1),new Q.ptr(126635,126651,1),new Q.ptr(131072,173782,1),new Q.ptr(173824,177972,1),new Q.ptr(177984,178205,1),new Q.ptr(178208,183969,1),new Q.ptr(194560,195101,1)]),6);AX=new O.ptr(new IT([new P.ptr(48,57,1),new P.ptr(1632,1641,1),new P.ptr(1776,1785,1),new P.ptr(1984,1993,1),new P.ptr(2406,2415,1),new P.ptr(2534,2543,1),new P.ptr(2662,2671,1),new P.ptr(2790,2799,1),new P.ptr(2918,2927,1),new P.ptr(3046,3055,1),new P.ptr(3174,3183,1),new P.ptr(3302,3311,1),new P.ptr(3430,3439,1),new P.ptr(3558,3567,1),new P.ptr(3664,3673,1),new P.ptr(3792,3801,1),new P.ptr(3872,3881,1),new P.ptr(4160,4169,1),new P.ptr(4240,4249,1),new P.ptr(6112,6121,1),new P.ptr(6160,6169,1),new P.ptr(6470,6479,1),new P.ptr(6608,6617,1),new P.ptr(6784,6793,1),new P.ptr(6800,6809,1),new P.ptr(6992,7001,1),new P.ptr(7088,7097,1),new P.ptr(7232,7241,1),new P.ptr(7248,7257,1),new P.ptr(42528,42537,1),new P.ptr(43216,43225,1),new P.ptr(43264,43273,1),new P.ptr(43472,43481,1),new P.ptr(43504,43513,1),new P.ptr(43600,43609,1),new P.ptr(44016,44025,1),new P.ptr(65296,65305,1)]),new IU([new Q.ptr(66720,66729,1),new Q.ptr(69734,69743,1),new Q.ptr(69872,69881,1),new Q.ptr(69942,69951,1),new Q.ptr(70096,70105,1),new Q.ptr(70384,70393,1),new Q.ptr(70736,70745,1),new Q.ptr(70864,70873,1),new Q.ptr(71248,71257,1),new Q.ptr(71360,71369,1),new Q.ptr(71472,71481,1),new Q.ptr(71904,71913,1),new Q.ptr(72784,72793,1),new Q.ptr(92768,92777,1),new Q.ptr(93008,93017,1),new Q.ptr(120782,120831,1),new Q.ptr(125264,125273,1)]),1);$pkg.Digit=AX;$pkg.Letter=AM;IE=new O.ptr(new IT([new P.ptr(9,13,1),new P.ptr(32,32,1),new P.ptr(133,133,1),new P.ptr(160,160,1),new P.ptr(5760,5760,1),new P.ptr(8192,8202,1),new P.ptr(8232,8233,1),new P.ptr(8239,8239,1),new P.ptr(8287,8287,1),new P.ptr(12288,12288,1)]),IU.nil,4);$pkg.White_Space=IE;IF=new IX([new R.ptr(65,90,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(97,122,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(181,181,$toNativeArray($kindInt32,[743,0,743])),new R.ptr(192,214,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(216,222,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(224,246,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(248,254,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(255,255,$toNativeArray($kindInt32,[121,0,121])),new R.ptr(256,303,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(304,304,$toNativeArray($kindInt32,[0,-199,0])),new R.ptr(305,305,$toNativeArray($kindInt32,[-232,0,-232])),new R.ptr(306,311,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(313,328,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(330,375,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(376,376,$toNativeArray($kindInt32,[0,-121,0])),new R.ptr(377,382,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(383,383,$toNativeArray($kindInt32,[-300,0,-300])),new R.ptr(384,384,$toNativeArray($kindInt32,[195,0,195])),new R.ptr(385,385,$toNativeArray($kindInt32,[0,210,0])),new R.ptr(386,389,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(390,390,$toNativeArray($kindInt32,[0,206,0])),new R.ptr(391,392,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(393,394,$toNativeArray($kindInt32,[0,205,0])),new R.ptr(395,396,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(398,398,$toNativeArray($kindInt32,[0,79,0])),new R.ptr(399,399,$toNativeArray($kindInt32,[0,202,0])),new R.ptr(400,400,$toNativeArray($kindInt32,[0,203,0])),new R.ptr(401,402,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(403,403,$toNativeArray($kindInt32,[0,205,0])),new R.ptr(404,404,$toNativeArray($kindInt32,[0,207,0])),new R.ptr(405,405,$toNativeArray($kindInt32,[97,0,97])),new R.ptr(406,406,$toNativeArray($kindInt32,[0,211,0])),new R.ptr(407,407,$toNativeArray($kindInt32,[0,209,0])),new R.ptr(408,409,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(410,410,$toNativeArray($kindInt32,[163,0,163])),new R.ptr(412,412,$toNativeArray($kindInt32,[0,211,0])),new R.ptr(413,413,$toNativeArray($kindInt32,[0,213,0])),new R.ptr(414,414,$toNativeArray($kindInt32,[130,0,130])),new R.ptr(415,415,$toNativeArray($kindInt32,[0,214,0])),new R.ptr(416,421,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(422,422,$toNativeArray($kindInt32,[0,218,0])),new R.ptr(423,424,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(425,425,$toNativeArray($kindInt32,[0,218,0])),new R.ptr(428,429,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(430,430,$toNativeArray($kindInt32,[0,218,0])),new R.ptr(431,432,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(433,434,$toNativeArray($kindInt32,[0,217,0])),new R.ptr(435,438,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(439,439,$toNativeArray($kindInt32,[0,219,0])),new R.ptr(440,441,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(444,445,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(447,447,$toNativeArray($kindInt32,[56,0,56])),new R.ptr(452,452,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(453,453,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(454,454,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(455,455,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(456,456,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(457,457,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(458,458,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(459,459,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(460,460,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(461,476,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(477,477,$toNativeArray($kindInt32,[-79,0,-79])),new R.ptr(478,495,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(497,497,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(498,498,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(499,499,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(500,501,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(502,502,$toNativeArray($kindInt32,[0,-97,0])),new R.ptr(503,503,$toNativeArray($kindInt32,[0,-56,0])),new R.ptr(504,543,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(544,544,$toNativeArray($kindInt32,[0,-130,0])),new R.ptr(546,563,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(570,570,$toNativeArray($kindInt32,[0,10795,0])),new R.ptr(571,572,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(573,573,$toNativeArray($kindInt32,[0,-163,0])),new R.ptr(574,574,$toNativeArray($kindInt32,[0,10792,0])),new R.ptr(575,576,$toNativeArray($kindInt32,[10815,0,10815])),new R.ptr(577,578,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(579,579,$toNativeArray($kindInt32,[0,-195,0])),new R.ptr(580,580,$toNativeArray($kindInt32,[0,69,0])),new R.ptr(581,581,$toNativeArray($kindInt32,[0,71,0])),new R.ptr(582,591,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(592,592,$toNativeArray($kindInt32,[10783,0,10783])),new R.ptr(593,593,$toNativeArray($kindInt32,[10780,0,10780])),new R.ptr(594,594,$toNativeArray($kindInt32,[10782,0,10782])),new R.ptr(595,595,$toNativeArray($kindInt32,[-210,0,-210])),new R.ptr(596,596,$toNativeArray($kindInt32,[-206,0,-206])),new R.ptr(598,599,$toNativeArray($kindInt32,[-205,0,-205])),new R.ptr(601,601,$toNativeArray($kindInt32,[-202,0,-202])),new R.ptr(603,603,$toNativeArray($kindInt32,[-203,0,-203])),new R.ptr(604,604,$toNativeArray($kindInt32,[42319,0,42319])),new R.ptr(608,608,$toNativeArray($kindInt32,[-205,0,-205])),new R.ptr(609,609,$toNativeArray($kindInt32,[42315,0,42315])),new R.ptr(611,611,$toNativeArray($kindInt32,[-207,0,-207])),new R.ptr(613,613,$toNativeArray($kindInt32,[42280,0,42280])),new R.ptr(614,614,$toNativeArray($kindInt32,[42308,0,42308])),new R.ptr(616,616,$toNativeArray($kindInt32,[-209,0,-209])),new R.ptr(617,617,$toNativeArray($kindInt32,[-211,0,-211])),new R.ptr(618,618,$toNativeArray($kindInt32,[42308,0,42308])),new R.ptr(619,619,$toNativeArray($kindInt32,[10743,0,10743])),new R.ptr(620,620,$toNativeArray($kindInt32,[42305,0,42305])),new R.ptr(623,623,$toNativeArray($kindInt32,[-211,0,-211])),new R.ptr(625,625,$toNativeArray($kindInt32,[10749,0,10749])),new R.ptr(626,626,$toNativeArray($kindInt32,[-213,0,-213])),new R.ptr(629,629,$toNativeArray($kindInt32,[-214,0,-214])),new R.ptr(637,637,$toNativeArray($kindInt32,[10727,0,10727])),new R.ptr(640,640,$toNativeArray($kindInt32,[-218,0,-218])),new R.ptr(643,643,$toNativeArray($kindInt32,[-218,0,-218])),new R.ptr(647,647,$toNativeArray($kindInt32,[42282,0,42282])),new R.ptr(648,648,$toNativeArray($kindInt32,[-218,0,-218])),new R.ptr(649,649,$toNativeArray($kindInt32,[-69,0,-69])),new R.ptr(650,651,$toNativeArray($kindInt32,[-217,0,-217])),new R.ptr(652,652,$toNativeArray($kindInt32,[-71,0,-71])),new R.ptr(658,658,$toNativeArray($kindInt32,[-219,0,-219])),new R.ptr(669,669,$toNativeArray($kindInt32,[42261,0,42261])),new R.ptr(670,670,$toNativeArray($kindInt32,[42258,0,42258])),new R.ptr(837,837,$toNativeArray($kindInt32,[84,0,84])),new R.ptr(880,883,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(886,887,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(891,893,$toNativeArray($kindInt32,[130,0,130])),new R.ptr(895,895,$toNativeArray($kindInt32,[0,116,0])),new R.ptr(902,902,$toNativeArray($kindInt32,[0,38,0])),new R.ptr(904,906,$toNativeArray($kindInt32,[0,37,0])),new R.ptr(908,908,$toNativeArray($kindInt32,[0,64,0])),new R.ptr(910,911,$toNativeArray($kindInt32,[0,63,0])),new R.ptr(913,929,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(931,939,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(940,940,$toNativeArray($kindInt32,[-38,0,-38])),new R.ptr(941,943,$toNativeArray($kindInt32,[-37,0,-37])),new R.ptr(945,961,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(962,962,$toNativeArray($kindInt32,[-31,0,-31])),new R.ptr(963,971,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(972,972,$toNativeArray($kindInt32,[-64,0,-64])),new R.ptr(973,974,$toNativeArray($kindInt32,[-63,0,-63])),new R.ptr(975,975,$toNativeArray($kindInt32,[0,8,0])),new R.ptr(976,976,$toNativeArray($kindInt32,[-62,0,-62])),new R.ptr(977,977,$toNativeArray($kindInt32,[-57,0,-57])),new R.ptr(981,981,$toNativeArray($kindInt32,[-47,0,-47])),new R.ptr(982,982,$toNativeArray($kindInt32,[-54,0,-54])),new R.ptr(983,983,$toNativeArray($kindInt32,[-8,0,-8])),new R.ptr(984,1007,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1008,1008,$toNativeArray($kindInt32,[-86,0,-86])),new R.ptr(1009,1009,$toNativeArray($kindInt32,[-80,0,-80])),new R.ptr(1010,1010,$toNativeArray($kindInt32,[7,0,7])),new R.ptr(1011,1011,$toNativeArray($kindInt32,[-116,0,-116])),new R.ptr(1012,1012,$toNativeArray($kindInt32,[0,-60,0])),new R.ptr(1013,1013,$toNativeArray($kindInt32,[-96,0,-96])),new R.ptr(1015,1016,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1017,1017,$toNativeArray($kindInt32,[0,-7,0])),new R.ptr(1018,1019,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1021,1023,$toNativeArray($kindInt32,[0,-130,0])),new R.ptr(1024,1039,$toNativeArray($kindInt32,[0,80,0])),new R.ptr(1040,1071,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(1072,1103,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(1104,1119,$toNativeArray($kindInt32,[-80,0,-80])),new R.ptr(1120,1153,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1162,1215,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1216,1216,$toNativeArray($kindInt32,[0,15,0])),new R.ptr(1217,1230,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1231,1231,$toNativeArray($kindInt32,[-15,0,-15])),new R.ptr(1232,1327,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1329,1366,$toNativeArray($kindInt32,[0,48,0])),new R.ptr(1377,1414,$toNativeArray($kindInt32,[-48,0,-48])),new R.ptr(4256,4293,$toNativeArray($kindInt32,[0,7264,0])),new R.ptr(4295,4295,$toNativeArray($kindInt32,[0,7264,0])),new R.ptr(4301,4301,$toNativeArray($kindInt32,[0,7264,0])),new R.ptr(5024,5103,$toNativeArray($kindInt32,[0,38864,0])),new R.ptr(5104,5109,$toNativeArray($kindInt32,[0,8,0])),new R.ptr(5112,5117,$toNativeArray($kindInt32,[-8,0,-8])),new R.ptr(7296,7296,$toNativeArray($kindInt32,[-6254,0,-6254])),new R.ptr(7297,7297,$toNativeArray($kindInt32,[-6253,0,-6253])),new R.ptr(7298,7298,$toNativeArray($kindInt32,[-6244,0,-6244])),new R.ptr(7299,7300,$toNativeArray($kindInt32,[-6242,0,-6242])),new R.ptr(7301,7301,$toNativeArray($kindInt32,[-6243,0,-6243])),new R.ptr(7302,7302,$toNativeArray($kindInt32,[-6236,0,-6236])),new R.ptr(7303,7303,$toNativeArray($kindInt32,[-6181,0,-6181])),new R.ptr(7304,7304,$toNativeArray($kindInt32,[35266,0,35266])),new R.ptr(7545,7545,$toNativeArray($kindInt32,[35332,0,35332])),new R.ptr(7549,7549,$toNativeArray($kindInt32,[3814,0,3814])),new R.ptr(7680,7829,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(7835,7835,$toNativeArray($kindInt32,[-59,0,-59])),new R.ptr(7838,7838,$toNativeArray($kindInt32,[0,-7615,0])),new R.ptr(7840,7935,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(7936,7943,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7944,7951,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(7952,7957,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7960,7965,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(7968,7975,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7976,7983,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(7984,7991,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7992,7999,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8000,8005,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8008,8013,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8017,8017,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8019,8019,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8021,8021,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8023,8023,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8025,8025,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8027,8027,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8029,8029,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8031,8031,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8032,8039,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8040,8047,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8048,8049,$toNativeArray($kindInt32,[74,0,74])),new R.ptr(8050,8053,$toNativeArray($kindInt32,[86,0,86])),new R.ptr(8054,8055,$toNativeArray($kindInt32,[100,0,100])),new R.ptr(8056,8057,$toNativeArray($kindInt32,[128,0,128])),new R.ptr(8058,8059,$toNativeArray($kindInt32,[112,0,112])),new R.ptr(8060,8061,$toNativeArray($kindInt32,[126,0,126])),new R.ptr(8064,8071,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8072,8079,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8080,8087,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8088,8095,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8096,8103,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8104,8111,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8112,8113,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8115,8115,$toNativeArray($kindInt32,[9,0,9])),new R.ptr(8120,8121,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8122,8123,$toNativeArray($kindInt32,[0,-74,0])),new R.ptr(8124,8124,$toNativeArray($kindInt32,[0,-9,0])),new R.ptr(8126,8126,$toNativeArray($kindInt32,[-7205,0,-7205])),new R.ptr(8131,8131,$toNativeArray($kindInt32,[9,0,9])),new R.ptr(8136,8139,$toNativeArray($kindInt32,[0,-86,0])),new R.ptr(8140,8140,$toNativeArray($kindInt32,[0,-9,0])),new R.ptr(8144,8145,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8152,8153,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8154,8155,$toNativeArray($kindInt32,[0,-100,0])),new R.ptr(8160,8161,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8165,8165,$toNativeArray($kindInt32,[7,0,7])),new R.ptr(8168,8169,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8170,8171,$toNativeArray($kindInt32,[0,-112,0])),new R.ptr(8172,8172,$toNativeArray($kindInt32,[0,-7,0])),new R.ptr(8179,8179,$toNativeArray($kindInt32,[9,0,9])),new R.ptr(8184,8185,$toNativeArray($kindInt32,[0,-128,0])),new R.ptr(8186,8187,$toNativeArray($kindInt32,[0,-126,0])),new R.ptr(8188,8188,$toNativeArray($kindInt32,[0,-9,0])),new R.ptr(8486,8486,$toNativeArray($kindInt32,[0,-7517,0])),new R.ptr(8490,8490,$toNativeArray($kindInt32,[0,-8383,0])),new R.ptr(8491,8491,$toNativeArray($kindInt32,[0,-8262,0])),new R.ptr(8498,8498,$toNativeArray($kindInt32,[0,28,0])),new R.ptr(8526,8526,$toNativeArray($kindInt32,[-28,0,-28])),new R.ptr(8544,8559,$toNativeArray($kindInt32,[0,16,0])),new R.ptr(8560,8575,$toNativeArray($kindInt32,[-16,0,-16])),new R.ptr(8579,8580,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(9398,9423,$toNativeArray($kindInt32,[0,26,0])),new R.ptr(9424,9449,$toNativeArray($kindInt32,[-26,0,-26])),new R.ptr(11264,11310,$toNativeArray($kindInt32,[0,48,0])),new R.ptr(11312,11358,$toNativeArray($kindInt32,[-48,0,-48])),new R.ptr(11360,11361,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11362,11362,$toNativeArray($kindInt32,[0,-10743,0])),new R.ptr(11363,11363,$toNativeArray($kindInt32,[0,-3814,0])),new R.ptr(11364,11364,$toNativeArray($kindInt32,[0,-10727,0])),new R.ptr(11365,11365,$toNativeArray($kindInt32,[-10795,0,-10795])),new R.ptr(11366,11366,$toNativeArray($kindInt32,[-10792,0,-10792])),new R.ptr(11367,11372,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11373,11373,$toNativeArray($kindInt32,[0,-10780,0])),new R.ptr(11374,11374,$toNativeArray($kindInt32,[0,-10749,0])),new R.ptr(11375,11375,$toNativeArray($kindInt32,[0,-10783,0])),new R.ptr(11376,11376,$toNativeArray($kindInt32,[0,-10782,0])),new R.ptr(11378,11379,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11381,11382,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11390,11391,$toNativeArray($kindInt32,[0,-10815,0])),new R.ptr(11392,11491,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11499,11502,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11506,11507,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11520,11557,$toNativeArray($kindInt32,[-7264,0,-7264])),new R.ptr(11559,11559,$toNativeArray($kindInt32,[-7264,0,-7264])),new R.ptr(11565,11565,$toNativeArray($kindInt32,[-7264,0,-7264])),new R.ptr(42560,42605,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42624,42651,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42786,42799,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42802,42863,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42873,42876,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42877,42877,$toNativeArray($kindInt32,[0,-35332,0])),new R.ptr(42878,42887,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42891,42892,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42893,42893,$toNativeArray($kindInt32,[0,-42280,0])),new R.ptr(42896,42899,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42902,42921,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42922,42922,$toNativeArray($kindInt32,[0,-42308,0])),new R.ptr(42923,42923,$toNativeArray($kindInt32,[0,-42319,0])),new R.ptr(42924,42924,$toNativeArray($kindInt32,[0,-42315,0])),new R.ptr(42925,42925,$toNativeArray($kindInt32,[0,-42305,0])),new R.ptr(42926,42926,$toNativeArray($kindInt32,[0,-42308,0])),new R.ptr(42928,42928,$toNativeArray($kindInt32,[0,-42258,0])),new R.ptr(42929,42929,$toNativeArray($kindInt32,[0,-42282,0])),new R.ptr(42930,42930,$toNativeArray($kindInt32,[0,-42261,0])),new R.ptr(42931,42931,$toNativeArray($kindInt32,[0,928,0])),new R.ptr(42932,42935,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(43859,43859,$toNativeArray($kindInt32,[-928,0,-928])),new R.ptr(43888,43967,$toNativeArray($kindInt32,[-38864,0,-38864])),new R.ptr(65313,65338,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(65345,65370,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(66560,66599,$toNativeArray($kindInt32,[0,40,0])),new R.ptr(66600,66639,$toNativeArray($kindInt32,[-40,0,-40])),new R.ptr(66736,66771,$toNativeArray($kindInt32,[0,40,0])),new R.ptr(66776,66811,$toNativeArray($kindInt32,[-40,0,-40])),new R.ptr(68736,68786,$toNativeArray($kindInt32,[0,64,0])),new R.ptr(68800,68850,$toNativeArray($kindInt32,[-64,0,-64])),new R.ptr(71840,71871,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(71872,71903,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(125184,125217,$toNativeArray($kindInt32,[0,34,0])),new R.ptr(125218,125251,$toNativeArray($kindInt32,[-34,0,-34]))]);$pkg.CaseRanges=IF;IG=$toNativeArray($kindUint8,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,144,130,130,130,136,130,130,130,130,130,130,136,130,130,130,130,132,132,132,132,132,132,132,132,132,132,130,130,136,136,136,130,130,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,130,130,130,136,130,136,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,130,136,130,136,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,16,130,136,136,136,136,136,130,136,136,224,130,136,0,136,136,136,136,132,132,136,192,130,130,136,132,224,130,132,132,132,130,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,136,160,160,160,160,160,160,160,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,136,192,192,192,192,192,192,192,192]);IH=$toNativeArray($kindUint16,[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,91,92,93,94,95,96,65,66,67,68,69,70,71,72,73,74,8490,76,77,78,79,80,81,82,383,84,85,86,87,88,89,90,123,124,125,126,127]);II=new IY([new AF.ptr(75,107),new AF.ptr(83,115),new AF.ptr(107,8490),new AF.ptr(115,383),new AF.ptr(181,924),new AF.ptr(197,229),new AF.ptr(223,7838),new AF.ptr(229,8491),new AF.ptr(304,304),new AF.ptr(305,305),new AF.ptr(383,83),new AF.ptr(452,453),new AF.ptr(453,454),new AF.ptr(454,452),new AF.ptr(455,456),new AF.ptr(456,457),new AF.ptr(457,455),new AF.ptr(458,459),new AF.ptr(459,460),new AF.ptr(460,458),new AF.ptr(497,498),new AF.ptr(498,499),new AF.ptr(499,497),new AF.ptr(837,921),new AF.ptr(914,946),new AF.ptr(917,949),new AF.ptr(920,952),new AF.ptr(921,953),new AF.ptr(922,954),new AF.ptr(924,956),new AF.ptr(928,960),new AF.ptr(929,961),new AF.ptr(931,962),new AF.ptr(934,966),new AF.ptr(937,969),new AF.ptr(946,976),new AF.ptr(949,1013),new AF.ptr(952,977),new AF.ptr(953,8126),new AF.ptr(954,1008),new AF.ptr(956,181),new AF.ptr(960,982),new AF.ptr(961,1009),new AF.ptr(962,963),new AF.ptr(963,931),new AF.ptr(966,981),new AF.ptr(969,8486),new AF.ptr(976,914),new AF.ptr(977,1012),new AF.ptr(981,934),new AF.ptr(982,928),new AF.ptr(1008,922),new AF.ptr(1009,929),new AF.ptr(1012,920),new AF.ptr(1013,917),new AF.ptr(1042,1074),new AF.ptr(1044,1076),new AF.ptr(1054,1086),new AF.ptr(1057,1089),new AF.ptr(1058,1090),new AF.ptr(1066,1098),new AF.ptr(1074,7296),new AF.ptr(1076,7297),new AF.ptr(1086,7298),new AF.ptr(1089,7299),new AF.ptr(1090,7300),new AF.ptr(1098,7302),new AF.ptr(1122,1123),new AF.ptr(1123,7303),new AF.ptr(7296,1042),new AF.ptr(7297,1044),new AF.ptr(7298,1054),new AF.ptr(7299,1057),new AF.ptr(7300,7301),new AF.ptr(7301,1058),new AF.ptr(7302,1066),new AF.ptr(7303,1122),new AF.ptr(7304,42570),new AF.ptr(7776,7777),new AF.ptr(7777,7835),new AF.ptr(7835,7776),new AF.ptr(7838,223),new AF.ptr(8126,837),new AF.ptr(8486,937),new AF.ptr(8490,75),new AF.ptr(8491,197),new AF.ptr(42570,42571),new AF.ptr(42571,7304)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,D,F,G,H,I,J,K,L,M,N,O,P,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});D=function(a){var $ptr,a,b,c,d,e,f,g;b=a.$length;if(b===0){return false;}d=(c=(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]),((c<0||c>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[c]));if(b>=((((d&7)>>>0)>>0))){return true;}f=$clone((e=d>>>4<<24>>>24,((e<0||e>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[e])),B);if(b>1){g=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(g<f.lo||f.hi<g){return true;}else if(b>2&&((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])<128||191<(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))){return true;}}return false;};$pkg.FullRune=D;F=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.$length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRune=F;G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;H=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=0;d=a.$length;if(d===0){e=65533;f=0;b=e;c=f;return[b,c];}g=d-1>>0;b=((((g<0||g>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+g])>>0));if(b<128){h=b;i=1;b=h;c=i;return[b,c];}j=d-4>>0;if(j<0){j=0;}g=g-(1)>>0;while(true){if(!(g>=j)){break;}if(N(((g<0||g>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+g]))){break;}g=g-(1)>>0;}if(g<0){g=0;}k=F($subslice(a,g,d));b=k[0];c=k[1];if(!(((g+c>>0)===d))){l=65533;m=1;b=l;c=m;return[b,c];}n=b;o=c;b=n;c=o;return[b,c];};$pkg.DecodeLastRune=H;I=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=0;d=a.length;if(d===0){e=65533;f=0;b=e;c=f;return[b,c];}g=d-1>>0;b=((a.charCodeAt(g)>>0));if(b<128){h=b;i=1;b=h;c=i;return[b,c];}j=d-4>>0;if(j<0){j=0;}g=g-(1)>>0;while(true){if(!(g>=j)){break;}if(N(a.charCodeAt(g))){break;}g=g-(1)>>0;}if(g<0){g=0;}k=G($substring(a,g,d));b=k[0];c=k[1];if(!(((g+c>>0)===d))){l=65533;m=1;b=l;c=m;return[b,c];}n=b;o=c;b=n;c=o;return[b,c];};$pkg.DecodeLastRuneInString=I;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;N=function(a){var $ptr,a;return!((((a&192)>>>0)===128));};$pkg.RuneStart=N;O=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;b=a.$length;c=0;while(true){if(!(c<b)){break;}d=((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c]);if(d<128){c=c+(1)>>0;continue;}e=((d<0||d>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[d]);if(e===241){return false;}f=((((e&7)>>>0)>>0));if((c+f>>0)>b){return false;}h=$clone((g=e>>>4<<24>>>24,((g<0||g>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[g])),B);j=(i=c+1>>0,((i<0||i>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+i]));if(j<h.lo||h.hi<j){return false;}else if(f===2){}else{l=(k=c+2>>0,((k<0||k>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+k]));if(l<128||191<l){return false;}else if(f===3){}else{n=(m=c+3>>0,((m<0||m>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+m]));if(n<128||191<n){return false;}}}c=c+(f)>>0;}return true;};$pkg.Valid=O;P=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=a.length;c=0;while(true){if(!(c<b)){break;}d=a.charCodeAt(c);if(d<128){c=c+(1)>>0;continue;}e=((d<0||d>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[d]);if(e===241){return false;}f=((((e&7)>>>0)>>0));if((c+f>>0)>b){return false;}h=$clone((g=e>>>4<<24>>>24,((g<0||g>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[g])),B);i=a.charCodeAt((c+1>>0));if(i<h.lo||h.hi<i){return false;}else if(f===2){}else{j=a.charCodeAt((c+2>>0));if(j<128||191<j){return false;}else if(f===3){}else{k=a.charCodeAt((c+3>>0));if(k<128||191<k){return false;}}}c=c+(f)>>0;}return true;};$pkg.ValidString=P;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"bytes\"]=(function(){var $pkg={},$init,A,B,D,C,H,I,BB,BM,BO,BP,BQ,BT,BU,BW,E,F,J,K,U,AG,AH,AS,AT,AU,AV,AZ,BA,BC,BD,BG,BH,BK,BL,BN;A=$packages[\"errors\"];B=$packages[\"io\"];D=$packages[\"unicode\"];C=$packages[\"unicode/utf8\"];H=$pkg.Buffer=$newType(0,$kindStruct,\"bytes.Buffer\",true,\"bytes\",true,function(buf_,off_,bootstrap_,lastRead_){this.$val=this;if(arguments.length===0){this.buf=BP.nil;this.off=0;this.bootstrap=BQ.zero();this.lastRead=0;return;}this.buf=buf_;this.off=off_;this.bootstrap=bootstrap_;this.lastRead=lastRead_;});I=$pkg.readOp=$newType(4,$kindInt,\"bytes.readOp\",true,\"bytes\",false,null);BB=$pkg.asciiSet=$newType(32,$kindArray,\"bytes.asciiSet\",true,\"bytes\",false,null);BM=$pkg.Reader=$newType(0,$kindStruct,\"bytes.Reader\",true,\"bytes\",true,function(s_,i_,prevRune_){this.$val=this;if(arguments.length===0){this.s=BP.nil;this.i=new $Int64(0,0);this.prevRune=0;return;}this.s=s_;this.i=i_;this.prevRune=prevRune_;});BO=$ptrType(H);BP=$sliceType($Uint8);BQ=$arrayType($Uint8,64);BT=$ptrType(BB);BU=$arrayType($Uint32,8);BW=$ptrType(BM);E=function(d,e){var $ptr,d,e,f,g,h,i;f=d;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(i===e){return h;}g++;}return-1;};$pkg.IndexByte=E;F=function(d,e){var $ptr,d,e,f,g,h,i;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(!((i===((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h])))){return false;}g++;}return true;};$pkg.Equal=F;H.ptr.prototype.Bytes=function(){var $ptr,d;d=this;return $subslice(d.buf,d.off);};H.prototype.Bytes=function(){return this.$val.Bytes();};H.ptr.prototype.String=function(){var $ptr,d;d=this;if(d===BO.nil){return\"<nil>\";}return($bytesToString($subslice(d.buf,d.off)));};H.prototype.String=function(){return this.$val.String();};H.ptr.prototype.Len=function(){var $ptr,d;d=this;return d.buf.$length-d.off>>0;};H.prototype.Len=function(){return this.$val.Len();};H.ptr.prototype.Cap=function(){var $ptr,d;d=this;return d.buf.$capacity;};H.prototype.Cap=function(){return this.$val.Cap();};H.ptr.prototype.Truncate=function(d){var $ptr,d,e;e=this;e.lastRead=0;if(d<0||d>e.Len()){$panic(new $String(\"bytes.Buffer: truncation out of range\"));}else if((d===0)){e.off=0;}e.buf=$subslice(e.buf,0,(e.off+d>>0));};H.prototype.Truncate=function(d){return this.$val.Truncate(d);};H.ptr.prototype.Reset=function(){var $ptr,d;d=this;d.Truncate(0);};H.prototype.Reset=function(){return this.$val.Reset();};H.ptr.prototype.grow=function(d){var $ptr,d,e,f,g,h;e=this;f=e.Len();if((f===0)&&!((e.off===0))){e.Truncate(0);}if((e.buf.$length+d>>0)>e.buf.$capacity){g=BP.nil;if(e.buf===BP.nil&&d<=64){g=$subslice(new BP(e.bootstrap),0);}else if((f+d>>0)<=(h=e.buf.$capacity/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"))){$copySlice(e.buf,$subslice(e.buf,e.off));g=$subslice(e.buf,0,f);}else{g=J(($imul(2,e.buf.$capacity))+d>>0);$copySlice(g,$subslice(e.buf,e.off));}e.buf=g;e.off=0;}e.buf=$subslice(e.buf,0,((e.off+f>>0)+d>>0));return e.off+f>>0;};H.prototype.grow=function(d){return this.$val.grow(d);};H.ptr.prototype.Grow=function(d){var $ptr,d,e,f;e=this;if(d<0){$panic(new $String(\"bytes.Buffer.Grow: negative count\"));}f=e.grow(d);e.buf=$subslice(e.buf,0,f);};H.prototype.Grow=function(d){return this.$val.Grow(d);};H.ptr.prototype.Write=function(d){var $ptr,d,e,f,g,h,i,j;e=0;f=$ifaceNil;g=this;g.lastRead=0;h=g.grow(d.$length);i=$copySlice($subslice(g.buf,h),d);j=$ifaceNil;e=i;f=j;return[e,f];};H.prototype.Write=function(d){return this.$val.Write(d);};H.ptr.prototype.WriteString=function(d){var $ptr,d,e,f,g,h,i,j;e=0;f=$ifaceNil;g=this;g.lastRead=0;h=g.grow(d.length);i=$copyString($subslice(g.buf,h),d);j=$ifaceNil;e=i;f=j;return[e,f];};H.prototype.WriteString=function(d){return this.$val.WriteString(d);};H.ptr.prototype.ReadFrom=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=new $Int64(0,0);f=$ifaceNil;g=this;g.lastRead=0;if(g.off>=g.buf.$length){g.Truncate(0);}case 1:h=g.buf.$capacity-g.buf.$length>>0;if(h<512){i=g.buf;if((g.off+h>>0)<512){i=J(($imul(2,g.buf.$capacity))+512>>0);}$copySlice(i,$subslice(g.buf,g.off));g.buf=$subslice(i,0,(g.buf.$length-g.off>>0));g.off=0;}k=d.Read($subslice(g.buf,g.buf.$length,g.buf.$capacity));$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];g.buf=$subslice(g.buf,0,(g.buf.$length+l>>0));e=(n=(new $Int64(0,l)),new $Int64(e.$high+n.$high,e.$low+n.$low));if($interfaceIsEqual(m,B.EOF)){$s=2;continue;}if(!($interfaceIsEqual(m,$ifaceNil))){o=e;p=m;e=o;f=p;$s=-1;return[e,f];}$s=1;continue;case 2:q=e;r=$ifaceNil;e=q;f=r;$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:H.ptr.prototype.ReadFrom};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};H.prototype.ReadFrom=function(d){return this.$val.ReadFrom(d);};J=function(d){var $ptr,d,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;if(!($interfaceIsEqual($recover(),$ifaceNil))){$panic($pkg.ErrTooLarge);}}),[]]);return $makeSlice(BP,d);}catch(err){$err=err;return BP.nil;}finally{$callDeferred($deferred,$err);}};H.ptr.prototype.WriteTo=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=new $Int64(0,0);f=$ifaceNil;g=this;g.lastRead=0;if(g.off<g.buf.$length){$s=1;continue;}$s=2;continue;case 1:h=g.Len();j=d.Write($subslice(g.buf,g.off));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(k>h){$panic(new $String(\"bytes.Buffer.WriteTo: invalid Write count\"));}g.off=g.off+(k)>>0;e=(new $Int64(0,k));if(!($interfaceIsEqual(l,$ifaceNil))){m=e;n=l;e=m;f=n;$s=-1;return[e,f];}if(!((k===h))){o=e;p=B.ErrShortWrite;e=o;f=p;$s=-1;return[e,f];}case 2:g.Truncate(0);$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:H.ptr.prototype.WriteTo};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};H.prototype.WriteTo=function(d){return this.$val.WriteTo(d);};H.ptr.prototype.WriteByte=function(d){var $ptr,d,e,f,g;e=this;e.lastRead=0;f=e.grow(1);(g=e.buf,((f<0||f>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+f]=d));return $ifaceNil;};H.prototype.WriteByte=function(d){return this.$val.WriteByte(d);};H.ptr.prototype.WriteRune=function(d){var $ptr,d,e,f,g,h,i,j,k,l;e=0;f=$ifaceNil;g=this;if(d<128){g.WriteByte(((d<<24>>>24)));h=1;i=$ifaceNil;e=h;f=i;return[e,f];}g.lastRead=0;j=g.grow(4);e=C.EncodeRune($subslice(g.buf,j,(j+4>>0)),d);g.buf=$subslice(g.buf,0,(j+e>>0));k=e;l=$ifaceNil;e=k;f=l;return[e,f];};H.prototype.WriteRune=function(d){return this.$val.WriteRune(d);};H.ptr.prototype.Read=function(d){var $ptr,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;g.lastRead=0;if(g.off>=g.buf.$length){g.Truncate(0);if(d.$length===0){return[e,f];}h=0;i=B.EOF;e=h;f=i;return[e,f];}e=$copySlice(d,$subslice(g.buf,g.off));g.off=g.off+(e)>>0;if(e>0){g.lastRead=-1;}return[e,f];};H.prototype.Read=function(d){return this.$val.Read(d);};H.ptr.prototype.Next=function(d){var $ptr,d,e,f,g;e=this;e.lastRead=0;f=e.Len();if(d>f){d=f;}g=$subslice(e.buf,e.off,(e.off+d>>0));e.off=e.off+(d)>>0;if(d>0){e.lastRead=-1;}return g;};H.prototype.Next=function(d){return this.$val.Next(d);};H.ptr.prototype.ReadByte=function(){var $ptr,d,e,f,g;d=this;d.lastRead=0;if(d.off>=d.buf.$length){d.Truncate(0);return[0,B.EOF];}g=(e=d.buf,f=d.off,((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]));d.off=d.off+(1)>>0;d.lastRead=-1;return[g,$ifaceNil];};H.prototype.ReadByte=function(){return this.$val.ReadByte();};H.ptr.prototype.ReadRune=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;d=0;e=0;f=$ifaceNil;g=this;g.lastRead=0;if(g.off>=g.buf.$length){g.Truncate(0);h=0;i=0;j=B.EOF;d=h;e=i;f=j;return[d,e,f];}m=(k=g.buf,l=g.off,((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]));if(m<128){g.off=g.off+(1)>>0;g.lastRead=1;n=((m>>0));o=1;p=$ifaceNil;d=n;e=o;f=p;return[d,e,f];}q=C.DecodeRune($subslice(g.buf,g.off));d=q[0];r=q[1];g.off=g.off+(r)>>0;g.lastRead=((r>>0));s=d;t=r;u=$ifaceNil;d=s;e=t;f=u;return[d,e,f];};H.prototype.ReadRune=function(){return this.$val.ReadRune();};H.ptr.prototype.UnreadRune=function(){var $ptr,d;d=this;if(d.lastRead<=0){return A.New(\"bytes.Buffer: UnreadRune: previous operation was not ReadRune\");}if(d.off>=((d.lastRead>>0))){d.off=d.off-(((d.lastRead>>0)))>>0;}d.lastRead=0;return $ifaceNil;};H.prototype.UnreadRune=function(){return this.$val.UnreadRune();};H.ptr.prototype.UnreadByte=function(){var $ptr,d;d=this;if(d.lastRead===0){return A.New(\"bytes.Buffer: UnreadByte: previous operation was not a read\");}d.lastRead=0;if(d.off>0){d.off=d.off-(1)>>0;}return $ifaceNil;};H.prototype.UnreadByte=function(){return this.$val.UnreadByte();};H.ptr.prototype.ReadBytes=function(d){var $ptr,d,e,f,g,h,i;e=BP.nil;f=$ifaceNil;g=this;h=g.readSlice(d);i=h[0];f=h[1];e=$appendSlice(e,i);return[e,f];};H.prototype.ReadBytes=function(d){return this.$val.ReadBytes(d);};H.ptr.prototype.readSlice=function(d){var $ptr,d,e,f,g,h,i,j,k;e=BP.nil;f=$ifaceNil;g=this;h=E($subslice(g.buf,g.off),d);i=(g.off+h>>0)+1>>0;if(h<0){i=g.buf.$length;f=B.EOF;}e=$subslice(g.buf,g.off,i);g.off=i;g.lastRead=-1;j=e;k=f;e=j;f=k;return[e,f];};H.prototype.readSlice=function(d){return this.$val.readSlice(d);};H.ptr.prototype.ReadString=function(d){var $ptr,d,e,f,g,h,i,j,k;e=\"\";f=$ifaceNil;g=this;h=g.readSlice(d);i=h[0];f=h[1];j=($bytesToString(i));k=f;e=j;f=k;return[e,f];};H.prototype.ReadString=function(d){return this.$val.ReadString(d);};K=function(d){var $ptr,d;return new H.ptr(d,0,BQ.zero(),0);};$pkg.NewBuffer=K;U=function(d,e){var $ptr,d,e,f;f=d.$length-1>>0;while(true){if(!(f>=0)){break;}if(((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])===e){return f;}f=f-(1)>>0;}return-1;};$pkg.LastIndexByte=U;AG=function(d,e){var $ptr,d,e;return d.$length>=e.$length&&F($subslice(d,0,e.$length),e);};$pkg.HasPrefix=AG;AH=function(d,e){var $ptr,d,e;return d.$length>=e.$length&&F($subslice(d,(d.$length-e.$length>>0)),e);};$pkg.HasSuffix=AH;AS=function(d,e){var $ptr,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AZ(d,e,false);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(g===-1){$s=-1;return BP.nil;}$s=-1;return $subslice(d,g);}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=AS;AT=function(d,e){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=BA(d,e,false);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(g>=0&&((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g])>=128){h=C.DecodeRune($subslice(d,g));i=h[1];g=g+(i)>>0;}else{g=g+(1)>>0;}$s=-1;return $subslice(d,0,g);}return;}if($f===undefined){$f={$blk:AT};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimRightFunc=AT;AU=function(d,e){var $ptr,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AS(d,e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=AT(f,e);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimFunc=AU;AV=function(d,e){var $ptr,d,e;if(AG(d,e)){return $subslice(d,e.$length);}return d;};$pkg.TrimPrefix=AV;AZ=function(d,e,f){var $ptr,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;case 1:if(!(g<d.$length)){$s=2;continue;}h=1;i=((((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g])>>0));if(i>=128){j=C.DecodeRune($subslice(d,g));i=j[0];h=j[1];}k=e(i);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(k===f){$s=3;continue;}$s=4;continue;case 3:$s=-1;return g;case 4:g=g+(h)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BA=function(d,e,f){var $ptr,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=d.$length;case 1:if(!(g>0)){$s=2;continue;}h=(((i=g-1>>0,((i<0||i>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+i]))>>0));j=1;k=h;l=j;if(k>=128){m=C.DecodeLastRune($subslice(d,0,g));k=m[0];l=m[1];}g=g-(l)>>0;n=e(k);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}if(n===f){$s=3;continue;}$s=4;continue;case 3:$s=-1;return g;case 4:$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BA};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BC=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n;e=BU.zero();f=false;g=0;while(true){if(!(g<d.length)){break;}h=d.charCodeAt(g);if(h>=128){i=$clone(e,BB);j=false;BB.copy(e,i);f=j;return[e,f];}k=h>>>5<<24>>>24;((k<0||k>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[k]=((((k<0||k>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[k])|(((l=((((h&31)>>>0)>>>0)),l<32?(1<<l):0)>>>0)))>>>0));g=g+(1)>>0;}m=$clone(e,BB);n=true;BB.copy(e,m);f=n;return[e,f];};BB.prototype.contains=function(d){var $ptr,d,e,f,g;e=this.$val;return!((((((f=d>>>5<<24>>>24,(e.nilCheck,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f])))&(((g=((((d&31)>>>0)>>>0)),g<32?(1<<g):0)>>>0)))>>>0))===0));};$ptrType(BB).prototype.contains=function(d){return(new BB(this.$get())).contains(d);};BD=function(d){var $ptr,d,e,f,g;if((d.length===1)&&d.charCodeAt(0)<128){return(function(e){var $ptr,e;return e===((d.charCodeAt(0)>>0));});}e=BC(d);f=$clone(e[0],BB);g=e[1];if(g){return(function(h){var $ptr,h;return h<128&&new BT(f).contains(((h<<24>>>24)));});}return(function(h){var $ptr,h,i,j,k,l;i=d;j=0;while(true){if(!(j<i.length)){break;}k=$decodeRune(i,j);l=k[0];if(l===h){return true;}j+=k[1];}return false;});};BG=function(d,e){var $ptr,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AT(d,BD(e));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BG};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimRight=BG;BH=function(d){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=AU(d,D.IsSpace);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:BH};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimSpace=BH;BK=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;while(true){if(!(!((d.$length===0))&&!((e.$length===0)))){break;}f=0;g=0;h=f;i=g;if((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])<128){j=(((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])>>0));k=$subslice(d,1);h=j;d=k;}else{l=C.DecodeRune(d);m=l[0];n=l[1];o=m;p=$subslice(d,n);h=o;d=p;}if((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])<128){q=(((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])>>0));r=$subslice(e,1);i=q;e=r;}else{s=C.DecodeRune(e);t=s[0];u=s[1];v=t;w=$subslice(e,u);i=v;e=w;}if(i===h){continue;}if(i<h){x=h;y=i;i=x;h=y;}if(i<128&&65<=h&&h<=90){if(i===((h+97>>0)-65>>0)){continue;}return false;}z=D.SimpleFold(h);while(true){if(!(!((z===h))&&z<i)){break;}z=D.SimpleFold(z);}if(z===i){continue;}return false;}return d.$length===e.$length;};$pkg.EqualFold=BK;BL=function(d,e){var $ptr,d,e,f,g,h,i,j;f=e.$length;if(f===0){return 0;}if(f>d.$length){return-1;}g=(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);if(f===1){return E(d,g);}h=0;i=$subslice(d,0,((d.$length-f>>0)+1>>0));while(true){if(!(h<i.$length)){break;}if(!((((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h])===g))){j=E($subslice(i,h),g);if(j<0){break;}h=h+(j)>>0;}if(F($subslice(d,h,(h+f>>0)),e)){return h;}h=h+(1)>>0;}return-1;};$pkg.Index=BL;BM.ptr.prototype.Len=function(){var $ptr,d,e,f,g,h,i;d=this;if((e=d.i,f=(new $Int64(0,d.s.$length)),(e.$high>f.$high||(e.$high===f.$high&&e.$low>=f.$low)))){return 0;}return(((g=(h=(new $Int64(0,d.s.$length)),i=d.i,new $Int64(h.$high-i.$high,h.$low-i.$low)),g.$low+((g.$high>>31)*4294967296))>>0));};BM.prototype.Len=function(){return this.$val.Len();};BM.ptr.prototype.Size=function(){var $ptr,d;d=this;return(new $Int64(0,d.s.$length));};BM.prototype.Size=function(){return this.$val.Size();};BM.ptr.prototype.Read=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m;e=0;f=$ifaceNil;g=this;if((h=g.i,i=(new $Int64(0,g.s.$length)),(h.$high>i.$high||(h.$high===i.$high&&h.$low>=i.$low)))){j=0;k=B.EOF;e=j;f=k;return[e,f];}g.prevRune=-1;e=$copySlice(d,$subslice(g.s,$flatten64(g.i)));g.i=(l=g.i,m=(new $Int64(0,e)),new $Int64(l.$high+m.$high,l.$low+m.$low));return[e,f];};BM.prototype.Read=function(d){return this.$val.Read(d);};BM.ptr.prototype.ReadAt=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m;f=0;g=$ifaceNil;h=this;if((e.$high<0||(e.$high===0&&e.$low<0))){i=0;j=A.New(\"bytes.Reader.ReadAt: negative offset\");f=i;g=j;return[f,g];}if((k=(new $Int64(0,h.s.$length)),(e.$high>k.$high||(e.$high===k.$high&&e.$low>=k.$low)))){l=0;m=B.EOF;f=l;g=m;return[f,g];}f=$copySlice(d,$subslice(h.s,$flatten64(e)));if(f<d.$length){g=B.EOF;}return[f,g];};BM.prototype.ReadAt=function(d,e){return this.$val.ReadAt(d,e);};BM.ptr.prototype.ReadByte=function(){var $ptr,d,e,f,g,h,i,j,k;d=this;d.prevRune=-1;if((e=d.i,f=(new $Int64(0,d.s.$length)),(e.$high>f.$high||(e.$high===f.$high&&e.$low>=f.$low)))){return[0,B.EOF];}i=(g=d.s,h=d.i,(($flatten64(h)<0||$flatten64(h)>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+$flatten64(h)]));d.i=(j=d.i,k=new $Int64(0,1),new $Int64(j.$high+k.$high,j.$low+k.$low));return[i,$ifaceNil];};BM.prototype.ReadByte=function(){return this.$val.ReadByte();};BM.ptr.prototype.UnreadByte=function(){var $ptr,d,e,f,g;d=this;d.prevRune=-1;if((e=d.i,(e.$high<0||(e.$high===0&&e.$low<=0)))){return A.New(\"bytes.Reader.UnreadByte: at beginning of slice\");}d.i=(f=d.i,g=new $Int64(0,1),new $Int64(f.$high-g.$high,f.$low-g.$low));return $ifaceNil;};BM.prototype.UnreadByte=function(){return this.$val.UnreadByte();};BM.ptr.prototype.ReadRune=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;d=0;e=0;f=$ifaceNil;g=this;if((h=g.i,i=(new $Int64(0,g.s.$length)),(h.$high>i.$high||(h.$high===i.$high&&h.$low>=i.$low)))){g.prevRune=-1;j=0;k=0;l=B.EOF;d=j;e=k;f=l;return[d,e,f];}g.prevRune=(((m=g.i,m.$low+((m.$high>>31)*4294967296))>>0));p=(n=g.s,o=g.i,(($flatten64(o)<0||$flatten64(o)>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+$flatten64(o)]));if(p<128){g.i=(q=g.i,r=new $Int64(0,1),new $Int64(q.$high+r.$high,q.$low+r.$low));s=((p>>0));t=1;u=$ifaceNil;d=s;e=t;f=u;return[d,e,f];}v=C.DecodeRune($subslice(g.s,$flatten64(g.i)));d=v[0];e=v[1];g.i=(w=g.i,x=(new $Int64(0,e)),new $Int64(w.$high+x.$high,w.$low+x.$low));return[d,e,f];};BM.prototype.ReadRune=function(){return this.$val.ReadRune();};BM.ptr.prototype.UnreadRune=function(){var $ptr,d;d=this;if(d.prevRune<0){return A.New(\"bytes.Reader.UnreadRune: previous operation was not ReadRune\");}d.i=(new $Int64(0,d.prevRune));d.prevRune=-1;return $ifaceNil;};BM.prototype.UnreadRune=function(){return this.$val.UnreadRune();};BM.ptr.prototype.Seek=function(d,e){var $ptr,d,e,f,g,h,i,j;f=this;f.prevRune=-1;g=new $Int64(0,0);h=e;if(h===(0)){g=d;}else if(h===(1)){g=(i=f.i,new $Int64(i.$high+d.$high,i.$low+d.$low));}else if(h===(2)){g=(j=(new $Int64(0,f.s.$length)),new $Int64(j.$high+d.$high,j.$low+d.$low));}else{return[new $Int64(0,0),A.New(\"bytes.Reader.Seek: invalid whence\")];}if((g.$high<0||(g.$high===0&&g.$low<0))){return[new $Int64(0,0),A.New(\"bytes.Reader.Seek: negative position\")];}f.i=g;return[g,$ifaceNil];};BM.prototype.Seek=function(d,e){return this.$val.Seek(d,e);};BM.ptr.prototype.WriteTo=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=new $Int64(0,0);f=$ifaceNil;g=this;g.prevRune=-1;if((h=g.i,i=(new $Int64(0,g.s.$length)),(h.$high>i.$high||(h.$high===i.$high&&h.$low>=i.$low)))){j=new $Int64(0,0);k=$ifaceNil;e=j;f=k;$s=-1;return[e,f];}l=$subslice(g.s,$flatten64(g.i));n=d.Write(l);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];f=m[1];if(o>l.$length){$panic(new $String(\"bytes.Reader.WriteTo: invalid Write count\"));}g.i=(p=g.i,q=(new $Int64(0,o)),new $Int64(p.$high+q.$high,p.$low+q.$low));e=(new $Int64(0,o));if(!((o===l.$length))&&$interfaceIsEqual(f,$ifaceNil)){f=B.ErrShortWrite;}$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.WriteTo};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.WriteTo=function(d){return this.$val.WriteTo(d);};BM.ptr.prototype.Reset=function(d){var $ptr,d,e;e=this;BM.copy(e,new BM.ptr(d,new $Int64(0,0),-1));};BM.prototype.Reset=function(d){return this.$val.Reset(d);};BN=function(d){var $ptr,d;return new BM.ptr(d,new $Int64(0,0),-1);};$pkg.NewReader=BN;BO.methods=[{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"grow\",name:\"grow\",pkg:\"bytes\",typ:$funcType([$Int],[$Int],false)},{prop:\"Grow\",name:\"Grow\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BP],[$Int,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([B.Reader],[$Int64,$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([B.Writer],[$Int64,$error],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[$error],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[$Int,$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BP],[$Int,$error],false)},{prop:\"Next\",name:\"Next\",pkg:\"\",typ:$funcType([$Int],[BP],false)},{prop:\"ReadByte\",name:\"ReadByte\",pkg:\"\",typ:$funcType([],[$Uint8,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"UnreadByte\",name:\"UnreadByte\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ReadBytes\",name:\"ReadBytes\",pkg:\"\",typ:$funcType([$Uint8],[BP,$error],false)},{prop:\"readSlice\",name:\"readSlice\",pkg:\"bytes\",typ:$funcType([$Uint8],[BP,$error],false)},{prop:\"ReadString\",name:\"ReadString\",pkg:\"\",typ:$funcType([$Uint8],[$String,$error],false)}];BT.methods=[{prop:\"contains\",name:\"contains\",pkg:\"bytes\",typ:$funcType([$Uint8],[$Bool],false)}];BW.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BP],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([BP,$Int64],[$Int,$error],false)},{prop:\"ReadByte\",name:\"ReadByte\",pkg:\"\",typ:$funcType([],[$Uint8,$error],false)},{prop:\"UnreadByte\",name:\"UnreadByte\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([B.Writer],[$Int64,$error],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BP],[],false)}];H.init(\"bytes\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BP,tag:\"\"},{prop:\"off\",name:\"off\",exported:false,typ:$Int,tag:\"\"},{prop:\"bootstrap\",name:\"bootstrap\",exported:false,typ:BQ,tag:\"\"},{prop:\"lastRead\",name:\"lastRead\",exported:false,typ:I,tag:\"\"}]);BB.init($Uint32,8);BM.init(\"bytes\",[{prop:\"s\",name:\"s\",exported:false,typ:BP,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int64,tag:\"\"},{prop:\"prevRune\",name:\"prevRune\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrTooLarge=A.New(\"bytes.Buffer: too large\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"encoding\"]=(function(){var $pkg={},$init,C,D,E;C=$pkg.TextMarshaler=$newType(8,$kindInterface,\"encoding.TextMarshaler\",true,\"encoding\",true,null);D=$pkg.TextUnmarshaler=$newType(8,$kindInterface,\"encoding.TextUnmarshaler\",true,\"encoding\",true,null);E=$sliceType($Uint8);C.init([{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[E,$error],false)}]);D.init([{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([E],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,C,D,E,F,AS,EQ,P,T,V,W,X,Z,AC,AH,AT,AU,AV,AW,AX,AY,BI,BW,EG,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);P=function(aq){var $ptr,aq;return $parseFloat(B.exp(aq));};$pkg.Exp=P;T=function(aq){var $ptr,aq,ar,as,at;ar=0;as=0;at=BW(aq);ar=at[0];as=at[1];return[ar,as];};$pkg.Frexp=T;V=function(aq){var $ptr,aq;if(aq>=0){return D;}else{return E;}};$pkg.Inf=V;W=function(aq,ar){var $ptr,aq,ar;if(aq===D){return ar>=0;}if(aq===E){return ar<=0;}return false;};$pkg.IsInf=W;X=function(aq){var $ptr,aq,ar;ar=false;ar=!((aq===aq));return ar;};$pkg.IsNaN=X;Z=function(aq){var $ptr,aq;if(!((aq===aq))){return F;}return $parseFloat(B.log(aq));};$pkg.Log=Z;AC=function(aq){var $ptr,aq;return EG(aq);};$pkg.Log2=AC;AH=function(){var $ptr;return F;};$pkg.NaN=AH;AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AV=function(aq){var $ptr,aq;AS.uint32array[0]=aq;return AS.float32array[0];};$pkg.Float32frombits=AV;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;AX=function(aq){var $ptr,aq;AS.uint32array[0]=((aq.$low>>>0));AS.uint32array[1]=(($shiftRightUint64(aq,32).$low>>>0));return AS.float64array[0];};$pkg.Float64frombits=AX;AY=function(aq){var $ptr,aq;if(aq<0){return-aq;}if(aq===0){return 0;}return aq;};$pkg.Abs=AY;BI=function(aq){var $ptr,aq,ar,as,at,au,av,aw;ar=0;as=0;if(AY(aq)<2.2250738585072014e-308){at=aq*4.503599627370496e+15;au=-52;ar=at;as=au;return[ar,as];}av=aq;aw=0;ar=av;as=aw;return[ar,as];};BW=function(aq){var $ptr,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb;ar=0;as=0;if((aq===0)){at=aq;au=0;ar=at;as=au;return[ar,as];}else if(W(aq,0)||X(aq)){av=aq;aw=0;ar=av;as=aw;return[ar,as];}ax=BI(aq);aq=ax[0];as=ax[1];ay=AW(aq);as=as+((((((az=$shiftRightUint64(ay,52),new $Uint64(az.$high&0,(az.$low&2047)>>>0)).$low>>0))-1023>>0)+1>>0))>>0;ay=(ba=new $Uint64(2146435072,0),new $Uint64(ay.$high&~ba.$high,(ay.$low&~ba.$low)>>>0));ay=(bb=new $Uint64(1071644672,0),new $Uint64(ay.$high|bb.$high,(ay.$low|bb.$low)>>>0));ar=AX(ay);return[ar,as];};EG=function(aq){var $ptr,aq,ar,as,at;ar=T(aq);as=ar[0];at=ar[1];if(as===0.5){return((at-1>>0));}return Z(as)*1.4426950408889634+(at);};ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;C=0;D=1/C;E=-1/C;F=0/C;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,S,Y,AC,AH,AO,AX,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,K,L,M,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,H,I,J,N,O,P,Q,R,T,U,V,W,X,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BL,BO,BP,BR,BS,BT,BU,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];S=$pkg.NumError=$newType(0,$kindStruct,\"strconv.NumError\",true,\"strconv\",true,function(Func_,Num_,Err_){this.$val=this;if(arguments.length===0){this.Func=\"\";this.Num=\"\";this.Err=$ifaceNil;return;}this.Func=Func_;this.Num=Num_;this.Err=Err_;});Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CS=$sliceType($Int);CT=$sliceType($Float64);CU=$sliceType($Float32);CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);CZ=$ptrType(S);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);H=function(a,b){var $ptr,a,b,c,d,e;if(!((a.length===b.length))){return false;}c=0;while(true){if(!(c<a.length)){break;}d=a.charCodeAt(c);if(65<=d&&d<=90){d=d+(32)<<24>>>24;}e=b.charCodeAt(c);if(65<=e&&e<=90){e=e+(32)<<24>>>24;}if(!((d===e))){return false;}c=c+(1)>>0;}return true;};I=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=false;if(a.length===0){return[b,c];}d=a.charCodeAt(0);if(d===(43)){if(H(a,\"+inf\")||H(a,\"+infinity\")){e=A.Inf(1);f=true;b=e;c=f;return[b,c];}}else if(d===(45)){if(H(a,\"-inf\")||H(a,\"-infinity\")){g=A.Inf(-1);h=true;b=g;c=h;return[b,c];}}else if((d===(110))||(d===(78))){if(H(a,\"nan\")){i=A.NaN();j=true;b=i;c=j;return[b,c];}}else if((d===(105))||(d===(73))){if(H(a,\"inf\")||H(a,\"infinity\")){k=A.Inf(1);l=true;b=k;c=l;return[b,c];}}else{return[b,c];}return[b,c];};Y.ptr.prototype.set=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=false;c=this;d=0;c.neg=false;c.trunc=false;if(d>=a.length){return b;}if((a.charCodeAt(d)===43)){d=d+(1)>>0;}else if((a.charCodeAt(d)===45)){c.neg=true;d=d+(1)>>0;}e=false;f=false;while(true){if(!(d<a.length)){break;}if((a.charCodeAt(d)===46)){if(e){return b;}e=true;c.dp=c.nd;d=d+(1)>>0;continue;}else if(48<=a.charCodeAt(d)&&a.charCodeAt(d)<=57){f=true;if((a.charCodeAt(d)===48)&&(c.nd===0)){c.dp=c.dp-(1)>>0;d=d+(1)>>0;continue;}if(c.nd<800){(g=c.d,h=c.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=a.charCodeAt(d)));c.nd=c.nd+(1)>>0;}else if(!((a.charCodeAt(d)===48))){c.trunc=true;}d=d+(1)>>0;continue;}break;}if(!f){return b;}if(!e){c.dp=c.nd;}if(d<a.length&&((a.charCodeAt(d)===101)||(a.charCodeAt(d)===69))){d=d+(1)>>0;if(d>=a.length){return b;}i=1;if(a.charCodeAt(d)===43){d=d+(1)>>0;}else if(a.charCodeAt(d)===45){d=d+(1)>>0;i=-1;}if(d>=a.length||a.charCodeAt(d)<48||a.charCodeAt(d)>57){return b;}j=0;while(true){if(!(d<a.length&&48<=a.charCodeAt(d)&&a.charCodeAt(d)<=57)){break;}if(j<10000){j=(($imul(j,10))+((a.charCodeAt(d)>>0))>>0)-48>>0;}d=d+(1)>>0;}c.dp=c.dp+(($imul(j,i)))>>0;}if(!((d===a.length))){return b;}b=true;return b;};Y.prototype.set=function(a){return this.$val.set(a);};J=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;b=new $Uint64(0,0);c=0;d=false;e=false;f=false;g=0;if(g>=a.length){return[b,c,d,e,f];}if((a.charCodeAt(g)===43)){g=g+(1)>>0;}else if((a.charCodeAt(g)===45)){d=true;g=g+(1)>>0;}h=false;i=false;j=0;k=0;l=0;while(true){if(!(g<a.length)){break;}m=a.charCodeAt(g);n=true;if(n===((m===46))){if(h){return[b,c,d,e,f];}h=true;l=j;g=g+(1)>>0;continue;}else if(n===(48<=m&&m<=57)){i=true;if((m===48)&&(j===0)){l=l-(1)>>0;g=g+(1)>>0;continue;}j=j+(1)>>0;if(k<19){b=$mul64(b,(new $Uint64(0,10)));b=(o=(new $Uint64(0,(m-48<<24>>>24))),new $Uint64(b.$high+o.$high,b.$low+o.$low));k=k+(1)>>0;}else if(!((a.charCodeAt(g)===48))){e=true;}g=g+(1)>>0;continue;}break;}if(!i){return[b,c,d,e,f];}if(!h){l=j;}if(g<a.length&&((a.charCodeAt(g)===101)||(a.charCodeAt(g)===69))){g=g+(1)>>0;if(g>=a.length){return[b,c,d,e,f];}p=1;if(a.charCodeAt(g)===43){g=g+(1)>>0;}else if(a.charCodeAt(g)===45){g=g+(1)>>0;p=-1;}if(g>=a.length||a.charCodeAt(g)<48||a.charCodeAt(g)>57){return[b,c,d,e,f];}q=0;while(true){if(!(g<a.length&&48<=a.charCodeAt(g)&&a.charCodeAt(g)<=57)){break;}if(q<10000){q=(($imul(q,10))+((a.charCodeAt(g)>>0))>>0)-48>>0;}g=g+(1)>>0;}l=l+(($imul(q,p)))>>0;}if(!((g===a.length))){return[b,c,d,e,f];}if(!((b.$high===0&&b.$low===0))){c=l-k>>0;}f=true;return[b,c,d,e,f];};Y.ptr.prototype.floatBits=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s;$s=0;s:while(true){switch($s){case 0:b=new $Uint64(0,0);c=false;d=this;e=0;f=new $Uint64(0,0);if(d.nd===0){$s=1;continue;}$s=2;continue;case 1:f=new $Uint64(0,0);e=a.bias;$s=3;continue;case 2:if(d.dp>310){$s=4;continue;}$s=5;continue;case 4:$s=6;continue;case 5:if(d.dp<-330){$s=7;continue;}$s=8;continue;case 7:f=new $Uint64(0,0);e=a.bias;$s=3;continue;case 8:e=0;while(true){if(!(d.dp>0)){break;}g=0;if(d.dp>=K.$length){g=27;}else{g=(h=d.dp,((h<0||h>=K.$length)?($throwRuntimeError(\"index out of range\"),undefined):K.$array[K.$offset+h]));}d.Shift(-g);e=e+(g)>>0;}while(true){if(!(d.dp<0||(d.dp===0)&&d.d[0]<53)){break;}i=0;if(-d.dp>=K.$length){i=27;}else{i=(j=-d.dp,((j<0||j>=K.$length)?($throwRuntimeError(\"index out of range\"),undefined):K.$array[K.$offset+j]));}d.Shift(i);e=e-(i)>>0;}e=e-(1)>>0;if(e<(a.bias+1>>0)){k=(a.bias+1>>0)-e>>0;d.Shift(-k);e=e+(k)>>0;}if((e-a.bias>>0)>=(((l=a.expbits,l<32?(1<<l):0)>>0)-1>>0)){$s=9;continue;}$s=10;continue;case 9:$s=6;continue;case 10:d.Shift((((1+a.mantbits>>>0)>>0)));f=d.RoundedInteger();if((m=$shiftLeft64(new $Uint64(0,2),a.mantbits),(f.$high===m.$high&&f.$low===m.$low))){$s=11;continue;}$s=12;continue;case 11:f=$shiftRightUint64(f,(1));e=e+(1)>>0;if((e-a.bias>>0)>=(((n=a.expbits,n<32?(1<<n):0)>>0)-1>>0)){$s=13;continue;}$s=14;continue;case 13:$s=6;continue;case 14:case 12:if((o=(p=$shiftLeft64(new $Uint64(0,1),a.mantbits),new $Uint64(f.$high&p.$high,(f.$low&p.$low)>>>0)),(o.$high===0&&o.$low===0))){e=a.bias;}$s=3;continue;case 6:f=new $Uint64(0,0);e=(((q=a.expbits,q<32?(1<<q):0)>>0)-1>>0)+a.bias>>0;c=true;case 3:t=(r=(s=$shiftLeft64(new $Uint64(0,1),a.mantbits),new $Uint64(s.$high-0,s.$low-1)),new $Uint64(f.$high&r.$high,(f.$low&r.$low)>>>0));t=(u=$shiftLeft64((new $Uint64(0,(((e-a.bias>>0))&((((v=a.expbits,v<32?(1<<v):0)>>0)-1>>0))))),a.mantbits),new $Uint64(t.$high|u.$high,(t.$low|u.$low)>>>0));if(d.neg){t=(w=$shiftLeft64($shiftLeft64(new $Uint64(0,1),a.mantbits),a.expbits),new $Uint64(t.$high|w.$high,(t.$low|w.$low)>>>0));}x=t;y=c;b=x;c=y;$s=-1;return[b,c];}return;}};Y.prototype.floatBits=function(a){return this.$val.floatBits(a);};N=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;d=0;e=false;if(!((f=$shiftRightUint64(a,AQ.mantbits),(f.$high===0&&f.$low===0)))){return[d,e];}d=($flatten64(a));if(c){d=-d;}if((b===0)){g=d;h=true;d=g;e=h;return[d,e];}else if(b>0&&b<=37){if(b>22){d=d*((i=b-22>>0,((i<0||i>=L.$length)?($throwRuntimeError(\"index out of range\"),undefined):L.$array[L.$offset+i])));b=22;}if(d>1e+15||d<-1e+15){return[d,e];}j=d*((b<0||b>=L.$length)?($throwRuntimeError(\"index out of range\"),undefined):L.$array[L.$offset+b]);k=true;d=j;e=k;return[d,e];}else if(b<0&&b>=-22){l=d/(m=-b,((m<0||m>=L.$length)?($throwRuntimeError(\"index out of range\"),undefined):L.$array[L.$offset+m]));n=true;d=l;e=n;return[d,e];}return[d,e];};O=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;d=0;e=false;if(!((f=$shiftRightUint64(a,AP.mantbits),(f.$high===0&&f.$low===0)))){return[d,e];}d=($flatten64(a));if(c){d=-d;}if((b===0)){g=d;h=true;d=g;e=h;return[d,e];}else if(b>0&&b<=17){if(b>10){d=$fround(d*((i=b-10>>0,((i<0||i>=M.$length)?($throwRuntimeError(\"index out of range\"),undefined):M.$array[M.$offset+i]))));b=10;}if(d>1e+07||d<-1e+07){return[d,e];}j=$fround(d*((b<0||b>=M.$length)?($throwRuntimeError(\"index out of range\"),undefined):M.$array[M.$offset+b]));k=true;d=j;e=k;return[d,e];}else if(b<0&&b>=-10){l=$fround(d/(m=-b,((m<0||m>=M.$length)?($throwRuntimeError(\"index out of range\"),undefined):M.$array[M.$offset+m])));n=true;d=l;e=n;return[d,e];}return[d,e];};P=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=$ifaceNil;d=I(a);e=d[0];f=d[1];if(f){g=($fround(e));h=$ifaceNil;b=g;c=h;return[b,c];}if(G){i=J(a);j=i[0];k=i[1];l=i[2];m=i[3];n=i[4];if(n){if(!m){o=O(j,k,l);p=o[0];q=o[1];if(q){r=p;s=$ifaceNil;b=r;c=s;return[b,c];}}t=new AH.ptr(new $Uint64(0,0),0,false);u=t.AssignDecimal(j,k,l,m,AP);if(u){v=t.floatBits(AP);w=v[0];x=v[1];b=A.Float32frombits(((w.$low>>>0)));if(x){c=U(\"ParseFloat\",a);}y=b;z=c;b=y;c=z;return[b,c];}}}aa=new Y.ptr(CY.zero(),0,0,false,false);if(!aa.set(a)){ab=0;ac=T(\"ParseFloat\",a);b=ab;c=ac;return[b,c];}ad=aa.floatBits(AP);ae=ad[0];af=ad[1];b=A.Float32frombits(((ae.$low>>>0)));if(af){c=U(\"ParseFloat\",a);}ag=b;ah=c;b=ag;c=ah;return[b,c];};Q=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=$ifaceNil;d=I(a);e=d[0];f=d[1];if(f){g=e;h=$ifaceNil;b=g;c=h;return[b,c];}if(G){i=J(a);j=i[0];k=i[1];l=i[2];m=i[3];n=i[4];if(n){if(!m){o=N(j,k,l);p=o[0];q=o[1];if(q){r=p;s=$ifaceNil;b=r;c=s;return[b,c];}}t=new AH.ptr(new $Uint64(0,0),0,false);u=t.AssignDecimal(j,k,l,m,AQ);if(u){v=t.floatBits(AQ);w=v[0];x=v[1];b=A.Float64frombits(w);if(x){c=U(\"ParseFloat\",a);}y=b;z=c;b=y;c=z;return[b,c];}}}aa=new Y.ptr(CY.zero(),0,0,false,false);if(!aa.set(a)){ab=0;ac=T(\"ParseFloat\",a);b=ab;c=ac;return[b,c];}ad=aa.floatBits(AQ);ae=ad[0];af=ad[1];b=A.Float64frombits(ae);if(af){c=U(\"ParseFloat\",a);}ag=b;ah=c;b=ag;c=ah;return[b,c];};R=function(a,b){var $ptr,a,b,c,d,e;if(b===32){c=P(a);d=c[0];e=c[1];return[(d),e];}return Q(a);};$pkg.ParseFloat=R;S.ptr.prototype.Error=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.Err.Error();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return\"strconv.\"+a.Func+\": \"+\"parsing \"+BU(a.Num)+\": \"+b;}return;}if($f===undefined){$f={$blk:S.ptr.prototype.Error};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};S.prototype.Error=function(){return this.$val.Error();};T=function(a,b){var $ptr,a,b;return new S.ptr(a,b,$pkg.ErrSyntax);};U=function(a,b){var $ptr,a,b;return new S.ptr(a,b,$pkg.ErrRange);};V=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s;$s=0;s:while(true){switch($s){case 0:d=new $Uint64(0,0);e=$ifaceNil;f=new $Uint64(0,0);g=new $Uint64(0,0);h=f;i=g;if(c===0){c=32;}j=0;if(a.length<1){$s=2;continue;}if(2<=b&&b<=36){$s=3;continue;}if((b===0)){$s=4;continue;}$s=5;continue;case 2:e=$pkg.ErrSyntax;$s=7;continue;$s=6;continue;case 3:$s=6;continue;case 4:if((a.charCodeAt(0)===48)&&a.length>1&&((a.charCodeAt(1)===120)||(a.charCodeAt(1)===88))){$s=9;continue;}if((a.charCodeAt(0)===48)){$s=10;continue;}$s=11;continue;case 9:if(a.length<3){$s=13;continue;}$s=14;continue;case 13:e=$pkg.ErrSyntax;$s=7;continue;case 14:b=16;j=2;$s=12;continue;case 10:b=8;j=1;$s=12;continue;case 11:b=10;case 12:case 8:$s=6;continue;case 5:e=B.New(\"invalid base \"+BK(b));$s=7;continue;case 6:case 1:k=b;if(k===(10)){h=new $Uint64(429496729,2576980378);}else if(k===(16)){h=new $Uint64(268435456,0);}else{h=(l=$div64(new $Uint64(4294967295,4294967295),(new $Uint64(0,b)),false),new $Uint64(l.$high+0,l.$low+1));}i=(m=$shiftLeft64(new $Uint64(0,1),((c>>>0))),new $Uint64(m.$high-0,m.$low-1));case 15:if(!(j<a.length)){$s=16;continue;}n=0;o=a.charCodeAt(j);if(48<=o&&o<=57){$s=18;continue;}if(97<=o&&o<=122){$s=19;continue;}if(65<=o&&o<=90){$s=20;continue;}$s=21;continue;case 18:n=o-48<<24>>>24;$s=22;continue;case 19:n=(o-97<<24>>>24)+10<<24>>>24;$s=22;continue;case 20:n=(o-65<<24>>>24)+10<<24>>>24;$s=22;continue;case 21:d=new $Uint64(0,0);e=$pkg.ErrSyntax;$s=7;continue;case 22:case 17:if(n>=((b<<24>>>24))){$s=23;continue;}$s=24;continue;case 23:d=new $Uint64(0,0);e=$pkg.ErrSyntax;$s=7;continue;case 24:if((d.$high>h.$high||(d.$high===h.$high&&d.$low>=h.$low))){$s=25;continue;}$s=26;continue;case 25:d=new $Uint64(4294967295,4294967295);e=$pkg.ErrRange;$s=7;continue;case 26:d=$mul64(d,((new $Uint64(0,b))));q=(p=(new $Uint64(0,n)),new $Uint64(d.$high+p.$high,d.$low+p.$low));if((q.$high<d.$high||(q.$high===d.$high&&q.$low<d.$low))||(q.$high>i.$high||(q.$high===i.$high&&q.$low>i.$low))){$s=27;continue;}$s=28;continue;case 27:d=new $Uint64(4294967295,4294967295);e=$pkg.ErrRange;$s=7;continue;case 28:d=q;j=j+(1)>>0;$s=15;continue;case 16:$s=-1;return[d,$ifaceNil];case 7:$s=-1;return[d,new S.ptr(\"ParseUint\",a,e)];$s=-1;return[new $Uint64(0,0),$ifaceNil];}return;}};$pkg.ParseUint=V;W=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;d=new $Int64(0,0);e=$ifaceNil;if(c===0){c=32;}if(a.length===0){f=new $Int64(0,0);g=T(\"ParseInt\",a);d=f;e=g;return[d,e];}h=a;i=false;if(a.charCodeAt(0)===43){a=$substring(a,1);}else if(a.charCodeAt(0)===45){i=true;a=$substring(a,1);}j=new $Uint64(0,0);k=V(a,b,c);j=k[0];e=k[1];if(!($interfaceIsEqual(e,$ifaceNil))&&!($interfaceIsEqual($assertType(e,CZ).Err,$pkg.ErrRange))){$assertType(e,CZ).Func=\"ParseInt\";$assertType(e,CZ).Num=h;l=new $Int64(0,0);m=e;d=l;e=m;return[d,e];}n=($shiftLeft64(new $Uint64(0,1),(((c-1>>0)>>>0))));if(!i&&(j.$high>n.$high||(j.$high===n.$high&&j.$low>=n.$low))){o=((p=new $Uint64(n.$high-0,n.$low-1),new $Int64(p.$high,p.$low)));q=U(\"ParseInt\",h);d=o;e=q;return[d,e];}if(i&&(j.$high>n.$high||(j.$high===n.$high&&j.$low>n.$low))){r=(s=(new $Int64(n.$high,n.$low)),new $Int64(-s.$high,-s.$low));t=U(\"ParseInt\",h);d=r;e=t;return[d,e];}u=(new $Int64(j.$high,j.$low));if(i){u=new $Int64(-u.$high,-u.$low);}v=u;w=$ifaceNil;d=v;e=w;return[d,e];};$pkg.ParseInt=W;X=function(a){var $ptr,a,b,c,d,e,f,g;b=W(a,10,0);c=b[0];d=b[1];e=$assertType(d,CZ,true);f=e[0];g=e[1];if(g){f.Func=\"Atoi\";}return[(((c.$low+((c.$high>>31)*4294967296))>>0)),d];};$pkg.Atoi=X;Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.floatBits=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=new $Uint64(0,0);c=false;d=this;d.Normalize();e=d.exp+63>>0;if(e<(a.bias+1>>0)){f=(a.bias+1>>0)-e>>0;d.mant=$shiftRightUint64(d.mant,(((f>>>0))));e=e+(f)>>0;}g=$shiftRightUint64(d.mant,((63-a.mantbits>>>0)));if(!((h=(i=d.mant,j=$shiftLeft64(new $Uint64(0,1),((62-a.mantbits>>>0))),new $Uint64(i.$high&j.$high,(i.$low&j.$low)>>>0)),(h.$high===0&&h.$low===0)))){g=(k=new $Uint64(0,1),new $Uint64(g.$high+k.$high,g.$low+k.$low));}if((l=$shiftLeft64(new $Uint64(0,2),a.mantbits),(g.$high===l.$high&&g.$low===l.$low))){g=$shiftRightUint64(g,(1));e=e+(1)>>0;}if((e-a.bias>>0)>=(((m=a.expbits,m<32?(1<<m):0)>>0)-1>>0)){g=new $Uint64(0,0);e=(((p=a.expbits,p<32?(1<<p):0)>>0)-1>>0)+a.bias>>0;c=true;}else if((n=(o=$shiftLeft64(new $Uint64(0,1),a.mantbits),new $Uint64(g.$high&o.$high,(g.$low&o.$low)>>>0)),(n.$high===0&&n.$low===0))){e=a.bias;}b=(q=(r=$shiftLeft64(new $Uint64(0,1),a.mantbits),new $Uint64(r.$high-0,r.$low-1)),new $Uint64(g.$high&q.$high,(g.$low&q.$low)>>>0));b=(s=$shiftLeft64((new $Uint64(0,(((e-a.bias>>0))&((((t=a.expbits,t<32?(1<<t):0)>>0)-1>>0))))),a.mantbits),new $Uint64(b.$high|s.$high,(b.$low|s.$low)>>>0));if(d.neg){b=(u=$shiftLeft64(new $Uint64(0,1),((a.mantbits+a.expbits>>>0))),new $Uint64(b.$high|u.$high,(b.$low|u.$low)>>>0));}return[b,c];};AH.prototype.floatBits=function(a){return this.$val.floatBits(a);};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BL=function(a,b,c){var $ptr,a,b,c,d;d=BO(a,(new $Uint64(b.$high,b.$low)),c,(b.$high<0||(b.$high===0&&b.$low<0)),true);a=d[0];return a;};$pkg.AppendInt=BL;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BP=function(a,b,c,d){var $ptr,a,b,c,d,e;return($bytesToString(BR($makeSlice(DA,0,(e=($imul(3,a.length))/2,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"))),a,b,c,d)));};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BU=function(a){var $ptr,a;return BP(a,34,false,false);};$pkg.Quote=BU;BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};CZ.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];S.init(\"\",[{prop:\"Func\",name:\"Func\",exported:true,typ:$String,tag:\"\"},{prop:\"Num\",name:\"Num\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;K=new CS([1,3,6,9,13,16,19,23,26]);L=new CT([1,10,100,1000,10000,100000,1e+06,1e+07,1e+08,1e+09,1e+10,1e+11,1e+12,1e+13,1e+14,1e+15,1e+16,1e+17,1e+18,1e+19,1e+20,1e+21,1e+22]);M=new CU([1,10,100,1000,10000,100000,1e+06,1e+07,1e+08,1e+09,1e+10]);$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"encoding/base64\"]=(function(){var $pkg={},$init,A,B,C,G,K,L,M,N,Q,D;A=$packages[\"io\"];B=$packages[\"strconv\"];C=$pkg.Encoding=$newType(0,$kindStruct,\"base64.Encoding\",true,\"encoding/base64\",true,function(encode_,decodeMap_,padChar_,strict_){this.$val=this;if(arguments.length===0){this.encode=K.zero();this.decodeMap=L.zero();this.padChar=0;this.strict=false;return;}this.encode=encode_;this.decodeMap=decodeMap_;this.padChar=padChar_;this.strict=strict_;});G=$pkg.CorruptInputError=$newType(8,$kindInt64,\"base64.CorruptInputError\",true,\"encoding/base64\",true,null);K=$arrayType($Uint8,64);L=$arrayType($Uint8,256);M=$sliceType($Uint8);N=$ptrType(C);Q=$arrayType($Uint8,4);D=function(a){var $ptr,a,b,c,d,e,f,g;if(!((a.length===64))){$panic(new $String(\"encoding alphabet is not 64-bytes long\"));}b=new C.ptr(K.zero(),L.zero(),0,false);b.padChar=61;$copyString(new M(b.encode),a);c=0;while(true){if(!(c<256)){break;}(d=b.decodeMap,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]=255));c=c+(1)>>0;}e=0;while(true){if(!(e<a.length)){break;}(f=b.decodeMap,g=a.charCodeAt(e),((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((e<<24>>>24))));e=e+(1)>>0;}return b;};$pkg.NewEncoding=D;C.ptr.prototype.WithPadding=function(a){var $ptr,a,b;b=this;b.padChar=a;return b;};C.prototype.WithPadding=function(a){return this.$val.WithPadding(a);};C.ptr.prototype.Strict=function(){var $ptr,a;a=this;a.strict=true;return a;};C.prototype.Strict=function(){return this.$val.Strict();};C.ptr.prototype.Encode=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if(b.$length===0){return;}d=0;e=0;f=d;g=e;i=$imul(((h=b.$length/3,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"))),3);while(true){if(!(g<i)){break;}m=(((((((j=g+0>>0,((j<0||j>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+j]))>>>0))<<16>>>0)|((((k=g+1>>0,((k<0||k>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+k]))>>>0))<<8>>>0))>>>0)|(((l=g+2>>0,((l<0||l>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+l]))>>>0)))>>>0;(p=f+0>>0,((p<0||p>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+p]=(n=c.encode,o=((m>>>18>>>0)&63)>>>0,((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]))));(s=f+1>>0,((s<0||s>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+s]=(q=c.encode,r=((m>>>12>>>0)&63)>>>0,((r<0||r>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[r]))));(v=f+2>>0,((v<0||v>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+v]=(t=c.encode,u=((m>>>6>>>0)&63)>>>0,((u<0||u>=t.length)?($throwRuntimeError(\"index out of range\"),undefined):t[u]))));(y=f+3>>0,((y<0||y>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+y]=(w=c.encode,x=(m&63)>>>0,((x<0||x>=w.length)?($throwRuntimeError(\"index out of range\"),undefined):w[x]))));g=g+(3)>>0;f=f+(4)>>0;}z=b.$length-g>>0;if(z===0){return;}ab=(((aa=g+0>>0,((aa<0||aa>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+aa]))>>>0))<<16>>>0;if(z===2){ab=(ab|(((((ac=g+1>>0,((ac<0||ac>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ac]))>>>0))<<8>>>0)))>>>0;}(af=f+0>>0,((af<0||af>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+af]=(ad=c.encode,ae=((ab>>>18>>>0)&63)>>>0,((ae<0||ae>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[ae]))));(ai=f+1>>0,((ai<0||ai>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+ai]=(ag=c.encode,ah=((ab>>>12>>>0)&63)>>>0,((ah<0||ah>=ag.length)?($throwRuntimeError(\"index out of range\"),undefined):ag[ah]))));aj=z;if(aj===(2)){(am=f+2>>0,((am<0||am>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+am]=(ak=c.encode,al=((ab>>>6>>>0)&63)>>>0,((al<0||al>=ak.length)?($throwRuntimeError(\"index out of range\"),undefined):ak[al]))));if(!((c.padChar===-1))){(an=f+3>>0,((an<0||an>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+an]=((c.padChar<<24>>>24))));}}else if(aj===(1)){if(!((c.padChar===-1))){(ao=f+2>>0,((ao<0||ao>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+ao]=((c.padChar<<24>>>24))));(ap=f+3>>0,((ap<0||ap>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+ap]=((c.padChar<<24>>>24))));}}};C.prototype.Encode=function(a,b){return this.$val.Encode(a,b);};C.ptr.prototype.EncodeToString=function(a){var $ptr,a,b,c;b=this;c=$makeSlice(M,b.EncodedLen(a.$length));b.Encode(c,a);return($bytesToString(c));};C.prototype.EncodeToString=function(a){return this.$val.EncodeToString(a);};C.ptr.prototype.EncodedLen=function(a){var $ptr,a,b,c,d;b=this;if(b.padChar===-1){return(c=((($imul(a,8))+5>>0))/6,(c===c&&c!==1/0&&c!==-1/0)?c>>0:$throwRuntimeError(\"integer divide by zero\"));}return $imul((d=((a+2>>0))/3,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\")),4);};C.prototype.EncodedLen=function(a){return this.$val.EncodedLen(a);};G.prototype.Error=function(){var $ptr,a;a=this;return\"illegal base64 data at input byte \"+B.FormatInt((new $Int64(a.$high,a.$low)),10);};$ptrType(G).prototype.Error=function(){return this.$get().Error();};C.ptr.prototype.decode=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=$ifaceNil;f=this;g=0;while(true){if(!(g<b.$length&&((((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g])===10)||(((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g])===13)))){break;}g=g+(1)>>0;}while(true){if(!(g<b.$length&&!d)){break;}h=Q.zero();i=3;j=4;k=i;l=j;m=h;n=0;while(true){if(!(n<4)){break;}o=n;if(b.$length===g){if(!((f.padChar===-1))||o<2){p=c;q=false;r=(new G(0,(g-o>>0)));c=p;d=q;e=r;return[c,d,e];}s=o-1>>0;t=o;u=true;k=s;l=t;d=u;break;}v=((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g]);g=g+(1)>>0;while(true){if(!(g<b.$length&&((((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g])===10)||(((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g])===13)))){break;}g=g+(1)>>0;}if(((v>>0))===f.padChar){w=o;if((w===(0))||(w===(1))){x=c;y=false;z=(new G(0,(g-1>>0)));c=x;d=y;e=z;return[c,d,e];}else if(w===(2)){if(g===b.$length){aa=c;ab=false;ac=(new G(0,b.$length));c=aa;d=ab;e=ac;return[c,d,e];}if(!((((((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g])>>0))===f.padChar))){ad=c;ae=false;af=(new G(0,(g-1>>0)));c=ad;d=ae;e=af;return[c,d,e];}g=g+(1)>>0;while(true){if(!(g<b.$length&&((((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g])===10)||(((g<0||g>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+g])===13)))){break;}g=g+(1)>>0;}}if(g<b.$length){e=(new G(0,g));}ag=3;ah=o;ai=true;k=ag;l=ah;d=ai;break;}((o<0||o>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[o]=(aj=f.decodeMap,((v<0||v>=aj.length)?($throwRuntimeError(\"index out of range\"),undefined):aj[v])));if(((o<0||o>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[o])===255){ak=c;al=false;am=(new G(0,(g-1>>0)));c=ak;d=al;e=am;return[c,d,e];}n++;}an=((((((((h[0]>>>0))<<18>>>0)|(((h[1]>>>0))<<12>>>0))>>>0)|(((h[2]>>>0))<<6>>>0))>>>0)|((h[3]>>>0)))>>>0;ao=(((an>>>0>>>0)<<24>>>24));ap=(((an>>>8>>>0)<<24>>>24));aq=(((an>>>16>>>0)<<24>>>24));h[2]=ao;h[1]=ap;h[0]=aq;ar=l;if(ar===(4)){(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=h[2]);h[2]=0;(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=h[1]);if(f.strict&&!((h[2]===0))){as=c;at=d;au=(new G(0,(g-1>>0)));c=as;d=at;e=au;return[c,d,e];}h[1]=0;(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=h[0]);if(f.strict&&(!((h[1]===0))||!((h[2]===0)))){av=c;aw=d;ax=(new G(0,(g-2>>0)));c=av;d=aw;e=ax;return[c,d,e];}}else if(ar===(3)){(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=h[1]);if(f.strict&&!((h[2]===0))){ay=c;az=d;ba=(new G(0,(g-1>>0)));c=ay;d=az;e=ba;return[c,d,e];}h[1]=0;(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=h[0]);if(f.strict&&(!((h[1]===0))||!((h[2]===0)))){bb=c;bc=d;bd=(new G(0,(g-2>>0)));c=bb;d=bc;e=bd;return[c,d,e];}}else if(ar===(2)){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=h[0]);if(f.strict&&(!((h[1]===0))||!((h[2]===0)))){be=c;bf=d;bg=(new G(0,(g-2>>0)));c=be;d=bf;e=bg;return[c,d,e];}}a=$subslice(a,k);c=c+((l-1>>0))>>0;}bh=c;bi=d;bj=e;c=bh;d=bi;e=bj;return[c,d,e];};C.prototype.decode=function(a,b){return this.$val.decode(a,b);};C.ptr.prototype.Decode=function(a,b){var $ptr,a,b,c,d,e,f;c=0;d=$ifaceNil;e=this;f=e.decode(a,b);c=f[0];d=f[2];return[c,d];};C.prototype.Decode=function(a,b){return this.$val.Decode(a,b);};C.ptr.prototype.DecodeString=function(a){var $ptr,a,b,c,d,e,f;b=this;c=$makeSlice(M,b.DecodedLen(a.length));d=b.decode(c,(new M($stringToBytes(a))));e=d[0];f=d[2];return[$subslice(c,0,e),f];};C.prototype.DecodeString=function(a){return this.$val.DecodeString(a);};C.ptr.prototype.DecodedLen=function(a){var $ptr,a,b,c,d;b=this;if(b.padChar===-1){return(c=($imul(a,6))/8,(c===c&&c!==1/0&&c!==-1/0)?c>>0:$throwRuntimeError(\"integer divide by zero\"));}return $imul((d=a/4,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\")),3);};C.prototype.DecodedLen=function(a){return this.$val.DecodedLen(a);};C.methods=[{prop:\"WithPadding\",name:\"WithPadding\",pkg:\"\",typ:$funcType([$Int32],[N],false)},{prop:\"Strict\",name:\"Strict\",pkg:\"\",typ:$funcType([],[N],false)}];N.methods=[{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([M,M],[],false)},{prop:\"EncodeToString\",name:\"EncodeToString\",pkg:\"\",typ:$funcType([M],[$String],false)},{prop:\"EncodedLen\",name:\"EncodedLen\",pkg:\"\",typ:$funcType([$Int],[$Int],false)},{prop:\"decode\",name:\"decode\",pkg:\"encoding/base64\",typ:$funcType([M,M],[$Int,$Bool,$error],false)},{prop:\"Decode\",name:\"Decode\",pkg:\"\",typ:$funcType([M,M],[$Int,$error],false)},{prop:\"DecodeString\",name:\"DecodeString\",pkg:\"\",typ:$funcType([$String],[M,$error],false)},{prop:\"DecodedLen\",name:\"DecodedLen\",pkg:\"\",typ:$funcType([$Int],[$Int],false)}];G.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];C.init(\"encoding/base64\",[{prop:\"encode\",name:\"encode\",exported:false,typ:K,tag:\"\"},{prop:\"decodeMap\",name:\"decodeMap\",exported:false,typ:L,tag:\"\"},{prop:\"padChar\",name:\"padChar\",exported:false,typ:$Int32,tag:\"\"},{prop:\"strict\",name:\"strict\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.StdEncoding=D(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\");$pkg.URLEncoding=D(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\");$pkg.RawStdEncoding=$clone($pkg.StdEncoding,C).WithPadding(-1);$pkg.RawURLEncoding=$clone($pkg.URLEncoding,C).WithPadding(-1);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EH,EZ,FA,FI,FJ,FK,FL,KW,KZ,LF,LO,LP,LQ,LR,LS,LT,LU,LV,LW,LZ,MU,MW,ND,NF,NG,NR,NS,NU,NV,NW,NX,NY,OG,OK,OL,OM,OO,OP,OS,OT,OU,PC,PD,PE,PF,PG,PH,PI,PJ,PK,PO,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,U,W,AQ,AR,AS,AT,AZ,BB,BM,BN,BY,BZ,CC,CZ,DA,DC,DF,DI,DL,DM,DN,DU,DW,DY,EI,EJ,EK,EL,FE,FG,FH,FM,FN,FO,FP,FQ,FR,FT,FY,GB,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GY,GZ,HA,HB,HD,HG,HO,HR,HS,HV,HW,HY,HZ,IC,IE,IF,IG,IN,IY,IZ,JI,JK,JL,JM,JQ,JR,KG,KN,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EH=$pkg.SockaddrDatalink=$newType(0,$kindStruct,\"syscall.SockaddrDatalink\",true,\"syscall\",true,function(Len_,Family_,Index_,Type_,Nlen_,Alen_,Slen_,Data_,raw_){this.$val=this;if(arguments.length===0){this.Len=0;this.Family=0;this.Index=0;this.Type=0;this.Nlen=0;this.Alen=0;this.Slen=0;this.Data=NS.zero();this.raw=new LR.ptr(0,0,0,0,0,0,0,NS.zero());return;}this.Len=Len_;this.Family=Family_;this.Index=Index_;this.Type=Type_;this.Nlen=Nlen_;this.Alen=Alen_;this.Slen=Slen_;this.Data=Data_;this.raw=raw_;});EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);FI=$pkg.Sockaddr=$newType(8,$kindInterface,\"syscall.Sockaddr\",true,\"syscall\",true,null);FJ=$pkg.SockaddrInet4=$newType(0,$kindStruct,\"syscall.SockaddrInet4\",true,\"syscall\",true,function(Port_,Addr_,raw_){this.$val=this;if(arguments.length===0){this.Port=0;this.Addr=NG.zero();this.raw=new LO.ptr(0,0,0,NG.zero(),NW.zero());return;}this.Port=Port_;this.Addr=Addr_;this.raw=raw_;});FK=$pkg.SockaddrInet6=$newType(0,$kindStruct,\"syscall.SockaddrInet6\",true,\"syscall\",true,function(Port_,ZoneId_,Addr_,raw_){this.$val=this;if(arguments.length===0){this.Port=0;this.ZoneId=0;this.Addr=NF.zero();this.raw=new LP.ptr(0,0,0,0,NF.zero(),0);return;}this.Port=Port_;this.ZoneId=ZoneId_;this.Addr=Addr_;this.raw=raw_;});FL=$pkg.SockaddrUnix=$newType(0,$kindStruct,\"syscall.SockaddrUnix\",true,\"syscall\",true,function(Name_,raw_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.raw=new LQ.ptr(0,0,OL.zero());return;}this.Name=Name_;this.raw=raw_;});KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});LO=$pkg.RawSockaddrInet4=$newType(0,$kindStruct,\"syscall.RawSockaddrInet4\",true,\"syscall\",true,function(Len_,Family_,Port_,Addr_,Zero_){this.$val=this;if(arguments.length===0){this.Len=0;this.Family=0;this.Port=0;this.Addr=NG.zero();this.Zero=NW.zero();return;}this.Len=Len_;this.Family=Family_;this.Port=Port_;this.Addr=Addr_;this.Zero=Zero_;});LP=$pkg.RawSockaddrInet6=$newType(0,$kindStruct,\"syscall.RawSockaddrInet6\",true,\"syscall\",true,function(Len_,Family_,Port_,Flowinfo_,Addr_,Scope_id_){this.$val=this;if(arguments.length===0){this.Len=0;this.Family=0;this.Port=0;this.Flowinfo=0;this.Addr=NF.zero();this.Scope_id=0;return;}this.Len=Len_;this.Family=Family_;this.Port=Port_;this.Flowinfo=Flowinfo_;this.Addr=Addr_;this.Scope_id=Scope_id_;});LQ=$pkg.RawSockaddrUnix=$newType(0,$kindStruct,\"syscall.RawSockaddrUnix\",true,\"syscall\",true,function(Len_,Family_,Path_){this.$val=this;if(arguments.length===0){this.Len=0;this.Family=0;this.Path=OL.zero();return;}this.Len=Len_;this.Family=Family_;this.Path=Path_;});LR=$pkg.RawSockaddrDatalink=$newType(0,$kindStruct,\"syscall.RawSockaddrDatalink\",true,\"syscall\",true,function(Len_,Family_,Index_,Type_,Nlen_,Alen_,Slen_,Data_){this.$val=this;if(arguments.length===0){this.Len=0;this.Family=0;this.Index=0;this.Type=0;this.Nlen=0;this.Alen=0;this.Slen=0;this.Data=NS.zero();return;}this.Len=Len_;this.Family=Family_;this.Index=Index_;this.Type=Type_;this.Nlen=Nlen_;this.Alen=Alen_;this.Slen=Slen_;this.Data=Data_;});LS=$pkg.RawSockaddr=$newType(0,$kindStruct,\"syscall.RawSockaddr\",true,\"syscall\",true,function(Len_,Family_,Data_){this.$val=this;if(arguments.length===0){this.Len=0;this.Family=0;this.Data=NU.zero();return;}this.Len=Len_;this.Family=Family_;this.Data=Data_;});LT=$pkg.RawSockaddrAny=$newType(0,$kindStruct,\"syscall.RawSockaddrAny\",true,\"syscall\",true,function(Addr_,Pad_){this.$val=this;if(arguments.length===0){this.Addr=new LS.ptr(0,0,NU.zero());this.Pad=NV.zero();return;}this.Addr=Addr_;this.Pad=Pad_;});LU=$pkg._Socklen=$newType(4,$kindUint32,\"syscall._Socklen\",true,\"syscall\",false,null);LV=$pkg.Linger=$newType(0,$kindStruct,\"syscall.Linger\",true,\"syscall\",true,function(Onoff_,Linger_){this.$val=this;if(arguments.length===0){this.Onoff=0;this.Linger=0;return;}this.Onoff=Onoff_;this.Linger=Linger_;});LW=$pkg.Iovec=$newType(0,$kindStruct,\"syscall.Iovec\",true,\"syscall\",true,function(Base_,Len_){this.$val=this;if(arguments.length===0){this.Base=ND.nil;this.Len=new $Uint64(0,0);return;}this.Base=Base_;this.Len=Len_;});LZ=$pkg.Msghdr=$newType(0,$kindStruct,\"syscall.Msghdr\",true,\"syscall\",true,function(Name_,Namelen_,Pad_cgo_0_,Iov_,Iovlen_,Pad_cgo_1_,Control_,Controllen_,Flags_){this.$val=this;if(arguments.length===0){this.Name=ND.nil;this.Namelen=0;this.Pad_cgo_0=NG.zero();this.Iov=OO.nil;this.Iovlen=0;this.Pad_cgo_1=NG.zero();this.Control=ND.nil;this.Controllen=0;this.Flags=0;return;}this.Name=Name_;this.Namelen=Namelen_;this.Pad_cgo_0=Pad_cgo_0_;this.Iov=Iov_;this.Iovlen=Iovlen_;this.Pad_cgo_1=Pad_cgo_1_;this.Control=Control_;this.Controllen=Controllen_;this.Flags=Flags_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NF=$arrayType($Uint8,16);NG=$arrayType($Uint8,4);NR=$ptrType(EH);NS=$arrayType($Int8,12);NU=$arrayType($Int8,14);NV=$arrayType($Int8,92);NW=$arrayType($Int8,8);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OK=$ptrType($Uint16);OL=$arrayType($Int8,104);OM=$ptrType(LU);OO=$ptrType(LW);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);OU=$ptrType($Int32);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PG=$ptrType(FJ);PH=$ptrType(FK);PI=$ptrType(FL);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);PO=$ptrType(LZ);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;U=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}I();u=((Q>>>0));v=0;w=13;m=u;n=v;o=w;return[m,n,o];};$pkg.RawSyscall=U;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BM=function(i){var $ptr,i;HG(i,2,1);};$pkg.CloseOnExec=BM;BN=function(i,j){var $ptr,i,j,k,l,m,n;k=$ifaceNil;l=HG(i,3,0);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){k=k;return k;}if(j){m=m|(4);}else{m=(m&~(4))>>0;}n=HG(i,4,m);k=n[1];k=k;return k;};$pkg.SetNonblock=BN;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DF=function(){$throwRuntimeError(\"native function not implemented: syscall.Getpagesize\");};$pkg.Getpagesize=DF;DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;FJ.ptr.prototype.sockaddr=function(){var $ptr,i,j,k,l,m,n,o,p,q;i=this;if(i.Port<0||i.Port>65535){return[0,0,new FA(22)];}i.raw.Len=16;i.raw.Family=2;k=(((j=i.raw,(j.$ptr_Port||(j.$ptr_Port=new OK(function(){return this.$target.Port;},function($v){this.$target.Port=$v;},j))))));k.nilCheck,k[0]=(((i.Port>>8>>0)<<24>>>24));k.nilCheck,k[1]=((i.Port<<24>>>24));l=0;while(true){if(!(l<4)){break;}(n=i.raw.Addr,((l<0||l>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[l]=(m=i.Addr,((l<0||l>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[l]))));l=l+(1)>>0;}o=new Uint8Array(16);return[(o),((i.raw.Len>>>0)),$ifaceNil];};FJ.prototype.sockaddr=function(){return this.$val.sockaddr();};FK.ptr.prototype.sockaddr=function(){var $ptr,i,j,k,l,m,n,o,p,q;i=this;if(i.Port<0||i.Port>65535){return[0,0,new FA(22)];}i.raw.Len=28;i.raw.Family=30;k=(((j=i.raw,(j.$ptr_Port||(j.$ptr_Port=new OK(function(){return this.$target.Port;},function($v){this.$target.Port=$v;},j))))));k.nilCheck,k[0]=(((i.Port>>8>>0)<<24>>>24));k.nilCheck,k[1]=((i.Port<<24>>>24));i.raw.Scope_id=i.ZoneId;l=0;while(true){if(!(l<16)){break;}(n=i.raw.Addr,((l<0||l>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[l]=(m=i.Addr,((l<0||l>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[l]))));l=l+(1)>>0;}o=new Uint8Array(28);return[(o),((i.raw.Len>>>0)),$ifaceNil];};FK.prototype.sockaddr=function(){return this.$val.sockaddr();};FL.ptr.prototype.sockaddr=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=i.Name;k=j.length;if(k>=104||(k===0)){return[0,0,new FA(22)];}i.raw.Len=(((3+k>>0)<<24>>>24));i.raw.Family=1;l=0;while(true){if(!(l<k)){break;}(m=i.raw.Path,((l<0||l>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[l]=((j.charCodeAt(l)<<24>>24))));l=l+(1)>>0;}n=new Uint8Array(106);return[(n),((i.raw.Len>>>0)),$ifaceNil];};FL.prototype.sockaddr=function(){return this.$val.sockaddr();};EH.ptr.prototype.sockaddr=function(){var $ptr,i,j,k,l,m,n,o;i=this;if(i.Index===0){return[0,0,new FA(22)];}i.raw.Len=i.Len;i.raw.Family=18;i.raw.Index=i.Index;i.raw.Type=i.Type;i.raw.Nlen=i.Nlen;i.raw.Alen=i.Alen;i.raw.Slen=i.Slen;j=0;while(true){if(!(j<12)){break;}(l=i.raw.Data,((j<0||j>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[j]=(k=i.Data,((j<0||j>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[j]))));j=j+(1)>>0;}m=new Uint8Array(20);return[(m),20,$ifaceNil];};EH.prototype.sockaddr=function(){return this.$val.sockaddr();};DL=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=i.Addr.Family;if(j===(18)){n=new Uint8Array(108);q=((k=(n),l=new LR.ptr(0,0,0,0,0,0,0,NS.zero()),m=new DataView(k.buffer,k.byteOffset),l.Len=m.getUint8(0,true),l.Family=m.getUint8(1,true),l.Index=m.getUint16(2,true),l.Type=m.getUint8(4,true),l.Nlen=m.getUint8(5,true),l.Alen=m.getUint8(6,true),l.Slen=m.getUint8(7,true),l.Data=new($nativeArray($kindInt8))(k.buffer,$min(k.byteOffset+8,k.buffer.byteLength)),l));o=i,p=new DataView(n.buffer,n.byteOffset),o.Addr.Len=p.getUint8(0,true),o.Addr.Family=p.getUint8(1,true),o.Addr.Data=new($nativeArray($kindInt8))(n.buffer,$min(n.byteOffset+2,n.buffer.byteLength)),o.Pad=new($nativeArray($kindInt8))(n.buffer,$min(n.byteOffset+16,n.buffer.byteLength));r=new EH.ptr(0,0,0,0,0,0,0,NS.zero(),new LR.ptr(0,0,0,0,0,0,0,NS.zero()));r.Len=q.Len;r.Family=q.Family;r.Index=q.Index;r.Type=q.Type;r.Nlen=q.Nlen;r.Alen=q.Alen;r.Slen=q.Slen;s=0;while(true){if(!(s<12)){break;}(u=r.Data,((s<0||s>=u.length)?($throwRuntimeError(\"index out of range\"),undefined):u[s]=(t=q.Data,((s<0||s>=t.length)?($throwRuntimeError(\"index out of range\"),undefined):t[s]))));s=s+(1)>>0;}return[r,$ifaceNil];}else if(j===(1)){y=new Uint8Array(108);ab=((v=(y),w=new LQ.ptr(0,0,OL.zero()),x=new DataView(v.buffer,v.byteOffset),w.Len=x.getUint8(0,true),w.Family=x.getUint8(1,true),w.Path=new($nativeArray($kindInt8))(v.buffer,$min(v.byteOffset+2,v.buffer.byteLength)),w));z=i,aa=new DataView(y.buffer,y.byteOffset),z.Addr.Len=aa.getUint8(0,true),z.Addr.Family=aa.getUint8(1,true),z.Addr.Data=new($nativeArray($kindInt8))(y.buffer,$min(y.byteOffset+2,y.buffer.byteLength)),z.Pad=new($nativeArray($kindInt8))(y.buffer,$min(y.byteOffset+16,y.buffer.byteLength));if(ab.Len<2||ab.Len>106){return[$ifaceNil,new FA(22)];}ac=new FL.ptr(\"\",new LQ.ptr(0,0,OL.zero()));ad=((ab.Len>>0))-2>>0;ae=0;while(true){if(!(ae<ad)){break;}if((af=ab.Path,((ae<0||ae>=af.length)?($throwRuntimeError(\"index out of range\"),undefined):af[ae]))===0){ad=ae;break;}ae=ae+(1)>>0;}ag=$subslice(new MU((($sliceToArray(new MU(ab.Path))))),0,ad);ac.Name=($bytesToString(ag));return[ac,$ifaceNil];}else if(j===(2)){ak=new Uint8Array(108);an=((ah=(ak),ai=new LO.ptr(0,0,0,NG.zero(),NW.zero()),aj=new DataView(ah.buffer,ah.byteOffset),ai.Len=aj.getUint8(0,true),ai.Family=aj.getUint8(1,true),ai.Port=aj.getUint16(2,true),ai.Addr=new($nativeArray($kindUint8))(ah.buffer,$min(ah.byteOffset+4,ah.buffer.byteLength)),ai.Zero=new($nativeArray($kindInt8))(ah.buffer,$min(ah.byteOffset+8,ah.buffer.byteLength)),ai));al=i,am=new DataView(ak.buffer,ak.byteOffset),al.Addr.Len=am.getUint8(0,true),al.Addr.Family=am.getUint8(1,true),al.Addr.Data=new($nativeArray($kindInt8))(ak.buffer,$min(ak.byteOffset+2,ak.buffer.byteLength)),al.Pad=new($nativeArray($kindInt8))(ak.buffer,$min(ak.byteOffset+16,ak.buffer.byteLength));ao=new FJ.ptr(0,NG.zero(),new LO.ptr(0,0,0,NG.zero(),NW.zero()));ap=(((an.$ptr_Port||(an.$ptr_Port=new OK(function(){return this.$target.Port;},function($v){this.$target.Port=$v;},an)))));ao.Port=((((ap.nilCheck,ap[0])>>0))<<8>>0)+(((ap.nilCheck,ap[1])>>0))>>0;aq=0;while(true){if(!(aq<4)){break;}(as=ao.Addr,((aq<0||aq>=as.length)?($throwRuntimeError(\"index out of range\"),undefined):as[aq]=(ar=an.Addr,((aq<0||aq>=ar.length)?($throwRuntimeError(\"index out of range\"),undefined):ar[aq]))));aq=aq+(1)>>0;}return[ao,$ifaceNil];}else if(j===(30)){aw=new Uint8Array(108);az=((at=(aw),au=new LP.ptr(0,0,0,0,NF.zero(),0),av=new DataView(at.buffer,at.byteOffset),au.Len=av.getUint8(0,true),au.Family=av.getUint8(1,true),au.Port=av.getUint16(2,true),au.Flowinfo=av.getUint32(4,true),au.Addr=new($nativeArray($kindUint8))(at.buffer,$min(at.byteOffset+8,at.buffer.byteLength)),au.Scope_id=av.getUint32(24,true),au));ax=i,ay=new DataView(aw.buffer,aw.byteOffset),ax.Addr.Len=ay.getUint8(0,true),ax.Addr.Family=ay.getUint8(1,true),ax.Addr.Data=new($nativeArray($kindInt8))(aw.buffer,$min(aw.byteOffset+2,aw.buffer.byteLength)),ax.Pad=new($nativeArray($kindInt8))(aw.buffer,$min(aw.byteOffset+16,aw.buffer.byteLength));ba=new FK.ptr(0,0,NF.zero(),new LP.ptr(0,0,0,0,NF.zero(),0));bb=(((az.$ptr_Port||(az.$ptr_Port=new OK(function(){return this.$target.Port;},function($v){this.$target.Port=$v;},az)))));ba.Port=((((bb.nilCheck,bb[0])>>0))<<8>>0)+(((bb.nilCheck,bb[1])>>0))>>0;ba.ZoneId=az.Scope_id;bc=0;while(true){if(!(bc<16)){break;}(be=ba.Addr,((bc<0||bc>=be.length)?($throwRuntimeError(\"index out of range\"),undefined):be[bc]=(bd=az.Addr,((bc<0||bc>=bd.length)?($throwRuntimeError(\"index out of range\"),undefined):bd[bc]))));bc=bc+(1)>>0;}return[ba,$ifaceNil];}return[$ifaceNil,new FA(47)];};DM=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t;j=0;k=$ifaceNil;l=$ifaceNil;m=new LT.ptr(new LS.ptr(0,0,NU.zero()),NV.zero());n=108;o=GO(i,m,(p||(p=new OM(function(){return n;},function($v){n=$v;}))));j=o[0];l=o[1];if(!($interfaceIsEqual(l,$ifaceNil))){return[j,k,l];}if(true&&(n===0)){HR(j);q=0;r=$ifaceNil;s=new FA(53);j=q;k=r;l=s;return[j,k,l];}t=DL(m);k=t[0];l=t[1];if(!($interfaceIsEqual(l,$ifaceNil))){HR(j);j=0;}return[j,k,l];};$pkg.Accept=DM;DN=function(i){var $ptr,i,j,k,l,m,n,o;j=$ifaceNil;k=$ifaceNil;l=new LT.ptr(new LS.ptr(0,0,NU.zero()),NV.zero());m=108;k=GV(i,l,(n||(n=new OM(function(){return m;},function($v){m=$v;}))));if(!($interfaceIsEqual(k,$ifaceNil))){return[j,k];}if(false&&(l.Addr.Family===0)&&(l.Addr.Len===0)){l.Addr.Family=1;l.Addr.Len=106;}o=DL(l);j=o[0];k=o[1];return[j,k];};$pkg.Getsockname=DN;DU=function(i,j,k,l){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=$ifaceNil;q=$ifaceNil;r=new LZ.ptr(ND.nil,0,NG.zero(),OO.nil,0,NG.zero(),ND.nil,0,0);s=new LT.ptr(new LS.ptr(0,0,NU.zero()),NV.zero());t=new Uint8Array(108);r.Name=((t));u=s,v=new DataView(t.buffer,t.byteOffset),u.Addr.Len=v.getUint8(0,true),u.Addr.Family=v.getUint8(1,true),u.Addr.Data=new($nativeArray($kindInt8))(t.buffer,$min(t.byteOffset+2,t.buffer.byteLength)),u.Pad=new($nativeArray($kindInt8))(t.buffer,$min(t.byteOffset+16,t.buffer.byteLength));r.Namelen=108;w=new LW.ptr(ND.nil,new $Uint64(0,0));if(j.$length>0){w.Base=(($sliceToArray(j)));w.SetLen(j.$length);}x=0;if(k.$length>0){if(j.$length===0){w.Base=(y||(y=new ND(function(){return x;},function($v){x=$v;})));w.SetLen(1);}r.Control=(($sliceToArray(k)));r.SetControllen(k.$length);}r.Iov=w;r.Iovlen=1;z=HA(i,r,l);m=z[0];q=z[1];if(!($interfaceIsEqual(q,$ifaceNil))){return[m,n,o,p,q];}n=((r.Controllen>>0));o=((r.Flags>>0));if(!((s.Addr.Family===0))){aa=DL(s);p=aa[0];q=aa[1];}return[m,n,o,p,q];};$pkg.Recvmsg=DU;DW=function(i,j,k,l,m){var $ptr,aa,ab,ac,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=[n];o=[o];p=[p];q=0;r=$ifaceNil;s=0;t=0;if(!($interfaceIsEqual(l,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:v=l.sockaddr();$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;s=u[0];t=u[1];r=u[2];if(!($interfaceIsEqual(r,$ifaceNil))){w=0;x=r;q=w;r=x;$s=-1;return[q,r];}case 2:p[0]=new LZ.ptr(ND.nil,0,NG.zero(),OO.nil,0,NG.zero(),ND.nil,0,0);p[0].Name=((s));p[0].Namelen=((t>>>0));o[0]=new LW.ptr(ND.nil,new $Uint64(0,0));if(j.$length>0){o[0].Base=(($sliceToArray(j)));o[0].SetLen(j.$length);}n[0]=0;if(k.$length>0){if(j.$length===0){o[0].Base=(n.$ptr||(n.$ptr=new ND(function(){return this.$target[0];},function($v){this.$target[0]=$v;},n)));o[0].SetLen(1);}p[0].Control=(($sliceToArray(k)));p[0].SetControllen(k.$length);}p[0].Iov=o[0];p[0].Iovlen=1;y=HB(i,p[0],m);q=y[0];r=y[1];if(!($interfaceIsEqual(r,$ifaceNil))){z=0;aa=r;q=z;r=aa;$s=-1;return[q,r];}if(k.$length>0&&(j.$length===0)){q=0;}ab=q;ac=$ifaceNil;q=ab;r=ac;$s=-1;return[q,r];}return;}if($f===undefined){$f={$blk:DW};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.SendmsgN=DW;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};LW.ptr.prototype.SetLen=function(i){var $ptr,i,j;j=this;j.Len=(new $Uint64(0,i));};LW.prototype.SetLen=function(i){return this.$val.SetLen(i);};LZ.ptr.prototype.SetControllen=function(i){var $ptr,i,j;j=this;j.Controllen=((i>>>0));};LZ.prototype.SetControllen=function(i){return this.$val.SetControllen(i);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;FM=function(i,j){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=$ifaceNil;m=j.sockaddr();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];k=l[2];if(!($interfaceIsEqual(k,$ifaceNil))){k=k;$s=-1;return k;}k=GP(i,n,o);$s=-1;return k;}return;}if($f===undefined){$f={$blk:FM};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Bind=FM;FN=function(i,j){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=$ifaceNil;m=j.sockaddr();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];k=l[2];if(!($interfaceIsEqual(k,$ifaceNil))){k=k;$s=-1;return k;}k=GQ(i,n,o);$s=-1;return k;}return;}if($f===undefined){$f={$blk:FN};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Connect=FN;FO=function(i){var $ptr,i,j,k,l,m,n,o;j=$ifaceNil;k=$ifaceNil;l=new LT.ptr(new LS.ptr(0,0,NU.zero()),NV.zero());m=108;k=GU(i,l,(n||(n=new OM(function(){return m;},function($v){m=$v;}))));if(!($interfaceIsEqual(k,$ifaceNil))){return[j,k];}o=DL(l);j=o[0];k=o[1];return[j,k];};$pkg.Getpeername=FO;FP=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=$ifaceNil;n=0;o=4;m=GS(i,j,k,((p||(p=new OU(function(){return n;},function($v){n=$v;})))),(q||(q=new OM(function(){return o;},function($v){o=$v;}))));r=((n>>0));s=m;l=r;m=s;return[l,m];};$pkg.GetsockoptInt=FP;FQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=$ifaceNil;n=$ifaceNil;o=new LT.ptr(new LS.ptr(0,0,NU.zero()),NV.zero());p=108;q=GY(i,j,k,o,(r||(r=new OM(function(){return p;},function($v){p=$v;}))));l=q[0];n=q[1];if(!($interfaceIsEqual(n,$ifaceNil))){return[l,m,n];}if(!((o.Addr.Family===0))){s=DL(o);m=s[0];n=s[1];}return[l,m,n];};$pkg.Recvfrom=FQ;FR=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=$ifaceNil;o=l.sockaddr();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];m=n[2];if(!($interfaceIsEqual(m,$ifaceNil))){m=m;$s=-1;return m;}m=GZ(i,j,k,p,q);$s=-1;return m;}return;}if($f===undefined){$f={$blk:FR};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sendto=FR;FT=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o;m=$ifaceNil;n=((l>>0));m=GT(i,j,k,((o||(o=new OU(function(){return n;},function($v){n=$v;})))),4);return m;};$pkg.SetsockoptInt=FT;FY=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p;m=$ifaceNil;n=new Uint8Array(8);m=GT(i,j,k,(n),8);o=l,p=new DataView(n.buffer,n.byteOffset),o.Onoff=p.getInt32(0,true),o.Linger=p.getInt32(4,true);return m;};$pkg.SetsockoptLinger=FY;GB=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=0;m=$ifaceNil;if((i===30)&&$pkg.SocketDisableIPv6){n=-1;o=new FA(47);l=n;m=o;return[l,m];}p=GR(i,j,k);l=p[0];m=p[1];return[l,m];};$pkg.Socket=GB;GO=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=$ifaceNil;o=new Uint8Array(108);n=S(30,((i>>>0)),((o)),((k)));p=j,q=new DataView(o.buffer,o.byteOffset),p.Addr.Len=q.getUint8(0,true),p.Addr.Family=q.getUint8(1,true),p.Addr.Data=new($nativeArray($kindInt8))(o.buffer,$min(o.byteOffset+2,o.buffer.byteLength)),p.Pad=new($nativeArray($kindInt8))(o.buffer,$min(o.byteOffset+16,o.buffer.byteLength));r=n[0];s=n[2];l=((r>>0));if(!((s===0))){m=FE(s);}return[l,m];};GP=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(104,((i>>>0)),(j),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};GQ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(98,((i>>>0)),(j),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};GR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=0;m=$ifaceNil;n=U(97,((i>>>0)),((j>>>0)),((k>>>0)));o=n[0];p=n[2];l=((o>>0));if(!((p===0))){m=FE(p);}return[l,m];};GS=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p;n=$ifaceNil;o=T(118,((i>>>0)),((j>>>0)),((k>>>0)),(l),((m)),0);p=o[2];if(!((p===0))){n=FE(p);}return n;};GT=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p;n=$ifaceNil;o=T(105,((i>>>0)),((j>>>0)),((k>>>0)),(l),(m),0);p=o[2];if(!((p===0))){n=FE(p);}return n;};GU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=$ifaceNil;n=new Uint8Array(108);m=U(31,((i>>>0)),((n)),((k)));o=j,p=new DataView(n.buffer,n.byteOffset),o.Addr.Len=p.getUint8(0,true),o.Addr.Family=p.getUint8(1,true),o.Addr.Data=new($nativeArray($kindInt8))(n.buffer,$min(n.byteOffset+2,n.buffer.byteLength)),o.Pad=new($nativeArray($kindInt8))(n.buffer,$min(n.byteOffset+16,n.buffer.byteLength));q=m[2];if(!((q===0))){l=FE(q);}return l;};GV=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=$ifaceNil;n=new Uint8Array(108);m=U(32,((i>>>0)),((n)),((k)));o=j,p=new DataView(n.buffer,n.byteOffset),o.Addr.Len=p.getUint8(0,true),o.Addr.Family=p.getUint8(1,true),o.Addr.Data=new($nativeArray($kindInt8))(n.buffer,$min(n.byteOffset+2,n.buffer.byteLength)),o.Pad=new($nativeArray($kindInt8))(n.buffer,$min(n.byteOffset+16,n.buffer.byteLength));q=m[2];if(!((q===0))){l=FE(q);}return l;};GW=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(134,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Shutdown=GW;GY=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v;n=0;o=$ifaceNil;p=0;if(j.$length>0){p=($sliceToArray(j));}else{p=(new Uint8Array(0));}r=new Uint8Array(108);q=T(29,((i>>>0)),(p),((j.$length>>>0)),((k>>>0)),((r)),((m)));s=l,t=new DataView(r.buffer,r.byteOffset),s.Addr.Len=t.getUint8(0,true),s.Addr.Family=t.getUint8(1,true),s.Addr.Data=new($nativeArray($kindInt8))(r.buffer,$min(r.byteOffset+2,r.buffer.byteLength)),s.Pad=new($nativeArray($kindInt8))(r.buffer,$min(r.byteOffset+16,r.buffer.byteLength));u=q[0];v=q[2];n=((u>>0));if(!((v===0))){o=FE(v);}return[n,o];};GZ=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(j.$length>0){o=($sliceToArray(j));}else{o=(new Uint8Array(0));}p=T(133,((i>>>0)),(o),((j.$length>>>0)),((k>>>0)),(l),((m>>>0)));q=p[2];if(!((q===0))){n=FE(q);}return n;};HA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=$ifaceNil;o=new Uint8Array(36);n=S(27,((i>>>0)),((o)),((k>>>0)));p=j,q=new DataView(o.buffer,o.byteOffset),p.Namelen=q.getUint32(4,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+8,o.buffer.byteLength)),p.Iovlen=q.getInt32(16,true),p.Pad_cgo_1=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+20,o.buffer.byteLength)),p.Controllen=q.getUint32(28,true),p.Flags=q.getInt32(32,true);r=n[0];s=n[2];l=((r>>0));if(!((s===0))){m=FE(s);}return[l,m];};HB=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=$ifaceNil;o=new Uint8Array(36);n=S(28,((i>>>0)),((o)),((k>>>0)));p=j,q=new DataView(o.buffer,o.byteOffset),p.Namelen=q.getUint32(4,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+8,o.buffer.byteLength)),p.Iovlen=q.getInt32(16,true),p.Pad_cgo_1=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+20,o.buffer.byteLength)),p.Controllen=q.getUint32(28,true),p.Flags=q.getInt32(32,true);r=n[0];s=n[2];l=((r>>0));if(!((s===0))){m=FE(s);}return[l,m];};HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=0;m=$ifaceNil;n=S(92,((i>>>0)),((j>>>0)),((k>>>0)));o=n[0];p=n[2];l=((o>>0));if(!((p===0))){m=FE(p);}return[l,m];};HO=function(i,j){var $ptr,i,j,k,l,m,n,o;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}n=S(15,((l)),((j>>>0)),0);o=n[2];K((l));if(!((o===0))){k=FE(o);}return k;};$pkg.Chmod=HO;HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=$ifaceNil;l=S(41,((i>>>0)),0,0);m=l[0];n=l[2];j=((m>>0));if(!((n===0))){k=FE(n);}return[j,k];};$pkg.Dup=HS;HV=function(i){var $ptr,i;S(1,((i>>>0)),0,0);return;};$pkg.Exit=HV;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IN=function(){var $ptr,i,j,k;i=0;j=U(20,0,0,0);k=j[0];i=((k>>0));return i;};$pkg.Getpid=IN;IY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(106,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Listen=IY;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JI=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r;l=0;m=$ifaceNil;n=ND.nil;o=W(i);n=o[0];m=o[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[l,m];}p=S(5,((n)),((j>>>0)),((k>>>0)));q=p[0];r=p[2];K((n));l=((q>>0));if(!((r===0))){m=FE(r);}return[l,m];};$pkg.Open=JI;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JQ=function(i){var $ptr,i,j,k,l,m,n;j=$ifaceNil;k=ND.nil;l=W(i);k=l[0];j=l[1];if(!($interfaceIsEqual(j,$ifaceNil))){return j;}m=S(137,((k)),0,0);n=m[2];K((k));if(!((n===0))){j=FE(n);}return j;};$pkg.Rmdir=JQ;JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KG=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(338,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Stat=KG;KN=function(i){var $ptr,i,j,k,l,m,n;j=$ifaceNil;k=ND.nil;l=W(i);k=l[0];j=l[1];if(!($interfaceIsEqual(j,$ifaceNil))){return j;}m=S(10,((k)),0,0);n=m[2];K((k));if(!((n===0))){j=FE(n);}return j;};$pkg.Unlink=KN;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};NR.methods=[{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"syscall\",typ:$funcType([],[$UnsafePointer,LU,$error],false)}];PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PG.methods=[{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"syscall\",typ:$funcType([],[$UnsafePointer,LU,$error],false)}];PH.methods=[{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"syscall\",typ:$funcType([],[$UnsafePointer,LU,$error],false)}];PI.methods=[{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"syscall\",typ:$funcType([],[$UnsafePointer,LU,$error],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];OO.methods=[{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)}];PO.methods=[{prop:\"SetControllen\",name:\"SetControllen\",pkg:\"\",typ:$funcType([$Int],[],false)}];EH.init(\"syscall\",[{prop:\"Len\",name:\"Len\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Family\",name:\"Family\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Nlen\",name:\"Nlen\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Alen\",name:\"Alen\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Slen\",name:\"Slen\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Data\",name:\"Data\",exported:true,typ:NS,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:LR,tag:\"\"}]);EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);FI.init([{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"syscall\",typ:$funcType([],[$UnsafePointer,LU,$error],false)}]);FJ.init(\"syscall\",[{prop:\"Port\",name:\"Port\",exported:true,typ:$Int,tag:\"\"},{prop:\"Addr\",name:\"Addr\",exported:true,typ:NG,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:LO,tag:\"\"}]);FK.init(\"syscall\",[{prop:\"Port\",name:\"Port\",exported:true,typ:$Int,tag:\"\"},{prop:\"ZoneId\",name:\"ZoneId\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Addr\",name:\"Addr\",exported:true,typ:NF,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:LP,tag:\"\"}]);FL.init(\"syscall\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:LQ,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);LO.init(\"\",[{prop:\"Len\",name:\"Len\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Family\",name:\"Family\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Port\",name:\"Port\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Addr\",name:\"Addr\",exported:true,typ:NG,tag:\"\"},{prop:\"Zero\",name:\"Zero\",exported:true,typ:NW,tag:\"\"}]);LP.init(\"\",[{prop:\"Len\",name:\"Len\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Family\",name:\"Family\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Port\",name:\"Port\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Flowinfo\",name:\"Flowinfo\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Addr\",name:\"Addr\",exported:true,typ:NF,tag:\"\"},{prop:\"Scope_id\",name:\"Scope_id\",exported:true,typ:$Uint32,tag:\"\"}]);LQ.init(\"\",[{prop:\"Len\",name:\"Len\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Family\",name:\"Family\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:OL,tag:\"\"}]);LR.init(\"\",[{prop:\"Len\",name:\"Len\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Family\",name:\"Family\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Nlen\",name:\"Nlen\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Alen\",name:\"Alen\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Slen\",name:\"Slen\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Data\",name:\"Data\",exported:true,typ:NS,tag:\"\"}]);LS.init(\"\",[{prop:\"Len\",name:\"Len\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Family\",name:\"Family\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Data\",name:\"Data\",exported:true,typ:NU,tag:\"\"}]);LT.init(\"\",[{prop:\"Addr\",name:\"Addr\",exported:true,typ:LS,tag:\"\"},{prop:\"Pad\",name:\"Pad\",exported:true,typ:NV,tag:\"\"}]);LV.init(\"\",[{prop:\"Onoff\",name:\"Onoff\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Linger\",name:\"Linger\",exported:true,typ:$Int32,tag:\"\"}]);LW.init(\"\",[{prop:\"Base\",name:\"Base\",exported:true,typ:ND,tag:\"\"},{prop:\"Len\",name:\"Len\",exported:true,typ:$Uint64,tag:\"\"}]);LZ.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:ND,tag:\"\"},{prop:\"Namelen\",name:\"Namelen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Iov\",name:\"Iov\",exported:true,typ:OO,tag:\"\"},{prop:\"Iovlen\",name:\"Iovlen\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_1\",name:\"Pad_cgo_1\",exported:true,typ:NG,tag:\"\"},{prop:\"Control\",name:\"Control\",exported:true,typ:ND,tag:\"\"},{prop:\"Controllen\",name:\"Controllen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;$pkg.ForkLock=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);CA=\"\";$pkg.SocketDisableIPv6=false;GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,A,D,E,F,I,J,K,L,M;A=$pkg.Mutex=$newType(0,$kindStruct,\"nosync.Mutex\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(locked_){this.$val=this;if(arguments.length===0){this.locked=false;return;}this.locked=locked_;});D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});E=$pkg.Pool=$newType(0,$kindStruct,\"nosync.Pool\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(store_,New_){this.$val=this;if(arguments.length===0){this.store=K.nil;this.New=$throwNilPointerError;return;}this.store=store_;this.New=New_;});F=$ptrType(A);I=$funcType([],[],false);J=$ptrType(D);K=$sliceType($emptyInterface);L=$ptrType(E);M=$funcType([],[$emptyInterface],false);A.ptr.prototype.Lock=function(){var $ptr,a;a=this;if(a.locked){$panic(new $String(\"nosync: mutex is already locked\"));}a.locked=true;};A.prototype.Lock=function(){return this.$val.Lock();};A.ptr.prototype.Unlock=function(){var $ptr,a;a=this;if(!a.locked){$panic(new $String(\"nosync: unlock of unlocked mutex\"));}a.locked=false;};A.prototype.Unlock=function(){return this.$val.Unlock();};D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};E.ptr.prototype.Get=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(a.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:b=a.New();$s=5;case 5:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;case 4:$s=-1;return $ifaceNil;case 2:e=(c=a.store,d=a.store.$length-1>>0,((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]));a.store=$subslice(a.store,0,(a.store.$length-1>>0));$s=-1;return e;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(a){var $ptr,a,b;b=this;if($interfaceIsEqual(a,$ifaceNil)){return;}b.store=$append(b.store,a);};E.prototype.Put=function(a){return this.$val.Put(a);};F.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];L.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)}];A.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"locked\",name:\"locked\",exported:false,typ:$Bool,tag:\"\"}]);D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);E.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"store\",name:\"store\",exported:false,typ:K,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:M,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BJ,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DN,DP,DQ,DR,DS,DT,DU,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,K,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BB,BC,BK,BR,BS,BU,BV,BW,BX,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BJ=$pkg.Ticker=$newType(0,$kindStruct,\"time.Ticker\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DE=$structType(\"\",[]);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DL=$funcType([],[],false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DU=$ptrType(BJ);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};K=function(i){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=[j];j[0]=new $Chan(DE,0);$setTimeout((function(j){return function(){var $ptr;$close(j[0]);};})(j),(((k=$div64(i,new BT(0,1000000),false),k.$low+((k.$high>>31)*4294967296))>>0)));l=$recv(j[0]);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l[0];$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sleep=K;L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BB=function(i,j){var $ptr,i,j,k;k=new AX.ptr($chanNil,new G.ptr(0,AW(i),new $Int64(0,0),BC,new DL(j),null,false));L(k.r);return k;};$pkg.AfterFunc=BB;BC=function(i,j){var $ptr,i,j;$go($assertType(i,DL),[]);};BK=function(i){var $ptr,i,j,k;if((i.$high<0||(i.$high===0&&i.$low<=0))){$panic(C.New(\"non-positive interval for NewTicker\"));}j=new $Chan(BM,1);k=new BJ.ptr(j,new G.ptr(0,AW(i),(new $Int64(i.$high,i.$low)),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTicker=BK;BJ.ptr.prototype.Stop=function(){var $ptr,i;i=this;M(i.r);};BJ.prototype.Stop=function(){return this.$val.Stop();};BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BW=function(i){var $ptr,i;return $clone(CB(),BM).Sub($clone(i,BM));};$pkg.Since=BW;BX=function(i){var $ptr,i;return $clone(i,BM).Sub($clone(CB(),BM));};$pkg.Until=BX;BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];DU.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BJ.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,K,R,Z,AA,AB,AC,AD,AE,AF,AG,AL,AX,BB,BC,BE,BF,BM,BO,BP,BR,BS,BY,BZ,CC,CD,CF,CL,CM,CN,CP,CQ,CT,CU,CW,CX;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};K=function(){var $ptr;};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};R=function(c){var $ptr,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=D.Getenv(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];$s=-1;return f;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Getenv=R;X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AA=function(c){var $ptr,c;return AE(c);};$pkg.IsExist=AA;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AC=function(c){var $ptr,c;return AG(c);};$pkg.IsPermission=AC;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AE=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(17))||$interfaceIsEqual(c,new D.Errno(66))||$interfaceIsEqual(c,$pkg.ErrExist);};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};AG=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(13))||$interfaceIsEqual(c,new D.Errno(1))||$interfaceIsEqual(c,$pkg.ErrPermission);};AL=function(){var $ptr;return D.Getpid();};$pkg.Getpid=AL;CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};AX=function(c){var $ptr,c;return BP(c,0,0);};$pkg.Open=AX;BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};BF=function(c,d){var $ptr,c,d,e;e=D.Chmod(c,BE(d));if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chmod\",c,e);}return $ifaceNil;};$pkg.Chmod=BF;CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};BP=function(c,d,e){var $ptr,c,d,e,f,g,h,i,j,k;f=false;if(true&&!(((d&512)===0))&&!((((e&1048576)>>>0)===0))){g=CP(c);h=g[1];if(AB(h)){f=true;}}i=0;while(true){j=$ifaceNil;k=D.Open(c,d|16777216,BE(e));i=k[0];j=k[1];if($interfaceIsEqual(j,$ifaceNil)){break;}if(true&&$interfaceIsEqual(j,new D.Errno(4))){continue;}return[DG.nil,new X.ptr(\"open\",c,j)];}if(f){BF(c,e);}if(!CV){D.CloseOnExec(i);}return[BM(((i>>>0)),c),$ifaceNil];};$pkg.OpenFile=BP;CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BR=function(c){var $ptr,c,d,e;d=D.Unlink(c);if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}e=D.Rmdir(c);if($interfaceIsEqual(e,$ifaceNil)){return $ifaceNil;}if(!($interfaceIsEqual(e,new D.Errno(20)))){d=e;}return new X.ptr(\"remove\",c,d);};$pkg.Remove=BR;BS=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R(\"TMPDIR\");$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===\"\"){if(false){d=\"/data/local/tmp\";}else{d=\"/tmp\";}}$s=-1;return d;}return;}if($f===undefined){$f={$blk:BS};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TempDir=BS;BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CC=function(c){var $ptr,c;return 47===c;};$pkg.IsPathSeparator=CC;CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CL=function(c){var $ptr,c;if(c===0){K();}D.Exit(c);};$pkg.Exit=CL;CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CP=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Stat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Stat=CP;CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CT=function(){var $ptr,c,d,e;c=\"\";d=$ifaceNil;e=CU();c=e[0];d=e[1];return[c,d];};$pkg.Hostname=CT;CU=function(){var $ptr,c,d,e,f,g,h,i;c=\"\";d=$ifaceNil;e=D.Sysctl(\"kern.hostname\");c=e[0];d=e[1];if(!($interfaceIsEqual(d,$ifaceNil))){f=\"\";g=Z(\"sysctl kern.hostname\",d);c=f;d=g;return[c,d];}h=c;i=$ifaceNil;c=h;d=i;return[c,d];};CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};CX=function(){var $ptr;return D.Getpagesize();};$pkg.Getpagesize=CX;DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AP,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,BR,DI,DK,DL,DM,DN,ER,EW,FN,FS,GD,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AP=function(am){var $ptr,am,an;an=0;an=(new($global.Object)());return an;};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=new FA(am.flag).kind();if(!((ao===17))&&!((ao===23))){$panic(new FD.ptr(\"reflect.Copy\",ao));}if(ao===17){new FA(am.flag).mustBeAssignable();}new FA(am.flag).mustBeExported();ap=new FA(an.flag).kind();if(!((ap===17))&&!((ap===23))){$panic(new FD.ptr(\"reflect.Copy\",ap));}new FA(an.flag).mustBeExported();$r=FS(\"reflect.Copy\",am.typ.Elem(),an.typ.Elem());$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aq=$clone(am,EZ).object();if(ao===17){aq=new(I(AH(am.typ.Elem())))(aq);}ar=$clone(an,EZ).object();if(ap===17){ar=new(I(AH(an.typ.Elem())))(ar);}$s=-1;return $parseInt($copySlice(aq,ar))>>0;}return;}if($f===undefined){$f={$blk:BA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Copy=BA;BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BR=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=AC(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao[0]=ap;if(!(($clone(ao[0],EZ).Kind()===23))){$panic(new FD.ptr(\"Swapper\",$clone(ao[0],EZ).Kind()));}aq=$clone(ao[0],EZ).Len();if(aq===(0)){$s=-1;return(function(an,ao){return function(ar,as){var $ptr,ar,as;$panic(new $String(\"reflect: slice index out of range\"));};})(an,ao);}else if(aq===(1)){$s=-1;return(function(an,ao){return function(ar,as){var $ptr,ar,as;if(!((ar===0))||!((as===0))){$panic(new $String(\"reflect: slice index out of range\"));}};})(an,ao);}case 2:ar=$clone(ao[0],EZ).Type().Elem();$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=GF(ar);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ).Elem();$s=5;case 5:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}an[0]=at;$s=-1;return(function(an,ao){return function $b(au,av){var $ptr,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aw=$clone(ao[0],EZ).Index(au);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=$clone(ao[0],EZ).Index(av);$s=2;case 2:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;$r=$clone(an[0],EZ).Set($clone(ax,EZ));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=$clone(ax,EZ).Set($clone(az,EZ));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=$clone(az,EZ).Set($clone(an[0],EZ));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};})(an,ao);}return;}if($f===undefined){$f={$blk:BR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Swapper=BR;BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};FS=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(an,ao))){$s=1;continue;}$s=2;continue;case 1:ap=an.String();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ao.String();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$panic(new $String(am+\": \"+ap+\" != \"+aq));case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:FS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};GD=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=am.Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===21))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeMap of non-map type\"));case 2:ao=AP($assertType(am,HN));ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(ap,ao,21);}return;}if($f===undefined){$f={$blk:GD};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeMap=GD;GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AI,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,S,U,V,W,Y,Z,AB,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AI=$pkg.ScanState=$newType(8,$kindInterface,\"fmt.ScanState\",true,\"fmt\",true,null);AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};S=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=0;e=$ifaceNil;f=R();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$r=g.doPrintf(b,c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.Write((i=g.buf,$subslice(new BO(i.$array),i.$offset,i.$offset+i.$length)));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}h=j;d=h[0];e=h[1];g.free();$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:S};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Fprintf=S;U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;W=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=$ifaceNil;e=R();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$r=f.doPrint(b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.Write((h=f.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length)));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g=i;c=g[0];d=g[1];f.free();$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:W};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Fprint=W;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;Z=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=$ifaceNil;e=R();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$r=f.doPrintln(b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.Write((h=f.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length)));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g=i;c=g[0];d=g[1];f.free();$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Fprintln=Z;AB=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrintln(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintln=AB;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};P.ptr.prototype.doPrintln=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=d;f=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(e>0){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(f,118);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=1;continue;case 2:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(10);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintln};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintln=function(a){return this.$val.doPrintln(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AI.init([{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sort\"]=(function(){var $pkg={},$init,A,F,P,T,Z,AW,AX,AY,B,E,G,H,I,J,K,L,M,N,O,Q,U,AC,AG,AH,AI,AJ,AK,AL,AM,AN,AP,AQ;A=$packages[\"reflect\"];F=$pkg.Interface=$newType(8,$kindInterface,\"sort.Interface\",true,\"sort\",true,null);P=$pkg.lessSwap=$newType(0,$kindStruct,\"sort.lessSwap\",true,\"sort\",false,function(Less_,Swap_){this.$val=this;if(arguments.length===0){this.Less=$throwNilPointerError;this.Swap=$throwNilPointerError;return;}this.Less=Less_;this.Swap=Swap_;});T=$pkg.reverse=$newType(0,$kindStruct,\"sort.reverse\",true,\"sort\",false,function(Interface_){this.$val=this;if(arguments.length===0){this.Interface=$ifaceNil;return;}this.Interface=Interface_;});Z=$pkg.StringSlice=$newType(12,$kindSlice,\"sort.StringSlice\",true,\"sort\",true,null);AW=$sliceType($String);AX=$funcType([$Int,$Int],[$Bool],false);AY=$funcType([$Int,$Int],[],false);B=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=a;e=c;f=d;case 1:if(!(e<f)){$s=2;continue;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;i=b(h);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:e=h+1>>0;$s=5;continue;case 4:f=h;case 5:$s=1;continue;case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Search=B;E=function(a,b){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=B(a[0].$length,(function(a,b){return function(c){var $ptr,c;return((c<0||c>=a[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):a[0].$array[a[0].$offset+c])>=b[0];};})(a,b));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:E};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.SearchStrings=E;Z.prototype.Search=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=E($subslice(new AW(b.$array),b.$offset,b.$offset+b.$length),a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:Z.prototype.Search};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(Z).prototype.Search=function(a){return this.$get().Search(a);};G=function(a,b,c){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=b+1>>0;case 1:if(!(d<c)){$s=2;continue;}e=d;case 3:if(!(e>b)){f=false;$s=5;continue s;}g=a.Less(e,e-1>>0);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;case 5:if(!(f)){$s=4;continue;}$r=a.Swap(e,e-1>>0);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e-(1)>>0;$s=3;continue;case 4:d=d+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};H=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=b;case 1:f=($imul(2,e))+1>>0;if(f>=c){$s=2;continue;}if(!((f+1>>0)<c)){g=false;$s=5;continue s;}h=a.Less(d+f>>0,(d+f>>0)+1>>0);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 5:if(g){$s=3;continue;}$s=4;continue;case 3:f=f+(1)>>0;case 4:i=a.Less(d+e>>0,d+f>>0);$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=7;continue;}$s=8;continue;case 7:$s=-1;return;case 8:$r=a.Swap(d+e>>0,d+f>>0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=f;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};I=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=b;e=0;f=c-b>>0;h=(g=((f-1>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"));case 1:if(!(h>=0)){$s=2;continue;}$r=H(a,h,f,d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h-(1)>>0;$s=1;continue;case 2:i=f-1>>0;case 4:if(!(i>=0)){$s=5;continue;}$r=a.Swap(d,d+i>>0);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H(a,e,i,d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i-(1)>>0;$s=4;continue;case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:I};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};J=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=a.Less(b,c);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(e){$s=1;continue;}$s=2;continue;case 1:$r=a.Swap(b,c);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=a.Less(d,b);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=5;continue;}$s=6;continue;case 5:$r=a.Swap(d,b);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=a.Less(b,c);$s=11;case 11:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=9;continue;}$s=10;continue;case 9:$r=a.Swap(b,c);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};K=function(a,b,c,d){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=0;case 1:if(!(e<d)){$s=2;continue;}$r=a.Swap(b+e>>0,c+e>>0);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};L=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=0;e=0;g=b+(f=((c-b>>0))/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if((c-b>>0)>40){$s=1;continue;}$s=2;continue;case 1:i=(h=((c-b>>0))/8,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"));$r=J(a,b,b+i>>0,b+($imul(2,i))>>0);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J(a,g,g-i>>0,g+i>>0);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J(a,c-1>>0,(c-1>>0)-i>>0,(c-1>>0)-($imul(2,i))>>0);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=J(a,b,g,c-1>>0);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=b;k=b+1>>0;l=c-1>>0;m=k;n=l;case 7:if(!(m<n)){o=false;$s=9;continue s;}p=a.Less(m,j);$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;case 9:if(!(o)){$s=8;continue;}m=m+(1)>>0;$s=7;continue;case 8:q=m;case 11:case 13:if(!(q<n)){r=false;$s=15;continue s;}s=a.Less(j,q);$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=!s;case 15:if(!(r)){$s=14;continue;}q=q+(1)>>0;$s=13;continue;case 14:case 17:if(!(q<n)){t=false;$s=19;continue s;}u=a.Less(j,n-1>>0);$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;case 19:if(!(t)){$s=18;continue;}n=n-(1)>>0;$s=17;continue;case 18:if(q>=n){$s=12;continue;}$r=a.Swap(q,n-1>>0);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=q+(1)>>0;n=n-(1)>>0;$s=11;continue;case 12:v=(c-n>>0)<5;if(!v&&(c-n>>0)<(w=((c-b>>0))/4,(w===w&&w!==1/0&&w!==-1/0)?w>>0:$throwRuntimeError(\"integer divide by zero\"))){$s=22;continue;}$s=23;continue;case 22:x=0;y=a.Less(j,c-1>>0);$s=26;case 26:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}if(!y){$s=24;continue;}$s=25;continue;case 24:$r=a.Swap(n,c-1>>0);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=n+(1)>>0;x=x+(1)>>0;case 25:z=a.Less(q-1>>0,j);$s=30;case 30:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}if(!z){$s=28;continue;}$s=29;continue;case 28:q=q-(1)>>0;x=x+(1)>>0;case 29:aa=a.Less(g,j);$s=33;case 33:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}if(!aa){$s=31;continue;}$s=32;continue;case 31:$r=a.Swap(g,q-1>>0);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=q-(1)>>0;x=x+(1)>>0;case 32:v=x>1;case 23:if(v){$s=35;continue;}$s=36;continue;case 35:case 37:case 39:if(!(m<q)){ab=false;$s=41;continue s;}ac=a.Less(q-1>>0,j);$s=42;case 42:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=!ac;case 41:if(!(ab)){$s=40;continue;}q=q-(1)>>0;$s=39;continue;case 40:case 43:if(!(m<q)){ad=false;$s=45;continue s;}ae=a.Less(m,j);$s=46;case 46:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;case 45:if(!(ad)){$s=44;continue;}m=m+(1)>>0;$s=43;continue;case 44:if(m>=q){$s=38;continue;}$r=a.Swap(m,q-1>>0);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=m+(1)>>0;q=q-(1)>>0;$s=37;continue;case 38:case 36:$r=a.Swap(j,q-1>>0);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}af=q-1>>0;ag=n;d=af;e=ag;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:L};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};M=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:if(!((c-b>>0)>12)){$s=2;continue;}if(d===0){$s=3;continue;}$s=4;continue;case 3:$r=I(a,b,c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:d=d-(1)>>0;f=L(a,b,c);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];if((g-b>>0)<(c-h>>0)){$s=7;continue;}$s=8;continue;case 7:$r=M(a,b,g,d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=h;$s=9;continue;case 8:$r=M(a,h,c,d);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=g;case 9:$s=1;continue;case 2:if((c-b>>0)>1){$s=12;continue;}$s=13;continue;case 12:i=b+6>>0;case 14:if(!(i<c)){$s=15;continue;}j=a.Less(i,i-6>>0);$s=18;case 18:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=16;continue;}$s=17;continue;case 16:$r=a.Swap(i,i-6>>0);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:i=i+(1)>>0;$s=14;continue;case 15:$r=G(a,b,c);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=-1;return;}return;}if($f===undefined){$f={$blk:M};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};N=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a.Len();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=M(a,0,c,O(c));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:N};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sort=N;O=function(a){var $ptr,a,b,c;b=0;c=a;while(true){if(!(c>0)){break;}b=b+(1)>>0;c=(c>>$min((1),31))>>0;}return $imul(b,2);};Q=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=A.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=A.Swapper(a);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=$clone(d,A.Value).Len();$r=AQ(new P.ptr(b,f),0,g,O(g));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:Q};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Slice=Q;T.ptr.prototype.Less=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Interface.Less(b,a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.Less};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.Less=function(a,b){return this.$val.Less(a,b);};U=function(a){var $ptr,a;return new T.ptr(a);};$pkg.Reverse=U;Z.prototype.Len=function(){var $ptr,a;a=this;return a.$length;};$ptrType(Z).prototype.Len=function(){return this.$get().Len();};Z.prototype.Less=function(a,b){var $ptr,a,b,c;c=this;return((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a])<((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]);};$ptrType(Z).prototype.Less=function(a,b){return this.$get().Less(a,b);};Z.prototype.Swap=function(a,b){var $ptr,a,b,c,d,e;c=this;d=((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]);e=((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]);((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]=d);((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]=e);};$ptrType(Z).prototype.Swap=function(a,b){return this.$get().Swap(a,b);};Z.prototype.Sort=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=N(a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:Z.prototype.Sort};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(Z).prototype.Sort=function(){return this.$get().Sort();};AC=function(a){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=N(($subslice(new Z(a.$array),a.$offset,a.$offset+a.$length)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Strings=AC;AG=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;c=a.Len();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=AH(b,d);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Stable=AG;AH=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=20;d=0;e=c;f=d;g=e;case 1:if(!(g<=b)){$s=2;continue;}$r=G(a,f,g);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=g;g=g+(c)>>0;$s=1;continue;case 2:$r=G(a,f,b);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(!(c<b)){$s=6;continue;}h=0;i=$imul(2,c);f=h;g=i;case 7:if(!(g<=b)){$s=8;continue;}$r=AI(a,f,f+c>>0,g);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=g;g=g+(($imul(2,c)))>>0;$s=7;continue;case 8:j=f+c>>0;if(j<b){$s=10;continue;}$s=11;continue;case 10:$r=AI(a,f,j,b);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:c=$imul(c,(2));$s=5;continue;case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a,b,c,d){var $ptr,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if((c-b>>0)===1){$s=1;continue;}$s=2;continue;case 1:e=c;f=d;case 3:if(!(e<f)){$s=4;continue;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;i=a.Less(h,b);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(i){$s=5;continue;}$s=6;continue;case 5:e=h+1>>0;$s=7;continue;case 6:f=h;case 7:$s=3;continue;case 4:j=b;case 9:if(!(j<(e-1>>0))){$s=10;continue;}$r=a.Swap(j,j+1>>0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=j+(1)>>0;$s=9;continue;case 10:$s=-1;return;case 2:if((d-c>>0)===1){$s=12;continue;}$s=13;continue;case 12:k=b;l=c;case 14:if(!(k<l)){$s=15;continue;}n=k+(m=((l-k>>0))/2,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;o=a.Less(c,n);$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}if(!o){$s=16;continue;}$s=17;continue;case 16:k=n+1>>0;$s=18;continue;case 17:l=n;case 18:$s=14;continue;case 15:p=c;case 20:if(!(p>k)){$s=21;continue;}$r=a.Swap(p,p-1>>0);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=p-(1)>>0;$s=20;continue;case 21:$s=-1;return;case 13:r=b+(q=((d-b>>0))/2,(q===q&&q!==1/0&&q!==-1/0)?q>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;s=r+c>>0;t=0;u=0;v=t;w=u;if(c>r){v=s-d>>0;w=r;}else{v=b;w=c;}x=s-1>>0;case 23:if(!(v<w)){$s=24;continue;}z=v+(y=((w-v>>0))/2,(y===y&&y!==1/0&&y!==-1/0)?y>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;aa=a.Less(x-z>>0,z);$s=28;case 28:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}if(!aa){$s=25;continue;}$s=26;continue;case 25:v=z+1>>0;$s=27;continue;case 26:w=z;case 27:$s=23;continue;case 24:ab=s-v>>0;if(v<c&&c<ab){$s=29;continue;}$s=30;continue;case 29:$r=AJ(a,v,c,ab);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:if(b<v&&v<r){$s=32;continue;}$s=33;continue;case 32:$r=AI(a,b,v,r);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 33:if(r<ab&&ab<d){$s=35;continue;}$s=36;continue;case 35:$r=AI(a,r,ab,d);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=c-b>>0;f=d-c>>0;case 1:if(!(!((e===f)))){$s=2;continue;}if(e>f){$s=3;continue;}$s=4;continue;case 3:$r=K(a,c-e>>0,c,f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e-(f)>>0;$s=5;continue;case 4:$r=K(a,c-e>>0,(c+f>>0)-e>>0,e);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f-(e)>>0;case 5:$s=1;continue;case 2:$r=K(a,c-e>>0,c,e);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AK=function(a,b,c){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=b+1>>0;case 1:if(!(d<c)){$s=2;continue;}e=d;case 3:if(!(e>b)){f=false;$s=5;continue s;}g=a.Less(e,e-1>>0);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;case 5:if(!(f)){$s=4;continue;}$r=a.Swap(e,e-1>>0);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e-(1)>>0;$s=3;continue;case 4:d=d+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AL=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=b;case 1:f=($imul(2,e))+1>>0;if(f>=c){$s=2;continue;}if(!((f+1>>0)<c)){g=false;$s=5;continue s;}h=a.Less(d+f>>0,(d+f>>0)+1>>0);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 5:if(g){$s=3;continue;}$s=4;continue;case 3:f=f+(1)>>0;case 4:i=a.Less(d+e>>0,d+f>>0);$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=7;continue;}$s=8;continue;case 7:$s=-1;return;case 8:$r=a.Swap(d+e>>0,d+f>>0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=f;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AM=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=b;e=0;f=c-b>>0;h=(g=((f-1>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"));case 1:if(!(h>=0)){$s=2;continue;}$r=AL($clone(a,P),h,f,d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=h-(1)>>0;$s=1;continue;case 2:i=f-1>>0;case 4:if(!(i>=0)){$s=5;continue;}$r=a.Swap(d,d+i>>0);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AL($clone(a,P),e,i,d);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=i-(1)>>0;$s=4;continue;case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:AM};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AN=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=a.Less(b,c);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(e){$s=1;continue;}$s=2;continue;case 1:$r=a.Swap(b,c);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=a.Less(d,b);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=5;continue;}$s=6;continue;case 5:$r=a.Swap(d,b);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=a.Less(b,c);$s=11;case 11:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=9;continue;}$s=10;continue;case 9:$r=a.Swap(b,c);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AP=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=0;e=0;g=b+(f=((c-b>>0))/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if((c-b>>0)>40){$s=1;continue;}$s=2;continue;case 1:i=(h=((c-b>>0))/8,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"));$r=AN($clone(a,P),b,b+i>>0,b+($imul(2,i))>>0);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AN($clone(a,P),g,g-i>>0,g+i>>0);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AN($clone(a,P),c-1>>0,(c-1>>0)-i>>0,(c-1>>0)-($imul(2,i))>>0);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=AN($clone(a,P),b,g,c-1>>0);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=b;k=b+1>>0;l=c-1>>0;m=k;n=l;case 7:if(!(m<n)){o=false;$s=9;continue s;}p=a.Less(m,j);$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;case 9:if(!(o)){$s=8;continue;}m=m+(1)>>0;$s=7;continue;case 8:q=m;case 11:case 13:if(!(q<n)){r=false;$s=15;continue s;}s=a.Less(j,q);$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=!s;case 15:if(!(r)){$s=14;continue;}q=q+(1)>>0;$s=13;continue;case 14:case 17:if(!(q<n)){t=false;$s=19;continue s;}u=a.Less(j,n-1>>0);$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;case 19:if(!(t)){$s=18;continue;}n=n-(1)>>0;$s=17;continue;case 18:if(q>=n){$s=12;continue;}$r=a.Swap(q,n-1>>0);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=q+(1)>>0;n=n-(1)>>0;$s=11;continue;case 12:v=(c-n>>0)<5;if(!v&&(c-n>>0)<(w=((c-b>>0))/4,(w===w&&w!==1/0&&w!==-1/0)?w>>0:$throwRuntimeError(\"integer divide by zero\"))){$s=22;continue;}$s=23;continue;case 22:x=0;y=a.Less(j,c-1>>0);$s=26;case 26:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}if(!y){$s=24;continue;}$s=25;continue;case 24:$r=a.Swap(n,c-1>>0);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n=n+(1)>>0;x=x+(1)>>0;case 25:z=a.Less(q-1>>0,j);$s=30;case 30:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}if(!z){$s=28;continue;}$s=29;continue;case 28:q=q-(1)>>0;x=x+(1)>>0;case 29:aa=a.Less(g,j);$s=33;case 33:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}if(!aa){$s=31;continue;}$s=32;continue;case 31:$r=a.Swap(g,q-1>>0);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=q-(1)>>0;x=x+(1)>>0;case 32:v=x>1;case 23:if(v){$s=35;continue;}$s=36;continue;case 35:case 37:case 39:if(!(m<q)){ab=false;$s=41;continue s;}ac=a.Less(q-1>>0,j);$s=42;case 42:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=!ac;case 41:if(!(ab)){$s=40;continue;}q=q-(1)>>0;$s=39;continue;case 40:case 43:if(!(m<q)){ad=false;$s=45;continue s;}ae=a.Less(m,j);$s=46;case 46:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;case 45:if(!(ad)){$s=44;continue;}m=m+(1)>>0;$s=43;continue;case 44:if(m>=q){$s=38;continue;}$r=a.Swap(m,q-1>>0);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=m+(1)>>0;q=q-(1)>>0;$s=37;continue;case 38:case 36:$r=a.Swap(j,q-1>>0);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}af=q-1>>0;ag=n;d=af;e=ag;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:if(!((c-b>>0)>12)){$s=2;continue;}if(d===0){$s=3;continue;}$s=4;continue;case 3:$r=AM($clone(a,P),b,c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:d=d-(1)>>0;f=AP($clone(a,P),b,c);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];if((g-b>>0)<(c-h>>0)){$s=7;continue;}$s=8;continue;case 7:$r=AQ($clone(a,P),b,g,d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=h;$s=9;continue;case 8:$r=AQ($clone(a,P),h,c,d);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=g;case 9:$s=1;continue;case 2:if((c-b>>0)>1){$s=12;continue;}$s=13;continue;case 12:i=b+6>>0;case 14:if(!(i<c)){$s=15;continue;}j=a.Less(i,i-6>>0);$s=18;case 18:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=16;continue;}$s=17;continue;case 16:$r=a.Swap(i,i-6>>0);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:i=i+(1)>>0;$s=14;continue;case 15:$r=AK($clone(a,P),b,c);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:$s=-1;return;}return;}if($f===undefined){$f={$blk:AQ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};T.methods=[{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)}];Z.methods=[{prop:\"Search\",name:\"Search\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"Sort\",name:\"Sort\",pkg:\"\",typ:$funcType([],[],false)}];F.init([{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)}]);P.init(\"\",[{prop:\"Less\",name:\"Less\",exported:true,typ:AX,tag:\"\"},{prop:\"Swap\",name:\"Swap\",exported:true,typ:AY,tag:\"\"}]);T.init(\"\",[{prop:\"Interface\",name:\"\",exported:true,typ:F,tag:\"\"}]);Z.init($String);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,K,M,N,P,Q,S,T,U,W,Y,Z,AA,BP,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,F,G,H,I,L,O,R,V,X,AB,AC,AD,AE,AH,AJ,AK,AL,AO,AP,AR,AT,AU,AV,AW,AX,AY,BB,BI,BJ,BK,BL,BN,BO,BQ,BR,BT,BU,BV,BW,BX,BY,BZ;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];K=$pkg.Reader=$newType(0,$kindStruct,\"strings.Reader\",true,\"strings\",true,function(s_,i_,prevRune_){this.$val=this;if(arguments.length===0){this.s=\"\";this.i=new $Int64(0,0);this.prevRune=0;return;}this.s=s_;this.i=i_;this.prevRune=prevRune_;});M=$pkg.Replacer=$newType(0,$kindStruct,\"strings.Replacer\",true,\"strings\",true,function(r_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;return;}this.r=r_;});N=$pkg.replacer=$newType(8,$kindInterface,\"strings.replacer\",true,\"strings\",false,null);P=$pkg.trieNode=$newType(0,$kindStruct,\"strings.trieNode\",true,\"strings\",false,function(value_,priority_,prefix_,next_,table_){this.$val=this;if(arguments.length===0){this.value=\"\";this.priority=0;this.prefix=\"\";this.next=CF.nil;this.table=CG.nil;return;}this.value=value_;this.priority=priority_;this.prefix=prefix_;this.next=next_;this.table=table_;});Q=$pkg.genericReplacer=$newType(0,$kindStruct,\"strings.genericReplacer\",true,\"strings\",false,function(root_,tableSize_,mapping_){this.$val=this;if(arguments.length===0){this.root=new P.ptr(\"\",0,\"\",CF.nil,CG.nil);this.tableSize=0;this.mapping=CA.zero();return;}this.root=root_;this.tableSize=tableSize_;this.mapping=mapping_;});S=$pkg.appendSliceWriter=$newType(12,$kindSlice,\"strings.appendSliceWriter\",true,\"strings\",false,null);T=$pkg.stringWriterIface=$newType(8,$kindInterface,\"strings.stringWriterIface\",true,\"strings\",false,null);U=$pkg.stringWriter=$newType(0,$kindStruct,\"strings.stringWriter\",true,\"strings\",false,function(w_){this.$val=this;if(arguments.length===0){this.w=$ifaceNil;return;}this.w=w_;});W=$pkg.singleStringReplacer=$newType(0,$kindStruct,\"strings.singleStringReplacer\",true,\"strings\",false,function(finder_,value_){this.$val=this;if(arguments.length===0){this.finder=CI.nil;this.value=\"\";return;}this.finder=finder_;this.value=value_;});Y=$pkg.byteReplacer=$newType(256,$kindArray,\"strings.byteReplacer\",true,\"strings\",false,null);Z=$pkg.byteStringReplacer=$newType(3072,$kindArray,\"strings.byteStringReplacer\",true,\"strings\",false,null);AA=$pkg.stringFinder=$newType(0,$kindStruct,\"strings.stringFinder\",true,\"strings\",false,function(pattern_,badCharSkip_,goodSuffixSkip_){this.$val=this;if(arguments.length===0){this.pattern=\"\";this.badCharSkip=CJ.zero();this.goodSuffixSkip=CK.nil;return;}this.pattern=pattern_;this.badCharSkip=badCharSkip_;this.goodSuffixSkip=goodSuffixSkip_;});BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CA=$arrayType($Uint8,256);CB=$ptrType(Y);CC=$sliceType($Uint8);CD=$arrayType(CC,256);CE=$ptrType(Z);CF=$ptrType(P);CG=$sliceType(CF);CH=$ptrType(S);CI=$ptrType(AA);CJ=$arrayType($Int,256);CK=$sliceType($Int);CL=$sliceType($String);CM=$ptrType(BP);CN=$arrayType($Uint32,8);CO=$ptrType(K);CP=$ptrType(M);CQ=$ptrType(Q);CR=$ptrType(W);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;H=function(e,f){var $ptr,e,f;return $parseInt(e.lastIndexOf(f))>>0;};$pkg.LastIndex=H;I=function(e,f){var $ptr,e,f,g,h;g=0;if((f.length===0)){return A.RuneCountInString(e)+1>>0;}else if(f.length>e.length){return 0;}else if((f.length===e.length)){if(f===e){return 1;}return 0;}while(true){h=G(e,f);if(h===-1){break;}g=g+(1)>>0;e=$substring(e,(h+f.length>>0));}return g;};$pkg.Count=I;K.ptr.prototype.Len=function(){var $ptr,e,f,g,h,i,j;e=this;if((f=e.i,g=(new $Int64(0,e.s.length)),(f.$high>g.$high||(f.$high===g.$high&&f.$low>=g.$low)))){return 0;}return(((h=(i=(new $Int64(0,e.s.length)),j=e.i,new $Int64(i.$high-j.$high,i.$low-j.$low)),h.$low+((h.$high>>31)*4294967296))>>0));};K.prototype.Len=function(){return this.$val.Len();};K.ptr.prototype.Size=function(){var $ptr,e;e=this;return(new $Int64(0,e.s.length));};K.prototype.Size=function(){return this.$val.Size();};K.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n;f=0;g=$ifaceNil;h=this;if((i=h.i,j=(new $Int64(0,h.s.length)),(i.$high>j.$high||(i.$high===j.$high&&i.$low>=j.$low)))){k=0;l=D.EOF;f=k;g=l;return[f,g];}h.prevRune=-1;f=$copyString(e,$substring(h.s,$flatten64(h.i)));h.i=(m=h.i,n=(new $Int64(0,f)),new $Int64(m.$high+n.$high,m.$low+n.$low));return[f,g];};K.prototype.Read=function(e){return this.$val.Read(e);};K.ptr.prototype.ReadAt=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=0;h=$ifaceNil;i=this;if((f.$high<0||(f.$high===0&&f.$low<0))){j=0;k=C.New(\"strings.Reader.ReadAt: negative offset\");g=j;h=k;return[g,h];}if((l=(new $Int64(0,i.s.length)),(f.$high>l.$high||(f.$high===l.$high&&f.$low>=l.$low)))){m=0;n=D.EOF;g=m;h=n;return[g,h];}g=$copyString(e,$substring(i.s,$flatten64(f)));if(g<e.$length){h=D.EOF;}return[g,h];};K.prototype.ReadAt=function(e,f){return this.$val.ReadAt(e,f);};K.ptr.prototype.ReadByte=function(){var $ptr,e,f,g,h,i,j;e=this;e.prevRune=-1;if((f=e.i,g=(new $Int64(0,e.s.length)),(f.$high>g.$high||(f.$high===g.$high&&f.$low>=g.$low)))){return[0,D.EOF];}h=e.s.charCodeAt($flatten64(e.i));e.i=(i=e.i,j=new $Int64(0,1),new $Int64(i.$high+j.$high,i.$low+j.$low));return[h,$ifaceNil];};K.prototype.ReadByte=function(){return this.$val.ReadByte();};K.ptr.prototype.UnreadByte=function(){var $ptr,e,f,g,h;e=this;e.prevRune=-1;if((f=e.i,(f.$high<0||(f.$high===0&&f.$low<=0)))){return C.New(\"strings.Reader.UnreadByte: at beginning of string\");}e.i=(g=e.i,h=new $Int64(0,1),new $Int64(g.$high-h.$high,g.$low-h.$low));return $ifaceNil;};K.prototype.UnreadByte=function(){return this.$val.UnreadByte();};K.ptr.prototype.ReadRune=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;e=0;f=0;g=$ifaceNil;h=this;if((i=h.i,j=(new $Int64(0,h.s.length)),(i.$high>j.$high||(i.$high===j.$high&&i.$low>=j.$low)))){h.prevRune=-1;k=0;l=0;m=D.EOF;e=k;f=l;g=m;return[e,f,g];}h.prevRune=(((n=h.i,n.$low+((n.$high>>31)*4294967296))>>0));o=h.s.charCodeAt($flatten64(h.i));if(o<128){h.i=(p=h.i,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));r=((o>>0));s=1;t=$ifaceNil;e=r;f=s;g=t;return[e,f,g];}u=A.DecodeRuneInString($substring(h.s,$flatten64(h.i)));e=u[0];f=u[1];h.i=(v=h.i,w=(new $Int64(0,f)),new $Int64(v.$high+w.$high,v.$low+w.$low));return[e,f,g];};K.prototype.ReadRune=function(){return this.$val.ReadRune();};K.ptr.prototype.UnreadRune=function(){var $ptr,e;e=this;if(e.prevRune<0){return C.New(\"strings.Reader.UnreadRune: previous operation was not ReadRune\");}e.i=(new $Int64(0,e.prevRune));e.prevRune=-1;return $ifaceNil;};K.prototype.UnreadRune=function(){return this.$val.UnreadRune();};K.ptr.prototype.Seek=function(e,f){var $ptr,e,f,g,h,i,j,k;g=this;g.prevRune=-1;h=new $Int64(0,0);i=f;if(i===(0)){h=e;}else if(i===(1)){h=(j=g.i,new $Int64(j.$high+e.$high,j.$low+e.$low));}else if(i===(2)){h=(k=(new $Int64(0,g.s.length)),new $Int64(k.$high+e.$high,k.$low+e.$low));}else{return[new $Int64(0,0),C.New(\"strings.Reader.Seek: invalid whence\")];}if((h.$high<0||(h.$high===0&&h.$low<0))){return[new $Int64(0,0),C.New(\"strings.Reader.Seek: negative position\")];}g.i=h;return[h,$ifaceNil];};K.prototype.Seek=function(e,f){return this.$val.Seek(e,f);};K.ptr.prototype.WriteTo=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=new $Int64(0,0);g=$ifaceNil;h=this;h.prevRune=-1;if((i=h.i,j=(new $Int64(0,h.s.length)),(i.$high>j.$high||(i.$high===j.$high&&i.$low>=j.$low)))){k=new $Int64(0,0);l=$ifaceNil;f=k;g=l;$s=-1;return[f,g];}m=$substring(h.s,$flatten64(h.i));o=D.WriteString(e,m);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];g=n[1];if(p>m.length){$panic(new $String(\"strings.Reader.WriteTo: invalid WriteString count\"));}h.i=(q=h.i,r=(new $Int64(0,p)),new $Int64(q.$high+r.$high,q.$low+r.$low));f=(new $Int64(0,p));if(!((p===m.length))&&$interfaceIsEqual(g,$ifaceNil)){g=D.ErrShortWrite;}$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:K.ptr.prototype.WriteTo};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};K.prototype.WriteTo=function(e){return this.$val.WriteTo(e);};K.ptr.prototype.Reset=function(e){var $ptr,e,f;f=this;K.copy(f,new K.ptr(e,new $Int64(0,0),-1));};K.prototype.Reset=function(e){return this.$val.Reset(e);};L=function(e){var $ptr,e;return new K.ptr(e,new $Int64(0,0),-1);};$pkg.NewReader=L;O=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;if((f=e.$length%2,f===f?f:$throwRuntimeError(\"integer divide by zero\"))===1){$panic(new $String(\"strings.NewReplacer: odd argument count\"));}if((e.$length===2)&&(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]).length>1){return new M.ptr(X((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]),(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])));}g=true;h=0;while(true){if(!(h<e.$length)){break;}if(!((((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h]).length===1))){return new M.ptr(R(e));}if(!(((i=h+1>>0,((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i])).length===1))){g=false;}h=h+(2)>>0;}if(g){j=CA.zero();k=j;l=0;while(true){if(!(l<256)){break;}m=l;((m<0||m>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[m]=((m<<24>>>24)));l++;}n=e.$length-2>>0;while(true){if(!(n>=0)){break;}o=((n<0||n>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+n]).charCodeAt(0);q=(p=n+1>>0,((p<0||p>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+p])).charCodeAt(0);((o<0||o>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[o]=q);n=n-(2)>>0;}return new M.ptr(new CB(j));}r=CD.zero();s=e.$length-2>>0;while(true){if(!(s>=0)){break;}t=((s<0||s>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+s]).charCodeAt(0);v=(u=s+1>>0,((u<0||u>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+u]));((t<0||t>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[t]=(new CC($stringToBytes(v))));s=s-(2)>>0;}return new M.ptr(new CE(r));};$pkg.NewReplacer=O;M.ptr.prototype.Replace=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.r.Replace(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Replace};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Replace=function(e){return this.$val.Replace(e);};M.ptr.prototype.WriteString=function(e,f){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;h=$ifaceNil;i=this;k=i.r.WriteString(e,f);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;g=j[0];h=j[1];$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.WriteString=function(e,f){return this.$val.WriteString(e,f);};P.ptr.prototype.add=function(e,f,g,h){var $ptr,aa,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;i=this;if(e===\"\"){if(i.priority===0){i.value=f;i.priority=g;}return;}if(!(i.prefix===\"\")){j=0;while(true){if(!(j<i.prefix.length&&j<e.length)){break;}if(!((i.prefix.charCodeAt(j)===e.charCodeAt(j)))){break;}j=j+(1)>>0;}if(j===i.prefix.length){i.next.add($substring(e,j),f,g,h);}else if(j===0){k=CF.nil;if(i.prefix.length===1){k=i.next;}else{k=new P.ptr(\"\",0,$substring(i.prefix,1),i.next,CG.nil);}l=new P.ptr(\"\",0,\"\",CF.nil,CG.nil);i.table=$makeSlice(CG,h.tableSize);(m=i.table,n=(o=h.mapping,p=i.prefix.charCodeAt(0),((p<0||p>=o.length)?($throwRuntimeError(\"index out of range\"),undefined):o[p])),((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]=k));(q=i.table,r=(s=h.mapping,t=e.charCodeAt(0),((t<0||t>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[t])),((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]=l));i.prefix=\"\";i.next=CF.nil;l.add($substring(e,1),f,g,h);}else{u=new P.ptr(\"\",0,$substring(i.prefix,j),i.next,CG.nil);i.prefix=$substring(i.prefix,0,j);i.next=u;u.add($substring(e,j),f,g,h);}}else if(!(i.table===CG.nil)){x=(v=h.mapping,w=e.charCodeAt(0),((w<0||w>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[w]));if((y=i.table,((x<0||x>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+x]))===CF.nil){(z=i.table,((x<0||x>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+x]=new P.ptr(\"\",0,\"\",CF.nil,CG.nil)));}(aa=i.table,((x<0||x>=aa.$length)?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+x])).add($substring(e,1),f,g,h);}else{i.prefix=e;i.next=new P.ptr(\"\",0,\"\",CF.nil,CG.nil);i.next.add(\"\",f,g,h);}};P.prototype.add=function(e,f,g,h){return this.$val.add(e,f,g,h);};Q.ptr.prototype.lookup=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q;g=\"\";h=0;i=false;j=this;k=0;l=j.root;m=0;while(true){if(!(!(l===CF.nil))){break;}if(l.priority>k&&!(f&&l===j.root)){k=l.priority;g=l.value;h=m;i=true;}if(e===\"\"){break;}if(!(l.table===CG.nil)){p=(n=j.mapping,o=e.charCodeAt(0),((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]));if(((p>>0))===j.tableSize){break;}l=(q=l.table,((p<0||p>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+p]));e=$substring(e,1);m=m+(1)>>0;}else if(!(l.prefix===\"\")&&AW(e,l.prefix)){m=m+(l.prefix.length)>>0;e=$substring(e,l.prefix.length);l=l.next;}else{break;}}return[g,h,i];};Q.prototype.lookup=function(e,f){return this.$val.lookup(e,f);};R=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;f=new Q.ptr(new P.ptr(\"\",0,\"\",CF.nil,CG.nil),0,CA.zero());g=0;while(true){if(!(g<e.$length)){break;}h=((g<0||g>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+g]);i=0;while(true){if(!(i<h.length)){break;}(j=f.mapping,k=h.charCodeAt(i),((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=1));i=i+(1)>>0;}g=g+(2)>>0;}l=f.mapping;m=0;while(true){if(!(m<256)){break;}n=((m<0||m>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[m]);f.tableSize=f.tableSize+(((n>>0)))>>0;m++;}o=0;p=f.mapping;q=0;while(true){if(!(q<256)){break;}r=q;s=((q<0||q>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[q]);if(s===0){(t=f.mapping,((r<0||r>=t.length)?($throwRuntimeError(\"index out of range\"),undefined):t[r]=((f.tableSize<<24>>>24))));}else{(u=f.mapping,((r<0||r>=u.length)?($throwRuntimeError(\"index out of range\"),undefined):u[r]=o));o=o+(1)<<24>>>24;}q++;}f.root.table=$makeSlice(CG,f.tableSize);v=0;while(true){if(!(v<e.$length)){break;}f.root.add(((v<0||v>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+v]),(w=v+1>>0,((w<0||w>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+w])),e.$length-v>>0,f);v=v+(2)>>0;}return f;};$ptrType(S).prototype.Write=function(e){var $ptr,e,f;f=this;f.$set($appendSlice(f.$get(),e));return[e.$length,$ifaceNil];};$ptrType(S).prototype.WriteString=function(e){var $ptr,e,f;f=this;f.$set($appendSlice(f.$get(),e));return[e.length,$ifaceNil];};U.ptr.prototype.WriteString=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.w.Write((new CC($stringToBytes(e))));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:U.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};U.prototype.WriteString=function(e){return this.$val.WriteString(e);};V=function(e){var $ptr,e,f,g,h,i;f=$assertType(e,T,true);g=f[0];h=f[1];if(!h){g=(i=new U.ptr(e),new i.constructor.elem(i));}return g;};Q.ptr.prototype.Replace=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=this;f[0]=$makeSlice(S,0,e.length);h=g.WriteString((f.$ptr||(f.$ptr=new CH(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),e);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return($bytesToString(f[0]));}return;}if($f===undefined){$f={$blk:Q.ptr.prototype.Replace};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};Q.prototype.Replace=function(e){return this.$val.Replace(e);};Q.ptr.prototype.WriteString=function(e,f){var $ptr,aa,ab,ac,ad,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;h=$ifaceNil;i=this;j=V(e);k=0;l=0;m=k;n=l;o=false;p=0;case 1:if(!(p<=f.length)){$s=2;continue;}if(!((p===f.length))&&(i.root.priority===0)){$s=3;continue;}$s=4;continue;case 3:s=(((q=i.mapping,r=f.charCodeAt(p),((r<0||r>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[r]))>>0));if((s===i.tableSize)||(t=i.root.table,((s<0||s>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+s]))===CF.nil){p=p+(1)>>0;$s=1;continue;}case 4:u=i.lookup($substring(f,p),o);v=u[0];w=u[1];x=u[2];o=x&&(w===0);if(x){$s=5;continue;}$s=6;continue;case 5:z=j.WriteString($substring(f,m,p));$s=7;case 7:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;n=y[0];h=y[1];g=g+(n)>>0;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}ab=j.WriteString(v);$s=8;case 8:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;n=aa[0];h=aa[1];g=g+(n)>>0;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}p=p+(w)>>0;m=p;$s=1;continue;case 6:p=p+(1)>>0;$s=1;continue;case 2:if(!((m===f.length))){$s=9;continue;}$s=10;continue;case 9:ad=j.WriteString($substring(f,m));$s=11;case 11:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;n=ac[0];h=ac[1];g=g+(n)>>0;case 10:$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:Q.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};Q.prototype.WriteString=function(e,f){return this.$val.WriteString(e,f);};X=function(e,f){var $ptr,e,f;return new W.ptr(AB(e),f);};W.ptr.prototype.Replace=function(e){var $ptr,e,f,g,h,i,j,k,l;f=this;g=CC.nil;h=0;i=false;j=h;k=i;while(true){l=f.finder.next($substring(e,j));if(l===-1){break;}k=true;g=$appendSlice(g,$substring(e,j,(j+l>>0)));g=$appendSlice(g,f.value);j=j+((l+f.finder.pattern.length>>0))>>0;}if(!k){return e;}g=$appendSlice(g,$substring(e,j));return($bytesToString(g));};W.prototype.Replace=function(e){return this.$val.Replace(e);};W.ptr.prototype.WriteString=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;h=$ifaceNil;i=this;j=V(e);k=0;l=0;m=k;n=l;case 1:o=i.finder.next($substring(f,m));if(o===-1){$s=2;continue;}q=j.WriteString($substring(f,m,(m+o>>0)));$s=3;case 3:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;n=p[0];h=p[1];g=g+(n)>>0;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}s=j.WriteString(i.value);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;n=r[0];h=r[1];g=g+(n)>>0;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}m=m+((o+i.finder.pattern.length>>0))>>0;$s=1;continue;case 2:u=j.WriteString($substring(f,m));$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;n=t[0];h=t[1];g=g+(n)>>0;$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:W.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};W.prototype.WriteString=function(e,f){return this.$val.WriteString(e,f);};Y.prototype.Replace=function(e){var $ptr,e,f,g,h,i;f=this.$val;g=CC.nil;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(!(((f.nilCheck,((i<0||i>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[i]))===i))){if(g===CC.nil){g=(new CC($stringToBytes(e)));}((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]=(f.nilCheck,((i<0||i>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[i])));}h=h+(1)>>0;}if(g===CC.nil){return e;}return($bytesToString(g));};$ptrType(Y).prototype.Replace=function(e){return(new Y(this.$get())).Replace(e);};Y.prototype.WriteString=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;h=$ifaceNil;i=this.$val;j=32768;if(f.length<j){j=f.length;}k=$makeSlice(CC,j);case 1:if(!(f.length>0)){$s=2;continue;}l=$copyString(k,f);f=$substring(f,l);m=$subslice(k,0,l);n=0;while(true){if(!(n<m.$length)){break;}o=n;p=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);((o<0||o>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+o]=(i.nilCheck,((p<0||p>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[p])));n++;}r=e.Write($subslice(k,0,l));$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];g=g+(s)>>0;if(!($interfaceIsEqual(t,$ifaceNil))){u=g;v=t;g=u;h=v;$s=-1;return[g,h];}$s=1;continue;case 2:w=g;x=$ifaceNil;g=w;h=x;$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:Y.prototype.WriteString};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(Y).prototype.WriteString=function(e,f){return(new Y(this.$get())).WriteString(e,f);};Z.prototype.Replace=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=this.$val;g=e.length;h=false;i=0;while(true){if(!(i<e.length)){break;}j=e.charCodeAt(i);if(!((f.nilCheck,((j<0||j>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[j]))===CC.nil)){h=true;g=g+(((f.nilCheck,((j<0||j>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[j])).$length-1>>0))>>0;}i=i+(1)>>0;}if(!h){return e;}k=$makeSlice(CC,g);l=k;m=0;while(true){if(!(m<e.length)){break;}n=e.charCodeAt(m);if(!((f.nilCheck,((n<0||n>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[n]))===CC.nil)){o=$copySlice(l,(f.nilCheck,((n<0||n>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[n])));l=$subslice(l,o);}else{(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]=n);l=$subslice(l,1);}m=m+(1)>>0;}return($bytesToString(k));};$ptrType(Z).prototype.Replace=function(e){return(new Z(this.$get())).Replace(e);};Z.prototype.WriteString=function(e,f){var $ptr,aa,ab,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;h=$ifaceNil;i=this.$val;j=V(e);k=0;l=0;case 1:if(!(l<f.length)){$s=2;continue;}m=f.charCodeAt(l);if((i.nilCheck,((m<0||m>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[m]))===CC.nil){$s=3;continue;}$s=4;continue;case 3:l=l+(1)>>0;$s=1;continue;case 4:if(!((k===l))){$s=5;continue;}$s=6;continue;case 5:o=j.WriteString($substring(f,k,l));$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];g=g+(p)>>0;if(!($interfaceIsEqual(q,$ifaceNil))){r=g;s=q;g=r;h=s;$s=-1;return[g,h];}case 6:k=l+1>>0;u=e.Write((i.nilCheck,((m<0||m>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[m])));$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];g=g+(v)>>0;if(!($interfaceIsEqual(w,$ifaceNil))){x=g;y=w;g=x;h=y;$s=-1;return[g,h];}l=l+(1)>>0;$s=1;continue;case 2:if(!((k===f.length))){$s=9;continue;}$s=10;continue;case 9:z=0;ab=j.WriteString($substring(f,k));$s=11;case 11:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;z=aa[0];h=aa[1];g=g+(z)>>0;case 10:$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:Z.prototype.WriteString};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(Z).prototype.WriteString=function(e,f){return(new Z(this.$get())).WriteString(e,f);};AB=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;f=new AA.ptr(e,CJ.zero(),$makeSlice(CK,e.length));g=e.length-1>>0;h=f.badCharSkip;i=0;while(true){if(!(i<256)){break;}j=i;(k=f.badCharSkip,((j<0||j>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[j]=e.length));i++;}l=0;while(true){if(!(l<g)){break;}(m=f.badCharSkip,n=e.charCodeAt(l),((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(g-l>>0)));l=l+(1)>>0;}o=g;p=g;while(true){if(!(p>=0)){break;}if(AW(e,$substring(e,(p+1>>0)))){o=p+1>>0;}(q=f.goodSuffixSkip,((p<0||p>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+p]=((o+g>>0)-p>>0)));p=p-(1)>>0;}r=0;while(true){if(!(r<g)){break;}s=AC(e,$substring(e,1,(r+1>>0)));if(!((e.charCodeAt((r-s>>0))===e.charCodeAt((g-s>>0))))){(t=f.goodSuffixSkip,u=g-s>>0,((u<0||u>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+u]=((s+g>>0)-r>>0)));}r=r+(1)>>0;}return f;};AC=function(e,f){var $ptr,e,f,g;g=0;while(true){if(!(g<e.length&&g<f.length)){break;}if(!((e.charCodeAt(((e.length-1>>0)-g>>0))===f.charCodeAt(((f.length-1>>0)-g>>0))))){break;}g=g+(1)>>0;}return g;};AA.ptr.prototype.next=function(e){var $ptr,e,f,g,h,i,j,k;f=this;g=f.pattern.length-1>>0;while(true){if(!(g<e.length)){break;}h=f.pattern.length-1>>0;while(true){if(!(h>=0&&(e.charCodeAt(g)===f.pattern.charCodeAt(h)))){break;}g=g-(1)>>0;h=h-(1)>>0;}if(h<0){return g+1>>0;}g=g+(AD((i=f.badCharSkip,j=e.charCodeAt(g),((j<0||j>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[j])),(k=f.goodSuffixSkip,((h<0||h>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+h]))))>>0;}return-1;};AA.prototype.next=function(e){return this.$val.next(e);};AD=function(e,f){var $ptr,e,f;if(e>f){return e;}return f;};AE=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m;g=A.RuneCountInString(e);if(f<0||f>g){f=g;}h=$makeSlice(CL,f);i=0;while(true){if(!(i<(f-1>>0))){break;}j=A.DecodeRuneInString(e);k=j[0];l=j[1];((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]=$substring(e,0,l));e=$substring(e,l);if(k===65533){((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]=\"\\xEF\\xBF\\xBD\");}i=i+(1)>>0;}if(f>0){(m=f-1>>0,((m<0||m>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+m]=e));}return h;};AH=function(e,f){var $ptr,e,f;return G(e,f)>=0;};$pkg.Contains=AH;AJ=function(e,f){var $ptr,e,f;return AK(e,f)>=0;};$pkg.ContainsRune=AJ;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AL=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;if(f.length>0){if(e.length>8){g=BQ(f);h=$clone(g[0],BP);i=g[1];if(i){j=0;while(true){if(!(j<e.length)){break;}if(new CM(h).contains(e.charCodeAt(j))){return j;}j=j+(1)>>0;}return-1;}}k=e;l=0;while(true){if(!(l<k.length)){break;}m=$decodeRune(k,l);n=l;o=m[0];p=f;q=0;while(true){if(!(q<p.length)){break;}r=$decodeRune(p,q);s=r[0];if(o===s){return n;}q+=r[1];}l+=m[1];}}return-1;};$pkg.IndexAny=AL;AO=function(e,f,g,h){var $ptr,e,f,g,h,i,j,k,l,m;if(h===0){return CL.nil;}if(f===\"\"){return AE(e,h);}if(h<0){h=I(e,f)+1>>0;}i=f.charCodeAt(0);j=0;k=$makeSlice(CL,h);l=0;m=0;while(true){if(!((m+f.length>>0)<=e.length&&(l+1>>0)<h)){break;}if((e.charCodeAt(m)===i)&&((f.length===1)||$substring(e,m,(m+f.length>>0))===f)){((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]=$substring(e,j,(m+g>>0)));l=l+(1)>>0;j=m+f.length>>0;m=m+((f.length-1>>0))>>0;}m=m+(1)>>0;}((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]=$substring(e,j));return $subslice(k,0,(l+1>>0));};AP=function(e,f,g){var $ptr,e,f,g;return AO(e,f,0,g);};$pkg.SplitN=AP;AR=function(e,f){var $ptr,e,f;return AO(e,f,0,-1);};$pkg.Split=AR;AT=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AU(e,E.IsSpace);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:AT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Fields=AT;AU=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;h=false;i=e;j=0;case 1:if(!(j<i.length)){$s=2;continue;}k=$decodeRune(i,j);l=k[0];m=h;n=f(l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}h=!n;if(h&&!m){g=g+(1)>>0;}j+=k[1];$s=1;continue;case 2:o=$makeSlice(CL,g);p=0;q=-1;r=e;s=0;case 4:if(!(s<r.length)){$s=5;continue;}t=$decodeRune(r,s);u=s;v=t[0];w=f(v);$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(w){$s=6;continue;}if(q===-1){$s=7;continue;}$s=8;continue;case 6:if(q>=0){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=$substring(e,q,u));p=p+(1)>>0;q=-1;}$s=8;continue;case 7:q=u;case 8:s+=t[1];$s=4;continue;case 5:if(q>=0){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=$substring(e,q));}$s=-1;return o;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FieldsFunc=AU;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;AW=function(e,f){var $ptr,e,f;return e.length>=f.length&&$substring(e,0,f.length)===f;};$pkg.HasPrefix=AW;AX=function(e,f){var $ptr,e,f;return e.length>=f.length&&$substring(e,(e.length-f.length>>0))===f;};$pkg.HasSuffix=AX;AY=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=f.length;h=0;i=CC.nil;j=f;k=0;case 1:if(!(k<j.length)){$s=2;continue;}l=$decodeRune(j,k);m=k;n=l[0];o=e(n);$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(i===CC.nil){if(p===n){k+=l[1];$s=1;continue;}i=$makeSlice(CC,g);h=$copyString(i,$substring(f,0,m));}if(p>=0){q=1;if(p>=128){q=A.RuneLen(p);}if((h+q>>0)>g){g=($imul(g,2))+4>>0;r=$makeSlice(CC,g);$copySlice(r,$subslice(i,0,h));i=r;}h=h+(A.EncodeRune($subslice(i,h,g),p))>>0;}k+=l[1];$s=1;continue;case 2:if(i===CC.nil){$s=-1;return f;}$s=-1;return($bytesToString($subslice(i,0,h)));}return;}if($f===undefined){$f={$blk:AY};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Map=AY;BB=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AY(E.ToLower,e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ToLower=BB;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BJ=function(e,f){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BO(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h>=0&&e.charCodeAt(h)>=128){i=A.DecodeRuneInString($substring(e,h));j=i[1];h=h+(j)>>0;}else{h=h+(1)>>0;}$s=-1;return $substring(e,0,h);}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimRightFunc=BJ;BK=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BI(e,f);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=BJ(g,f);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:BK};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimFunc=BK;BL=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,true);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BL};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.IndexFunc=BL;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BO=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=e.length;case 1:if(!(h>0)){$s=2;continue;}i=A.DecodeLastRuneInString($substring(e,0,h));j=i[0];k=i[1];h=h-(k)>>0;l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BO};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;BU=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BJ(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BU};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimRight=BU;BV=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=BK(e,E.IsSpace);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BV};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimSpace=BV;BW=function(e,f){var $ptr,e,f;if(AW(e,f)){return $substring(e,f.length);}return e;};$pkg.TrimPrefix=BW;BX=function(e,f){var $ptr,e,f;if(AX(e,f)){return $substring(e,0,(e.length-f.length>>0));}return e;};$pkg.TrimSuffix=BX;BY=function(e,f,g,h){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p;if(f===g||(h===0)){return e;}i=I(e,f);if(i===0){return e;}else if(h<0||i<h){h=i;}j=$makeSlice(CC,(e.length+($imul(h,((g.length-f.length>>0))))>>0));k=0;l=0;m=0;while(true){if(!(m<h)){break;}n=l;if(f.length===0){if(m>0){o=A.DecodeRuneInString($substring(e,l));p=o[1];n=n+(p)>>0;}}else{n=n+(G($substring(e,l),f))>>0;}k=k+($copyString($subslice(j,k),$substring(e,l,n)))>>0;k=k+($copyString($subslice(j,k),g))>>0;l=n+f.length>>0;m=m+(1)>>0;}k=k+($copyString($subslice(j,k),$substring(e,l)))>>0;return($bytesToString($subslice(j,0,k)));};$pkg.Replace=BY;BZ=function(e,f){var $ptr,aa,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;while(true){if(!(!(e===\"\")&&!(f===\"\"))){break;}g=0;h=0;i=g;j=h;if(e.charCodeAt(0)<128){k=((e.charCodeAt(0)>>0));l=$substring(e,1);i=k;e=l;}else{m=A.DecodeRuneInString(e);n=m[0];o=m[1];p=n;q=$substring(e,o);i=p;e=q;}if(f.charCodeAt(0)<128){r=((f.charCodeAt(0)>>0));s=$substring(f,1);j=r;f=s;}else{t=A.DecodeRuneInString(f);u=t[0];v=t[1];w=u;x=$substring(f,v);j=w;f=x;}if(j===i){continue;}if(j<i){y=i;z=j;j=y;i=z;}if(j<128&&65<=i&&i<=90){if(j===((i+97>>0)-65>>0)){continue;}return false;}aa=E.SimpleFold(i);while(true){if(!(!((aa===i))&&aa<j)){break;}aa=E.SimpleFold(aa);}if(aa===j){continue;}return false;}return e===f;};$pkg.EqualFold=BZ;CO.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([CC],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([CC,$Int64],[$Int,$error],false)},{prop:\"ReadByte\",name:\"ReadByte\",pkg:\"\",typ:$funcType([],[$Uint8,$error],false)},{prop:\"UnreadByte\",name:\"UnreadByte\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([D.Writer],[$Int64,$error],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([$String],[],false)}];CP.methods=[{prop:\"Replace\",name:\"Replace\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([D.Writer,$String],[$Int,$error],false)}];CF.methods=[{prop:\"add\",name:\"add\",pkg:\"strings\",typ:$funcType([$String,$String,$Int,CQ],[],false)}];CQ.methods=[{prop:\"lookup\",name:\"lookup\",pkg:\"strings\",typ:$funcType([$String,$Bool],[$String,$Int,$Bool],false)},{prop:\"Replace\",name:\"Replace\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([D.Writer,$String],[$Int,$error],false)}];CH.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([CC],[$Int,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)}];U.methods=[{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)}];CR.methods=[{prop:\"Replace\",name:\"Replace\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([D.Writer,$String],[$Int,$error],false)}];CB.methods=[{prop:\"Replace\",name:\"Replace\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([D.Writer,$String],[$Int,$error],false)}];CE.methods=[{prop:\"Replace\",name:\"Replace\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([D.Writer,$String],[$Int,$error],false)}];CI.methods=[{prop:\"next\",name:\"next\",pkg:\"strings\",typ:$funcType([$String],[$Int],false)}];CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];K.init(\"strings\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int64,tag:\"\"},{prop:\"prevRune\",name:\"prevRune\",exported:false,typ:$Int,tag:\"\"}]);M.init(\"strings\",[{prop:\"r\",name:\"r\",exported:false,typ:N,tag:\"\"}]);N.init([{prop:\"Replace\",name:\"Replace\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([D.Writer,$String],[$Int,$error],false)}]);P.init(\"strings\",[{prop:\"value\",name:\"value\",exported:false,typ:$String,tag:\"\"},{prop:\"priority\",name:\"priority\",exported:false,typ:$Int,tag:\"\"},{prop:\"prefix\",name:\"prefix\",exported:false,typ:$String,tag:\"\"},{prop:\"next\",name:\"next\",exported:false,typ:CF,tag:\"\"},{prop:\"table\",name:\"table\",exported:false,typ:CG,tag:\"\"}]);Q.init(\"strings\",[{prop:\"root\",name:\"root\",exported:false,typ:P,tag:\"\"},{prop:\"tableSize\",name:\"tableSize\",exported:false,typ:$Int,tag:\"\"},{prop:\"mapping\",name:\"mapping\",exported:false,typ:CA,tag:\"\"}]);S.init($Uint8);T.init([{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)}]);U.init(\"strings\",[{prop:\"w\",name:\"w\",exported:false,typ:D.Writer,tag:\"\"}]);W.init(\"strings\",[{prop:\"finder\",name:\"finder\",exported:false,typ:CI,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$String,tag:\"\"}]);Y.init($Uint8,256);Z.init(CC,256);AA.init(\"strings\",[{prop:\"pattern\",name:\"pattern\",exported:false,typ:$String,tag:\"\"},{prop:\"badCharSkip\",name:\"badCharSkip\",exported:false,typ:CJ,tag:\"\"},{prop:\"goodSuffixSkip\",name:\"goodSuffixSkip\",exported:false,typ:CK,tag:\"\"}]);BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf16\"]=(function(){var $pkg={},$init,A,B;A=function(a){var $ptr,a;return 55296<=a&&a<57344;};$pkg.IsSurrogate=A;B=function(a,b){var $ptr,a,b;if(55296<=a&&a<56320&&56320<=b&&b<57344){return((((a-55296>>0))<<10>>0)|((b-56320>>0)))+65536>>0;}return 65533;};$pkg.DecodeRune=B;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"encoding/json\"]=(function(){var $pkg={},$init,A,B,C,D,E,O,Q,L,F,G,M,H,N,P,I,J,K,S,T,V,W,Y,AA,AK,CH,CJ,CY,CZ,EI,EO,EP,ET,EV,EY,EZ,FA,FB,FC,FE,FF,FG,FH,FI,FJ,FM,FP,FR,FS,FT,FV,FW,GI,GJ,GK,GL,Z,AB,AC,AD,AZ,BA,CM,a,b,c,X,AE,AF,AG,CD,CI,CK,CL,CN,CO,CP,CQ,CR,CX,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,DS,DT,DU,DV,DW,DX,DY,DZ,EA,EB,EC,ED,EE,EF,EG,EH,EJ,EK,EQ,EU;A=$packages[\"bytes\"];B=$packages[\"encoding\"];C=$packages[\"encoding/base64\"];D=$packages[\"errors\"];E=$packages[\"fmt\"];O=$packages[\"github.com/gopherjs/gopherjs/nosync\"];Q=$packages[\"io\"];L=$packages[\"math\"];F=$packages[\"reflect\"];G=$packages[\"runtime\"];M=$packages[\"sort\"];H=$packages[\"strconv\"];N=$packages[\"strings\"];P=$packages[\"sync/atomic\"];I=$packages[\"unicode\"];J=$packages[\"unicode/utf16\"];K=$packages[\"unicode/utf8\"];S=$pkg.Unmarshaler=$newType(8,$kindInterface,\"json.Unmarshaler\",true,\"encoding/json\",true,null);T=$pkg.UnmarshalTypeError=$newType(0,$kindStruct,\"json.UnmarshalTypeError\",true,\"encoding/json\",true,function(Value_,Type_,Offset_,Struct_,Field_){this.$val=this;if(arguments.length===0){this.Value=\"\";this.Type=$ifaceNil;this.Offset=new $Int64(0,0);this.Struct=\"\";this.Field=\"\";return;}this.Value=Value_;this.Type=Type_;this.Offset=Offset_;this.Struct=Struct_;this.Field=Field_;});V=$pkg.InvalidUnmarshalError=$newType(0,$kindStruct,\"json.InvalidUnmarshalError\",true,\"encoding/json\",true,function(Type_){this.$val=this;if(arguments.length===0){this.Type=$ifaceNil;return;}this.Type=Type_;});W=$pkg.Number=$newType(8,$kindString,\"json.Number\",true,\"encoding/json\",true,null);Y=$pkg.decodeState=$newType(0,$kindStruct,\"json.decodeState\",true,\"encoding/json\",false,function(data_,off_,scan_,nextscan_,errorContext_,savedError_,useNumber_){this.$val=this;if(arguments.length===0){this.data=EZ.nil;this.off=0;this.scan=new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0));this.nextscan=new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0));this.errorContext=new FF.ptr(\"\",\"\");this.savedError=$ifaceNil;this.useNumber=false;return;}this.data=data_;this.off=off_;this.scan=scan_;this.nextscan=nextscan_;this.errorContext=errorContext_;this.savedError=savedError_;this.useNumber=useNumber_;});AA=$pkg.unquotedValue=$newType(0,$kindStruct,\"json.unquotedValue\",true,\"encoding/json\",false,function(){this.$val=this;if(arguments.length===0){return;}});AK=$pkg.Marshaler=$newType(8,$kindInterface,\"json.Marshaler\",true,\"encoding/json\",true,null);CH=$pkg.field=$newType(0,$kindStruct,\"json.field\",true,\"encoding/json\",false,function(name_,nameBytes_,equalFold_,tag_,index_,typ_,omitEmpty_,quoted_){this.$val=this;if(arguments.length===0){this.name=\"\";this.nameBytes=EZ.nil;this.equalFold=$throwNilPointerError;this.tag=false;this.index=FE.nil;this.typ=$ifaceNil;this.omitEmpty=false;this.quoted=false;return;}this.name=name_;this.nameBytes=nameBytes_;this.equalFold=equalFold_;this.tag=tag_;this.index=index_;this.typ=typ_;this.omitEmpty=omitEmpty_;this.quoted=quoted_;});CJ=$pkg.byIndex=$newType(12,$kindSlice,\"json.byIndex\",true,\"encoding/json\",false,null);CY=$pkg.SyntaxError=$newType(0,$kindStruct,\"json.SyntaxError\",true,\"encoding/json\",true,function(msg_,Offset_){this.$val=this;if(arguments.length===0){this.msg=\"\";this.Offset=new $Int64(0,0);return;}this.msg=msg_;this.Offset=Offset_;});CZ=$pkg.scanner=$newType(0,$kindStruct,\"json.scanner\",true,\"encoding/json\",false,function(step_,endTop_,parseState_,err_,redo_,redoCode_,redoState_,bytes_){this.$val=this;if(arguments.length===0){this.step=$throwNilPointerError;this.endTop=false;this.parseState=FE.nil;this.err=$ifaceNil;this.redo=false;this.redoCode=0;this.redoState=$throwNilPointerError;this.bytes=new $Int64(0,0);return;}this.step=step_;this.endTop=endTop_;this.parseState=parseState_;this.err=err_;this.redo=redo_;this.redoCode=redoCode_;this.redoState=redoState_;this.bytes=bytes_;});EI=$pkg.Decoder=$newType(0,$kindStruct,\"json.Decoder\",true,\"encoding/json\",true,function(r_,buf_,d_,scanp_,scan_,err_,tokenState_,tokenStack_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.buf=EZ.nil;this.d=new Y.ptr(EZ.nil,0,new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0)),new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0)),new FF.ptr(\"\",\"\"),$ifaceNil,false);this.scanp=0;this.scan=new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0));this.err=$ifaceNil;this.tokenState=0;this.tokenStack=FE.nil;return;}this.r=r_;this.buf=buf_;this.d=d_;this.scanp=scanp_;this.scan=scan_;this.err=err_;this.tokenState=tokenState_;this.tokenStack=tokenStack_;});EO=$pkg.Token=$newType(8,$kindInterface,\"json.Token\",true,\"encoding/json\",true,null);EP=$pkg.Delim=$newType(4,$kindInt32,\"json.Delim\",true,\"encoding/json\",true,null);ET=$pkg.tagOptions=$newType(8,$kindString,\"json.tagOptions\",true,\"encoding/json\",false,null);EV=$sliceType($emptyInterface);EY=$structType(\"encoding/json\",[{prop:\"value\",name:\"value\",exported:false,typ:P.Value,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:O.Mutex,tag:\"\"}]);EZ=$sliceType($Uint8);FA=$ptrType(B.TextUnmarshaler);FB=$ptrType(AK);FC=$ptrType(B.TextMarshaler);FE=$sliceType($Int);FF=$structType(\"\",[{prop:\"Struct\",name:\"Struct\",exported:true,typ:$String,tag:\"\"},{prop:\"Field\",name:\"Field\",exported:true,typ:$String,tag:\"\"}]);FG=$ptrType(T);FH=$ptrType(F.rtype);FI=$mapType($String,$emptyInterface);FJ=$ptrType(CH);FM=$sliceType(CH);FP=$mapType(F.Type,FM);FR=$ptrType($String);FS=$ptrType($emptyInterface);FT=$ptrType(CY);FV=$ptrType(V);FW=$ptrType(Y);GI=$funcType([EZ,EZ],[$Bool],false);GJ=$ptrType(CZ);GK=$funcType([GJ,$Uint8],[$Int],false);GL=$ptrType(EI);T.ptr.prototype.Error=function(){var $ptr,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(!(d.Struct===\"\")||!(d.Field===\"\")){$s=1;continue;}$s=2;continue;case 1:e=d.Type.String();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return\"json: cannot unmarshal \"+d.Value+\" into Go struct field \"+d.Struct+\".\"+d.Field+\" of type \"+e;case 2:f=d.Type.String();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return\"json: cannot unmarshal \"+d.Value+\" into Go value of type \"+f;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.Error};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.Error=function(){return this.$val.Error();};V.ptr.prototype.Error=function(){var $ptr,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if($interfaceIsEqual(d.Type,$ifaceNil)){$s=-1;return\"json: Unmarshal(nil)\";}e=d.Type.Kind();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(!((e===22))){$s=1;continue;}$s=2;continue;case 1:f=d.Type.String();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return\"json: Unmarshal(non-pointer \"+f+\")\";case 2:g=d.Type.String();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return\"json: Unmarshal(nil \"+g+\")\";}return;}if($f===undefined){$f={$blk:V.ptr.prototype.Error};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.unmarshal=function(d){var $ptr,d,e,f,g,h,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=[e];e[0]=$ifaceNil;f=this;$deferred.push([(function(e){return function(){var $ptr,g,h,i;g=$recover();if(!($interfaceIsEqual(g,$ifaceNil))){h=$assertType(g,G.Error,true);i=h[1];if(i){$panic(g);}e[0]=$assertType(g,$error);}};})(e),[]]);g=F.ValueOf(d);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!(($clone(h,F.Value).Kind()===22))||$clone(h,F.Value).IsNil()){e[0]=new V.ptr(F.TypeOf(d));$s=-1;return e[0];}f.scan.reset();$r=f.value($clone(h,F.Value));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e[0]=f.savedError;$s=-1;return e[0];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return e[0];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:Y.ptr.prototype.unmarshal};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};Y.prototype.unmarshal=function(d){return this.$val.unmarshal(d);};W.prototype.String=function(){var $ptr,d;d=this.$val;return(d);};$ptrType(W).prototype.String=function(){return new W(this.$get()).String();};W.prototype.Float64=function(){var $ptr,d;d=this.$val;return H.ParseFloat((d),64);};$ptrType(W).prototype.Float64=function(){return new W(this.$get()).Float64();};W.prototype.Int64=function(){var $ptr,d;d=this.$val;return H.ParseInt((d),10,64);};$ptrType(W).prototype.Int64=function(){return new W(this.$get()).Int64();};X=function(d){var $ptr,d;if(d===\"\"){return false;}if(d.charCodeAt(0)===45){d=$substring(d,1);if(d===\"\"){return false;}}if((d.charCodeAt(0)===48)){d=$substring(d,1);}else if(49<=d.charCodeAt(0)&&d.charCodeAt(0)<=57){d=$substring(d,1);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}else{return false;}if(d.length>=2&&(d.charCodeAt(0)===46)&&48<=d.charCodeAt(1)&&d.charCodeAt(1)<=57){d=$substring(d,2);while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}if(d.length>=2&&((d.charCodeAt(0)===101)||(d.charCodeAt(0)===69))){d=$substring(d,1);if((d.charCodeAt(0)===43)||(d.charCodeAt(0)===45)){d=$substring(d,1);if(d===\"\"){return false;}}while(true){if(!(d.length>0&&48<=d.charCodeAt(0)&&d.charCodeAt(0)<=57)){break;}d=$substring(d,1);}}return d===\"\";};Y.ptr.prototype.init=function(d){var $ptr,d,e;e=this;e.data=d;e.off=0;e.savedError=$ifaceNil;e.errorContext.Struct=\"\";e.errorContext.Field=\"\";return e;};Y.prototype.init=function(d){return this.$val.init(d);};Y.ptr.prototype.error=function(d){var $ptr,d,e;e=this;$panic(e.addErrorContext(d));};Y.prototype.error=function(d){return this.$val.error(d);};Y.ptr.prototype.saveError=function(d){var $ptr,d,e;e=this;if($interfaceIsEqual(e.savedError,$ifaceNil)){e.savedError=e.addErrorContext(d);}};Y.prototype.saveError=function(d){return this.$val.saveError(d);};Y.ptr.prototype.addErrorContext=function(d){var $ptr,d,e,f,g;e=this;if(!(e.errorContext.Struct===\"\")||!(e.errorContext.Field===\"\")){f=d;if($assertType(f,FG,true)[1]){g=f.$val;g.Struct=e.errorContext.Struct;g.Field=e.errorContext.Field;return g;}}return d;};Y.prototype.addErrorContext=function(d){return this.$val.addErrorContext(d);};Y.ptr.prototype.next=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;g=(e=d.data,f=d.off,((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]));i=CX($subslice(d.data,d.off),d.nextscan);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];l=h[2];if(!($interfaceIsEqual(l,$ifaceNil))){d.error(l);}d.off=d.data.$length-k.$length>>0;if(g===123){$s=2;continue;}$s=3;continue;case 2:m=d.scan.step(d.scan,125);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=4;continue;case 3:n=d.scan.step(d.scan,93);$s=6;case 6:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 4:$s=-1;return j;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.next};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.next=function(){return this.$val.next();};Y.ptr.prototype.scanWhile=function(d){var $ptr,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=0;case 1:if(e.off>=e.data.$length){$s=3;continue;}$s=4;continue;case 3:g=e.scan.eof();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;e.off=e.data.$length+1>>0;$s=5;continue;case 4:j=(h=e.data,i=e.off,((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]));e.off=e.off+(1)>>0;k=e.scan.step(e.scan,j);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}f=k;case 5:if(!((f===d))){$s=2;continue;}$s=1;continue;case 2:$s=-1;return f;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.scanWhile};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.scanWhile=function(d){return this.$val.scanWhile(d);};Y.ptr.prototype.value=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!$clone(d,F.Value).IsValid()){$s=1;continue;}$s=2;continue;case 1:g=CX($subslice(e.data,e.off),e.nextscan);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];i=f[2];if(!($interfaceIsEqual(i,$ifaceNil))){e.error(i);}e.off=e.data.$length-h.$length>>0;if(e.scan.redo){e.scan.redo=false;e.scan.step=DC;}j=e.scan.step(e.scan,34);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=e.scan.step(e.scan,34);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=e.scan.parseState.$length;if(l>0&&((m=e.scan.parseState,n=l-1>>0,((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]))===0)){$s=6;continue;}$s=7;continue;case 6:o=e.scan.step(e.scan,58);$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=e.scan.step(e.scan,34);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=e.scan.step(e.scan,34);$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=e.scan.step(e.scan,125);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 7:$s=-1;return;case 2:s=e.scanWhile(9);$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=t;if(u===(6)){$s=14;continue;}if(u===(2)){$s=15;continue;}if(u===(1)){$s=16;continue;}$s=17;continue;case 14:$r=e.array($clone(d,F.Value));$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 15:$r=e.object($clone(d,F.Value));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 16:$r=e.literal($clone(d,F.Value));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=18;continue;case 17:e.error(Z);case 18:case 12:$s=-1;return;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.value};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.value=function(d){return this.$val.value(d);};Y.ptr.prototype.valueQuoted=function(){var $ptr,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=d.scanWhile(9);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=f;if(g===(6)){$s=3;continue;}if(g===(2)){$s=4;continue;}if(g===(1)){$s=5;continue;}$s=6;continue;case 3:$r=d.array(new F.Value.ptr(FH.nil,0,0));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 4:$r=d.object(new F.Value.ptr(FH.nil,0,0));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 5:i=d.literalInterface();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;if(h===$ifaceNil||$assertType(h,$String,true)[1]){$s=11;continue;}$s=12;continue;case 11:j=h;$s=-1;return j;case 12:$s=7;continue;case 6:d.error(Z);case 7:case 1:$s=-1;return(k=new AA.ptr(),new k.constructor.elem(k));}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.valueQuoted};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.valueQuoted=function(){return this.$val.valueQuoted();};Y.ptr.prototype.indirect=function(d,e){var $ptr,aa,ab,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(!(!(($clone(d,F.Value).Kind()===22)))){g=false;$s=3;continue s;}h=$clone(d,F.Value).Type().Name();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=!(h===\"\");case 3:if(g&&$clone(d,F.Value).CanAddr()){$s=1;continue;}$s=2;continue;case 1:d=$clone(d,F.Value).Addr();case 2:case 5:if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=7;continue;}$s=8;continue;case 7:i=$clone(d,F.Value).Elem();$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!(($clone(j,F.Value).Kind()===22)&&!$clone(j,F.Value).IsNil())){k=false;$s=12;continue s;}if(!e){l=true;$s=13;continue s;}m=$clone(j,F.Value).Elem();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=$clone(m,F.Value).Kind();$s=15;case 15:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n===22;case 13:k=l;case 12:if(k){$s=10;continue;}$s=11;continue;case 10:d=j;$s=5;continue;case 11:case 8:if(!(($clone(d,F.Value).Kind()===22))){$s=6;continue;}o=$clone(d,F.Value).Elem();$s=18;case 18:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=$clone(o,F.Value).Kind();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(!((p===22))&&e&&$clone(d,F.Value).CanSet()){$s=16;continue;}$s=17;continue;case 16:$s=6;continue;case 17:if($clone(d,F.Value).IsNil()){$s=20;continue;}$s=21;continue;case 20:q=$clone(d,F.Value).Type().Elem();$s=22;case 22:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=F.New(q);$s=23;case 23:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$r=$clone(d,F.Value).Set($clone(r,F.Value));$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:s=$clone(d,F.Value).Type().NumMethod();$s=27;case 27:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(s>0){$s=25;continue;}$s=26;continue;case 25:u=$clone(d,F.Value).Interface();$s=28;case 28:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=$assertType(u,S,true);v=t[0];w=t[1];if(w){$s=-1;return[v,$ifaceNil,new F.Value.ptr(FH.nil,0,0)];}if(!e){$s=29;continue;}$s=30;continue;case 29:y=$clone(d,F.Value).Interface();$s=31;case 31:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=$assertType(y,B.TextUnmarshaler,true);z=x[0];aa=x[1];if(aa){$s=-1;return[$ifaceNil,z,new F.Value.ptr(FH.nil,0,0)];}case 30:case 26:ab=$clone(d,F.Value).Elem();$s=32;case 32:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}d=ab;$s=5;continue;case 6:$s=-1;return[$ifaceNil,$ifaceNil,d];}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.indirect};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.indirect=function(d,e){return this.$val.indirect(d,e);};Y.ptr.prototype.array=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;g=e.indirect($clone(d,F.Value),false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=f[2];if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:e.off=e.off-(1)>>0;k=e.next();$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=h.UnmarshalJSON(k);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;if(!($interfaceIsEqual(m,$ifaceNil))){e.error(m);}$s=-1;return;case 3:if(!($interfaceIsEqual(i,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:e.saveError(new T.ptr(\"array\",$clone(d,F.Value).Type(),(new $Int64(0,e.off)),\"\",\"\"));e.off=e.off-(1)>>0;n=e.next();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=-1;return;case 7:d=j;o=$clone(d,F.Value).Kind();if(o===(20)){$s=10;continue;}if(o===(17)){$s=11;continue;}if(o===(23)){$s=12;continue;}$s=13;continue;case 10:p=$clone(d,F.Value).NumMethod();$s=17;case 17:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(p===0){$s=15;continue;}$s=16;continue;case 15:q=e.arrayInterface();$s=18;case 18:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=F.ValueOf(q);$s=19;case 19:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$r=$clone(d,F.Value).Set($clone(r,F.Value));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 16:e.saveError(new T.ptr(\"array\",$clone(d,F.Value).Type(),(new $Int64(0,e.off)),\"\",\"\"));e.off=e.off-(1)>>0;s=e.next();$s=21;case 21:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return;case 11:$s=14;continue;case 12:$s=9;continue;$s=14;continue;case 13:e.saveError(new T.ptr(\"array\",$clone(d,F.Value).Type(),(new $Int64(0,e.off)),\"\",\"\"));e.off=e.off-(1)>>0;t=e.next();$s=22;case 22:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;$s=-1;return;case 14:case 9:u=0;case 23:v=e.scanWhile(9);$s=25;case 25:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;if(w===8){$s=24;continue;}e.off=e.off-(1)>>0;e.scan.undo(w);if($clone(d,F.Value).Kind()===23){$s=26;continue;}$s=27;continue;case 26:if(u>=$clone(d,F.Value).Cap()){$s=28;continue;}$s=29;continue;case 28:y=$clone(d,F.Value).Cap()+(x=$clone(d,F.Value).Cap()/2,(x===x&&x!==1/0&&x!==-1/0)?x>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(y<4){y=4;}z=F.MakeSlice($clone(d,F.Value).Type(),$clone(d,F.Value).Len(),y);$s=30;case 30:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;ab=F.Copy($clone(aa,F.Value),$clone(d,F.Value));$s=31;case 31:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ab;$r=$clone(d,F.Value).Set($clone(aa,F.Value));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:if(u>=$clone(d,F.Value).Len()){$clone(d,F.Value).SetLen(u+1>>0);}case 27:if(u<$clone(d,F.Value).Len()){$s=33;continue;}$s=34;continue;case 33:ac=$clone(d,F.Value).Index(u);$s=36;case 36:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}$r=e.value($clone(ac,F.Value));$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=35;continue;case 34:$r=e.value(new F.Value.ptr(FH.nil,0,0));$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 35:u=u+(1)>>0;ad=e.scanWhile(9);$s=39;case 39:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}w=ad;if(w===8){$s=24;continue;}if(!((w===7))){e.error(Z);}$s=23;continue;case 24:if(u<$clone(d,F.Value).Len()){$s=40;continue;}$s=41;continue;case 40:if($clone(d,F.Value).Kind()===17){$s=42;continue;}$s=43;continue;case 42:ae=$clone(d,F.Value).Type().Elem();$s=45;case 45:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=F.Zero(ae);$s=46;case 46:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;case 47:if(!(u<$clone(d,F.Value).Len())){$s=48;continue;}ah=$clone(d,F.Value).Index(u);$s=49;case 49:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}$r=$clone(ah,F.Value).Set($clone(ag,F.Value));$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=47;continue;case 48:$s=44;continue;case 43:$clone(d,F.Value).SetLen(u);case 44:case 41:if((u===0)&&($clone(d,F.Value).Kind()===23)){$s=51;continue;}$s=52;continue;case 51:ai=F.MakeSlice($clone(d,F.Value).Type(),0,0);$s=53;case 53:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}$r=$clone(d,F.Value).Set($clone(ai,F.Value));$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 52:$s=-1;return;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.array};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.array=function(d){return this.$val.array(d);};Y.ptr.prototype.object=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;g=e.indirect($clone(d,F.Value),false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=f[2];if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:e.off=e.off-(1)>>0;k=e.next();$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=h.UnmarshalJSON(k);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;if(!($interfaceIsEqual(m,$ifaceNil))){e.error(m);}$s=-1;return;case 3:if(!($interfaceIsEqual(i,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:e.saveError(new T.ptr(\"object\",$clone(d,F.Value).Type(),(new $Int64(0,e.off)),\"\",\"\"));e.off=e.off-(1)>>0;n=e.next();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=-1;return;case 7:d=j;if(!($clone(d,F.Value).Kind()===20)){o=false;$s=11;continue s;}p=$clone(d,F.Value).NumMethod();$s=12;case 12:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p===0;case 11:if(o){$s=9;continue;}$s=10;continue;case 9:q=e.objectInterface();$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=F.ValueOf(new FI(q));$s=14;case 14:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$r=$clone(d,F.Value).Set($clone(r,F.Value));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:s=$clone(d,F.Value).Kind();if(s===(21)){$s=17;continue;}if(s===(25)){$s=18;continue;}$s=19;continue;case 17:t=$clone(d,F.Value).Type();u=t.Key();$s=22;case 22:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u.Kind();$s=23;case 23:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;if((w===(24))||(w===(2))||(w===(3))||(w===(4))||(w===(5))||(w===(6))||(w===(7))||(w===(8))||(w===(9))||(w===(10))||(w===(11))||(w===(12))){$s=24;continue;}x=t.Key();$s=27;case 27:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=F.PtrTo(x);$s=28;case 28:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y.Implements(AC);$s=29;case 29:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}if(!z){$s=25;continue;}$s=26;continue;case 24:$s=26;continue;case 25:e.saveError(new T.ptr(\"object\",$clone(d,F.Value).Type(),(new $Int64(0,e.off)),\"\",\"\"));e.off=e.off-(1)>>0;aa=e.next();$s=30;case 30:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;$s=-1;return;case 26:case 21:if($clone(d,F.Value).IsNil()){$s=31;continue;}$s=32;continue;case 31:ab=F.MakeMap(t);$s=33;case 33:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}$r=$clone(d,F.Value).Set($clone(ab,F.Value));$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 32:$s=20;continue;case 18:$s=20;continue;case 19:e.saveError(new T.ptr(\"object\",$clone(d,F.Value).Type(),(new $Int64(0,e.off)),\"\",\"\"));e.off=e.off-(1)>>0;ac=e.next();$s=35;case 35:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;$s=-1;return;case 20:case 16:ad=new F.Value.ptr(FH.nil,0,0);case 36:ae=e.scanWhile(9);$s=38;case 38:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;if(af===5){$s=37;continue;}if(!((af===1))){e.error(Z);}ag=e.off-1>>0;ah=e.scanWhile(0);$s=39;case 39:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}af=ah;ai=$subslice(e.data,ag,(e.off-1>>0));aj=AG(ai);ak=aj[0];al=aj[1];if(!al){e.error(Z);}am=new F.Value.ptr(FH.nil,0,0);an=false;if($clone(d,F.Value).Kind()===21){$s=40;continue;}$s=41;continue;case 40:ao=$clone(d,F.Value).Type().Elem();$s=43;case 43:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;if(!$clone(ad,F.Value).IsValid()){$s=44;continue;}$s=45;continue;case 44:aq=F.New(ap);$s=47;case 47:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,F.Value).Elem();$s=48;case 48:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}ad=ar;$s=46;continue;case 45:as=F.Zero(ap);$s=49;case 49:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=$clone(ad,F.Value).Set($clone(as,F.Value));$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 46:am=ad;$s=42;continue;case 41:at=FJ.nil;au=CN($clone(d,F.Value).Type());$s=51;case 51:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=av;ax=0;case 52:if(!(ax<aw.$length)){$s=53;continue;}ay=ax;az=((ay<0||ay>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+ay]);if(A.Equal(az.nameBytes,ak)){at=az;$s=53;continue;}if(!(at===FJ.nil)){ba=false;$s=56;continue s;}bb=az.equalFold(az.nameBytes,ak);$s=57;case 57:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;case 56:if(ba){$s=54;continue;}$s=55;continue;case 54:at=az;case 55:ax++;$s=52;continue;case 53:if(!(at===FJ.nil)){$s=58;continue;}$s=59;continue;case 58:am=d;an=at.quoted;bc=at.index;bd=0;case 60:if(!(bd<bc.$length)){$s=61;continue;}be=((bd<0||bd>=bc.$length)?($throwRuntimeError(\"index out of range\"),undefined):bc.$array[bc.$offset+bd]);if($clone(am,F.Value).Kind()===22){$s=62;continue;}$s=63;continue;case 62:if($clone(am,F.Value).IsNil()){$s=64;continue;}$s=65;continue;case 64:bf=$clone(am,F.Value).Type().Elem();$s=66;case 66:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=F.New(bf);$s=67;case 67:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}$r=$clone(am,F.Value).Set($clone(bg,F.Value));$s=68;case 68:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 65:bh=$clone(am,F.Value).Elem();$s=69;case 69:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}am=bh;case 63:bi=$clone(am,F.Value).Field(be);$s=70;case 70:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}am=bi;bd++;$s=60;continue;case 61:e.errorContext.Field=at.name;bj=$clone(d,F.Value).Type().Name();$s=71;case 71:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}e.errorContext.Struct=bj;case 59:case 42:if(af===9){$s=72;continue;}$s=73;continue;case 72:bk=e.scanWhile(9);$s=74;case 74:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}af=bk;case 73:if(!((af===3))){e.error(Z);}if(an){$s=75;continue;}$s=76;continue;case 75:bm=e.valueQuoted();$s=78;case 78:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bl=bm;if(bl===$ifaceNil){$s=79;continue;}if($assertType(bl,$String,true)[1]){$s=80;continue;}$s=81;continue;case 79:bn=bl;$r=e.literalStore(AB,$clone(am,F.Value),false);$s=83;case 83:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=82;continue;case 80:bo=bl.$val;$r=e.literalStore((new EZ($stringToBytes(bo))),$clone(am,F.Value),true);$s=84;case 84:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=82;continue;case 81:bp=bl;bq=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal unquoted value into %v\",new EV([$clone(am,F.Value).Type()]));$s=85;case 85:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}$r=e.saveError(bq);$s=86;case 86:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 82:$s=77;continue;case 76:$r=e.value($clone(am,F.Value));$s=87;case 87:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 77:if($clone(d,F.Value).Kind()===21){$s=88;continue;}$s=89;continue;case 88:br=$clone(d,F.Value).Type().Key();$s=90;case 90:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bs=br;bt=new F.Value.ptr(FH.nil,0,0);bu=bs.Kind();$s=96;case 96:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}if((bu===24)){$s=92;continue;}bv=F.PtrTo(bs).Implements(AC);$s=97;case 97:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(bv){$s=93;continue;}$s=94;continue;case 92:bw=F.ValueOf(ak);$s=98;case 98:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=$clone(bw,F.Value).Convert(bs);$s=99;case 99:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}bt=bx;$s=95;continue;case 93:by=$clone(d,F.Value).Type().Key();$s=100;case 100:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bz=F.New(by);$s=101;case 101:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}bt=bz;$r=e.literalStore(ai,$clone(bt,F.Value),true);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ca=$clone(bt,F.Value).Elem();$s=103;case 103:if($c){$c=false;ca=ca.$blk();}if(ca&&ca.$blk!==undefined){break s;}bt=ca;$s=95;continue;case 94:cb=bs.Kind();$s=105;case 105:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;if((cc===(2))||(cc===(3))||(cc===(4))||(cc===(5))||(cc===(6))){$s=106;continue;}if((cc===(7))||(cc===(8))||(cc===(9))||(cc===(10))||(cc===(11))||(cc===(12))){$s=107;continue;}$s=108;continue;case 106:cd=($bytesToString(ak));ce=H.ParseInt(cd,10,64);cf=ce[0];cg=ce[1];if(!($interfaceIsEqual(cg,$ifaceNil))){ch=true;$s=112;continue s;}ci=F.Zero(bs);$s=113;case 113:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}cj=$clone(ci,F.Value).OverflowInt(cf);$s=114;case 114:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ch=cj;case 112:if(ch){$s=110;continue;}$s=111;continue;case 110:e.saveError(new T.ptr(\"number \"+cd,bs,(new $Int64(0,(ag+1>>0))),\"\",\"\"));$s=-1;return;case 111:ck=F.ValueOf(cf);$s=115;case 115:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cl=$clone(ck,F.Value).Convert(bs);$s=116;case 116:if($c){$c=false;cl=cl.$blk();}if(cl&&cl.$blk!==undefined){break s;}bt=cl;$s=109;continue;case 107:cm=($bytesToString(ak));cn=H.ParseUint(cm,10,64);co=cn[0];cp=cn[1];if(!($interfaceIsEqual(cp,$ifaceNil))){cq=true;$s=119;continue s;}cr=F.Zero(bs);$s=120;case 120:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=$clone(cr,F.Value).OverflowUint(co);$s=121;case 121:if($c){$c=false;cs=cs.$blk();}if(cs&&cs.$blk!==undefined){break s;}cq=cs;case 119:if(cq){$s=117;continue;}$s=118;continue;case 117:e.saveError(new T.ptr(\"number \"+cm,bs,(new $Int64(0,(ag+1>>0))),\"\",\"\"));$s=-1;return;case 118:ct=F.ValueOf(co);$s=122;case 122:if($c){$c=false;ct=ct.$blk();}if(ct&&ct.$blk!==undefined){break s;}cu=$clone(ct,F.Value).Convert(bs);$s=123;case 123:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}bt=cu;$s=109;continue;case 108:$panic(new $String(\"json: Unexpected key type\"));case 109:case 104:case 95:case 91:$r=$clone(d,F.Value).SetMapIndex($clone(bt,F.Value),$clone(am,F.Value));$s=124;case 124:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 89:cv=e.scanWhile(9);$s=125;case 125:if($c){$c=false;cv=cv.$blk();}if(cv&&cv.$blk!==undefined){break s;}af=cv;if(af===5){$s=37;continue;}if(!((af===4))){e.error(Z);}e.errorContext.Struct=\"\";e.errorContext.Field=\"\";$s=36;continue;case 37:$s=-1;return;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.object};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.object=function(d){return this.$val.object(d);};Y.ptr.prototype.literal=function(d){var $ptr,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.off-1>>0;g=e.scanWhile(0);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;e.off=e.off-(1)>>0;e.scan.undo(h);$r=e.literalStore($subslice(e.data,f,e.off),$clone(d,F.Value),false);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.literal};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.literal=function(d){return this.$val.literal(d);};Y.ptr.prototype.convertNumber=function(d){var $ptr,d,e,f,g,h;e=this;if(e.useNumber){return[new W((d)),$ifaceNil];}f=H.ParseFloat(d,64);g=f[0];h=f[1];if(!($interfaceIsEqual(h,$ifaceNil))){return[$ifaceNil,new T.ptr(\"number \"+d,F.TypeOf(new $Float64(0)),(new $Int64(0,e.off)),\"\",\"\")];}return[new $Float64(g),$ifaceNil];};Y.prototype.convertNumber=function(d){return this.$val.convertNumber(d);};Y.ptr.prototype.literalStore=function(d,e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(d.$length===0){$s=1;continue;}$s=2;continue;case 1:h=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=g.saveError(h);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:i=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===110;k=g.indirect($clone(e,F.Value),i);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];n=j[2];if(!($interfaceIsEqual(l,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:o=l.UnmarshalJSON(d);$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){g.error(p);}$s=-1;return;case 7:if(!($interfaceIsEqual(m,$ifaceNil))){$s=9;continue;}$s=10;continue;case 9:if(!(((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===34))){$s=11;continue;}$s=12;continue;case 11:if(f){$s=13;continue;}$s=14;continue;case 13:q=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=16;case 16:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$r=g.saveError(q);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=15;continue;case 14:r=\"\";s=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]);if(s===(110)){r=\"null\";}else if((s===(116))||(s===(102))){r=\"bool\";}else{r=\"number\";}g.saveError(new T.ptr(r,$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));case 15:$s=-1;return;case 12:t=AG(d);u=t[0];v=t[1];if(!v){$s=18;continue;}$s=19;continue;case 18:if(f){$s=20;continue;}$s=21;continue;case 20:w=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=23;case 23:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$r=g.error(w);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=22;continue;case 21:g.error(Z);case 22:case 19:x=m.UnmarshalText(u);$s=25;case 25:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){g.error(y);}$s=-1;return;case 10:e=n;z=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]);aa=z;if(aa===(110)){$s=27;continue;}if((aa===(116))||(aa===(102))){$s=28;continue;}if(aa===(34)){$s=29;continue;}$s=30;continue;case 27:if(f&&!(($bytesToString(d))===\"null\")){$s=32;continue;}$s=33;continue;case 32:ab=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=34;case 34:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}$r=g.saveError(ab);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=26;continue;case 33:ac=$clone(e,F.Value).Kind();if((ac===(20))||(ac===(22))||(ac===(21))||(ac===(23))){$s=37;continue;}$s=38;continue;case 37:ad=F.Zero($clone(e,F.Value).Type());$s=39;case 39:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}$r=$clone(e,F.Value).Set($clone(ad,F.Value));$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 38:case 36:$s=31;continue;case 28:ae=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===116;if(f&&!(($bytesToString(d))===\"true\")&&!(($bytesToString(d))===\"false\")){$s=41;continue;}$s=42;continue;case 41:af=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=43;case 43:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=g.saveError(af);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=26;continue;case 42:ag=$clone(e,F.Value).Kind();if(ag===(1)){$s=46;continue;}if(ag===(20)){$s=47;continue;}if(f){$s=48;continue;}$s=49;continue;case 46:$clone(e,F.Value).SetBool(ae);$s=50;continue;case 47:ah=$clone(e,F.Value).NumMethod();$s=54;case 54:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}if(ah===0){$s=51;continue;}$s=52;continue;case 51:ai=F.ValueOf(new $Bool(ae));$s=55;case 55:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}$r=$clone(e,F.Value).Set($clone(ai,F.Value));$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=53;continue;case 52:g.saveError(new T.ptr(\"bool\",$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));case 53:$s=50;continue;case 48:aj=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=57;case 57:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}$r=g.saveError(aj);$s=58;case 58:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=50;continue;case 49:g.saveError(new T.ptr(\"bool\",$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));case 50:case 45:$s=31;continue;case 29:ak=AG(d);al=ak[0];am=ak[1];if(!am){$s=59;continue;}$s=60;continue;case 59:if(f){$s=61;continue;}$s=62;continue;case 61:an=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=64;case 64:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$r=g.error(an);$s=65;case 65:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=63;continue;case 62:g.error(Z);case 63:case 60:ao=$clone(e,F.Value).Kind();if(ao===(23)){$s=67;continue;}if(ao===(24)){$s=68;continue;}if(ao===(20)){$s=69;continue;}$s=70;continue;case 67:ap=$clone(e,F.Value).Type().Elem();$s=74;case 74:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.Kind();$s=75;case 75:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}if(!((aq===8))){$s=72;continue;}$s=73;continue;case 72:g.saveError(new T.ptr(\"string\",$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));$s=66;continue;case 73:ar=$makeSlice(EZ,C.StdEncoding.DecodedLen(al.$length));as=C.StdEncoding.Decode(ar,al);at=as[0];au=as[1];if(!($interfaceIsEqual(au,$ifaceNil))){g.saveError(au);$s=66;continue;}$r=$clone(e,F.Value).SetBytes($subslice(ar,0,at));$s=76;case 76:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=71;continue;case 68:$clone(e,F.Value).SetString(($bytesToString(al)));$s=71;continue;case 69:av=$clone(e,F.Value).NumMethod();$s=80;case 80:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=77;continue;}$s=78;continue;case 77:aw=F.ValueOf(new $String(($bytesToString(al))));$s=81;case 81:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=$clone(e,F.Value).Set($clone(aw,F.Value));$s=82;case 82:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=79;continue;case 78:g.saveError(new T.ptr(\"string\",$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));case 79:$s=71;continue;case 70:g.saveError(new T.ptr(\"string\",$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));case 71:case 66:$s=31;continue;case 30:if(!((z===45))&&(z<48||z>57)){$s=83;continue;}$s=84;continue;case 83:if(f){$s=85;continue;}$s=86;continue;case 85:ax=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=88;case 88:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$r=g.error(ax);$s=89;case 89:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=87;continue;case 86:g.error(Z);case 87:case 84:ay=($bytesToString(d));az=$clone(e,F.Value).Kind();if(az===(20)){$s=91;continue;}if((az===(2))||(az===(3))||(az===(4))||(az===(5))||(az===(6))){$s=92;continue;}if((az===(7))||(az===(8))||(az===(9))||(az===(10))||(az===(11))||(az===(12))){$s=93;continue;}if((az===(13))||(az===(14))){$s=94;continue;}$s=95;continue;case 91:ba=g.convertNumber(ay);bb=ba[0];bc=ba[1];if(!($interfaceIsEqual(bc,$ifaceNil))){g.saveError(bc);$s=90;continue;}bd=$clone(e,F.Value).NumMethod();$s=99;case 99:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!((bd===0))){$s=97;continue;}$s=98;continue;case 97:g.saveError(new T.ptr(\"number\",$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));$s=90;continue;case 98:be=F.ValueOf(bb);$s=100;case 100:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}$r=$clone(e,F.Value).Set($clone(be,F.Value));$s=101;case 101:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=96;continue;case 92:bf=H.ParseInt(ay,10,64);bg=bf[0];bh=bf[1];if(!($interfaceIsEqual(bh,$ifaceNil))||$clone(e,F.Value).OverflowInt(bg)){g.saveError(new T.ptr(\"number \"+ay,$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));$s=90;continue;}$clone(e,F.Value).SetInt(bg);$s=96;continue;case 93:bi=H.ParseUint(ay,10,64);bj=bi[0];bk=bi[1];if(!($interfaceIsEqual(bk,$ifaceNil))||$clone(e,F.Value).OverflowUint(bj)){g.saveError(new T.ptr(\"number \"+ay,$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));$s=90;continue;}$clone(e,F.Value).SetUint(bj);$s=96;continue;case 94:bm=ay;bn=$clone(e,F.Value).Type().Bits();$s=102;case 102:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bo=bn;bp=H.ParseFloat(bm,bo);$s=103;case 103:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bl=bp;bq=bl[0];br=bl[1];if(!($interfaceIsEqual(br,$ifaceNil))||$clone(e,F.Value).OverflowFloat(bq)){g.saveError(new T.ptr(\"number \"+ay,$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));$s=90;continue;}$clone(e,F.Value).SetFloat(bq);$s=96;continue;case 95:if(($clone(e,F.Value).Kind()===24)&&$interfaceIsEqual($clone(e,F.Value).Type(),AD)){$s=104;continue;}$s=105;continue;case 104:$clone(e,F.Value).SetString(ay);if(!X(ay)){$s=106;continue;}$s=107;continue;case 106:bs=E.Errorf(\"json: invalid number literal, trying to unmarshal %q into Number\",new EV([d]));$s=108;case 108:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=g.error(bs);$s=109;case 109:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 107:$s=90;continue;case 105:if(f){$s=110;continue;}$s=111;continue;case 110:bt=E.Errorf(\"json: invalid use of ,string struct tag, trying to unmarshal %q into %v\",new EV([d,$clone(e,F.Value).Type()]));$s=113;case 113:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}$r=g.error(bt);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=112;continue;case 111:g.error(new T.ptr(\"number\",$clone(e,F.Value).Type(),(new $Int64(0,g.off)),\"\",\"\"));case 112:case 96:case 90:case 31:case 26:$s=-1;return;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.literalStore};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.literalStore=function(d,e,f){return this.$val.literalStore(d,e,f);};Y.ptr.prototype.valueInterface=function(){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=d.scanWhile(9);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(f===(6)){$s=3;continue;}if(f===(2)){$s=4;continue;}if(f===(1)){$s=5;continue;}$s=6;continue;case 3:g=d.arrayInterface();$s=8;case 8:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 4:h=d.objectInterface();$s=9;case 9:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return new FI(h);case 5:i=d.literalInterface();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;case 6:d.error(Z);$panic(new $String(\"unreachable\"));case 7:case 1:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.valueInterface};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.valueInterface=function(){return this.$val.valueInterface();};Y.ptr.prototype.arrayInterface=function(){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=$makeSlice(EV,0);case 1:f=d.scanWhile(9);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(g===8){$s=2;continue;}d.off=d.off-(1)>>0;d.scan.undo(g);h=d.valueInterface();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}e=$append(e,h);i=d.scanWhile(9);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g=i;if(g===8){$s=2;continue;}if(!((g===7))){d.error(Z);}$s=1;continue;case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.arrayInterface};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.arrayInterface=function(){return this.$val.arrayInterface();};Y.ptr.prototype.objectInterface=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e={};case 1:f=d.scanWhile(9);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(g===5){$s=2;continue;}if(!((g===1))){d.error(Z);}h=d.off-1>>0;i=d.scanWhile(0);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g=i;j=$subslice(d.data,h,(d.off-1>>0));k=AF(j);l=k[0];m=k[1];if(!m){d.error(Z);}if(g===9){$s=5;continue;}$s=6;continue;case 5:n=d.scanWhile(9);$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}g=n;case 6:if(!((g===3))){d.error(Z);}p=d.valueInterface();$s=8;case 8:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=l;(e||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(o)]={k:o,v:p};q=d.scanWhile(9);$s=9;case 9:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}g=q;if(g===5){$s=2;continue;}if(!((g===4))){d.error(Z);}$s=1;continue;case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.objectInterface};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.objectInterface=function(){return this.$val.objectInterface();};Y.ptr.prototype.literalInterface=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=d.off-1>>0;f=d.scanWhile(0);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;d.off=d.off-(1)>>0;d.scan.undo(g);h=$subslice(d.data,e,d.off);i=(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]);j=i;if(j===(110)){$s=-1;return $ifaceNil;}else if((j===(116))||(j===(102))){$s=-1;return new $Bool((i===116));}else if(j===(34)){k=AF(h);l=k[0];m=k[1];if(!m){d.error(Z);}$s=-1;return new $String(l);}else{if(!((i===45))&&(i<48||i>57)){d.error(Z);}n=d.convertNumber(($bytesToString(h)));o=n[0];p=n[1];if(!($interfaceIsEqual(p,$ifaceNil))){d.saveError(p);}$s=-1;return o;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.literalInterface};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.literalInterface=function(){return this.$val.literalInterface();};AE=function(d){var $ptr,d,e,f,g;if(d.$length<6||!(((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===92))||!(((1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1])===117))){return-1;}e=H.ParseUint(($bytesToString($subslice(d,2,6))),16,64);f=e[0];g=e[1];if(!($interfaceIsEqual(g,$ifaceNil))){return-1;}return((f.$low>>0));};AF=function(d){var $ptr,d,e,f,g;e=\"\";f=false;g=AG(d);d=g[0];f=g[1];e=($bytesToString(d));return[e,f];};AG=function(d){var $ptr,aa,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;e=EZ.nil;f=false;if(d.$length<2||!(((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===34))||!(((g=d.$length-1>>0,((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]))===34))){return[e,f];}d=$subslice(d,1,(d.$length-1>>0));h=0;while(true){if(!(h<d.$length)){break;}i=((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]);if((i===92)||(i===34)||i<32){break;}if(i<128){h=h+(1)>>0;continue;}j=K.DecodeRune($subslice(d,h));k=j[0];l=j[1];if((k===65533)&&(l===1)){break;}h=h+(l)>>0;}if(h===d.$length){m=d;n=true;e=m;f=n;return[e,f];}o=$makeSlice(EZ,(d.$length+8>>0));p=$copySlice(o,$subslice(d,0,h));while(true){if(!(h<d.$length)){break;}if(p>=(o.$length-8>>0)){q=$makeSlice(EZ,($imul(((o.$length+4>>0)),2)));$copySlice(q,$subslice(o,0,p));o=q;}r=((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]);if((r===92)){h=h+(1)>>0;if(h>=d.$length){return[e,f];}switch(0){default:s=((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]);if((s===(34))||(s===(92))||(s===(47))||(s===(39))){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]));h=h+(1)>>0;p=p+(1)>>0;}else if(s===(98)){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=8);h=h+(1)>>0;p=p+(1)>>0;}else if(s===(102)){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=12);h=h+(1)>>0;p=p+(1)>>0;}else if(s===(110)){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=10);h=h+(1)>>0;p=p+(1)>>0;}else if(s===(114)){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=13);h=h+(1)>>0;p=p+(1)>>0;}else if(s===(116)){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=9);h=h+(1)>>0;p=p+(1)>>0;}else if(s===(117)){h=h-(1)>>0;t=AE($subslice(d,h));if(t<0){return[e,f];}h=h+(6)>>0;if(J.IsSurrogate(t)){u=AE($subslice(d,h));v=J.DecodeRune(t,u);if(!((v===65533))){h=h+(6)>>0;p=p+(K.EncodeRune($subslice(o,p),v))>>0;break;}t=65533;}p=p+(K.EncodeRune($subslice(o,p),t))>>0;}else{return[e,f];}}}else if(((r===34))||(r<32)){return[e,f];}else if(r<128){((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=r);h=h+(1)>>0;p=p+(1)>>0;}else{w=K.DecodeRune($subslice(d,h));x=w[0];y=w[1];h=h+(y)>>0;p=p+(K.EncodeRune($subslice(o,p),x))>>0;}}z=$subslice(o,0,p);aa=true;e=z;f=aa;return[e,f];};CD=function(d){var $ptr,d,e,f,g,h;if(d===\"\"){return false;}e=d;f=0;while(true){if(!(f<e.length)){break;}g=$decodeRune(e,f);h=g[0];if(N.ContainsRune(\"!#$%&()*+-./:<=>?@[]^_{|}~ \",h)){}else if(!I.IsLetter(h)&&!I.IsDigit(h)){return false;}f+=g[1];}return true;};CI=function(d){var $ptr,d;d.nameBytes=(new EZ($stringToBytes(d.name)));d.equalFold=CO(d.nameBytes);return d;};CJ.prototype.Len=function(){var $ptr,d;d=this;return d.$length;};$ptrType(CJ).prototype.Len=function(){return this.$get().Len();};CJ.prototype.Swap=function(d,e){var $ptr,d,e,f,g,h;f=this;g=$clone(((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e]),CH);h=$clone(((d<0||d>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+d]),CH);CH.copy(((d<0||d>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+d]),g);CH.copy(((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e]),h);};$ptrType(CJ).prototype.Swap=function(d,e){return this.$get().Swap(d,e);};CJ.prototype.Less=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l;f=this;g=((d<0||d>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+d]).index;h=0;while(true){if(!(h<g.$length)){break;}i=h;j=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(i>=((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e]).index.$length){return false;}if(!((j===(k=((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+i]))))){return j<(l=((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e]).index,((i<0||i>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+i]));}h++;}return((d<0||d>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+d]).index.$length<((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e]).index.$length;};$ptrType(CJ).prototype.Less=function(d,e){return this.$get().Less(d,e);};CK=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=new FM([]);g=new FM([new CH.ptr(\"\",EZ.nil,$throwNilPointerError,false,FE.nil,d,false,false)]);h=$makeMap(F.Type.keyFor,[]);i=$makeMap(F.Type.keyFor,[]);j=$makeMap(F.Type.keyFor,[]);e[0]=FM.nil;case 1:if(!(g.$length>0)){$s=2;continue;}k=g;l=$subslice(f,0,0);f=k;g=l;m=i;n=$makeMap(F.Type.keyFor,[]);h=m;i=n;o=f;p=0;case 3:if(!(p<o.$length)){$s=4;continue;}q=$clone(((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]),CH);if((r=j[F.Type.keyFor(q.typ)],r!==undefined?r.v:false)){$s=5;continue;}$s=6;continue;case 5:p++;$s=3;continue;case 6:s=q.typ;(j||$throwRuntimeError(\"assignment to entry in nil map\"))[F.Type.keyFor(s)]={k:s,v:true};t=0;case 7:u=q.typ.NumField();$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!(t<u)){$s=8;continue;}v=q.typ.Field(t);$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=$clone(v,F.StructField);if(!(w.PkgPath===\"\")&&!w.Anonymous){$s=11;continue;}$s=12;continue;case 11:t=t+(1)>>0;$s=7;continue;case 12:x=new F.StructTag(w.Tag).Get(\"json\");if(x===\"-\"){$s=13;continue;}$s=14;continue;case 13:t=t+(1)>>0;$s=7;continue;case 14:y=EU(x);z=y[0];aa=y[1];if(!CD(z)){z=\"\";}ab=$makeSlice(FE,(q.index.$length+1>>0));$copySlice(ab,q.index);(ac=q.index.$length,((ac<0||ac>=ab.$length)?($throwRuntimeError(\"index out of range\"),undefined):ab.$array[ab.$offset+ac]=t));ad=w.Type;af=ad.Name();$s=18;case 18:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}if(!(af===\"\")){ae=false;$s=17;continue s;}ag=ad.Kind();$s=19;case 19:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ae=ag===22;case 17:if(ae){$s=15;continue;}$s=16;continue;case 15:ah=ad.Elem();$s=20;case 20:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ad=ah;case 16:ai=false;if(new ET(aa).Contains(\"string\")){$s=21;continue;}$s=22;continue;case 21:aj=ad.Kind();$s=24;case 24:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ak=aj;if((ak===(1))||(ak===(2))||(ak===(3))||(ak===(4))||(ak===(5))||(ak===(6))||(ak===(7))||(ak===(8))||(ak===(9))||(ak===(10))||(ak===(11))||(ak===(13))||(ak===(14))||(ak===(24))){ai=true;}case 23:case 22:if(!(z===\"\")||!w.Anonymous){al=true;$s=27;continue s;}am=ad.Kind();$s=28;case 28:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}al=!((am===25));case 27:if(al){$s=25;continue;}$s=26;continue;case 25:an=!(z===\"\");if(z===\"\"){z=w.Name;}e[0]=$append(e[0],CI(new CH.ptr(z,EZ.nil,$throwNilPointerError,an,ab,ad,new ET(aa).Contains(\"omitempty\"),ai)));if((ao=h[F.Type.keyFor(q.typ)],ao!==undefined?ao.v:0)>1){e[0]=$append(e[0],(ap=e[0].$length-1>>0,((ap<0||ap>=e[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):e[0].$array[e[0].$offset+ap])));}t=t+(1)>>0;$s=7;continue;case 26:aq=ad;(i||$throwRuntimeError(\"assignment to entry in nil map\"))[F.Type.keyFor(aq)]={k:aq,v:(ar=i[F.Type.keyFor(ad)],ar!==undefined?ar.v:0)+(1)>>0};if((as=i[F.Type.keyFor(ad)],as!==undefined?as.v:0)===1){$s=29;continue;}$s=30;continue;case 29:at=ad.Name();$s=31;case 31:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=CI(new CH.ptr(at,EZ.nil,$throwNilPointerError,false,ab,ad,false,false));$s=32;case 32:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}g=$append(g,au);case 30:t=t+(1)>>0;$s=7;continue;case 8:p++;$s=3;continue;case 4:$s=1;continue;case 2:$r=M.Slice(e[0],(function(e){return function(av,aw){var $ptr,av,aw,ax;ax=e[0];if(!(((av<0||av>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+av]).name===((aw<0||aw>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+aw]).name)){return((av<0||av>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+av]).name<((aw<0||aw>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+aw]).name;}if(!((((av<0||av>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+av]).index.$length===((aw<0||aw>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+aw]).index.$length))){return((av<0||av>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+av]).index.$length<((aw<0||aw>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+aw]).index.$length;}if(!(((av<0||av>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+av]).tag===((aw<0||aw>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+aw]).tag)){return((av<0||av>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+av]).tag;}return($subslice(new CJ(ax.$array),ax.$offset,ax.$offset+ax.$length)).Less(av,aw);};})(e));$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=$subslice(e[0],0,0);aw=0;ax=0;ay=aw;az=ax;case 34:if(!(az<e[0].$length)){$s=35;continue;}ba=$clone(((az<0||az>=e[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):e[0].$array[e[0].$offset+az]),CH);bb=ba.name;ay=1;while(true){if(!((az+ay>>0)<e[0].$length)){break;}bd=$clone((bc=az+ay>>0,((bc<0||bc>=e[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):e[0].$array[e[0].$offset+bc])),CH);if(!(bd.name===bb)){break;}ay=ay+(1)>>0;}if(ay===1){av=$append(av,ba);az=az+(ay)>>0;$s=34;continue;}be=CL($subslice(e[0],az,(az+ay>>0)));bf=$clone(be[0],CH);bg=be[1];if(bg){av=$append(av,bf);}az=az+(ay)>>0;$s=34;continue;case 35:e[0]=av;$r=M.Sort(($subslice(new CJ(e[0].$array),e[0].$offset,e[0].$offset+e[0].$length)));$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e[0];}return;}if($f===undefined){$f={$blk:CK};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CL=function(d){var $ptr,d,e,f,g,h,i,j;e=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]).index.$length;f=-1;g=d;h=0;while(true){if(!(h<g.$length)){break;}i=h;j=$clone(((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]),CH);if(j.index.$length>e){d=$subslice(d,0,i);break;}if(j.tag){if(f>=0){return[new CH.ptr(\"\",EZ.nil,$throwNilPointerError,false,FE.nil,$ifaceNil,false,false),false];}f=i;}h++;}if(f>=0){return[((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f]),true];}if(d.$length>1){return[new CH.ptr(\"\",EZ.nil,$throwNilPointerError,false,FE.nil,$ifaceNil,false,false),false];}return[(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]),true];};CN=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$assertType(CM.value.Load(),FP,true);f=e[0];h=(g=f[F.Type.keyFor(d)],g!==undefined?g.v:FM.nil);if(!(h===FM.nil)){$s=-1;return h;}i=CK(d);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;if(h===FM.nil){h=new FM([]);}CM.mu.Lock();j=$assertType(CM.value.Load(),FP,true);f=j[0];l=(k=$keys(f).length+1>>0,((k<0||k>2147483647)?$throwRuntimeError(\"makemap: size out of range\"):{}));m=f;n=0;o=$keys(m);while(true){if(!(n<o.length)){break;}p=m[o[n]];if(p===undefined){n++;continue;}q=p.k;r=p.v;s=q;(l||$throwRuntimeError(\"assignment to entry in nil map\"))[F.Type.keyFor(s)]={k:s,v:r};n++;}t=d;(l||$throwRuntimeError(\"assignment to entry in nil map\"))[F.Type.keyFor(t)]={k:t,v:h};CM.value.Store(new FP(l));CM.mu.Unlock();$s=-1;return h;}return;}if($f===undefined){$f={$blk:CN};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CO=function(d){var $ptr,d,e,f,g,h,i,j;e=false;f=false;g=d;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(i>=128){return A.EqualFold;}j=(i&223)>>>0;if(j<65||j>90){e=true;}else if((j===75)||(j===83)){f=true;}h++;}if(f){return CP;}if(e){return CQ;}return CR;};CP=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n;f=d;g=0;while(true){if(!(g<f.$length)){break;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(e.$length===0){return false;}i=(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);if(i<128){if(!((h===i))){j=(h&223)>>>0;if(65<=j&&j<=90){if(!((j===((i&223)>>>0)))){return false;}}else{return false;}}e=$subslice(e,1);g++;continue;}k=K.DecodeRune(e);l=k[0];m=k[1];n=h;if((n===(115))||(n===(83))){if(!((l===383))){return false;}}else if((n===(107))||(n===(75))){if(!((l===8490))){return false;}}else{return false;}e=$subslice(e,m);g++;}if(e.$length>0){return false;}return true;};CQ=function(d,e){var $ptr,d,e,f,g,h,i,j;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);j=((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h]);if(i===j){g++;continue;}if((97<=i&&i<=122)||(65<=i&&i<=90)){if(!((((i&223)>>>0)===((j&223)>>>0)))){return false;}}else{return false;}g++;}return true;};CR=function(d,e){var $ptr,d,e,f,g,h,i;if(!((d.$length===e.$length))){return false;}f=d;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(!((((i&223)>>>0)===((((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h])&223)>>>0)))){return false;}g++;}return true;};CX=function(d,e){var $ptr,aa,ab,ac,ad,ae,af,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=EZ.nil;g=EZ.nil;h=$ifaceNil;e.reset();i=d;j=0;case 1:if(!(j<i.$length)){$s=2;continue;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=e.step(e,l);$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(n>=5){$s=4;continue;}$s=5;continue;case 4:o=n;if((o===(5))||(o===(8))){$s=7;continue;}if(o===(11)){$s=8;continue;}if(o===(10)){$s=9;continue;}$s=10;continue;case 7:p=e.step(e,32);$s=13;case 13:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(p===10){$s=11;continue;}$s=12;continue;case 11:q=$subslice(d,0,(k+1>>0));r=$subslice(d,(k+1>>0));s=$ifaceNil;f=q;g=r;h=s;$s=-1;return[f,g,h];case 12:$s=10;continue;case 8:t=EZ.nil;u=EZ.nil;v=e.err;f=t;g=u;h=v;$s=-1;return[f,g,h];case 9:w=$subslice(d,0,k);x=$subslice(d,k);y=$ifaceNil;f=w;g=x;h=y;$s=-1;return[f,g,h];case 10:case 6:case 5:j++;$s=1;continue;case 2:z=e.eof();$s=16;case 16:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}if(z===11){$s=14;continue;}$s=15;continue;case 14:aa=EZ.nil;ab=EZ.nil;ac=e.err;f=aa;g=ab;h=ac;$s=-1;return[f,g,h];case 15:ad=d;ae=EZ.nil;af=$ifaceNil;f=ad;g=ae;h=af;$s=-1;return[f,g,h];}return;}if($f===undefined){$f={$blk:CX};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CY.ptr.prototype.Error=function(){var $ptr,d;d=this;return d.msg;};CY.prototype.Error=function(){return this.$val.Error();};CZ.ptr.prototype.reset=function(){var $ptr,d;d=this;d.step=DC;d.parseState=$subslice(d.parseState,0,0);d.err=$ifaceNil;d.redo=false;d.endTop=false;};CZ.prototype.reset=function(){return this.$val.reset();};CZ.ptr.prototype.eof=function(){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){$s=-1;return 11;}if(d.endTop){$s=-1;return 10;}e=d.step(d,32);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;if(d.endTop){$s=-1;return 10;}if($interfaceIsEqual(d.err,$ifaceNil)){d.err=new CY.ptr(\"unexpected end of JSON input\",d.bytes);}$s=-1;return 11;}return;}if($f===undefined){$f={$blk:CZ.ptr.prototype.eof};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CZ.prototype.eof=function(){return this.$val.eof();};CZ.ptr.prototype.pushParseState=function(d){var $ptr,d,e;e=this;e.parseState=$append(e.parseState,d);};CZ.prototype.pushParseState=function(d){return this.$val.pushParseState(d);};CZ.ptr.prototype.popParseState=function(){var $ptr,d,e;d=this;e=d.parseState.$length-1>>0;d.parseState=$subslice(d.parseState,0,e);d.redo=false;if(e===0){d.step=DG;d.endTop=true;}else{d.step=DF;}};CZ.prototype.popParseState=function(){return this.$val.popParseState();};DA=function(d){var $ptr,d;return(d===32)||(d===9)||(d===13)||(d===10);};DB=function(d,e){var $ptr,d,e;if(e<=32&&DA(e)){return 9;}if(e===93){return DF(d,e);}return DC(d,e);};DC=function(d,e){var $ptr,d,e,f;if(e<=32&&DA(e)){return 9;}f=e;if(f===(123)){d.step=DD;d.pushParseState(0);return 2;}else if(f===(91)){d.step=DB;d.pushParseState(2);return 6;}else if(f===(34)){d.step=DH;return 1;}else if(f===(45)){d.step=DN;return 1;}else if(f===(48)){d.step=DP;return 1;}else if(f===(116)){d.step=DV;return 1;}else if(f===(102)){d.step=DY;return 1;}else if(f===(110)){d.step=EC;return 1;}if(49<=e&&e<=57){d.step=DO;return 1;}return d.error(e,\"looking for beginning of value\");};DD=function(d,e){var $ptr,d,e,f,g,h;if(e<=32&&DA(e)){return 9;}if(e===125){f=d.parseState.$length;(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]=1));return DF(d,e);}return DE(d,e);};DE=function(d,e){var $ptr,d,e;if(e<=32&&DA(e)){return 9;}if(e===34){d.step=DH;return 1;}return d.error(e,\"looking for beginning of object key string\");};DF=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n;f=d.parseState.$length;if(f===0){d.step=DG;d.endTop=true;return DG(d,e);}if(e<=32&&DA(e)){d.step=DF;return 9;}i=(g=d.parseState,h=f-1>>0,((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]));j=i;if(j===(0)){if(e===58){(k=d.parseState,l=f-1>>0,((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]=1));d.step=DC;return 3;}return d.error(e,\"after object key\");}else if(j===(1)){if(e===44){(m=d.parseState,n=f-1>>0,((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]=0));d.step=DE;return 4;}if(e===125){d.popParseState();return 5;}return d.error(e,\"after object key:value pair\");}else if(j===(2)){if(e===44){d.step=DC;return 7;}if(e===93){d.popParseState();return 8;}return d.error(e,\"after array element\");}return d.error(e,\"\");};DG=function(d,e){var $ptr,d,e;if(!((e===32))&&!((e===9))&&!((e===13))&&!((e===10))){d.error(e,\"after top-level value\");}return 10;};DH=function(d,e){var $ptr,d,e;if(e===34){d.step=DF;return 0;}if(e===92){d.step=DI;return 0;}if(e<32){return d.error(e,\"in string literal\");}return 0;};DI=function(d,e){var $ptr,d,e,f;f=e;if((f===(98))||(f===(102))||(f===(110))||(f===(114))||(f===(116))||(f===(92))||(f===(47))||(f===(34))){d.step=DH;return 0;}else if(f===(117)){d.step=DJ;return 0;}return d.error(e,\"in string escape code\");};DJ=function(d,e){var $ptr,d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=DK;return 0;}return d.error(e,\"in \\\\u hexadecimal character escape\");};DK=function(d,e){var $ptr,d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=DL;return 0;}return d.error(e,\"in \\\\u hexadecimal character escape\");};DL=function(d,e){var $ptr,d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=DM;return 0;}return d.error(e,\"in \\\\u hexadecimal character escape\");};DM=function(d,e){var $ptr,d,e;if(48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70){d.step=DH;return 0;}return d.error(e,\"in \\\\u hexadecimal character escape\");};DN=function(d,e){var $ptr,d,e;if(e===48){d.step=DP;return 0;}if(49<=e&&e<=57){d.step=DO;return 0;}return d.error(e,\"in numeric literal\");};DO=function(d,e){var $ptr,d,e;if(48<=e&&e<=57){d.step=DO;return 0;}return DP(d,e);};DP=function(d,e){var $ptr,d,e;if(e===46){d.step=DQ;return 0;}if((e===101)||(e===69)){d.step=DS;return 0;}return DF(d,e);};DQ=function(d,e){var $ptr,d,e;if(48<=e&&e<=57){d.step=DR;return 0;}return d.error(e,\"after decimal point in numeric literal\");};DR=function(d,e){var $ptr,d,e;if(48<=e&&e<=57){return 0;}if((e===101)||(e===69)){d.step=DS;return 0;}return DF(d,e);};DS=function(d,e){var $ptr,d,e;if((e===43)||(e===45)){d.step=DT;return 0;}return DT(d,e);};DT=function(d,e){var $ptr,d,e;if(48<=e&&e<=57){d.step=DU;return 0;}return d.error(e,\"in exponent of numeric literal\");};DU=function(d,e){var $ptr,d,e;if(48<=e&&e<=57){return 0;}return DF(d,e);};DV=function(d,e){var $ptr,d,e;if(e===114){d.step=DW;return 0;}return d.error(e,\"in literal true (expecting 'r')\");};DW=function(d,e){var $ptr,d,e;if(e===117){d.step=DX;return 0;}return d.error(e,\"in literal true (expecting 'u')\");};DX=function(d,e){var $ptr,d,e;if(e===101){d.step=DF;return 0;}return d.error(e,\"in literal true (expecting 'e')\");};DY=function(d,e){var $ptr,d,e;if(e===97){d.step=DZ;return 0;}return d.error(e,\"in literal false (expecting 'a')\");};DZ=function(d,e){var $ptr,d,e;if(e===108){d.step=EA;return 0;}return d.error(e,\"in literal false (expecting 'l')\");};EA=function(d,e){var $ptr,d,e;if(e===115){d.step=EB;return 0;}return d.error(e,\"in literal false (expecting 's')\");};EB=function(d,e){var $ptr,d,e;if(e===101){d.step=DF;return 0;}return d.error(e,\"in literal false (expecting 'e')\");};EC=function(d,e){var $ptr,d,e;if(e===117){d.step=ED;return 0;}return d.error(e,\"in literal null (expecting 'u')\");};ED=function(d,e){var $ptr,d,e;if(e===108){d.step=EE;return 0;}return d.error(e,\"in literal null (expecting 'l')\");};EE=function(d,e){var $ptr,d,e;if(e===108){d.step=DF;return 0;}return d.error(e,\"in literal null (expecting 'l')\");};EF=function(d,e){var $ptr,d,e;return 11;};CZ.ptr.prototype.error=function(d,e){var $ptr,d,e,f;f=this;f.step=EF;f.err=new CY.ptr(\"invalid character \"+EG(d)+\" \"+e,f.bytes);return 11;};CZ.prototype.error=function(d,e){return this.$val.error(d,e);};EG=function(d){var $ptr,d,e;if(d===39){return\"'\\\\''\";}if(d===34){return\"'\\\"'\";}e=H.Quote(($encodeRune(d)));return\"'\"+$substring(e,1,(e.length-1>>0))+\"'\";};CZ.ptr.prototype.undo=function(d){var $ptr,d,e;e=this;if(e.redo){$panic(new $String(\"json: invalid use of scanner\"));}e.redoCode=d;e.redoState=e.step;e.step=EH;e.redo=true;};CZ.prototype.undo=function(d){return this.$val.undo(d);};EH=function(d,e){var $ptr,d,e;d.redo=false;d.step=d.redoState;return d.redoCode;};EJ=function(d){var $ptr,d;return new EI.ptr(d,EZ.nil,new Y.ptr(EZ.nil,0,new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0)),new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0)),new FF.ptr(\"\",\"\"),$ifaceNil,false),0,new CZ.ptr($throwNilPointerError,false,FE.nil,$ifaceNil,false,0,$throwNilPointerError,new $Int64(0,0)),$ifaceNil,0,FE.nil);};$pkg.NewDecoder=EJ;EI.ptr.prototype.UseNumber=function(){var $ptr,d;d=this;d.d.useNumber=true;};EI.prototype.UseNumber=function(){return this.$val.UseNumber();};EI.ptr.prototype.Decode=function(d){var $ptr,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!($interfaceIsEqual(e.err,$ifaceNil))){$s=-1;return e.err;}f=e.tokenPrepareForDecode();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}if(!e.tokenValueAllowed()){$s=-1;return new CY.ptr(\"not at beginning of value\",new $Int64(0,0));}i=e.readValue();$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}e.d.init($subslice(e.buf,e.scanp,(e.scanp+j>>0)));e.scanp=e.scanp+(j)>>0;l=e.d.unmarshal(d);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;e.tokenValueEnd();$s=-1;return k;}return;}if($f===undefined){$f={$blk:EI.ptr.prototype.Decode};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};EI.prototype.Decode=function(d){return this.$val.Decode(d);};EI.ptr.prototype.Buffered=function(){var $ptr,d;d=this;return A.NewReader($subslice(d.buf,d.scanp));};EI.prototype.Buffered=function(){return this.$val.Buffered();};EI.ptr.prototype.readValue=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;d.scan.reset();e=d.scanp;f=$ifaceNil;case 1:g=$subslice(d.buf,e);h=0;case 3:if(!(h<g.$length)){$s=4;continue;}i=h;j=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);d.scan.bytes=(k=d.scan.bytes,l=new $Int64(0,1),new $Int64(k.$high+l.$high,k.$low+l.$low));m=d.scan.step(d.scan,j);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(n===10){e=e+(i)>>0;$s=2;continue s;}if(!((n===5)||(n===8))){o=false;$s=8;continue s;}p=d.scan.step(d.scan,32);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p===10;case 8:if(o){$s=6;continue;}$s=7;continue;case 6:e=e+((i+1>>0))>>0;$s=2;continue s;case 7:if(n===11){d.err=d.scan.err;$s=-1;return[0,d.scan.err];}h++;$s=3;continue;case 4:e=d.buf.$length;if(!($interfaceIsEqual(f,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:if($interfaceIsEqual(f,Q.EOF)){$s=12;continue;}$s=13;continue;case 12:q=d.scan.step(d.scan,32);$s=16;case 16:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}if(q===10){$s=14;continue;}$s=15;continue;case 14:$s=2;continue s;case 15:if(EK(d.buf)){f=Q.ErrUnexpectedEOF;}case 13:d.err=f;$s=-1;return[0,f];case 11:r=e-d.scanp>>0;s=d.refill();$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}f=s;e=d.scanp+r>>0;$s=1;continue;case 2:$s=-1;return[e-d.scanp>>0,$ifaceNil];}return;}if($f===undefined){$f={$blk:EI.ptr.prototype.readValue};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};EI.prototype.readValue=function(){return this.$val.readValue();};EI.ptr.prototype.refill=function(){var $ptr,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d.scanp>0){e=$copySlice(d.buf,$subslice(d.buf,d.scanp));d.buf=$subslice(d.buf,0,e);d.scanp=0;}if((d.buf.$capacity-d.buf.$length>>0)<512){f=$makeSlice(EZ,d.buf.$length,(($imul(2,d.buf.$capacity))+512>>0));$copySlice(f,d.buf);d.buf=f;}h=d.r.Read($subslice(d.buf,d.buf.$length,d.buf.$capacity));$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];d.buf=$subslice(d.buf,0,(d.buf.$length+i>>0));$s=-1;return j;}return;}if($f===undefined){$f={$blk:EI.ptr.prototype.refill};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};EI.prototype.refill=function(){return this.$val.refill();};EK=function(d){var $ptr,d,e,f,g;e=d;f=0;while(true){if(!(f<e.$length)){break;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);if(!DA(g)){return true;}f++;}return false;};EI.ptr.prototype.tokenPrepareForDecode=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=d.tokenState;if(e===(3)){$s=2;continue;}if(e===(6)){$s=3;continue;}$s=4;continue;case 2:g=d.peek();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}if(!((h===44))){$s=-1;return new CY.ptr(\"expected comma after array element\",new $Int64(0,0));}d.scanp=d.scanp+(1)>>0;d.tokenState=2;$s=4;continue;case 3:k=d.peek();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return m;}if(!((l===58))){$s=-1;return new CY.ptr(\"expected colon after object key\",new $Int64(0,0));}d.scanp=d.scanp+(1)>>0;d.tokenState=7;case 4:case 1:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EI.ptr.prototype.tokenPrepareForDecode};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};EI.prototype.tokenPrepareForDecode=function(){return this.$val.tokenPrepareForDecode();};EI.ptr.prototype.tokenValueAllowed=function(){var $ptr,d,e;d=this;e=d.tokenState;if((e===(0))||(e===(1))||(e===(2))||(e===(7))){return true;}return false;};EI.prototype.tokenValueAllowed=function(){return this.$val.tokenValueAllowed();};EI.ptr.prototype.tokenValueEnd=function(){var $ptr,d,e;d=this;e=d.tokenState;if((e===(1))||(e===(2))){d.tokenState=3;}else if(e===(7)){d.tokenState=8;}};EI.prototype.tokenValueEnd=function(){return this.$val.tokenValueEnd();};EP.prototype.String=function(){var $ptr,d;d=this.$val;return($encodeRune(d));};$ptrType(EP).prototype.String=function(){return new EP(this.$get()).String();};EI.ptr.prototype.Token=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;case 1:e=[e];f=[f];h=d.peek();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[$ifaceNil,j];}k=i;if(k===(91)){$s=5;continue;}if(k===(93)){$s=6;continue;}if(k===(123)){$s=7;continue;}if(k===(125)){$s=8;continue;}if(k===(58)){$s=9;continue;}if(k===(44)){$s=10;continue;}if(k===(34)){$s=11;continue;}$s=12;continue;case 5:if(!d.tokenValueAllowed()){$s=-1;return d.tokenError(i);}d.scanp=d.scanp+(1)>>0;d.tokenStack=$append(d.tokenStack,d.tokenState);d.tokenState=1;$s=-1;return[new EP(91),$ifaceNil];case 6:if(!((d.tokenState===1))&&!((d.tokenState===3))){$s=-1;return d.tokenError(i);}d.scanp=d.scanp+(1)>>0;d.tokenState=(l=d.tokenStack,m=d.tokenStack.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));d.tokenStack=$subslice(d.tokenStack,0,(d.tokenStack.$length-1>>0));d.tokenValueEnd();$s=-1;return[new EP(93),$ifaceNil];case 7:if(!d.tokenValueAllowed()){$s=-1;return d.tokenError(i);}d.scanp=d.scanp+(1)>>0;d.tokenStack=$append(d.tokenStack,d.tokenState);d.tokenState=4;$s=-1;return[new EP(123),$ifaceNil];case 8:if(!((d.tokenState===4))&&!((d.tokenState===8))){$s=-1;return d.tokenError(i);}d.scanp=d.scanp+(1)>>0;d.tokenState=(n=d.tokenStack,o=d.tokenStack.$length-1>>0,((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]));d.tokenStack=$subslice(d.tokenStack,0,(d.tokenStack.$length-1>>0));d.tokenValueEnd();$s=-1;return[new EP(125),$ifaceNil];case 9:if(!((d.tokenState===6))){$s=-1;return d.tokenError(i);}d.scanp=d.scanp+(1)>>0;d.tokenState=7;$s=1;continue;$s=13;continue;case 10:if(d.tokenState===3){$s=14;continue;}$s=15;continue;case 14:d.scanp=d.scanp+(1)>>0;d.tokenState=2;$s=1;continue;case 15:if(d.tokenState===8){d.scanp=d.scanp+(1)>>0;d.tokenState=5;$s=1;continue;}$s=-1;return d.tokenError(i);case 11:if((d.tokenState===4)||(d.tokenState===5)){$s=16;continue;}$s=17;continue;case 16:e[0]=\"\";p=d.tokenState;d.tokenState=0;q=d.Decode((e.$ptr||(e.$ptr=new FR(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))));$s=18;case 18:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;d.tokenState=p;if(!($interfaceIsEqual(r,$ifaceNil))){EQ(r);$s=-1;return[$ifaceNil,r];}d.tokenState=6;$s=-1;return[new $String(e[0]),$ifaceNil];case 17:if(!d.tokenValueAllowed()){$s=-1;return d.tokenError(i);}f[0]=$ifaceNil;s=d.Decode((f.$ptr||(f.$ptr=new FS(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))));$s=19;case 19:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;if(!($interfaceIsEqual(t,$ifaceNil))){EQ(t);$s=-1;return[$ifaceNil,t];}$s=-1;return[f[0],$ifaceNil];case 12:if(!d.tokenValueAllowed()){$s=-1;return d.tokenError(i);}f[0]=$ifaceNil;u=d.Decode((f.$ptr||(f.$ptr=new FS(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))));$s=20;case 20:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;if(!($interfaceIsEqual(t,$ifaceNil))){EQ(t);$s=-1;return[$ifaceNil,t];}$s=-1;return[f[0],$ifaceNil];case 13:case 4:$s=1;continue;case 2:$s=-1;return[$ifaceNil,$ifaceNil];}return;}if($f===undefined){$f={$blk:EI.ptr.prototype.Token};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};EI.prototype.Token=function(){return this.$val.Token();};EQ=function(d){var $ptr,d,e,f,g;e=$assertType(d,FT,true);f=e[0];g=e[1];if(g){f.Offset=new $Int64(0,0);}};EI.ptr.prototype.tokenError=function(d){var $ptr,d,e,f,g;e=this;f=\"\";g=e.tokenState;if(g===(0)){f=\" looking for beginning of value\";}else if((g===(1))||(g===(2))||(g===(7))){f=\" looking for beginning of value\";}else if(g===(3)){f=\" after array element\";}else if(g===(5)){f=\" looking for beginning of object key string\";}else if(g===(6)){f=\" after object key\";}else if(g===(8)){f=\" after object key:value pair\";}return[$ifaceNil,new CY.ptr(\"invalid character \"+EG(d)+\" \"+f,new $Int64(0,0))];};EI.prototype.tokenError=function(d){return this.$val.tokenError(d);};EI.ptr.prototype.More=function(){var $ptr,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;f=d.peek();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];$s=-1;return $interfaceIsEqual(h,$ifaceNil)&&!((g===93))&&!((g===125));}return;}if($f===undefined){$f={$blk:EI.ptr.prototype.More};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EI.prototype.More=function(){return this.$val.More();};EI.ptr.prototype.peek=function(){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=$ifaceNil;case 1:f=d.scanp;case 3:if(!(f<d.buf.$length)){$s=4;continue;}h=(g=d.buf,((f<0||f>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+f]));if(DA(h)){f=f+(1)>>0;$s=3;continue;}d.scanp=f;$s=-1;return[h,$ifaceNil];$s=3;continue;case 4:if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[0,e];}i=d.refill();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=i;$s=1;continue;case 2:$s=-1;return[0,$ifaceNil];}return;}if($f===undefined){$f={$blk:EI.ptr.prototype.peek};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EI.prototype.peek=function(){return this.$val.peek();};EU=function(d){var $ptr,d,e;e=N.Index(d,\",\");if(!((e===-1))){return[$substring(d,0,e),($substring(d,(e+1>>0)))];}return[d,\"\"];};ET.prototype.Contains=function(d){var $ptr,d,e,f,g,h,i,j;e=this.$val;if(e.length===0){return false;}f=(e);while(true){if(!(!(f===\"\"))){break;}g=\"\";h=N.Index(f,\",\");if(h>=0){i=$substring(f,0,h);j=$substring(f,(h+1>>0));f=i;g=j;}if(f===d){return true;}f=g;}return false;};$ptrType(ET).prototype.Contains=function(d){return new ET(this.$get()).Contains(d);};FG.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];FV.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];W.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Float64\",name:\"Float64\",pkg:\"\",typ:$funcType([],[$Float64,$error],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64,$error],false)}];FW.methods=[{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"encoding/json\",typ:$funcType([$emptyInterface],[$error],false)},{prop:\"init\",name:\"init\",pkg:\"encoding/json\",typ:$funcType([EZ],[FW],false)},{prop:\"error\",name:\"error\",pkg:\"encoding/json\",typ:$funcType([$error],[],false)},{prop:\"saveError\",name:\"saveError\",pkg:\"encoding/json\",typ:$funcType([$error],[],false)},{prop:\"addErrorContext\",name:\"addErrorContext\",pkg:\"encoding/json\",typ:$funcType([$error],[$error],false)},{prop:\"next\",name:\"next\",pkg:\"encoding/json\",typ:$funcType([],[EZ],false)},{prop:\"scanWhile\",name:\"scanWhile\",pkg:\"encoding/json\",typ:$funcType([$Int],[$Int],false)},{prop:\"value\",name:\"value\",pkg:\"encoding/json\",typ:$funcType([F.Value],[],false)},{prop:\"valueQuoted\",name:\"valueQuoted\",pkg:\"encoding/json\",typ:$funcType([],[$emptyInterface],false)},{prop:\"indirect\",name:\"indirect\",pkg:\"encoding/json\",typ:$funcType([F.Value,$Bool],[S,B.TextUnmarshaler,F.Value],false)},{prop:\"array\",name:\"array\",pkg:\"encoding/json\",typ:$funcType([F.Value],[],false)},{prop:\"object\",name:\"object\",pkg:\"encoding/json\",typ:$funcType([F.Value],[],false)},{prop:\"literal\",name:\"literal\",pkg:\"encoding/json\",typ:$funcType([F.Value],[],false)},{prop:\"convertNumber\",name:\"convertNumber\",pkg:\"encoding/json\",typ:$funcType([$String],[$emptyInterface,$error],false)},{prop:\"literalStore\",name:\"literalStore\",pkg:\"encoding/json\",typ:$funcType([EZ,F.Value,$Bool],[],false)},{prop:\"valueInterface\",name:\"valueInterface\",pkg:\"encoding/json\",typ:$funcType([],[$emptyInterface],false)},{prop:\"arrayInterface\",name:\"arrayInterface\",pkg:\"encoding/json\",typ:$funcType([],[EV],false)},{prop:\"objectInterface\",name:\"objectInterface\",pkg:\"encoding/json\",typ:$funcType([],[FI],false)},{prop:\"literalInterface\",name:\"literalInterface\",pkg:\"encoding/json\",typ:$funcType([],[$emptyInterface],false)}];CJ.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)}];FT.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];GJ.methods=[{prop:\"reset\",name:\"reset\",pkg:\"encoding/json\",typ:$funcType([],[],false)},{prop:\"eof\",name:\"eof\",pkg:\"encoding/json\",typ:$funcType([],[$Int],false)},{prop:\"pushParseState\",name:\"pushParseState\",pkg:\"encoding/json\",typ:$funcType([$Int],[],false)},{prop:\"popParseState\",name:\"popParseState\",pkg:\"encoding/json\",typ:$funcType([],[],false)},{prop:\"error\",name:\"error\",pkg:\"encoding/json\",typ:$funcType([$Uint8,$String],[$Int],false)},{prop:\"undo\",name:\"undo\",pkg:\"encoding/json\",typ:$funcType([$Int],[],false)}];GL.methods=[{prop:\"UseNumber\",name:\"UseNumber\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Decode\",name:\"Decode\",pkg:\"\",typ:$funcType([$emptyInterface],[$error],false)},{prop:\"Buffered\",name:\"Buffered\",pkg:\"\",typ:$funcType([],[Q.Reader],false)},{prop:\"readValue\",name:\"readValue\",pkg:\"encoding/json\",typ:$funcType([],[$Int,$error],false)},{prop:\"refill\",name:\"refill\",pkg:\"encoding/json\",typ:$funcType([],[$error],false)},{prop:\"tokenPrepareForDecode\",name:\"tokenPrepareForDecode\",pkg:\"encoding/json\",typ:$funcType([],[$error],false)},{prop:\"tokenValueAllowed\",name:\"tokenValueAllowed\",pkg:\"encoding/json\",typ:$funcType([],[$Bool],false)},{prop:\"tokenValueEnd\",name:\"tokenValueEnd\",pkg:\"encoding/json\",typ:$funcType([],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([],[EO,$error],false)},{prop:\"tokenError\",name:\"tokenError\",pkg:\"encoding/json\",typ:$funcType([$Uint8],[EO,$error],false)},{prop:\"More\",name:\"More\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"encoding/json\",typ:$funcType([],[$Uint8,$error],false)}];EP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];ET.methods=[{prop:\"Contains\",name:\"Contains\",pkg:\"\",typ:$funcType([$String],[$Bool],false)}];S.init([{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([EZ],[$error],false)}]);T.init(\"\",[{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:F.Type,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Struct\",name:\"Struct\",exported:true,typ:$String,tag:\"\"},{prop:\"Field\",name:\"Field\",exported:true,typ:$String,tag:\"\"}]);V.init(\"\",[{prop:\"Type\",name:\"Type\",exported:true,typ:F.Type,tag:\"\"}]);Y.init(\"encoding/json\",[{prop:\"data\",name:\"data\",exported:false,typ:EZ,tag:\"\"},{prop:\"off\",name:\"off\",exported:false,typ:$Int,tag:\"\"},{prop:\"scan\",name:\"scan\",exported:false,typ:CZ,tag:\"\"},{prop:\"nextscan\",name:\"nextscan\",exported:false,typ:CZ,tag:\"\"},{prop:\"errorContext\",name:\"errorContext\",exported:false,typ:FF,tag:\"\"},{prop:\"savedError\",name:\"savedError\",exported:false,typ:$error,tag:\"\"},{prop:\"useNumber\",name:\"useNumber\",exported:false,typ:$Bool,tag:\"\"}]);AA.init(\"\",[]);AK.init([{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[EZ,$error],false)}]);CH.init(\"encoding/json\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"nameBytes\",name:\"nameBytes\",exported:false,typ:EZ,tag:\"\"},{prop:\"equalFold\",name:\"equalFold\",exported:false,typ:GI,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$Bool,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:FE,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:F.Type,tag:\"\"},{prop:\"omitEmpty\",name:\"omitEmpty\",exported:false,typ:$Bool,tag:\"\"},{prop:\"quoted\",name:\"quoted\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(CH);CY.init(\"encoding/json\",[{prop:\"msg\",name:\"msg\",exported:false,typ:$String,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Int64,tag:\"\"}]);CZ.init(\"encoding/json\",[{prop:\"step\",name:\"step\",exported:false,typ:GK,tag:\"\"},{prop:\"endTop\",name:\"endTop\",exported:false,typ:$Bool,tag:\"\"},{prop:\"parseState\",name:\"parseState\",exported:false,typ:FE,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"redo\",name:\"redo\",exported:false,typ:$Bool,tag:\"\"},{prop:\"redoCode\",name:\"redoCode\",exported:false,typ:$Int,tag:\"\"},{prop:\"redoState\",name:\"redoState\",exported:false,typ:GK,tag:\"\"},{prop:\"bytes\",name:\"bytes\",exported:false,typ:$Int64,tag:\"\"}]);EI.init(\"encoding/json\",[{prop:\"r\",name:\"r\",exported:false,typ:Q.Reader,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:EZ,tag:\"\"},{prop:\"d\",name:\"d\",exported:false,typ:Y,tag:\"\"},{prop:\"scanp\",name:\"scanp\",exported:false,typ:$Int,tag:\"\"},{prop:\"scan\",name:\"scan\",exported:false,typ:CZ,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"tokenState\",name:\"tokenState\",exported:false,typ:$Int,tag:\"\"},{prop:\"tokenStack\",name:\"tokenStack\",exported:false,typ:FE,tag:\"\"}]);EO.init([]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Q.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CM=new EY.ptr(new P.Value.ptr(new P.noCopy.ptr(),$ifaceNil),new O.Mutex.ptr(false));Z=D.New(\"JSON decoder out of sync - data changing underfoot?\");AB=(new EZ($stringToBytes(\"null\")));a=F.TypeOf($newDataPointer($ifaceNil,FA)).Elem();$s=18;case 18:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}AC=a;AD=F.TypeOf(new W(\"\"));b=F.TypeOf($newDataPointer($ifaceNil,FB)).Elem();$s=19;case 19:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}AZ=b;c=F.TypeOf($newDataPointer($ifaceNil,FC)).Elem();$s=20;case 20:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}BA=c;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CI,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DK,DL,DM,DN,DP,DQ,DR,DS,DT,DU,I,J,AX,AY,K,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BJ,BL,CB,CD,CH,CK,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CI=$pkg.style=$newType(0,$kindStruct,\"gr.style\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);DU=$ptrType(CI);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CI.ptr.prototype.Modify=function(a){var $ptr,a,b,c;b=this;if(a.style===false){a.style={};}c=b.name;(a.style||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(c)]={k:c,v:b.value};};CI.prototype.Modify=function(a){return this.$val.Modify(a);};CK=function(a,b){var $ptr,a,b;return new CI.ptr(a,b);};$pkg.Style=CK;CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DU.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CI.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF,ED;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;ED=function(a){var $ptr,a;return A.Prop(\"target\",a);};$pkg.Target=ED;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,AC,AG,CO,CP,CQ,CU,CV,CY;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;CO=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"table\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CO};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Table=CO;CP=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"tbody\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TableBody=CP;CQ=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"td\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CQ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TableData=CQ;CU=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"th\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TableHeader=CU;CV=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"thead\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CV};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TableHead=CV;CY=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"tr\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CY};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TableRow=CY;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A;A=$packages[\"github.com/bep/gr\"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,G;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.CSS(new L([\"panel-footer\"]));h=C.Text(new $String(\"Facebook React in Go: \"));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.Emphasis(new M([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=D.HRef(new $String(\"https://github.com/bep/gr/\"));l=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Anchor(new M([k,m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=E.Div(new M([j,o]));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=E.Div(new M([g,q]));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Div(new M([d,f,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=-1;return u;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Example=G;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"bufio\"]=(function(){var $pkg={},$init,A,B,C,D,E,J,M,O,P,Y,Z,AA,AB,AC,H,I,F,G,K,L,N,Q,U,V;A=$packages[\"bytes\"];B=$packages[\"errors\"];C=$packages[\"io\"];D=$packages[\"unicode/utf8\"];E=$pkg.Reader=$newType(0,$kindStruct,\"bufio.Reader\",true,\"bufio\",true,function(buf_,rd_,r_,w_,err_,lastByte_,lastRuneSize_){this.$val=this;if(arguments.length===0){this.buf=Y.nil;this.rd=$ifaceNil;this.r=0;this.w=0;this.err=$ifaceNil;this.lastByte=0;this.lastRuneSize=0;return;}this.buf=buf_;this.rd=rd_;this.r=r_;this.w=w_;this.err=err_;this.lastByte=lastByte_;this.lastRuneSize=lastRuneSize_;});J=$pkg.Writer=$newType(0,$kindStruct,\"bufio.Writer\",true,\"bufio\",true,function(err_,buf_,n_,wr_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;this.buf=Y.nil;this.n=0;this.wr=$ifaceNil;return;}this.err=err_;this.buf=buf_;this.n=n_;this.wr=wr_;});M=$pkg.ReadWriter=$newType(0,$kindStruct,\"bufio.ReadWriter\",true,\"bufio\",true,function(Reader_,Writer_){this.$val=this;if(arguments.length===0){this.Reader=Z.nil;this.Writer=AB.nil;return;}this.Reader=Reader_;this.Writer=Writer_;});O=$pkg.Scanner=$newType(0,$kindStruct,\"bufio.Scanner\",true,\"bufio\",true,function(r_,split_,maxTokenSize_,token_,buf_,start_,end_,err_,empties_,scanCalled_,done_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.split=$throwNilPointerError;this.maxTokenSize=0;this.token=Y.nil;this.buf=Y.nil;this.start=0;this.end=0;this.err=$ifaceNil;this.empties=0;this.scanCalled=false;this.done=false;return;}this.r=r_;this.split=split_;this.maxTokenSize=maxTokenSize_;this.token=token_;this.buf=buf_;this.start=start_;this.end=end_;this.err=err_;this.empties=empties_;this.scanCalled=scanCalled_;this.done=done_;});P=$pkg.SplitFunc=$newType(4,$kindFunc,\"bufio.SplitFunc\",true,\"bufio\",true,null);Y=$sliceType($Uint8);Z=$ptrType(E);AA=$sliceType(Y);AB=$ptrType(J);AC=$ptrType(O);F=function(a,b){var $ptr,a,b,c,d,e,f;c=$assertType(a,Z,true);d=c[0];e=c[1];if(e&&d.buf.$length>=b){return d;}if(b<16){b=16;}f=new E.ptr(Y.nil,$ifaceNil,0,0,$ifaceNil,0,0);f.reset($makeSlice(Y,b),a);return f;};$pkg.NewReaderSize=F;G=function(a){var $ptr,a;return F(a,4096);};$pkg.NewReader=G;E.ptr.prototype.Reset=function(a){var $ptr,a,b;b=this;b.reset(b.buf,a);};E.prototype.Reset=function(a){return this.$val.Reset(a);};E.ptr.prototype.reset=function(a,b){var $ptr,a,b,c;c=this;E.copy(c,new E.ptr(a,b,0,0,$ifaceNil,-1,-1));};E.prototype.reset=function(a,b){return this.$val.reset(a,b);};E.ptr.prototype.fill=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.r>0){$copySlice(a.buf,$subslice(a.buf,a.r,a.w));a.w=a.w-(a.r)>>0;a.r=0;}if(a.w>=a.buf.$length){$panic(new $String(\"bufio: tried to fill full buffer\"));}b=100;case 1:if(!(b>0)){$s=2;continue;}d=a.rd.Read($subslice(a.buf,a.w));$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(e<0){$panic(H);}a.w=a.w+(e)>>0;if(!($interfaceIsEqual(f,$ifaceNil))){a.err=f;$s=-1;return;}if(e>0){$s=-1;return;}b=b-(1)>>0;$s=1;continue;case 2:a.err=C.ErrNoProgress;$s=-1;return;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.fill};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.fill=function(){return this.$val.fill();};E.ptr.prototype.readErr=function(){var $ptr,a,b;a=this;b=a.err;a.err=$ifaceNil;return b;};E.prototype.readErr=function(){return this.$val.readErr();};E.ptr.prototype.Peek=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(a<0){$s=-1;return[Y.nil,$pkg.ErrNegativeCount];}case 1:if(!((b.w-b.r>>0)<a&&(b.w-b.r>>0)<b.buf.$length&&$interfaceIsEqual(b.err,$ifaceNil))){$s=2;continue;}$r=b.fill();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:if(a>b.buf.$length){$s=-1;return[$subslice(b.buf,b.r,b.w),$pkg.ErrBufferFull];}c=$ifaceNil;d=b.w-b.r>>0;if(d<a){a=d;c=b.readErr();if($interfaceIsEqual(c,$ifaceNil)){c=$pkg.ErrBufferFull;}}$s=-1;return[$subslice(b.buf,b.r,(b.r+a>>0)),c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Peek=function(a){return this.$val.Peek(a);};E.ptr.prototype.Discard=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if(a<0){e=0;f=$pkg.ErrNegativeCount;b=e;c=f;$s=-1;return[b,c];}if(a===0){$s=-1;return[b,c];}g=a;case 1:h=d.Buffered();if(h===0){$s=3;continue;}$s=4;continue;case 3:$r=d.fill();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=d.Buffered();case 4:if(h>g){h=g;}d.r=d.r+(h)>>0;g=g-(h)>>0;if(g===0){i=a;j=$ifaceNil;b=i;c=j;$s=-1;return[b,c];}if(!($interfaceIsEqual(d.err,$ifaceNil))){k=a-g>>0;l=d.readErr();b=k;c=l;$s=-1;return[b,c];}$s=1;continue;case 2:$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Discard};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Discard=function(a){return this.$val.Discard(a);};E.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;b=a.$length;if(b===0){e=0;f=d.readErr();b=e;c=f;$s=-1;return[b,c];}if(d.r===d.w){$s=1;continue;}$s=2;continue;case 1:if(!($interfaceIsEqual(d.err,$ifaceNil))){g=0;h=d.readErr();b=g;c=h;$s=-1;return[b,c];}if(a.$length>=d.buf.$length){$s=3;continue;}$s=4;continue;case 3:j=d.rd.Read(a);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;b=i[0];d.err=i[1];if(b<0){$panic(H);}if(b>0){d.lastByte=(((k=b-1>>0,((k<0||k>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+k]))>>0));d.lastRuneSize=-1;}l=b;m=d.readErr();b=l;c=m;$s=-1;return[b,c];case 4:d.r=0;d.w=0;o=d.rd.Read(d.buf);$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;b=n[0];d.err=n[1];if(b<0){$panic(H);}if(b===0){p=0;q=d.readErr();b=p;c=q;$s=-1;return[b,c];}d.w=d.w+(b)>>0;case 2:b=$copySlice(a,$subslice(d.buf,d.r,d.w));d.r=d.r+(b)>>0;d.lastByte=(((r=d.buf,s=d.r-1>>0,((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]))>>0));d.lastRuneSize=-1;t=b;u=$ifaceNil;b=t;c=u;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Read=function(a){return this.$val.Read(a);};E.ptr.prototype.ReadByte=function(){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;a.lastRuneSize=-1;case 1:if(!(a.r===a.w)){$s=2;continue;}if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return[0,a.readErr()];}$r=a.fill();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:d=(b=a.buf,c=a.r,((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]));a.r=a.r+(1)>>0;a.lastByte=((d>>0));$s=-1;return[d,$ifaceNil];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ReadByte};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ReadByte=function(){return this.$val.ReadByte();};E.ptr.prototype.UnreadByte=function(){var $ptr,a,b,c;a=this;if(a.lastByte<0||(a.r===0)&&a.w>0){return $pkg.ErrInvalidUnreadByte;}if(a.r>0){a.r=a.r-(1)>>0;}else{a.w=1;}(b=a.buf,c=a.r,((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]=((a.lastByte<<24>>>24))));a.lastByte=-1;a.lastRuneSize=-1;return $ifaceNil;};E.prototype.UnreadByte=function(){return this.$val.UnreadByte();};E.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;case 1:if(!((d.r+4>>0)>d.w&&!D.FullRune($subslice(d.buf,d.r,d.w))&&$interfaceIsEqual(d.err,$ifaceNil)&&(d.w-d.r>>0)<d.buf.$length)){$s=2;continue;}$r=d.fill();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:d.lastRuneSize=-1;if(d.r===d.w){e=0;f=0;g=d.readErr();a=e;b=f;c=g;$s=-1;return[a,b,c];}h=(((i=d.buf,j=d.r,((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]))>>0));k=1;a=h;b=k;if(a>=128){l=D.DecodeRune($subslice(d.buf,d.r,d.w));a=l[0];b=l[1];}d.r=d.r+(b)>>0;d.lastByte=(((m=d.buf,n=d.r-1>>0,((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]))>>0));d.lastRuneSize=b;o=a;p=b;q=$ifaceNil;a=o;b=p;c=q;$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ReadRune=function(){return this.$val.ReadRune();};E.ptr.prototype.UnreadRune=function(){var $ptr,a;a=this;if(a.lastRuneSize<0||a.r<a.lastRuneSize){return $pkg.ErrInvalidUnreadRune;}a.r=a.r-(a.lastRuneSize)>>0;a.lastByte=-1;a.lastRuneSize=-1;return $ifaceNil;};E.prototype.UnreadRune=function(){return this.$val.UnreadRune();};E.ptr.prototype.Buffered=function(){var $ptr,a;a=this;return a.w-a.r>>0;};E.prototype.Buffered=function(){return this.$val.Buffered();};E.ptr.prototype.ReadSlice=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=Y.nil;c=$ifaceNil;d=this;case 1:e=A.IndexByte($subslice(d.buf,d.r,d.w),a);if(e>=0){b=$subslice(d.buf,d.r,((d.r+e>>0)+1>>0));d.r=d.r+((e+1>>0))>>0;$s=2;continue;}if(!($interfaceIsEqual(d.err,$ifaceNil))){b=$subslice(d.buf,d.r,d.w);d.r=d.w;c=d.readErr();$s=2;continue;}if(d.Buffered()>=d.buf.$length){d.r=d.w;b=d.buf;c=$pkg.ErrBufferFull;$s=2;continue;}$r=d.fill();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:f=b.$length-1>>0;if(f>=0){d.lastByte=((((f<0||f>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+f])>>0));d.lastRuneSize=-1;}$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ReadSlice};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ReadSlice=function(a){return this.$val.ReadSlice(a);};E.ptr.prototype.ReadLine=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Y.nil;b=false;c=$ifaceNil;d=this;f=d.ReadSlice(10);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];c=e[1];if($interfaceIsEqual(c,$pkg.ErrBufferFull)){if(a.$length>0&&((g=a.$length-1>>0,((g<0||g>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+g]))===13)){if(d.r===0){$panic(new $String(\"bufio: tried to rewind past start of buffer\"));}d.r=d.r-(1)>>0;a=$subslice(a,0,(a.$length-1>>0));}h=a;i=true;j=$ifaceNil;a=h;b=i;c=j;$s=-1;return[a,b,c];}if(a.$length===0){if(!($interfaceIsEqual(c,$ifaceNil))){a=Y.nil;}$s=-1;return[a,b,c];}c=$ifaceNil;if((k=a.$length-1>>0,((k<0||k>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+k]))===10){l=1;if(a.$length>1&&((m=a.$length-2>>0,((m<0||m>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+m]))===13)){l=2;}a=$subslice(a,0,(a.$length-l>>0));}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ReadLine};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ReadLine=function(){return this.$val.ReadLine();};E.ptr.prototype.ReadBytes=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=Y.nil;d=AA.nil;e=$ifaceNil;case 1:f=$ifaceNil;h=b.ReadSlice(a);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;c=g[0];f=g[1];if($interfaceIsEqual(f,$ifaceNil)){$s=2;continue;}if(!($interfaceIsEqual(f,$pkg.ErrBufferFull))){e=f;$s=2;continue;}i=$makeSlice(Y,c.$length);$copySlice(i,c);d=$append(d,i);$s=1;continue;case 2:j=0;k=d;l=0;while(true){if(!(l<k.$length)){break;}m=l;j=j+(((m<0||m>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+m]).$length)>>0;l++;}j=j+(c.$length)>>0;n=$makeSlice(Y,j);j=0;o=d;p=0;while(true){if(!(p<o.$length)){break;}q=p;j=j+($copySlice($subslice(n,j),((q<0||q>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+q])))>>0;p++;}$copySlice($subslice(n,j),c);$s=-1;return[n,e];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ReadBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ReadBytes=function(a){return this.$val.ReadBytes(a);};E.ptr.prototype.ReadString=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;d=b.ReadBytes(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];$s=-1;return[($bytesToString(e)),f];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ReadString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ReadString=function(a){return this.$val.ReadString(a);};E.ptr.prototype.WriteTo=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new $Int64(0,0);c=$ifaceNil;d=this;f=d.writeBuf(a);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;b=e[0];c=e[1];if(!($interfaceIsEqual(c,$ifaceNil))){$s=-1;return[b,c];}g=$assertType(d.rd,C.WriterTo,true);h=g[0];i=g[1];if(i){$s=2;continue;}$s=3;continue;case 2:k=h.WriteTo(a);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];b=(n=l,new $Int64(b.$high+n.$high,b.$low+n.$low));o=b;p=m;b=o;c=p;$s=-1;return[b,c];case 3:q=$assertType(a,C.ReaderFrom,true);r=q[0];s=q[1];if(s){$s=5;continue;}$s=6;continue;case 5:u=r.ReadFrom(d.rd);$s=7;case 7:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];b=(x=v,new $Int64(b.$high+x.$high,b.$low+x.$low));y=b;z=w;b=y;c=z;$s=-1;return[b,c];case 6:if((d.w-d.r>>0)<d.buf.$length){$s=8;continue;}$s=9;continue;case 8:$r=d.fill();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 11:if(!(d.r<d.w)){$s=12;continue;}ab=d.writeBuf(a);$s=13;case 13:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[0];ad=aa[1];b=(ae=ac,new $Int64(b.$high+ae.$high,b.$low+ae.$low));if(!($interfaceIsEqual(ad,$ifaceNil))){af=b;ag=ad;b=af;c=ag;$s=-1;return[b,c];}$r=d.fill();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 12:if($interfaceIsEqual(d.err,C.EOF)){d.err=$ifaceNil;}ah=b;ai=d.readErr();b=ah;c=ai;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.WriteTo};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.WriteTo=function(a){return this.$val.WriteTo(a);};E.ptr.prototype.writeBuf=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;d=a.Write($subslice(b.buf,b.r,b.w));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(e<0){$panic(I);}b.r=b.r+(e)>>0;$s=-1;return[(new $Int64(0,e)),f];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.writeBuf};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.writeBuf=function(a){return this.$val.writeBuf(a);};K=function(a,b){var $ptr,a,b,c,d,e;c=$assertType(a,AB,true);d=c[0];e=c[1];if(e&&d.buf.$length>=b){return d;}if(b<=0){b=4096;}return new J.ptr($ifaceNil,$makeSlice(Y,b),0,a);};$pkg.NewWriterSize=K;L=function(a){var $ptr,a;return K(a,4096);};$pkg.NewWriter=L;J.ptr.prototype.Reset=function(a){var $ptr,a,b;b=this;b.err=$ifaceNil;b.n=0;b.wr=a;};J.prototype.Reset=function(a){return this.$val.Reset(a);};J.ptr.prototype.Flush=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return a.err;}if(a.n===0){$s=-1;return $ifaceNil;}c=a.wr.Write($subslice(a.buf,0,a.n));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(d<a.n&&$interfaceIsEqual(e,$ifaceNil)){e=C.ErrShortWrite;}if(!($interfaceIsEqual(e,$ifaceNil))){if(d>0&&d<a.n){$copySlice($subslice(a.buf,0,(a.n-d>>0)),$subslice(a.buf,d,a.n));}a.n=a.n-(d)>>0;a.err=e;$s=-1;return e;}a.n=0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:J.ptr.prototype.Flush};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.Flush=function(){return this.$val.Flush();};J.ptr.prototype.Available=function(){var $ptr,a;a=this;return a.buf.$length-a.n>>0;};J.prototype.Available=function(){return this.$val.Available();};J.ptr.prototype.Buffered=function(){var $ptr,a;a=this;return a.n;};J.prototype.Buffered=function(){return this.$val.Buffered();};J.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;case 1:if(!(a.$length>d.Available()&&$interfaceIsEqual(d.err,$ifaceNil))){$s=2;continue;}e=0;if(d.Buffered()===0){$s=3;continue;}$s=4;continue;case 3:g=d.wr.Write(a);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;e=f[0];d.err=f[1];$s=5;continue;case 4:e=$copySlice($subslice(d.buf,d.n),a);d.n=d.n+(e)>>0;h=d.Flush();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 5:b=b+(e)>>0;a=$subslice(a,e);$s=1;continue;case 2:if(!($interfaceIsEqual(d.err,$ifaceNil))){i=b;j=d.err;b=i;c=j;$s=-1;return[b,c];}k=$copySlice($subslice(d.buf,d.n),a);d.n=d.n+(k)>>0;b=b+(k)>>0;l=b;m=$ifaceNil;b=l;c=m;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:J.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.Write=function(a){return this.$val.Write(a);};J.ptr.prototype.WriteByte=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!($interfaceIsEqual(b.err,$ifaceNil))){$s=-1;return b.err;}if(!(b.Available()<=0)){c=false;$s=3;continue s;}d=b.Flush();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=!($interfaceIsEqual(d,$ifaceNil));case 3:if(c){$s=1;continue;}$s=2;continue;case 1:$s=-1;return b.err;case 2:(e=b.buf,f=b.n,((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]=a));b.n=b.n+(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:J.ptr.prototype.WriteByte};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.WriteByte=function(a){return this.$val.WriteByte(a);};J.ptr.prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if(a<128){$s=1;continue;}$s=2;continue;case 1:e=d.WriteByte(((a<<24>>>24)));$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}c=e;if(!($interfaceIsEqual(c,$ifaceNil))){f=0;g=c;b=f;c=g;$s=-1;return[b,c];}h=1;i=$ifaceNil;b=h;c=i;$s=-1;return[b,c];case 2:if(!($interfaceIsEqual(d.err,$ifaceNil))){j=0;k=d.err;b=j;c=k;$s=-1;return[b,c];}l=d.Available();if(l<4){$s=4;continue;}$s=5;continue;case 4:m=d.Flush();$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;if(!($interfaceIsEqual(d.err,$ifaceNil))){n=0;o=d.err;b=n;c=o;$s=-1;return[b,c];}l=d.Available();if(l<4){$s=7;continue;}$s=8;continue;case 7:q=d.WriteString(($encodeRune(a)));$s=9;case 9:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;b=p[0];c=p[1];$s=-1;return[b,c];case 8:case 5:b=D.EncodeRune($subslice(d.buf,d.n),a);d.n=d.n+(b)>>0;r=b;s=$ifaceNil;b=r;c=s;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:J.ptr.prototype.WriteRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.WriteRune=function(a){return this.$val.WriteRune(a);};J.ptr.prototype.WriteString=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=0;case 1:if(!(a.length>b.Available()&&$interfaceIsEqual(b.err,$ifaceNil))){$s=2;continue;}d=$copyString($subslice(b.buf,b.n),a);b.n=b.n+(d)>>0;c=c+(d)>>0;a=$substring(a,d);e=b.Flush();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=1;continue;case 2:if(!($interfaceIsEqual(b.err,$ifaceNil))){$s=-1;return[c,b.err];}f=$copyString($subslice(b.buf,b.n),a);b.n=b.n+(f)>>0;c=c+(f)>>0;$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:J.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.WriteString=function(a){return this.$val.WriteString(a);};J.ptr.prototype.ReadFrom=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new $Int64(0,0);c=$ifaceNil;d=this;if(d.Buffered()===0){$s=1;continue;}$s=2;continue;case 1:e=$assertType(d.wr,C.ReaderFrom,true);f=e[0];g=e[1];if(g){$s=3;continue;}$s=4;continue;case 3:i=f.ReadFrom(a);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;b=h[0];c=h[1];$s=-1;return[b,c];case 4:case 2:j=0;case 6:if(d.Available()===0){$s=8;continue;}$s=9;continue;case 8:k=d.Flush();$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!($interfaceIsEqual(l,$ifaceNil))){m=b;n=l;b=m;c=n;$s=-1;return[b,c];}case 9:o=0;case 11:if(!(o<100)){$s=12;continue;}q=a.Read($subslice(d.buf,d.n));$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;j=p[0];c=p[1];if(!((j===0))||!($interfaceIsEqual(c,$ifaceNil))){$s=12;continue;}o=o+(1)>>0;$s=11;continue;case 12:if(o===100){r=b;s=C.ErrNoProgress;b=r;c=s;$s=-1;return[b,c];}d.n=d.n+(j)>>0;b=(t=(new $Int64(0,j)),new $Int64(b.$high+t.$high,b.$low+t.$low));if(!($interfaceIsEqual(c,$ifaceNil))){$s=7;continue;}$s=6;continue;case 7:if($interfaceIsEqual(c,C.EOF)){$s=14;continue;}$s=15;continue;case 14:if(d.Available()===0){$s=16;continue;}$s=17;continue;case 16:u=d.Flush();$s=19;case 19:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}c=u;$s=18;continue;case 17:c=$ifaceNil;case 18:case 15:v=b;w=c;b=v;c=w;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:J.ptr.prototype.ReadFrom};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.ReadFrom=function(a){return this.$val.ReadFrom(a);};N=function(a,b){var $ptr,a,b;return new M.ptr(a,b);};$pkg.NewReadWriter=N;Q=function(a){var $ptr,a;return new O.ptr(a,V,65536,Y.nil,Y.nil,0,0,$ifaceNil,0,false,false);};$pkg.NewScanner=Q;O.ptr.prototype.Err=function(){var $ptr,a;a=this;if($interfaceIsEqual(a.err,C.EOF)){return $ifaceNil;}return a.err;};O.prototype.Err=function(){return this.$val.Err();};O.ptr.prototype.Bytes=function(){var $ptr,a;a=this;return a.token;};O.prototype.Bytes=function(){return this.$val.Bytes();};O.ptr.prototype.Text=function(){var $ptr,a;a=this;return($bytesToString(a.token));};O.prototype.Text=function(){return this.$val.Text();};O.ptr.prototype.Scan=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.done){$s=-1;return false;}a.scanCalled=true;case 1:if(a.end>a.start||!($interfaceIsEqual(a.err,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:c=a.split($subslice(a.buf,a.start,a.end),!($interfaceIsEqual(a.err,$ifaceNil)));$s=5;case 5:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];f=b[2];if(!($interfaceIsEqual(f,$ifaceNil))){if($interfaceIsEqual(f,$pkg.ErrFinalToken)){a.token=e;a.done=true;$s=-1;return true;}a.setErr(f);$s=-1;return false;}if(!a.advance(d)){$s=-1;return false;}a.token=e;if(!(e===Y.nil)){if($interfaceIsEqual(a.err,$ifaceNil)||d>0){a.empties=0;}else{a.empties=a.empties+(1)>>0;if(a.empties>100){$panic(new $String(\"bufio.Scan: 100 empty tokens without progressing\"));}}$s=-1;return true;}case 4:if(!($interfaceIsEqual(a.err,$ifaceNil))){a.start=0;a.end=0;$s=-1;return false;}if(a.start>0&&((a.end===a.buf.$length)||a.start>(g=a.buf.$length/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")))){$copySlice(a.buf,$subslice(a.buf,a.start,a.end));a.end=a.end-(a.start)>>0;a.start=0;}if(a.end===a.buf.$length){if(a.buf.$length>=a.maxTokenSize||a.buf.$length>1073741823){a.setErr($pkg.ErrTooLong);$s=-1;return false;}h=$imul(a.buf.$length,2);if(h===0){h=4096;}if(h>a.maxTokenSize){h=a.maxTokenSize;}i=$makeSlice(Y,h);$copySlice(i,$subslice(a.buf,a.start,a.end));a.buf=i;a.end=a.end-(a.start)>>0;a.start=0;}j=0;case 6:l=a.r.Read($subslice(a.buf,a.end,a.buf.$length));$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];a.end=a.end+(m)>>0;if(!($interfaceIsEqual(n,$ifaceNil))){a.setErr(n);$s=7;continue;}if(m>0){a.empties=0;$s=7;continue;}j=j+(1)>>0;if(j>100){a.setErr(C.ErrNoProgress);$s=7;continue;}$s=6;continue;case 7:$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:O.ptr.prototype.Scan};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};O.prototype.Scan=function(){return this.$val.Scan();};O.ptr.prototype.advance=function(a){var $ptr,a,b;b=this;if(a<0){b.setErr($pkg.ErrNegativeAdvance);return false;}if(a>(b.end-b.start>>0)){b.setErr($pkg.ErrAdvanceTooFar);return false;}b.start=b.start+(a)>>0;return true;};O.prototype.advance=function(a){return this.$val.advance(a);};O.ptr.prototype.setErr=function(a){var $ptr,a,b;b=this;if($interfaceIsEqual(b.err,$ifaceNil)||$interfaceIsEqual(b.err,C.EOF)){b.err=a;}};O.prototype.setErr=function(a){return this.$val.setErr(a);};O.ptr.prototype.Buffer=function(a,b){var $ptr,a,b,c;c=this;if(c.scanCalled){$panic(new $String(\"Buffer called after Scan\"));}c.buf=$subslice(a,0,a.$capacity);c.maxTokenSize=b;};O.prototype.Buffer=function(a,b){return this.$val.Buffer(a,b);};O.ptr.prototype.Split=function(a){var $ptr,a,b;b=this;if(b.scanCalled){$panic(new $String(\"Split called after Scan\"));}b.split=a;};O.prototype.Split=function(a){return this.$val.Split(a);};U=function(a){var $ptr,a,b;if(a.$length>0&&((b=a.$length-1>>0,((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]))===13)){return $subslice(a,0,(a.$length-1>>0));}return a;};V=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=0;d=Y.nil;e=$ifaceNil;if(b&&(a.$length===0)){f=0;g=Y.nil;h=$ifaceNil;c=f;d=g;e=h;return[c,d,e];}i=A.IndexByte(a,10);if(i>=0){j=i+1>>0;k=U($subslice(a,0,i));l=$ifaceNil;c=j;d=k;e=l;return[c,d,e];}if(b){m=a.$length;n=U(a);o=$ifaceNil;c=m;d=n;e=o;return[c,d,e];}p=0;q=Y.nil;r=$ifaceNil;c=p;d=q;e=r;return[c,d,e];};$pkg.ScanLines=V;Z.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([C.Reader],[],false)},{prop:\"reset\",name:\"reset\",pkg:\"bufio\",typ:$funcType([Y,C.Reader],[],false)},{prop:\"fill\",name:\"fill\",pkg:\"bufio\",typ:$funcType([],[],false)},{prop:\"readErr\",name:\"readErr\",pkg:\"bufio\",typ:$funcType([],[$error],false)},{prop:\"Peek\",name:\"Peek\",pkg:\"\",typ:$funcType([$Int],[Y,$error],false)},{prop:\"Discard\",name:\"Discard\",pkg:\"\",typ:$funcType([$Int],[$Int,$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([Y],[$Int,$error],false)},{prop:\"ReadByte\",name:\"ReadByte\",pkg:\"\",typ:$funcType([],[$Uint8,$error],false)},{prop:\"UnreadByte\",name:\"UnreadByte\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Buffered\",name:\"Buffered\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ReadSlice\",name:\"ReadSlice\",pkg:\"\",typ:$funcType([$Uint8],[Y,$error],false)},{prop:\"ReadLine\",name:\"ReadLine\",pkg:\"\",typ:$funcType([],[Y,$Bool,$error],false)},{prop:\"ReadBytes\",name:\"ReadBytes\",pkg:\"\",typ:$funcType([$Uint8],[Y,$error],false)},{prop:\"ReadString\",name:\"ReadString\",pkg:\"\",typ:$funcType([$Uint8],[$String,$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([C.Writer],[$Int64,$error],false)},{prop:\"writeBuf\",name:\"writeBuf\",pkg:\"bufio\",typ:$funcType([C.Writer],[$Int64,$error],false)}];AB.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([C.Writer],[],false)},{prop:\"Flush\",name:\"Flush\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Available\",name:\"Available\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Buffered\",name:\"Buffered\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([Y],[$Int,$error],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[$error],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[$Int,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([C.Reader],[$Int64,$error],false)}];AC.methods=[{prop:\"Err\",name:\"Err\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[Y],false)},{prop:\"Text\",name:\"Text\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Scan\",name:\"Scan\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"advance\",name:\"advance\",pkg:\"bufio\",typ:$funcType([$Int],[$Bool],false)},{prop:\"setErr\",name:\"setErr\",pkg:\"bufio\",typ:$funcType([$error],[],false)},{prop:\"Buffer\",name:\"Buffer\",pkg:\"\",typ:$funcType([Y,$Int],[],false)},{prop:\"Split\",name:\"Split\",pkg:\"\",typ:$funcType([P],[],false)}];E.init(\"bufio\",[{prop:\"buf\",name:\"buf\",exported:false,typ:Y,tag:\"\"},{prop:\"rd\",name:\"rd\",exported:false,typ:C.Reader,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:$Int,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:$Int,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"lastByte\",name:\"lastByte\",exported:false,typ:$Int,tag:\"\"},{prop:\"lastRuneSize\",name:\"lastRuneSize\",exported:false,typ:$Int,tag:\"\"}]);J.init(\"bufio\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:Y,tag:\"\"},{prop:\"n\",name:\"n\",exported:false,typ:$Int,tag:\"\"},{prop:\"wr\",name:\"wr\",exported:false,typ:C.Writer,tag:\"\"}]);M.init(\"\",[{prop:\"Reader\",name:\"\",exported:true,typ:Z,tag:\"\"},{prop:\"Writer\",name:\"\",exported:true,typ:AB,tag:\"\"}]);O.init(\"bufio\",[{prop:\"r\",name:\"r\",exported:false,typ:C.Reader,tag:\"\"},{prop:\"split\",name:\"split\",exported:false,typ:P,tag:\"\"},{prop:\"maxTokenSize\",name:\"maxTokenSize\",exported:false,typ:$Int,tag:\"\"},{prop:\"token\",name:\"token\",exported:false,typ:Y,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:Y,tag:\"\"},{prop:\"start\",name:\"start\",exported:false,typ:$Int,tag:\"\"},{prop:\"end\",name:\"end\",exported:false,typ:$Int,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"empties\",name:\"empties\",exported:false,typ:$Int,tag:\"\"},{prop:\"scanCalled\",name:\"scanCalled\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);P.init([Y,$Bool],[$Int,Y,$error],false);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrInvalidUnreadByte=B.New(\"bufio: invalid use of UnreadByte\");$pkg.ErrInvalidUnreadRune=B.New(\"bufio: invalid use of UnreadRune\");$pkg.ErrBufferFull=B.New(\"bufio: buffer full\");$pkg.ErrNegativeCount=B.New(\"bufio: negative count\");H=B.New(\"bufio: reader returned negative count from Read\");I=B.New(\"bufio: writer returned negative count from Write\");$pkg.ErrTooLong=B.New(\"bufio.Scanner: token too long\");$pkg.ErrNegativeAdvance=B.New(\"bufio.Scanner: SplitFunc returns negative advance count\");$pkg.ErrAdvanceTooFar=B.New(\"bufio.Scanner: SplitFunc returns advance count beyond input\");$pkg.ErrFinalToken=B.New(\"final token\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"compress/flate\"]=(function(){var $pkg={},$init,E,A,B,C,D,F,G,Y,AE,AJ,AK,AL,AM,AT,AU,AX,AY,BB,BC,BD,BE,BP,BU,BW,BX,BY,CB,CD,CG,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DM,DN,DQ,AG,AR,AS,AV,AW,BV,BF,BK,AF,AH,AN,AO,AP,AQ,BG,BH,BI,BL,BM;E=$packages[\"bufio\"];A=$packages[\"fmt\"];B=$packages[\"io\"];C=$packages[\"math\"];D=$packages[\"sort\"];F=$packages[\"strconv\"];G=$packages[\"sync\"];Y=$pkg.dictDecoder=$newType(0,$kindStruct,\"flate.dictDecoder\",true,\"compress/flate\",false,function(hist_,wrPos_,rdPos_,full_){this.$val=this;if(arguments.length===0){this.hist=CB.nil;this.wrPos=0;this.rdPos=0;this.full=false;return;}this.hist=hist_;this.wrPos=wrPos_;this.rdPos=rdPos_;this.full=full_;});AE=$pkg.huffmanBitWriter=$newType(0,$kindStruct,\"flate.huffmanBitWriter\",true,\"compress/flate\",false,function(writer_,bits_,nbits_,bytes_,codegenFreq_,nbytes_,literalFreq_,offsetFreq_,codegen_,literalEncoding_,offsetEncoding_,codegenEncoding_,err_){this.$val=this;if(arguments.length===0){this.writer=$ifaceNil;this.bits=new $Uint64(0,0);this.nbits=0;this.bytes=CO.zero();this.codegenFreq=CP.zero();this.nbytes=0;this.literalFreq=CQ.nil;this.offsetFreq=CQ.nil;this.codegen=CB.nil;this.literalEncoding=BU.nil;this.offsetEncoding=BU.nil;this.codegenEncoding=BU.nil;this.err=$ifaceNil;return;}this.writer=writer_;this.bits=bits_;this.nbits=nbits_;this.bytes=bytes_;this.codegenFreq=codegenFreq_;this.nbytes=nbytes_;this.literalFreq=literalFreq_;this.offsetFreq=offsetFreq_;this.codegen=codegen_;this.literalEncoding=literalEncoding_;this.offsetEncoding=offsetEncoding_;this.codegenEncoding=codegenEncoding_;this.err=err_;});AJ=$pkg.hcode=$newType(0,$kindStruct,\"flate.hcode\",true,\"compress/flate\",false,function(code_,len_){this.$val=this;if(arguments.length===0){this.code=0;this.len=0;return;}this.code=code_;this.len=len_;});AK=$pkg.huffmanEncoder=$newType(0,$kindStruct,\"flate.huffmanEncoder\",true,\"compress/flate\",false,function(codes_,freqcache_,bitCount_,lns_,lfs_){this.$val=this;if(arguments.length===0){this.codes=CR.nil;this.freqcache=CS.nil;this.bitCount=CT.zero();this.lns=AT.nil;this.lfs=AU.nil;return;}this.codes=codes_;this.freqcache=freqcache_;this.bitCount=bitCount_;this.lns=lns_;this.lfs=lfs_;});AL=$pkg.literalNode=$newType(0,$kindStruct,\"flate.literalNode\",true,\"compress/flate\",false,function(literal_,freq_){this.$val=this;if(arguments.length===0){this.literal=0;this.freq=0;return;}this.literal=literal_;this.freq=freq_;});AM=$pkg.levelInfo=$newType(0,$kindStruct,\"flate.levelInfo\",true,\"compress/flate\",false,function(level_,lastFreq_,nextCharFreq_,nextPairFreq_,needed_){this.$val=this;if(arguments.length===0){this.level=0;this.lastFreq=0;this.nextCharFreq=0;this.nextPairFreq=0;this.needed=0;return;}this.level=level_;this.lastFreq=lastFreq_;this.nextCharFreq=nextCharFreq_;this.nextPairFreq=nextPairFreq_;this.needed=needed_;});AT=$pkg.byLiteral=$newType(12,$kindSlice,\"flate.byLiteral\",true,\"compress/flate\",false,null);AU=$pkg.byFreq=$newType(12,$kindSlice,\"flate.byFreq\",true,\"compress/flate\",false,null);AX=$pkg.CorruptInputError=$newType(8,$kindInt64,\"flate.CorruptInputError\",true,\"compress/flate\",true,null);AY=$pkg.InternalError=$newType(8,$kindString,\"flate.InternalError\",true,\"compress/flate\",true,null);BB=$pkg.Resetter=$newType(8,$kindInterface,\"flate.Resetter\",true,\"compress/flate\",true,null);BC=$pkg.huffmanDecoder=$newType(0,$kindStruct,\"flate.huffmanDecoder\",true,\"compress/flate\",false,function(min_,chunks_,links_,linkMask_){this.$val=this;if(arguments.length===0){this.min=0;this.chunks=BW.zero();this.links=BY.nil;this.linkMask=0;return;}this.min=min_;this.chunks=chunks_;this.links=links_;this.linkMask=linkMask_;});BD=$pkg.Reader=$newType(8,$kindInterface,\"flate.Reader\",true,\"compress/flate\",true,null);BE=$pkg.decompressor=$newType(0,$kindStruct,\"flate.decompressor\",true,\"compress/flate\",false,function(r_,roffset_,b_,nb_,h1_,h2_,bits_,codebits_,dict_,buf_,step_,stepState_,final$12_,err_,toRead_,hl_,hd_,copyLen_,copyDist_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.roffset=new $Int64(0,0);this.b=0;this.nb=0;this.h1=new BC.ptr(0,BW.zero(),BY.nil,0);this.h2=new BC.ptr(0,BW.zero(),BY.nil,0);this.bits=DF.nil;this.codebits=DH.nil;this.dict=new Y.ptr(CB.nil,0,0,false);this.buf=DI.zero();this.step=$throwNilPointerError;this.stepState=0;this.final$12=false;this.err=$ifaceNil;this.toRead=CB.nil;this.hl=DA.nil;this.hd=DA.nil;this.copyLen=0;this.copyDist=0;return;}this.r=r_;this.roffset=roffset_;this.b=b_;this.nb=nb_;this.h1=h1_;this.h2=h2_;this.bits=bits_;this.codebits=codebits_;this.dict=dict_;this.buf=buf_;this.step=step_;this.stepState=stepState_;this.final$12=final$12_;this.err=err_;this.toRead=toRead_;this.hl=hl_;this.hd=hd_;this.copyLen=copyLen_;this.copyDist=copyDist_;});BP=$pkg.token=$newType(4,$kindUint32,\"flate.token\",true,\"compress/flate\",false,null);BU=$ptrType(AK);BW=$arrayType($Uint32,512);BX=$sliceType($Uint32);BY=$sliceType(BX);CB=$sliceType($Uint8);CD=$sliceType(BP);CG=$ptrType(AE);CO=$arrayType($Uint8,248);CP=$arrayType($Int32,19);CQ=$sliceType($Int32);CR=$sliceType(AJ);CS=$sliceType(AL);CT=$arrayType($Int32,17);CU=$arrayType(AM,16);CV=$arrayType($Int32,16);CW=$arrayType(CV,16);CX=$ptrType(AT);CY=$ptrType(AU);CZ=$arrayType($Int,16);DA=$ptrType(BC);DB=$sliceType($Int);DC=$ptrType(BE);DD=$arrayType($Int,288);DE=$arrayType($Int,316);DF=$ptrType(DE);DG=$arrayType($Int,19);DH=$ptrType(DG);DI=$arrayType($Uint8,4);DM=$ptrType(Y);DN=$ptrType(AJ);DQ=$funcType([DC],[],false);Y.ptr.prototype.init=function(a,b){var $ptr,a,b,c;c=this;Y.copy(c,new Y.ptr(c.hist,0,0,false));if(c.hist.$capacity<a){c.hist=$makeSlice(CB,a);}c.hist=$subslice(c.hist,0,a);if(b.$length>c.hist.$length){b=$subslice(b,(b.$length-c.hist.$length>>0));}c.wrPos=$copySlice(c.hist,b);if(c.wrPos===c.hist.$length){c.wrPos=0;c.full=true;}c.rdPos=c.wrPos;};Y.prototype.init=function(a,b){return this.$val.init(a,b);};Y.ptr.prototype.histSize=function(){var $ptr,a;a=this;if(a.full){return a.hist.$length;}return a.wrPos;};Y.prototype.histSize=function(){return this.$val.histSize();};Y.ptr.prototype.availRead=function(){var $ptr,a;a=this;return a.wrPos-a.rdPos>>0;};Y.prototype.availRead=function(){return this.$val.availRead();};Y.ptr.prototype.availWrite=function(){var $ptr,a;a=this;return a.hist.$length-a.wrPos>>0;};Y.prototype.availWrite=function(){return this.$val.availWrite();};Y.ptr.prototype.writeSlice=function(){var $ptr,a;a=this;return $subslice(a.hist,a.wrPos);};Y.prototype.writeSlice=function(){return this.$val.writeSlice();};Y.ptr.prototype.writeMark=function(a){var $ptr,a,b;b=this;b.wrPos=b.wrPos+(a)>>0;};Y.prototype.writeMark=function(a){return this.$val.writeMark(a);};Y.ptr.prototype.writeByte=function(a){var $ptr,a,b,c,d;b=this;(c=b.hist,d=b.wrPos,((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=a));b.wrPos=b.wrPos+(1)>>0;};Y.prototype.writeByte=function(a){return this.$val.writeByte(a);};Y.ptr.prototype.writeCopy=function(a,b){var $ptr,a,b,c,d,e,f,g;c=this;d=c.wrPos;e=d;f=e-a>>0;g=e+b>>0;if(g>c.hist.$length){g=c.hist.$length;}if(f<0){f=f+(c.hist.$length)>>0;e=e+($copySlice($subslice(c.hist,e,g),$subslice(c.hist,f)))>>0;f=0;}while(true){if(!(e<g)){break;}e=e+($copySlice($subslice(c.hist,e,g),$subslice(c.hist,f,e)))>>0;}c.wrPos=e;return e-d>>0;};Y.prototype.writeCopy=function(a,b){return this.$val.writeCopy(a,b);};Y.ptr.prototype.tryWriteCopy=function(a,b){var $ptr,a,b,c,d,e,f,g,$s;$s=0;s:while(true){switch($s){case 0:c=this;d=c.wrPos;e=d+b>>0;if(d<a||e>c.hist.$length){$s=-1;return 0;}f=d;g=d-a>>0;case 1:d=d+($copySlice($subslice(c.hist,d,e),$subslice(c.hist,g,d)))>>0;if(d<e){$s=2;continue;}$s=3;continue;case 2:$s=1;continue;case 3:c.wrPos=d;$s=-1;return d-f>>0;}return;}};Y.prototype.tryWriteCopy=function(a,b){return this.$val.tryWriteCopy(a,b);};Y.ptr.prototype.readFlush=function(){var $ptr,a,b,c,d;a=this;b=$subslice(a.hist,a.rdPos,a.wrPos);a.rdPos=a.wrPos;if(a.wrPos===a.hist.$length){c=0;d=0;a.wrPos=c;a.rdPos=d;a.full=true;}return b;};Y.prototype.readFlush=function(){return this.$val.readFlush();};AF=function(a){var $ptr,a;return new AE.ptr(a,new $Uint64(0,0),0,CO.zero(),CP.zero(),0,$makeSlice(CQ,286),$makeSlice(CQ,30),$makeSlice(CB,317),AO(286),AO(30),AO(19),$ifaceNil);};AH=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=AF($ifaceNil);(b=a.offsetFreq,(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]=1));AG=AO(30);$r=AG.generate(a.offsetFreq,15);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AJ.ptr.prototype.set=function(a,b){var $ptr,a,b,c;c=this;c.len=b;c.code=a;};AJ.prototype.set=function(a,b){return this.$val.set(a,b);};AN=function(){var $ptr;return new AL.ptr(65535,2147483647);};AO=function(a){var $ptr,a;return new AK.ptr($makeSlice(CR,a),CS.nil,CT.zero(),AT.nil,AU.nil);};AP=function(){var $ptr,a,b,c,d,e;a=AO(286);b=a.codes;c=0;c=0;while(true){if(!(c<286)){break;}d=0;e=0;switch(0){default:if(c<144){d=c+48<<16>>>16;e=8;break;}else if(c<256){d=(c+400<<16>>>16)-144<<16>>>16;e=9;break;}else if(c<280){d=c-256<<16>>>16;e=7;break;}else{d=(c+192<<16>>>16)-280<<16>>>16;e=8;}}AJ.copy(((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]),new AJ.ptr(BM(d,((e<<24>>>24))),e));c=c+(1)<<16>>>16;}return a;};AQ=function(){var $ptr,a,b,c,d,e;a=AO(30);b=a.codes;c=b;d=0;while(true){if(!(d<c.$length)){break;}e=d;AJ.copy(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),new AJ.ptr(BM(((e<<16>>>16)),5),5));d++;}return a;};AK.ptr.prototype.bitCounts=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;c=this;if(b>=16){$panic(new $String(\"flate: maxBits too large\"));}d=((a.$length>>0));a=$subslice(a,0,(d+1>>0));AL.copy(((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]),AN());if(b>(d-1>>0)){b=d-1>>0;}e=CU.zero();f=CW.zero();g=1;while(true){if(!(g<=b)){break;}AM.copy(((g<0||g>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[g]),new AM.ptr(g,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]).freq,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]).freq,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]).freq+(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]).freq>>0,0));(h=((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]),((g<0||g>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[g]=2));if(g===1){((g<0||g>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[g]).nextPairFreq=2147483647;}g=g+(1)>>0;}((b<0||b>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[b]).needed=($imul(2,d))-4>>0;i=b;while(true){j=((i<0||i>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[i]);if((j.nextPairFreq===2147483647)&&(j.nextCharFreq===2147483647)){j.needed=0;(k=i+1>>0,((k<0||k>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[k])).nextPairFreq=2147483647;i=i+(1)>>0;continue;}l=j.lastFreq;if(j.nextCharFreq<j.nextPairFreq){n=(m=((i<0||i>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[i]),((i<0||i>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[i]))+1>>0;j.lastFreq=j.nextCharFreq;(o=((i<0||i>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[i]),((i<0||i>=o.length)?($throwRuntimeError(\"index out of range\"),undefined):o[i]=n));j.nextCharFreq=((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]).freq;}else{j.lastFreq=j.nextPairFreq;$copySlice($subslice(new CQ(((i<0||i>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[i])),0,i),$subslice(new CQ((p=i-1>>0,((p<0||p>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[p]))),0,i));(q=j.level-1>>0,((q<0||q>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[q])).needed=2;}j.needed=j.needed-(1)>>0;if(j.needed===0){if(j.level===b){break;}(r=j.level+1>>0,((r<0||r>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[r])).nextPairFreq=l+j.lastFreq>>0;i=i+(1)>>0;}else{while(true){if(!((s=i-1>>0,((s<0||s>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[s])).needed>0)){break;}i=i-(1)>>0;}}}if(!(((t=((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]),((b<0||b>=t.length)?($throwRuntimeError(\"index out of range\"),undefined):t[b]))===d))){$panic(new $String(\"leafCounts[maxBits][maxBits] != n\"));}u=$subslice(new CQ(c.bitCount),0,(b+1>>0));v=1;w=((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]);x=b;while(true){if(!(x>0)){break;}((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]=((w.nilCheck,((x<0||x>=w.length)?($throwRuntimeError(\"index out of range\"),undefined):w[x]))-(y=x-1>>0,(w.nilCheck,((y<0||y>=w.length)?($throwRuntimeError(\"index out of range\"),undefined):w[y])))>>0));v=v+(1)>>0;x=x-(1)>>0;}return u;};AK.prototype.bitCounts=function(a,b){return this.$val.bitCounts(a,b);};AK.ptr.prototype.assignEncodingAndSize=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=a;f=0;case 1:if(!(f<e.$length)){$s=2;continue;}g=f;h=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);d=(i=(1),i<32?(d<<i):0)<<16>>>16;if((g===0)||(h===0)){$s=3;continue;}$s=4;continue;case 3:f++;$s=1;continue;case 4:j=$subslice(b,(b.$length-((h>>0))>>0));$r=(c.$ptr_lns||(c.$ptr_lns=new CX(function(){return this.$target.lns;},function($v){this.$target.lns=$v;},c))).sort(j);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=j;l=0;while(true){if(!(l<k.$length)){break;}m=$clone(((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]),AL);AJ.copy((n=c.codes,o=m.literal,((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o])),new AJ.ptr(BM(d,((g<<24>>>24))),((g<<16>>>16))));d=d+(1)<<16>>>16;l++;}b=$subslice(b,0,(b.$length-((h>>0))>>0));f++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.assignEncodingAndSize};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.assignEncodingAndSize=function(a,b){return this.$val.assignEncodingAndSize(a,b);};AK.ptr.prototype.generate=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(c.freqcache===CS.nil){c.freqcache=$makeSlice(CS,287);}d=$subslice(c.freqcache,0,(a.$length+1>>0));e=0;f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(!((i===0))){AL.copy(((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]),new AL.ptr(((h<<16>>>16)),i));e=e+(1)>>0;}else{AL.copy(((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]),new AL.ptr(0,0));(j=c.codes,((h<0||h>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+h])).len=0;}g++;}AL.copy((k=a.$length,((k<0||k>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+k])),new AL.ptr(0,0));d=$subslice(d,0,e);if(e<=2){l=d;m=0;while(true){if(!(m<l.$length)){break;}n=m;o=$clone(((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]),AL);(p=c.codes,q=o.literal,((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q])).set(((n<<16>>>16)),1);m++;}$s=-1;return;}$r=(c.$ptr_lfs||(c.$ptr_lfs=new CY(function(){return this.$target.lfs;},function($v){this.$target.lfs=$v;},c))).sort(d);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=c.bitCounts(d,b);$r=c.assignEncodingAndSize(r,d);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.generate};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.generate=function(a,b){return this.$val.generate(a,b);};$ptrType(AT).prototype.sort=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.$set(($subslice(new AT(a.$array),a.$offset,a.$offset+a.$length)));$r=D.Sort(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$ptrType(AT).prototype.sort};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AT.prototype.Len=function(){var $ptr,a;a=this;return a.$length;};$ptrType(AT).prototype.Len=function(){return this.$get().Len();};AT.prototype.Less=function(a,b){var $ptr,a,b,c;c=this;return((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]).literal<((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]).literal;};$ptrType(AT).prototype.Less=function(a,b){return this.$get().Less(a,b);};AT.prototype.Swap=function(a,b){var $ptr,a,b,c,d,e;c=this;d=$clone(((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]),AL);e=$clone(((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]),AL);AL.copy(((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]),d);AL.copy(((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]),e);};$ptrType(AT).prototype.Swap=function(a,b){return this.$get().Swap(a,b);};$ptrType(AU).prototype.sort=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.$set(($subslice(new AU(a.$array),a.$offset,a.$offset+a.$length)));$r=D.Sort(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$ptrType(AU).prototype.sort};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Len=function(){var $ptr,a;a=this;return a.$length;};$ptrType(AU).prototype.Len=function(){return this.$get().Len();};AU.prototype.Less=function(a,b){var $ptr,a,b,c;c=this;if(((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]).freq===((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]).freq){return((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]).literal<((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]).literal;}return((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]).freq<((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]).freq;};$ptrType(AU).prototype.Less=function(a,b){return this.$get().Less(a,b);};AU.prototype.Swap=function(a,b){var $ptr,a,b,c,d,e;c=this;d=$clone(((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]),AL);e=$clone(((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]),AL);AL.copy(((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]),d);AL.copy(((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]),e);};$ptrType(AU).prototype.Swap=function(a,b){return this.$get().Swap(a,b);};AX.prototype.Error=function(){var $ptr,a;a=this;return\"flate: corrupt input before offset \"+F.FormatInt((new $Int64(a.$high,a.$low)),10);};$ptrType(AX).prototype.Error=function(){return this.$get().Error();};AY.prototype.Error=function(){var $ptr,a;a=this.$val;return\"flate: internal error: \"+(a);};$ptrType(AY).prototype.Error=function(){return new AY(this.$get()).Error();};BC.ptr.prototype.init=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=this;if(!((b.min===0))){BC.copy(b,new BC.ptr(0,BW.zero(),BY.nil,0));}c=CZ.zero();d=0;e=0;f=d;g=e;h=a;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if(j===0){i++;continue;}if((f===0)||j<f){f=j;}if(j>g){g=j;}((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+(1)>>0));i++;}if(g===0){return true;}k=0;l=CZ.zero();m=f;while(true){if(!(m<=g)){break;}k=(n=(1),n<32?(k<<n):0)>>0;((m<0||m>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[m]=k);k=k+(((m<0||m>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[m]))>>0;m=m+(1)>>0;}if(!((k===((o=((g>>>0)),o<32?(1<<o):0)>>0)))&&!((k===1)&&(g===1))){return false;}b.min=f;if(g>9){q=(p=((((g>>>0))-9>>>0)),p<32?(1<<p):0)>>0;b.linkMask=(((q-1>>0)>>>0));r=l[10]>>1>>0;b.links=$makeSlice(BY,(512-r>>0));s=((r>>>0));while(true){if(!(s<512)){break;}v=(((t=s>>>8>>>0,((t<0||t>=BK.length)?($throwRuntimeError(\"index out of range\"),undefined):BK[t]))>>0))|((((u=(s&255)>>>0,((u<0||u>=BK.length)?($throwRuntimeError(\"index out of range\"),undefined):BK[u]))>>0))<<8>>0);v=(v>>$min((7),31))>>0;w=s-((r>>>0))>>>0;if(false&&!(((x=b.chunks,((v<0||v>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[v]))===0))){$panic(new $String(\"impossible: overwriting existing chunk\"));}(y=b.chunks,((v<0||v>=y.length)?($throwRuntimeError(\"index out of range\"),undefined):y[v]=(((((w<<4>>>0)|10)>>>0)>>>0))));(z=b.links,((w<0||w>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+w]=$makeSlice(BX,q)));s=s+(1)>>>0;}}aa=a;ab=0;while(true){if(!(ab<aa.$length)){break;}ac=ab;ad=((ab<0||ab>=aa.$length)?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+ab]);if(ad===0){ab++;continue;}ae=((ad<0||ad>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[ad]);((ad<0||ad>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[ad]=(((ad<0||ad>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[ad])+(1)>>0));af=((((ac<<4>>0)|ad)>>>0));ai=(((ag=ae>>8>>0,((ag<0||ag>=BK.length)?($throwRuntimeError(\"index out of range\"),undefined):BK[ag]))>>0))|((((ah=ae&255,((ah<0||ah>=BK.length)?($throwRuntimeError(\"index out of range\"),undefined):BK[ah]))>>0))<<8>>0);ai=(ai>>$min(((((16-ad>>0)>>>0))),31))>>0;if(ad<=9){aj=ai;while(true){if(!(aj<512)){break;}if(false&&!(((ak=b.chunks,((aj<0||aj>=ak.length)?($throwRuntimeError(\"index out of range\"),undefined):ak[aj]))===0))){$panic(new $String(\"impossible: overwriting existing chunk\"));}(al=b.chunks,((aj<0||aj>=al.length)?($throwRuntimeError(\"index out of range\"),undefined):al[aj]=af));aj=aj+(((am=((ad>>>0)),am<32?(1<<am):0)>>0))>>0;}}else{an=ai&511;if(false&&!(((((ao=b.chunks,((an<0||an>=ao.length)?($throwRuntimeError(\"index out of range\"),undefined):ao[an]))&15)>>>0)===10))){$panic(new $String(\"impossible: not an indirect chunk\"));}aq=(ap=b.chunks,((an<0||an>=ap.length)?($throwRuntimeError(\"index out of range\"),undefined):ap[an]))>>>4>>>0;as=(ar=b.links,((aq<0||aq>=ar.$length)?($throwRuntimeError(\"index out of range\"),undefined):ar.$array[ar.$offset+aq]));ai=(ai>>$min((9),31))>>0;at=ai;while(true){if(!(at<as.$length)){break;}if(false&&!((((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at])===0))){$panic(new $String(\"impossible: overwriting existing chunk\"));}((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]=af);at=at+(((au=(((ad-9>>0)>>>0)),au<32?(1<<au):0)>>0))>>0;}}ab++;}if(false){av=b.chunks;aw=0;while(true){if(!(aw<512)){break;}ax=aw;ay=((aw<0||aw>=av.length)?($throwRuntimeError(\"index out of range\"),undefined):av[aw]);if(ay===0){if((k===1)&&((az=ax%2,az===az?az:$throwRuntimeError(\"integer divide by zero\"))===1)){aw++;continue;}$panic(new $String(\"impossible: missing chunk\"));}aw++;}ba=b.links;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=((bb<0||bb>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+bb]);bd=bc;be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);if(bf===0){$panic(new $String(\"impossible: missing chunk\"));}be++;}bb++;}}return true;};BC.prototype.init=function(a){return this.$val.init(a);};BE.ptr.prototype.nextBlock=function(){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;case 1:if(!(a.nb<3)){$s=2;continue;}b=a.moreBits();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.err=b;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}$s=1;continue;case 2:a.final$12=((a.b&1)>>>0)===1;a.b=(c=(1),c<32?(a.b>>>c):0)>>>0;d=(a.b&3)>>>0;a.b=(e=(2),e<32?(a.b>>>e):0)>>>0;a.nb=a.nb-(3)>>>0;f=d;if(f===(0)){$s=5;continue;}if(f===(1)){$s=6;continue;}if(f===(2)){$s=7;continue;}$s=8;continue;case 5:$r=a.dataBlock();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 6:a.hl=AW;a.hd=DA.nil;$r=a.huffmanBlock();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 7:g=a.readHuffman();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}a.err=g;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=4;continue;}a.hl=a.h1;a.hd=a.h2;$r=a.huffmanBlock();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:a.err=((h=a.roffset,new AX(h.$high,h.$low)));case 9:case 4:$s=-1;return;}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.nextBlock};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.nextBlock=function(){return this.$val.nextBlock();};BE.ptr.prototype.Read=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:if(b.toRead.$length>0){c=$copySlice(a,b.toRead);b.toRead=$subslice(b.toRead,c);if(b.toRead.$length===0){$s=-1;return[c,b.err];}$s=-1;return[c,$ifaceNil];}if(!($interfaceIsEqual(b.err,$ifaceNil))){$s=-1;return[0,b.err];}$r=b.step(b);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(b.err,$ifaceNil))&&(b.toRead.$length===0)){b.toRead=b.dict.readFlush();}$s=1;continue;case 2:$s=-1;return[0,$ifaceNil];}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.Read=function(a){return this.$val.Read(a);};BE.ptr.prototype.Close=function(){var $ptr,a;a=this;if($interfaceIsEqual(a.err,B.EOF)){return $ifaceNil;}return a.err;};BE.prototype.Close=function(){return this.$val.Close();};BE.ptr.prototype.readHuffman=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;case 1:if(!(a.nb<14)){$s=2;continue;}b=a.moreBits();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(!($interfaceIsEqual(c,$ifaceNil))){$s=-1;return c;}$s=1;continue;case 2:d=((((a.b&31)>>>0)>>0))+257>>0;if(d>286){$s=-1;return((e=a.roffset,new AX(e.$high,e.$low)));}a.b=(f=(5),f<32?(a.b>>>f):0)>>>0;g=((((a.b&31)>>>0)>>0))+1>>0;if(g>30){$s=-1;return((h=a.roffset,new AX(h.$high,h.$low)));}a.b=(i=(5),i<32?(a.b>>>i):0)>>>0;j=((((a.b&15)>>>0)>>0))+4>>0;a.b=(k=(4),k<32?(a.b>>>k):0)>>>0;a.nb=a.nb-(14)>>>0;l=0;case 4:if(!(l<j)){$s=5;continue;}case 6:if(!(a.nb<3)){$s=7;continue;}m=a.moreBits();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}$s=6;continue;case 7:(o=a.codebits,p=((l<0||l>=BF.length)?($throwRuntimeError(\"index out of range\"),undefined):BF[l]),o.nilCheck,((p<0||p>=o.length)?($throwRuntimeError(\"index out of range\"),undefined):o[p]=((((a.b&7)>>>0)>>0))));a.b=(q=(3),q<32?(a.b>>>q):0)>>>0;a.nb=a.nb-(3)>>>0;l=l+(1)>>0;$s=4;continue;case 5:r=j;while(true){if(!(r<19)){break;}(s=a.codebits,t=((r<0||r>=BF.length)?($throwRuntimeError(\"index out of range\"),undefined):BF[r]),s.nilCheck,((t<0||t>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[t]=0));r=r+(1)>>0;}if(!a.h1.init($subslice(new DB(a.codebits),0))){$s=-1;return((u=a.roffset,new AX(u.$high,u.$low)));}v=0;w=d+g>>0;x=v;y=w;case 9:if(!(x<y)){$s=10;continue;}aa=a.huffSym(a.h1);$s=11;case 11:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[0];ac=z[1];if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return ac;}if(ab<16){$s=12;continue;}$s=13;continue;case 12:(ad=a.bits,ad.nilCheck,((x<0||x>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[x]=ab));x=x+(1)>>0;$s=9;continue;case 13:ae=0;af=0;ag=0;ah=ab;if(ah===(16)){ae=3;af=2;if(x===0){$s=-1;return((ai=a.roffset,new AX(ai.$high,ai.$low)));}ag=(aj=a.bits,ak=x-1>>0,(aj.nilCheck,((ak<0||ak>=aj.length)?($throwRuntimeError(\"index out of range\"),undefined):aj[ak])));}else if(ah===(17)){ae=3;af=3;ag=0;}else if(ah===(18)){ae=11;af=7;ag=0;}else{$s=-1;return new AY(\"unexpected length code\");}case 14:if(!(a.nb<af)){$s=15;continue;}al=a.moreBits();$s=16;case 16:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al;if(!($interfaceIsEqual(am,$ifaceNil))){$s=-1;return am;}$s=14;continue;case 15:ae=ae+(((((a.b&((((an=af,an<32?(1<<an):0)>>>0)-1>>>0)))>>>0)>>0)))>>0;a.b=(ao=(af),ao<32?(a.b>>>ao):0)>>>0;a.nb=a.nb-(af)>>>0;if((x+ae>>0)>y){$s=-1;return((ap=a.roffset,new AX(ap.$high,ap.$low)));}aq=0;while(true){if(!(aq<ae)){break;}(ar=a.bits,ar.nilCheck,((x<0||x>=ar.length)?($throwRuntimeError(\"index out of range\"),undefined):ar[x]=ag));x=x+(1)>>0;aq=aq+(1)>>0;}$s=9;continue;case 10:if(!a.h1.init($subslice(new DB(a.bits),0,d))||!a.h2.init($subslice(new DB(a.bits),d,(d+g>>0)))){$s=-1;return((as=a.roffset,new AX(as.$high,as.$low)));}if(a.h1.min<(at=a.bits,(at.nilCheck,at[256]))){a.h1.min=(au=a.bits,(au.nilCheck,au[256]));}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.readHuffman};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.readHuffman=function(){return this.$val.readHuffman();};BE.ptr.prototype.huffmanBlock=function(){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.stepState;if(b===(0)){$s=2;continue;}if(b===(1)){$s=3;continue;}$s=4;continue;case 2:$s=5;continue;$s=4;continue;case 3:$s=6;continue;case 4:case 1:case 5:d=a.huffSym(a.hl);$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){a.err=f;$s=-1;return;}g=0;h=0;if(e<256){$s=9;continue;}if((e===256)){$s=10;continue;}if(e<265){$s=11;continue;}if(e<269){$s=12;continue;}if(e<273){$s=13;continue;}if(e<277){$s=14;continue;}if(e<281){$s=15;continue;}if(e<285){$s=16;continue;}if(e<286){$s=17;continue;}$s=18;continue;case 9:a.dict.writeByte(((e<<24>>>24)));if(a.dict.availWrite()===0){a.toRead=a.dict.readFlush();a.step=$methodExpr(DC,\"huffmanBlock\");a.stepState=0;$s=-1;return;}$s=5;continue;$s=19;continue;case 10:a.finishBlock();$s=-1;return;case 11:h=e-254>>0;g=0;$s=19;continue;case 12:h=($imul(e,2))-519>>0;g=1;$s=19;continue;case 13:h=($imul(e,4))-1057>>0;g=2;$s=19;continue;case 14:h=($imul(e,8))-2149>>0;g=3;$s=19;continue;case 15:h=($imul(e,16))-4365>>0;g=4;$s=19;continue;case 16:h=($imul(e,32))-8861>>0;g=5;$s=19;continue;case 17:h=258;g=0;$s=19;continue;case 18:a.err=((i=a.roffset,new AX(i.$high,i.$low)));$s=-1;return;case 19:case 8:if(g>0){$s=20;continue;}$s=21;continue;case 20:case 22:if(!(a.nb<g)){$s=23;continue;}j=a.moreBits();$s=24;case 24:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}f=j;if(!($interfaceIsEqual(f,$ifaceNil))){a.err=f;$s=-1;return;}$s=22;continue;case 23:h=h+(((((a.b&((((k=g,k<32?(1<<k):0)>>>0)-1>>>0)))>>>0)>>0)))>>0;a.b=(l=(g),l<32?(a.b>>>l):0)>>>0;a.nb=a.nb-(g)>>>0;case 21:m=0;if(a.hd===DA.nil){$s=25;continue;}$s=26;continue;case 25:case 28:if(!(a.nb<5)){$s=29;continue;}n=a.moreBits();$s=30;case 30:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}f=n;if(!($interfaceIsEqual(f,$ifaceNil))){a.err=f;$s=-1;return;}$s=28;continue;case 29:m=(((o=(((a.b&31)>>>0))<<3>>>0,((o<0||o>=BK.length)?($throwRuntimeError(\"index out of range\"),undefined):BK[o]))>>0));a.b=(p=(5),p<32?(a.b>>>p):0)>>>0;a.nb=a.nb-(5)>>>0;$s=27;continue;case 26:r=a.huffSym(a.hd);$s=31;case 31:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;m=q[0];f=q[1];if(!($interfaceIsEqual(f,$ifaceNil))){a.err=f;$s=-1;return;}case 27:if(m<4){$s=33;continue;}if(m<30){$s=34;continue;}$s=35;continue;case 33:m=m+(1)>>0;$s=36;continue;case 34:s=(((m-2>>0)>>>0))>>>1>>>0;u=(t=s,t<32?(((m&1))<<t):0)>>0;case 37:if(!(a.nb<s)){$s=38;continue;}v=a.moreBits();$s=39;case 39:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}f=v;if(!($interfaceIsEqual(f,$ifaceNil))){a.err=f;$s=-1;return;}$s=37;continue;case 38:u=u|(((((a.b&((((w=s,w<32?(1<<w):0)>>>0)-1>>>0)))>>>0)>>0)));a.b=(x=(s),x<32?(a.b>>>x):0)>>>0;a.nb=a.nb-(s)>>>0;m=(((y=((s+1>>>0)),y<32?(1<<y):0)>>0)+1>>0)+u>>0;$s=36;continue;case 35:a.err=((z=a.roffset,new AX(z.$high,z.$low)));$s=-1;return;case 36:case 32:if(m>a.dict.histSize()){a.err=((aa=a.roffset,new AX(aa.$high,aa.$low)));$s=-1;return;}ab=h;ac=m;a.copyLen=ab;a.copyDist=ac;$s=6;continue;case 6:ad=a.dict.tryWriteCopy(a.copyDist,a.copyLen);if(ad===0){ad=a.dict.writeCopy(a.copyDist,a.copyLen);}a.copyLen=a.copyLen-(ad)>>0;if((a.dict.availWrite()===0)||a.copyLen>0){a.toRead=a.dict.readFlush();a.step=$methodExpr(DC,\"huffmanBlock\");a.stepState=1;$s=-1;return;}$s=5;continue;$s=-1;return;}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.huffmanBlock};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.huffmanBlock=function(){return this.$val.huffmanBlock();};BE.ptr.prototype.dataBlock=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;a.nb=0;a.b=0;c=B.ReadFull(a.r,$subslice(new CB(a.buf),0,4));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];a.roffset=(f=a.roffset,g=(new $Int64(0,d)),new $Int64(f.$high+g.$high,f.$low+g.$low));if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,B.EOF)){e=B.ErrUnexpectedEOF;}a.err=e;$s=-1;return;}h=((a.buf[0]>>0))|(((a.buf[1]>>0))<<8>>0);i=((a.buf[2]>>0))|(((a.buf[3]>>0))<<8>>0);if(!((((i<<16>>>16))===(((~h>>0)<<16>>>16))))){a.err=((j=a.roffset,new AX(j.$high,j.$low)));$s=-1;return;}if(h===0){a.toRead=a.dict.readFlush();a.finishBlock();$s=-1;return;}a.copyLen=h;$r=a.copyData();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.dataBlock};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.dataBlock=function(){return this.$val.dataBlock();};BE.ptr.prototype.copyData=function(){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.dict.writeSlice();if(b.$length>a.copyLen){b=$subslice(b,0,a.copyLen);}d=B.ReadFull(a.r,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];a.roffset=(g=a.roffset,h=(new $Int64(0,e)),new $Int64(g.$high+h.$high,g.$low+h.$low));a.copyLen=a.copyLen-(e)>>0;a.dict.writeMark(e);if(!($interfaceIsEqual(f,$ifaceNil))){if($interfaceIsEqual(f,B.EOF)){f=B.ErrUnexpectedEOF;}a.err=f;$s=-1;return;}if((a.dict.availWrite()===0)||a.copyLen>0){a.toRead=a.dict.readFlush();a.step=$methodExpr(DC,\"copyData\");$s=-1;return;}a.finishBlock();$s=-1;return;}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.copyData};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.copyData=function(){return this.$val.copyData();};BE.ptr.prototype.finishBlock=function(){var $ptr,a;a=this;if(a.final$12){if(a.dict.availRead()>0){a.toRead=a.dict.readFlush();}a.err=B.EOF;}a.step=$methodExpr(DC,\"nextBlock\");};BE.prototype.finishBlock=function(){return this.$val.finishBlock();};BE.ptr.prototype.moreBits=function(){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.r.ReadByte();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,B.EOF)){e=B.ErrUnexpectedEOF;}$s=-1;return e;}a.roffset=(f=a.roffset,g=new $Int64(0,1),new $Int64(f.$high+g.$high,f.$low+g.$low));a.b=(a.b|(((h=a.nb,h<32?(((d>>>0))<<h):0)>>>0)))>>>0;a.nb=a.nb+(8)>>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.moreBits};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.moreBits=function(){return this.$val.moreBits();};BE.ptr.prototype.huffSym=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=((a.min>>>0));case 1:case 3:if(!(b.nb<c)){$s=4;continue;}d=b.moreBits();$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[0,e];}$s=3;continue;case 4:h=(f=a.chunks,g=(b.b&511)>>>0,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]));c=((((h&15)>>>0)>>>0));if(c>9){h=(i=(j=a.links,k=h>>>4>>>0,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])),l=(((b.b>>>9>>>0))&a.linkMask)>>>0,((l<0||l>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+l]));c=((((h&15)>>>0)>>>0));}if(c<=b.nb){if(c===0){b.err=((m=b.roffset,new AX(m.$high,m.$low)));$s=-1;return[0,b.err];}b.b=(n=(c),n<32?(b.b>>>n):0)>>>0;b.nb=b.nb-(c)>>>0;$s=-1;return[(((h>>>4>>>0)>>0)),$ifaceNil];}$s=1;continue;case 2:$s=-1;return[0,$ifaceNil];}return;}if($f===undefined){$f={$blk:BE.ptr.prototype.huffSym};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BE.prototype.huffSym=function(a){return this.$val.huffSym(a);};BG=function(a){var $ptr,a,b,c,d;b=$assertType(a,BD,true);c=b[0];d=b[1];if(d){return c;}return E.NewReader(a);};BH=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=AV.Do((function(){var $ptr,a,b,c,d,e;a=DD.zero();b=0;while(true){if(!(b<144)){break;}((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]=8);b=b+(1)>>0;}c=144;while(true){if(!(c<256)){break;}((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=9);c=c+(1)>>0;}d=256;while(true){if(!(d<280)){break;}((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]=7);d=d+(1)>>0;}e=280;while(true){if(!(e<288)){break;}((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=8);e=e+(1)>>0;}AW.init(new DB(a));}));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BH};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};BE.ptr.prototype.Reset=function(a,b){var $ptr,a,b,c;c=this;BE.copy(c,new BE.ptr(BG(a),new $Int64(0,0),0,0,new BC.ptr(0,BW.zero(),BY.nil,0),new BC.ptr(0,BW.zero(),BY.nil,0),c.bits,c.codebits,$clone(c.dict,Y),DI.zero(),$methodExpr(DC,\"nextBlock\"),0,false,$ifaceNil,CB.nil,DA.nil,DA.nil,0,0));c.dict.init(32768,b);return $ifaceNil;};BE.prototype.Reset=function(a,b){return this.$val.Reset(a,b);};BI=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];$r=BH();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b[0]=new BE.ptr($ifaceNil,new $Int64(0,0),0,0,new BC.ptr(0,BW.zero(),BY.nil,0),new BC.ptr(0,BW.zero(),BY.nil,0),DF.nil,DH.nil,new Y.ptr(CB.nil,0,0,false),DI.zero(),$throwNilPointerError,0,false,$ifaceNil,CB.nil,DA.nil,DA.nil,0,0);b[0].r=BG(a);b[0].bits=DE.zero();b[0].codebits=DG.zero();b[0].step=$methodExpr(DC,\"nextBlock\");b[0].dict.init(32768,CB.nil);$s=-1;return b[0];}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewReader=BI;BL=function(a){var $ptr,a,b,c;return((((b=a>>>8<<16>>>16,((b<0||b>=BK.length)?($throwRuntimeError(\"index out of range\"),undefined):BK[b]))<<16>>>16))|((((c=(a&255)>>>0,((c<0||c>=BK.length)?($throwRuntimeError(\"index out of range\"),undefined):BK[c]))<<16>>>16))<<8<<16>>>16))>>>0;};BM=function(a,b){var $ptr,a,b,c;return BL((c=((16-b<<24>>>24)),c<32?(a<<c):0)<<16>>>16);};DM.methods=[{prop:\"init\",name:\"init\",pkg:\"compress/flate\",typ:$funcType([$Int,CB],[],false)},{prop:\"histSize\",name:\"histSize\",pkg:\"compress/flate\",typ:$funcType([],[$Int],false)},{prop:\"availRead\",name:\"availRead\",pkg:\"compress/flate\",typ:$funcType([],[$Int],false)},{prop:\"availWrite\",name:\"availWrite\",pkg:\"compress/flate\",typ:$funcType([],[$Int],false)},{prop:\"writeSlice\",name:\"writeSlice\",pkg:\"compress/flate\",typ:$funcType([],[CB],false)},{prop:\"writeMark\",name:\"writeMark\",pkg:\"compress/flate\",typ:$funcType([$Int],[],false)},{prop:\"writeByte\",name:\"writeByte\",pkg:\"compress/flate\",typ:$funcType([$Uint8],[],false)},{prop:\"writeCopy\",name:\"writeCopy\",pkg:\"compress/flate\",typ:$funcType([$Int,$Int],[$Int],false)},{prop:\"tryWriteCopy\",name:\"tryWriteCopy\",pkg:\"compress/flate\",typ:$funcType([$Int,$Int],[$Int],false)},{prop:\"readFlush\",name:\"readFlush\",pkg:\"compress/flate\",typ:$funcType([],[CB],false)}];CG.methods=[{prop:\"reset\",name:\"reset\",pkg:\"compress/flate\",typ:$funcType([B.Writer],[],false)},{prop:\"flush\",name:\"flush\",pkg:\"compress/flate\",typ:$funcType([],[],false)},{prop:\"write\",name:\"write\",pkg:\"compress/flate\",typ:$funcType([CB],[],false)},{prop:\"writeBits\",name:\"writeBits\",pkg:\"compress/flate\",typ:$funcType([$Int32,$Uint],[],false)},{prop:\"writeBytes\",name:\"writeBytes\",pkg:\"compress/flate\",typ:$funcType([CB],[],false)},{prop:\"generateCodegen\",name:\"generateCodegen\",pkg:\"compress/flate\",typ:$funcType([$Int,$Int,BU,BU],[],false)},{prop:\"dynamicSize\",name:\"dynamicSize\",pkg:\"compress/flate\",typ:$funcType([BU,BU,$Int],[$Int,$Int],false)},{prop:\"fixedSize\",name:\"fixedSize\",pkg:\"compress/flate\",typ:$funcType([$Int],[$Int],false)},{prop:\"storedSize\",name:\"storedSize\",pkg:\"compress/flate\",typ:$funcType([CB],[$Int,$Bool],false)},{prop:\"writeCode\",name:\"writeCode\",pkg:\"compress/flate\",typ:$funcType([AJ],[],false)},{prop:\"writeDynamicHeader\",name:\"writeDynamicHeader\",pkg:\"compress/flate\",typ:$funcType([$Int,$Int,$Int,$Bool],[],false)},{prop:\"writeStoredHeader\",name:\"writeStoredHeader\",pkg:\"compress/flate\",typ:$funcType([$Int,$Bool],[],false)},{prop:\"writeFixedHeader\",name:\"writeFixedHeader\",pkg:\"compress/flate\",typ:$funcType([$Bool],[],false)},{prop:\"writeBlock\",name:\"writeBlock\",pkg:\"compress/flate\",typ:$funcType([CD,$Bool,CB],[],false)},{prop:\"writeBlockDynamic\",name:\"writeBlockDynamic\",pkg:\"compress/flate\",typ:$funcType([CD,$Bool,CB],[],false)},{prop:\"indexTokens\",name:\"indexTokens\",pkg:\"compress/flate\",typ:$funcType([CD],[$Int,$Int],false)},{prop:\"writeTokens\",name:\"writeTokens\",pkg:\"compress/flate\",typ:$funcType([CD,CR,CR],[],false)},{prop:\"writeBlockHuff\",name:\"writeBlockHuff\",pkg:\"compress/flate\",typ:$funcType([$Bool,CB],[],false)}];DN.methods=[{prop:\"set\",name:\"set\",pkg:\"compress/flate\",typ:$funcType([$Uint16,$Uint16],[],false)}];BU.methods=[{prop:\"bitLength\",name:\"bitLength\",pkg:\"compress/flate\",typ:$funcType([CQ],[$Int],false)},{prop:\"bitCounts\",name:\"bitCounts\",pkg:\"compress/flate\",typ:$funcType([CS,$Int32],[CQ],false)},{prop:\"assignEncodingAndSize\",name:\"assignEncodingAndSize\",pkg:\"compress/flate\",typ:$funcType([CQ,CS],[],false)},{prop:\"generate\",name:\"generate\",pkg:\"compress/flate\",typ:$funcType([CQ,$Int32],[],false)}];AT.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)}];CX.methods=[{prop:\"sort\",name:\"sort\",pkg:\"compress/flate\",typ:$funcType([CS],[],false)}];AU.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)}];CY.methods=[{prop:\"sort\",name:\"sort\",pkg:\"compress/flate\",typ:$funcType([CS],[],false)}];AX.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AY.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DA.methods=[{prop:\"init\",name:\"init\",pkg:\"compress/flate\",typ:$funcType([DB],[$Bool],false)}];DC.methods=[{prop:\"nextBlock\",name:\"nextBlock\",pkg:\"compress/flate\",typ:$funcType([],[],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([CB],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"readHuffman\",name:\"readHuffman\",pkg:\"compress/flate\",typ:$funcType([],[$error],false)},{prop:\"huffmanBlock\",name:\"huffmanBlock\",pkg:\"compress/flate\",typ:$funcType([],[],false)},{prop:\"dataBlock\",name:\"dataBlock\",pkg:\"compress/flate\",typ:$funcType([],[],false)},{prop:\"copyData\",name:\"copyData\",pkg:\"compress/flate\",typ:$funcType([],[],false)},{prop:\"finishBlock\",name:\"finishBlock\",pkg:\"compress/flate\",typ:$funcType([],[],false)},{prop:\"moreBits\",name:\"moreBits\",pkg:\"compress/flate\",typ:$funcType([],[$error],false)},{prop:\"huffSym\",name:\"huffSym\",pkg:\"compress/flate\",typ:$funcType([DA],[$Int,$error],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([B.Reader,CB],[$error],false)}];BP.methods=[{prop:\"literal\",name:\"literal\",pkg:\"compress/flate\",typ:$funcType([],[$Uint32],false)},{prop:\"offset\",name:\"offset\",pkg:\"compress/flate\",typ:$funcType([],[$Uint32],false)},{prop:\"length\",name:\"length\",pkg:\"compress/flate\",typ:$funcType([],[$Uint32],false)}];Y.init(\"compress/flate\",[{prop:\"hist\",name:\"hist\",exported:false,typ:CB,tag:\"\"},{prop:\"wrPos\",name:\"wrPos\",exported:false,typ:$Int,tag:\"\"},{prop:\"rdPos\",name:\"rdPos\",exported:false,typ:$Int,tag:\"\"},{prop:\"full\",name:\"full\",exported:false,typ:$Bool,tag:\"\"}]);AE.init(\"compress/flate\",[{prop:\"writer\",name:\"writer\",exported:false,typ:B.Writer,tag:\"\"},{prop:\"bits\",name:\"bits\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"nbits\",name:\"nbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bytes\",name:\"bytes\",exported:false,typ:CO,tag:\"\"},{prop:\"codegenFreq\",name:\"codegenFreq\",exported:false,typ:CP,tag:\"\"},{prop:\"nbytes\",name:\"nbytes\",exported:false,typ:$Int,tag:\"\"},{prop:\"literalFreq\",name:\"literalFreq\",exported:false,typ:CQ,tag:\"\"},{prop:\"offsetFreq\",name:\"offsetFreq\",exported:false,typ:CQ,tag:\"\"},{prop:\"codegen\",name:\"codegen\",exported:false,typ:CB,tag:\"\"},{prop:\"literalEncoding\",name:\"literalEncoding\",exported:false,typ:BU,tag:\"\"},{prop:\"offsetEncoding\",name:\"offsetEncoding\",exported:false,typ:BU,tag:\"\"},{prop:\"codegenEncoding\",name:\"codegenEncoding\",exported:false,typ:BU,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AJ.init(\"compress/flate\",[{prop:\"code\",name:\"code\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uint16,tag:\"\"}]);AK.init(\"compress/flate\",[{prop:\"codes\",name:\"codes\",exported:false,typ:CR,tag:\"\"},{prop:\"freqcache\",name:\"freqcache\",exported:false,typ:CS,tag:\"\"},{prop:\"bitCount\",name:\"bitCount\",exported:false,typ:CT,tag:\"\"},{prop:\"lns\",name:\"lns\",exported:false,typ:AT,tag:\"\"},{prop:\"lfs\",name:\"lfs\",exported:false,typ:AU,tag:\"\"}]);AL.init(\"compress/flate\",[{prop:\"literal\",name:\"literal\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"freq\",name:\"freq\",exported:false,typ:$Int32,tag:\"\"}]);AM.init(\"compress/flate\",[{prop:\"level\",name:\"level\",exported:false,typ:$Int32,tag:\"\"},{prop:\"lastFreq\",name:\"lastFreq\",exported:false,typ:$Int32,tag:\"\"},{prop:\"nextCharFreq\",name:\"nextCharFreq\",exported:false,typ:$Int32,tag:\"\"},{prop:\"nextPairFreq\",name:\"nextPairFreq\",exported:false,typ:$Int32,tag:\"\"},{prop:\"needed\",name:\"needed\",exported:false,typ:$Int32,tag:\"\"}]);AT.init(AL);AU.init(AL);BB.init([{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([B.Reader,CB],[$error],false)}]);BC.init(\"compress/flate\",[{prop:\"min\",name:\"min\",exported:false,typ:$Int,tag:\"\"},{prop:\"chunks\",name:\"chunks\",exported:false,typ:BW,tag:\"\"},{prop:\"links\",name:\"links\",exported:false,typ:BY,tag:\"\"},{prop:\"linkMask\",name:\"linkMask\",exported:false,typ:$Uint32,tag:\"\"}]);BD.init([{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([CB],[$Int,$error],false)},{prop:\"ReadByte\",name:\"ReadByte\",pkg:\"\",typ:$funcType([],[$Uint8,$error],false)}]);BE.init(\"compress/flate\",[{prop:\"r\",name:\"r\",exported:false,typ:BD,tag:\"\"},{prop:\"roffset\",name:\"roffset\",exported:false,typ:$Int64,tag:\"\"},{prop:\"b\",name:\"b\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"nb\",name:\"nb\",exported:false,typ:$Uint,tag:\"\"},{prop:\"h1\",name:\"h1\",exported:false,typ:BC,tag:\"\"},{prop:\"h2\",name:\"h2\",exported:false,typ:BC,tag:\"\"},{prop:\"bits\",name:\"bits\",exported:false,typ:DF,tag:\"\"},{prop:\"codebits\",name:\"codebits\",exported:false,typ:DH,tag:\"\"},{prop:\"dict\",name:\"dict\",exported:false,typ:Y,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:DI,tag:\"\"},{prop:\"step\",name:\"step\",exported:false,typ:DQ,tag:\"\"},{prop:\"stepState\",name:\"stepState\",exported:false,typ:$Int,tag:\"\"},{prop:\"final$12\",name:\"final\",exported:false,typ:$Bool,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"toRead\",name:\"toRead\",exported:false,typ:CB,tag:\"\"},{prop:\"hl\",name:\"hl\",exported:false,typ:DA,tag:\"\"},{prop:\"hd\",name:\"hd\",exported:false,typ:DA,tag:\"\"},{prop:\"copyLen\",name:\"copyLen\",exported:false,typ:$Int,tag:\"\"},{prop:\"copyDist\",name:\"copyDist\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=E.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AG=BU.nil;AV=new G.Once.ptr(new G.Mutex.ptr(0,0),0);AW=new BC.ptr(0,BW.zero(),BY.nil,0);BF=$toNativeArray($kindInt,[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);BK=$toNativeArray($kindUint8,[0,128,64,192,32,160,96,224,16,144,80,208,48,176,112,240,8,136,72,200,40,168,104,232,24,152,88,216,56,184,120,248,4,132,68,196,36,164,100,228,20,148,84,212,52,180,116,244,12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254,1,129,65,193,33,161,97,225,17,145,81,209,49,177,113,241,9,137,73,201,41,169,105,233,25,153,89,217,57,185,121,249,5,133,69,197,37,165,101,229,21,149,85,213,53,181,117,245,13,141,77,205,45,173,109,237,29,157,93,221,61,189,125,253,3,131,67,195,35,163,99,227,19,147,83,211,51,179,115,243,11,139,75,203,43,171,107,235,27,155,91,219,59,187,123,251,7,135,71,199,39,167,103,231,23,151,87,215,55,183,119,247,15,143,79,207,47,175,111,239,31,159,95,223,63,191,127,255]);AR=AP();AS=AQ();$r=AH();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"encoding/binary\"]=(function(){var $pkg={},$init,A,B,C,D,F,G,Y,U;A=$packages[\"errors\"];B=$packages[\"io\"];C=$packages[\"math\"];D=$packages[\"reflect\"];F=$pkg.littleEndian=$newType(0,$kindStruct,\"binary.littleEndian\",true,\"encoding/binary\",false,function(){this.$val=this;if(arguments.length===0){return;}});G=$pkg.bigEndian=$newType(0,$kindStruct,\"binary.bigEndian\",true,\"encoding/binary\",false,function(){this.$val=this;if(arguments.length===0){return;}});Y=$sliceType($Uint8);F.ptr.prototype.Uint16=function(a){var $ptr,a;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));return((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))|((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16))<<8<<16>>>16))>>>0;};F.prototype.Uint16=function(a){return this.$val.Uint16(a);};F.ptr.prototype.PutUint16=function(a,b){var $ptr,a,b;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((b>>>8<<16>>>16)<<24>>>24)));};F.prototype.PutUint16=function(a,b){return this.$val.PutUint16(a,b);};F.ptr.prototype.Uint32=function(a){var $ptr,a;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));return((((((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>>0))|((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>>0))<<8>>>0))>>>0)|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>>0))<<16>>>0))>>>0)|((((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>>0))<<24>>>0))>>>0;};F.prototype.Uint32=function(a){return this.$val.Uint32(a);};F.ptr.prototype.PutUint32=function(a,b){var $ptr,a,b;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((b>>>8>>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((b>>>16>>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=(((b>>>24>>>0)<<24>>>24)));};F.prototype.PutUint32=function(a,b){return this.$val.PutUint32(a,b);};F.ptr.prototype.Uint64=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;$unused((7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]));return(b=(c=(d=(e=(f=(g=(h=(new $Uint64(0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]))),i=$shiftLeft64((new $Uint64(0,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]))),8),new $Uint64(h.$high|i.$high,(h.$low|i.$low)>>>0)),j=$shiftLeft64((new $Uint64(0,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))),16),new $Uint64(g.$high|j.$high,(g.$low|j.$low)>>>0)),k=$shiftLeft64((new $Uint64(0,(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]))),24),new $Uint64(f.$high|k.$high,(f.$low|k.$low)>>>0)),l=$shiftLeft64((new $Uint64(0,(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]))),32),new $Uint64(e.$high|l.$high,(e.$low|l.$low)>>>0)),m=$shiftLeft64((new $Uint64(0,(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]))),40),new $Uint64(d.$high|m.$high,(d.$low|m.$low)>>>0)),n=$shiftLeft64((new $Uint64(0,(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]))),48),new $Uint64(c.$high|n.$high,(c.$low|n.$low)>>>0)),o=$shiftLeft64((new $Uint64(0,(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]))),56),new $Uint64(b.$high|o.$high,(b.$low|o.$low)>>>0));};F.prototype.Uint64=function(a){return this.$val.Uint64(a);};F.ptr.prototype.PutUint64=function(a,b){var $ptr,a,b;$unused((7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b.$low<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(($shiftRightUint64(b,8).$low<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(($shiftRightUint64(b,16).$low<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=(($shiftRightUint64(b,24).$low<<24>>>24)));(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]=(($shiftRightUint64(b,32).$low<<24>>>24)));(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]=(($shiftRightUint64(b,40).$low<<24>>>24)));(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]=(($shiftRightUint64(b,48).$low<<24>>>24)));(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]=(($shiftRightUint64(b,56).$low<<24>>>24)));};F.prototype.PutUint64=function(a,b){return this.$val.PutUint64(a,b);};F.ptr.prototype.String=function(){var $ptr;return\"LittleEndian\";};F.prototype.String=function(){return this.$val.String();};F.ptr.prototype.GoString=function(){var $ptr;return\"binary.LittleEndian\";};F.prototype.GoString=function(){return this.$val.GoString();};G.ptr.prototype.Uint16=function(a){var $ptr,a;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));return((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16))|((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16))>>>0;};G.prototype.Uint16=function(a){return this.$val.Uint16(a);};G.ptr.prototype.PutUint16=function(a,b){var $ptr,a,b;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=(((b>>>8<<16>>>16)<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((b<<24>>>24)));};G.prototype.PutUint16=function(a,b){return this.$val.PutUint16(a,b);};G.ptr.prototype.Uint32=function(a){var $ptr,a;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));return((((((((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>>0))|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>>0))<<8>>>0))>>>0)|((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>>0))<<16>>>0))>>>0)|((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>>0))<<24>>>0))>>>0;};G.prototype.Uint32=function(a){return this.$val.Uint32(a);};G.ptr.prototype.PutUint32=function(a,b){var $ptr,a,b;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=(((b>>>24>>>0)<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((b>>>16>>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((b>>>8>>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((b<<24>>>24)));};G.prototype.PutUint32=function(a,b){return this.$val.PutUint32(a,b);};G.ptr.prototype.Uint64=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;$unused((7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]));return(b=(c=(d=(e=(f=(g=(h=(new $Uint64(0,(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]))),i=$shiftLeft64((new $Uint64(0,(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]))),8),new $Uint64(h.$high|i.$high,(h.$low|i.$low)>>>0)),j=$shiftLeft64((new $Uint64(0,(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]))),16),new $Uint64(g.$high|j.$high,(g.$low|j.$low)>>>0)),k=$shiftLeft64((new $Uint64(0,(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]))),24),new $Uint64(f.$high|k.$high,(f.$low|k.$low)>>>0)),l=$shiftLeft64((new $Uint64(0,(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]))),32),new $Uint64(e.$high|l.$high,(e.$low|l.$low)>>>0)),m=$shiftLeft64((new $Uint64(0,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))),40),new $Uint64(d.$high|m.$high,(d.$low|m.$low)>>>0)),n=$shiftLeft64((new $Uint64(0,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]))),48),new $Uint64(c.$high|n.$high,(c.$low|n.$low)>>>0)),o=$shiftLeft64((new $Uint64(0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]))),56),new $Uint64(b.$high|o.$high,(b.$low|o.$low)>>>0));};G.prototype.Uint64=function(a){return this.$val.Uint64(a);};G.ptr.prototype.PutUint64=function(a,b){var $ptr,a,b;$unused((7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=(($shiftRightUint64(b,56).$low<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(($shiftRightUint64(b,48).$low<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(($shiftRightUint64(b,40).$low<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=(($shiftRightUint64(b,32).$low<<24>>>24)));(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]=(($shiftRightUint64(b,24).$low<<24>>>24)));(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]=(($shiftRightUint64(b,16).$low<<24>>>24)));(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]=(($shiftRightUint64(b,8).$low<<24>>>24)));(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]=((b.$low<<24>>>24)));};G.prototype.PutUint64=function(a,b){return this.$val.PutUint64(a,b);};G.ptr.prototype.String=function(){var $ptr;return\"BigEndian\";};G.prototype.String=function(){return this.$val.String();};G.ptr.prototype.GoString=function(){var $ptr;return\"binary.BigEndian\";};G.prototype.GoString=function(){return this.$val.GoString();};F.methods=[{prop:\"Uint16\",name:\"Uint16\",pkg:\"\",typ:$funcType([Y],[$Uint16],false)},{prop:\"PutUint16\",name:\"PutUint16\",pkg:\"\",typ:$funcType([Y,$Uint16],[],false)},{prop:\"Uint32\",name:\"Uint32\",pkg:\"\",typ:$funcType([Y],[$Uint32],false)},{prop:\"PutUint32\",name:\"PutUint32\",pkg:\"\",typ:$funcType([Y,$Uint32],[],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([Y],[$Uint64],false)},{prop:\"PutUint64\",name:\"PutUint64\",pkg:\"\",typ:$funcType([Y,$Uint64],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}];G.methods=[{prop:\"Uint16\",name:\"Uint16\",pkg:\"\",typ:$funcType([Y],[$Uint16],false)},{prop:\"PutUint16\",name:\"PutUint16\",pkg:\"\",typ:$funcType([Y,$Uint16],[],false)},{prop:\"Uint32\",name:\"Uint32\",pkg:\"\",typ:$funcType([Y],[$Uint32],false)},{prop:\"PutUint32\",name:\"PutUint32\",pkg:\"\",typ:$funcType([Y,$Uint32],[],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([Y],[$Uint64],false)},{prop:\"PutUint64\",name:\"PutUint64\",pkg:\"\",typ:$funcType([Y,$Uint64],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}];F.init(\"\",[]);G.init(\"\",[]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.LittleEndian=new F.ptr();$pkg.BigEndian=new G.ptr();U=A.New(\"binary: varint overflows a 64-bit integer\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"hash\"]=(function(){var $pkg={},$init,A,B,E;A=$packages[\"io\"];B=$pkg.Hash=$newType(8,$kindInterface,\"hash.Hash\",true,\"hash\",true,null);E=$sliceType($Uint8);B.init([{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([E],[E],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([E],[$Int,$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"hash/crc32\"]=(function(){var $pkg={},$init,A,B,C,Y,AH,AI,AJ,AK,D,G,J,K,L,M,N,S,U,V,W,X,Z,AA,AB,AC,AD;A=$packages[\"hash\"];B=$packages[\"sync\"];C=$pkg.Table=$newType(1024,$kindArray,\"crc32.Table\",true,\"hash/crc32\",true,null);Y=$pkg.slicing8Table=$newType(8192,$kindArray,\"crc32.slicing8Table\",true,\"hash/crc32\",false,null);AH=$ptrType(C);AI=$ptrType(Y);AJ=$arrayType($Uint32,256);AK=$arrayType(C,8);N=function(){var $ptr;K=AB();if(K){AC();L=AD;}else{J=Z(3988292384);L=(function(a,b){var $ptr,a,b;return AA(a,J,b);});}};S=function(a,b,c){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=b;if($equal(d,(D),C)){$s=2;continue;}if($equal(d,($pkg.IEEETable),C)){$s=3;continue;}$s=4;continue;case 2:e=G(a,c);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;case 3:$r=M.Do(N);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=L(a,c);$s=8;case 8:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 4:$s=-1;return X(a,b,c);case 5:case 1:$s=-1;return 0;}return;}if($f===undefined){$f={$blk:S};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Update=S;U=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=M.Do(N);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=L(0,a);$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ChecksumIEEE=U;V=function(a){var $ptr,a,b;b=AJ.zero();W(a,b);return b;};W=function(a,b){var $ptr,a,b,c,d,e,f;c=0;while(true){if(!(c<256)){break;}d=((c>>>0));e=0;while(true){if(!(e<8)){break;}if(((d&1)>>>0)===1){d=(((d>>>1>>>0))^a)>>>0;}else{d=(f=(1),f<32?(d>>>f):0)>>>0;}e=e+(1)>>0;}b.nilCheck,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]=d);c=c+(1)>>0;}};X=function(a,b,c){var $ptr,a,b,c,d,e,f,g;a=~a>>>0;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);a=((g=(((a<<24>>>24))^f)<<24>>>24,(b.nilCheck,((g<0||g>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[g])))^((a>>>8>>>0)))>>>0;e++;}return~a>>>0;};Z=function(a){var $ptr,a,b,c,d,e,f,g,h,i;b=AK.zero();W(a,(b.nilCheck,b[0]));c=0;while(true){if(!(c<256)){break;}e=(d=(b.nilCheck,b[0]),((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));f=1;while(true){if(!(f<8)){break;}e=((g=(b.nilCheck,b[0]),h=(e&255)>>>0,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]))^((e>>>8>>>0)))>>>0;(i=(b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f])),((c<0||c>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[c]=e));f=f+(1)>>0;}c=c+(1)>>0;}return b;};AA=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;if(c.$length>=16){a=~a>>>0;while(true){if(!(c.$length>8)){break;}a=(a^((((((((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])>>>0))|((((1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1])>>>0))<<8>>>0))>>>0)|((((2>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+2])>>>0))<<16>>>0))>>>0)|((((3>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+3])>>>0))<<24>>>0))>>>0)))>>>0;a=((((((((((((((d=(b.nilCheck,b[0]),e=(7>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+7]),((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]))^(f=(b.nilCheck,b[1]),g=(6>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+6]),((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))>>>0)^(h=(b.nilCheck,b[2]),i=(5>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+5]),((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i])))>>>0)^(j=(b.nilCheck,b[3]),k=(4>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+4]),((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k])))>>>0)^(l=(b.nilCheck,b[4]),m=a>>>24>>>0,((m<0||m>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[m])))>>>0)^(n=(b.nilCheck,b[5]),o=(((a>>>16>>>0))&255)>>>0,((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o])))>>>0)^(p=(b.nilCheck,b[6]),q=(((a>>>8>>>0))&255)>>>0,((q<0||q>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[q])))>>>0)^(r=(b.nilCheck,b[7]),s=(a&255)>>>0,((s<0||s>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[s])))>>>0;c=$subslice(c,8);}a=~a>>>0;}if(c.$length===0){return a;}return X(a,(b.nilCheck,b[0]),c);};AB=function(){var $ptr;return false;};AC=function(){var $ptr;$panic(new $String(\"not available\"));};AD=function(a,b){var $ptr,a,b;$panic(new $String(\"not available\"));};C.init($Uint32,256);Y.init(C,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}D=AH.nil;G=$throwNilPointerError;J=AI.nil;K=false;L=$throwNilPointerError;M=new B.Once.ptr(new B.Mutex.ptr(0,0),0);$pkg.IEEETable=V(3988292384);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"compress/gzip\"]=(function(){var $pkg={},$init,A,B,C,D,H,E,F,G,K,L,Q,R,S,T,U,I,J,M;A=$packages[\"bufio\"];B=$packages[\"compress/flate\"];C=$packages[\"encoding/binary\"];D=$packages[\"errors\"];H=$packages[\"fmt\"];E=$packages[\"hash/crc32\"];F=$packages[\"io\"];G=$packages[\"time\"];K=$pkg.Header=$newType(0,$kindStruct,\"gzip.Header\",true,\"compress/gzip\",true,function(Comment_,Extra_,ModTime_,Name_,OS_){this.$val=this;if(arguments.length===0){this.Comment=\"\";this.Extra=Q.nil;this.ModTime=new G.Time.ptr(new $Int64(0,0),0,R.nil);this.Name=\"\";this.OS=0;return;}this.Comment=Comment_;this.Extra=Extra_;this.ModTime=ModTime_;this.Name=Name_;this.OS=OS_;});L=$pkg.Reader=$newType(0,$kindStruct,\"gzip.Reader\",true,\"compress/gzip\",true,function(Header_,r_,decompressor_,digest_,size_,buf_,err_,multistream_){this.$val=this;if(arguments.length===0){this.Header=new K.ptr(\"\",Q.nil,new G.Time.ptr(new $Int64(0,0),0,R.nil),\"\",0);this.r=$ifaceNil;this.decompressor=$ifaceNil;this.digest=0;this.size=0;this.buf=S.zero();this.err=$ifaceNil;this.multistream=false;return;}this.Header=Header_;this.r=r_;this.decompressor=decompressor_;this.digest=digest_;this.size=size_;this.buf=buf_;this.err=err_;this.multistream=multistream_;});Q=$sliceType($Uint8);R=$ptrType(G.Location);S=$arrayType($Uint8,512);T=$ptrType(L);U=$sliceType($Int32);J=function(a){var $ptr,a;if($interfaceIsEqual(a,F.EOF)){return F.ErrUnexpectedEOF;}return a;};M=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new L.ptr(new K.ptr(\"\",Q.nil,new G.Time.ptr(new $Int64(0,0),0,R.nil),\"\",0),$ifaceNil,$ifaceNil,0,0,S.zero(),$ifaceNil,false);c=b.Reset(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[T.nil,d];}$s=-1;return[b,$ifaceNil];}return;}if($f===undefined){$f={$blk:M};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewReader=M;L.ptr.prototype.Reset=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;L.copy(b,new L.ptr(new K.ptr(\"\",Q.nil,new G.Time.ptr(new $Int64(0,0),0,R.nil),\"\",0),$ifaceNil,b.decompressor,0,0,S.zero(),$ifaceNil,true));c=$assertType(a,B.Reader,true);d=c[0];e=c[1];if(e){b.r=d;}else{b.r=A.NewReader(a);}g=b.readHeader();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;K.copy(b.Header,f[0]);b.err=f[1];$s=-1;return b.err;}return;}if($f===undefined){$f={$blk:L.ptr.prototype.Reset};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};L.prototype.Reset=function(a){return this.$val.Reset(a);};L.ptr.prototype.Multistream=function(a){var $ptr,a,b;b=this;b.multistream=a;};L.prototype.Multistream=function(a){return this.$val.Multistream(a);};L.ptr.prototype.readString=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=$ifaceNil;c=false;d=0;case 1:if(d>=512){$s=-1;return[\"\",$pkg.ErrHeader];}f=a.r.ReadByte();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;(g=a.buf,((d<0||d>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[d]=e[0]));b=e[1];if(!($interfaceIsEqual(b,$ifaceNil))){$s=-1;return[\"\",b];}if((h=a.buf,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>127){c=true;}if((i=a.buf,((d<0||d>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[d]))===0){$s=4;continue;}$s=5;continue;case 4:j=E.Update(a.digest,E.IEEETable,$subslice(new Q(a.buf),0,(d+1>>0)));$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}a.digest=j;if(c){k=$makeSlice(U,0,d);l=$subslice(new Q(a.buf),0,d);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=$append(k,((n>>0)));m++;}$s=-1;return[($runesToString(k)),$ifaceNil];}$s=-1;return[($bytesToString($subslice(new Q(a.buf),0,d))),$ifaceNil];case 5:d=d+(1)>>0;$s=1;continue;case 2:$s=-1;return[\"\",$ifaceNil];}return;}if($f===undefined){$f={$blk:L.ptr.prototype.readString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};L.prototype.readString=function(){return this.$val.readString();};L.ptr.prototype.readHeader=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=new K.ptr(\"\",Q.nil,new G.Time.ptr(new $Int64(0,0),0,R.nil),\"\",0);b=$ifaceNil;c=this;e=F.ReadFull(c.r,$subslice(new Q(c.buf),0,10));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;b=d[1];if(!($interfaceIsEqual(b,$ifaceNil))){f=$clone(a,K);g=b;K.copy(a,f);b=g;$s=-1;return[a,b];}if(!((c.buf[0]===31))||!((c.buf[1]===139))||!((c.buf[2]===8))){h=$clone(a,K);i=$pkg.ErrHeader;K.copy(a,h);b=i;$s=-1;return[a,b];}j=c.buf[3];k=(new $Int64(0,$clone(I,C.littleEndian).Uint32($subslice(new Q(c.buf),4,8))));if((k.$high>0||(k.$high===0&&k.$low>0))){G.Time.copy(a.ModTime,G.Unix(k,new $Int64(0,0)));}a.OS=c.buf[9];l=E.ChecksumIEEE($subslice(new Q(c.buf),0,10));$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}c.digest=l;if(!((((j&4)>>>0)===0))){$s=3;continue;}$s=4;continue;case 3:n=F.ReadFull(c.r,$subslice(new Q(c.buf),0,2));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;b=m[1];if(!($interfaceIsEqual(b,$ifaceNil))){o=$clone(a,K);p=J(b);K.copy(a,o);b=p;$s=-1;return[a,b];}q=E.Update(c.digest,E.IEEETable,$subslice(new Q(c.buf),0,2));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}c.digest=q;r=$makeSlice(Q,$clone(I,C.littleEndian).Uint16($subslice(new Q(c.buf),0,2)));t=F.ReadFull(c.r,r);$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;b=s[1];if(!($interfaceIsEqual(b,$ifaceNil))){u=$clone(a,K);v=J(b);K.copy(a,u);b=v;$s=-1;return[a,b];}w=E.Update(c.digest,E.IEEETable,r);$s=8;case 8:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}c.digest=w;a.Extra=r;case 4:x=\"\";if(!((((j&8)>>>0)===0))){$s=9;continue;}$s=10;continue;case 9:z=c.readString();$s=11;case 11:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;x=y[0];b=y[1];if(!($interfaceIsEqual(b,$ifaceNil))){aa=$clone(a,K);ab=b;K.copy(a,aa);b=ab;$s=-1;return[a,b];}a.Name=x;case 10:if(!((((j&16)>>>0)===0))){$s=12;continue;}$s=13;continue;case 12:ad=c.readString();$s=14;case 14:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;x=ac[0];b=ac[1];if(!($interfaceIsEqual(b,$ifaceNil))){ae=$clone(a,K);af=b;K.copy(a,ae);b=af;$s=-1;return[a,b];}a.Comment=x;case 13:if(!((((j&2)>>>0)===0))){$s=15;continue;}$s=16;continue;case 15:ah=F.ReadFull(c.r,$subslice(new Q(c.buf),0,2));$s=17;case 17:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ag=ah;b=ag[1];if(!($interfaceIsEqual(b,$ifaceNil))){ai=$clone(a,K);aj=J(b);K.copy(a,ai);b=aj;$s=-1;return[a,b];}ak=$clone(I,C.littleEndian).Uint16($subslice(new Q(c.buf),0,2));if(!((ak===((c.digest<<16>>>16))))){al=$clone(a,K);am=$pkg.ErrHeader;K.copy(a,al);b=am;$s=-1;return[a,b];}case 16:c.digest=0;if($interfaceIsEqual(c.decompressor,$ifaceNil)){$s=18;continue;}$s=19;continue;case 18:an=B.NewReader(c.r);$s=21;case 21:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}c.decompressor=an;$s=20;continue;case 19:ao=$assertType(c.decompressor,B.Resetter).Reset(c.r,Q.nil);$s=22;case 22:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;case 20:ap=$clone(a,K);aq=$ifaceNil;K.copy(a,ap);b=aq;$s=-1;return[a,b];}return;}if($f===undefined){$f={$blk:L.ptr.prototype.readHeader};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};L.prototype.readHeader=function(){return this.$val.readHeader();};L.ptr.prototype.Read=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){e=0;f=d.err;b=e;c=f;$s=-1;return[b,c];}h=d.decompressor.Read(a);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;b=g[0];d.err=g[1];i=E.Update(d.digest,E.IEEETable,$subslice(a,0,b));$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d.digest=i;d.size=d.size+(((b>>>0)))>>>0;if(!($interfaceIsEqual(d.err,F.EOF))){j=b;k=d.err;b=j;c=k;$s=-1;return[b,c];}m=F.ReadFull(d.r,$subslice(new Q(d.buf),0,8));$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[1];if(!($interfaceIsEqual(n,$ifaceNil))){d.err=J(n);o=b;p=d.err;b=o;c=p;$s=-1;return[b,c];}q=$clone(I,C.littleEndian).Uint32($subslice(new Q(d.buf),0,4));r=$clone(I,C.littleEndian).Uint32($subslice(new Q(d.buf),4,8));if(!((q===d.digest))||!((r===d.size))){d.err=$pkg.ErrChecksum;s=b;t=d.err;b=s;c=t;$s=-1;return[b,c];}u=0;v=0;d.digest=u;d.size=v;if(!d.multistream){w=b;x=F.EOF;b=w;c=x;$s=-1;return[b,c];}d.err=$ifaceNil;z=d.readHeader();$s=4;case 4:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;d.err=y[1];if(!($interfaceIsEqual(d.err,$ifaceNil))){aa=b;ab=d.err;b=aa;c=ab;$s=-1;return[b,c];}if(b>0){ac=b;ad=$ifaceNil;b=ac;c=ad;$s=-1;return[b,c];}af=d.Read(a);$s=5;case 5:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;b=ae[0];c=ae[1];$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:L.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};L.prototype.Read=function(a){return this.$val.Read(a);};L.ptr.prototype.Close=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.decompressor.Close();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:L.ptr.prototype.Close};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};L.prototype.Close=function(){return this.$val.Close();};T.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([F.Reader],[$error],false)},{prop:\"Multistream\",name:\"Multistream\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"readString\",name:\"readString\",pkg:\"compress/gzip\",typ:$funcType([],[$String,$error],false)},{prop:\"readHeader\",name:\"readHeader\",pkg:\"compress/gzip\",typ:$funcType([],[K,$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([Q],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];K.init(\"\",[{prop:\"Comment\",name:\"Comment\",exported:true,typ:$String,tag:\"\"},{prop:\"Extra\",name:\"Extra\",exported:true,typ:Q,tag:\"\"},{prop:\"ModTime\",name:\"ModTime\",exported:true,typ:G.Time,tag:\"\"},{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"OS\",name:\"OS\",exported:true,typ:$Uint8,tag:\"\"}]);L.init(\"compress/gzip\",[{prop:\"Header\",name:\"\",exported:true,typ:K,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:B.Reader,tag:\"\"},{prop:\"decompressor\",name:\"decompressor\",exported:false,typ:F.ReadCloser,tag:\"\"},{prop:\"digest\",name:\"digest\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:S,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"multistream\",name:\"multistream\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrChecksum=D.New(\"gzip: invalid checksum\");$pkg.ErrHeader=D.New(\"gzip: invalid header\");I=$clone(C.LittleEndian,C.littleEndian);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"container/list\"]=(function(){var $pkg={},$init,A,B,D,E,C;A=$pkg.Element=$newType(0,$kindStruct,\"list.Element\",true,\"container/list\",true,function(next_,prev_,list_,Value_){this.$val=this;if(arguments.length===0){this.next=E.nil;this.prev=E.nil;this.list=D.nil;this.Value=$ifaceNil;return;}this.next=next_;this.prev=prev_;this.list=list_;this.Value=Value_;});B=$pkg.List=$newType(0,$kindStruct,\"list.List\",true,\"container/list\",true,function(root_,len_){this.$val=this;if(arguments.length===0){this.root=new A.ptr(E.nil,E.nil,D.nil,$ifaceNil);this.len=0;return;}this.root=root_;this.len=len_;});D=$ptrType(B);E=$ptrType(A);A.ptr.prototype.Next=function(){var $ptr,a,b;a=this;b=a.next;if(!(a.list===D.nil)&&!(b===a.list.root)){return b;}return E.nil;};A.prototype.Next=function(){return this.$val.Next();};A.ptr.prototype.Prev=function(){var $ptr,a,b;a=this;b=a.prev;if(!(a.list===D.nil)&&!(b===a.list.root)){return b;}return E.nil;};A.prototype.Prev=function(){return this.$val.Prev();};B.ptr.prototype.Init=function(){var $ptr,a;a=this;a.root.next=a.root;a.root.prev=a.root;a.len=0;return a;};B.prototype.Init=function(){return this.$val.Init();};C=function(){var $ptr;return new B.ptr(new A.ptr(E.nil,E.nil,D.nil,$ifaceNil),0).Init();};$pkg.New=C;B.ptr.prototype.Len=function(){var $ptr,a;a=this;return a.len;};B.prototype.Len=function(){return this.$val.Len();};B.ptr.prototype.Front=function(){var $ptr,a;a=this;if(a.len===0){return E.nil;}return a.root.next;};B.prototype.Front=function(){return this.$val.Front();};B.ptr.prototype.Back=function(){var $ptr,a;a=this;if(a.len===0){return E.nil;}return a.root.prev;};B.prototype.Back=function(){return this.$val.Back();};B.ptr.prototype.lazyInit=function(){var $ptr,a;a=this;if(a.root.next===E.nil){a.Init();}};B.prototype.lazyInit=function(){return this.$val.lazyInit();};B.ptr.prototype.insert=function(a,b){var $ptr,a,b,c,d;c=this;d=b.next;b.next=a;a.prev=b;a.next=d;d.prev=a;a.list=c;c.len=c.len+(1)>>0;return a;};B.prototype.insert=function(a,b){return this.$val.insert(a,b);};B.ptr.prototype.insertValue=function(a,b){var $ptr,a,b,c;c=this;return c.insert(new A.ptr(E.nil,E.nil,D.nil,a),b);};B.prototype.insertValue=function(a,b){return this.$val.insertValue(a,b);};B.ptr.prototype.remove=function(a){var $ptr,a,b;b=this;a.prev.next=a.next;a.next.prev=a.prev;a.next=E.nil;a.prev=E.nil;a.list=D.nil;b.len=b.len-(1)>>0;return a;};B.prototype.remove=function(a){return this.$val.remove(a);};B.ptr.prototype.Remove=function(a){var $ptr,a,b;b=this;if(a.list===b){b.remove(a);}return a.Value;};B.prototype.Remove=function(a){return this.$val.Remove(a);};B.ptr.prototype.PushFront=function(a){var $ptr,a,b;b=this;b.lazyInit();return b.insertValue(a,b.root);};B.prototype.PushFront=function(a){return this.$val.PushFront(a);};B.ptr.prototype.PushBack=function(a){var $ptr,a,b;b=this;b.lazyInit();return b.insertValue(a,b.root.prev);};B.prototype.PushBack=function(a){return this.$val.PushBack(a);};B.ptr.prototype.InsertBefore=function(a,b){var $ptr,a,b,c;c=this;if(!(b.list===c)){return E.nil;}return c.insertValue(a,b.prev);};B.prototype.InsertBefore=function(a,b){return this.$val.InsertBefore(a,b);};B.ptr.prototype.InsertAfter=function(a,b){var $ptr,a,b,c;c=this;if(!(b.list===c)){return E.nil;}return c.insertValue(a,b);};B.prototype.InsertAfter=function(a,b){return this.$val.InsertAfter(a,b);};B.ptr.prototype.MoveToFront=function(a){var $ptr,a,b;b=this;if(!(a.list===b)||b.root.next===a){return;}b.insert(b.remove(a),b.root);};B.prototype.MoveToFront=function(a){return this.$val.MoveToFront(a);};B.ptr.prototype.MoveToBack=function(a){var $ptr,a,b;b=this;if(!(a.list===b)||b.root.prev===a){return;}b.insert(b.remove(a),b.root.prev);};B.prototype.MoveToBack=function(a){return this.$val.MoveToBack(a);};B.ptr.prototype.MoveBefore=function(a,b){var $ptr,a,b,c;c=this;if(!(a.list===c)||a===b||!(b.list===c)){return;}c.insert(c.remove(a),b.prev);};B.prototype.MoveBefore=function(a,b){return this.$val.MoveBefore(a,b);};B.ptr.prototype.MoveAfter=function(a,b){var $ptr,a,b,c;c=this;if(!(a.list===c)||a===b||!(b.list===c)){return;}c.insert(c.remove(a),b);};B.prototype.MoveAfter=function(a,b){return this.$val.MoveAfter(a,b);};B.ptr.prototype.PushBackList=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;b.lazyInit();c=a.Len();d=a.Front();e=c;f=d;while(true){if(!(e>0)){break;}b.insertValue(f.Value,b.root.prev);g=e-1>>0;h=f.Next();e=g;f=h;}};B.prototype.PushBackList=function(a){return this.$val.PushBackList(a);};B.ptr.prototype.PushFrontList=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;b.lazyInit();c=a.Len();d=a.Back();e=c;f=d;while(true){if(!(e>0)){break;}b.insertValue(f.Value,b.root);g=e-1>>0;h=f.Prev();e=g;f=h;}};B.prototype.PushFrontList=function(a){return this.$val.PushFrontList(a);};E.methods=[{prop:\"Next\",name:\"Next\",pkg:\"\",typ:$funcType([],[E],false)},{prop:\"Prev\",name:\"Prev\",pkg:\"\",typ:$funcType([],[E],false)}];D.methods=[{prop:\"Init\",name:\"Init\",pkg:\"\",typ:$funcType([],[D],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Front\",name:\"Front\",pkg:\"\",typ:$funcType([],[E],false)},{prop:\"Back\",name:\"Back\",pkg:\"\",typ:$funcType([],[E],false)},{prop:\"lazyInit\",name:\"lazyInit\",pkg:\"container/list\",typ:$funcType([],[],false)},{prop:\"insert\",name:\"insert\",pkg:\"container/list\",typ:$funcType([E,E],[E],false)},{prop:\"insertValue\",name:\"insertValue\",pkg:\"container/list\",typ:$funcType([$emptyInterface,E],[E],false)},{prop:\"remove\",name:\"remove\",pkg:\"container/list\",typ:$funcType([E],[E],false)},{prop:\"Remove\",name:\"Remove\",pkg:\"\",typ:$funcType([E],[$emptyInterface],false)},{prop:\"PushFront\",name:\"PushFront\",pkg:\"\",typ:$funcType([$emptyInterface],[E],false)},{prop:\"PushBack\",name:\"PushBack\",pkg:\"\",typ:$funcType([$emptyInterface],[E],false)},{prop:\"InsertBefore\",name:\"InsertBefore\",pkg:\"\",typ:$funcType([$emptyInterface,E],[E],false)},{prop:\"InsertAfter\",name:\"InsertAfter\",pkg:\"\",typ:$funcType([$emptyInterface,E],[E],false)},{prop:\"MoveToFront\",name:\"MoveToFront\",pkg:\"\",typ:$funcType([E],[],false)},{prop:\"MoveToBack\",name:\"MoveToBack\",pkg:\"\",typ:$funcType([E],[],false)},{prop:\"MoveBefore\",name:\"MoveBefore\",pkg:\"\",typ:$funcType([E,E],[],false)},{prop:\"MoveAfter\",name:\"MoveAfter\",pkg:\"\",typ:$funcType([E,E],[],false)},{prop:\"PushBackList\",name:\"PushBackList\",pkg:\"\",typ:$funcType([D],[],false)},{prop:\"PushFrontList\",name:\"PushFrontList\",pkg:\"\",typ:$funcType([D],[],false)}];A.init(\"container/list\",[{prop:\"next\",name:\"next\",exported:false,typ:E,tag:\"\"},{prop:\"prev\",name:\"prev\",exported:false,typ:E,tag:\"\"},{prop:\"list\",name:\"list\",exported:false,typ:D,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$emptyInterface,tag:\"\"}]);B.init(\"container/list\",[{prop:\"root\",name:\"root\",exported:false,typ:A,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"context\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,H,M,S,T,V,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,I,J,a,K,N,O,P,Q,R,U,X;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"reflect\"];D=$packages[\"sync\"];E=$packages[\"time\"];F=$pkg.Context=$newType(8,$kindInterface,\"context.Context\",true,\"context\",true,null);G=$pkg.deadlineExceededError=$newType(0,$kindStruct,\"context.deadlineExceededError\",true,\"context\",false,function(){this.$val=this;if(arguments.length===0){return;}});H=$pkg.emptyCtx=$newType(4,$kindInt,\"context.emptyCtx\",true,\"context\",false,null);M=$pkg.CancelFunc=$newType(4,$kindFunc,\"context.CancelFunc\",true,\"context\",true,null);S=$pkg.canceler=$newType(8,$kindInterface,\"context.canceler\",true,\"context\",false,null);T=$pkg.cancelCtx=$newType(0,$kindStruct,\"context.cancelCtx\",true,\"context\",false,function(Context_,done_,mu_,children_,err_){this.$val=this;if(arguments.length===0){this.Context=$ifaceNil;this.done=$chanNil;this.mu=new D.Mutex.ptr(0,0);this.children=false;this.err=$ifaceNil;return;}this.Context=Context_;this.done=done_;this.mu=mu_;this.children=children_;this.err=err_;});V=$pkg.timerCtx=$newType(0,$kindStruct,\"context.timerCtx\",true,\"context\",false,function(cancelCtx_,timer_,deadline_){this.$val=this;if(arguments.length===0){this.cancelCtx=new T.ptr($ifaceNil,$chanNil,new D.Mutex.ptr(0,0),false,$ifaceNil);this.timer=AG.nil;this.deadline=new E.Time.ptr(new $Int64(0,0),0,AA.nil);return;}this.cancelCtx=cancelCtx_;this.timer=timer_;this.deadline=deadline_;});Y=$pkg.valueCtx=$newType(0,$kindStruct,\"context.valueCtx\",true,\"context\",false,function(Context_,key_,val_){this.$val=this;if(arguments.length===0){this.Context=$ifaceNil;this.key=$ifaceNil;this.val=$ifaceNil;return;}this.Context=Context_;this.key=key_;this.val=val_;});Z=$ptrType(H);AA=$ptrType(E.Location);AB=$structType(\"\",[]);AC=$ptrType(T);AD=$ptrType(V);AE=$ptrType(Y);AF=$sliceType($emptyInterface);AG=$ptrType(E.Timer);AH=$chanType(AB,false,true);AI=$chanType(AB,false,false);AJ=$mapType(S,AB);G.ptr.prototype.Error=function(){var $ptr;return\"context deadline exceeded\";};G.prototype.Error=function(){return this.$val.Error();};G.ptr.prototype.Timeout=function(){var $ptr;return true;};G.prototype.Timeout=function(){return this.$val.Timeout();};G.ptr.prototype.Temporary=function(){var $ptr;return true;};G.prototype.Temporary=function(){return this.$val.Temporary();};$ptrType(H).prototype.Deadline=function(){var $ptr,b,c;b=new E.Time.ptr(new $Int64(0,0),0,AA.nil);c=false;return[b,c];};$ptrType(H).prototype.Done=function(){var $ptr;return $chanNil;};$ptrType(H).prototype.Err=function(){var $ptr;return $ifaceNil;};$ptrType(H).prototype.Value=function(b){var $ptr,b;return $ifaceNil;};$ptrType(H).prototype.String=function(){var $ptr,b,c;b=this;c=b;if(c===(I)){return\"context.Background\";}else if(c===(J)){return\"context.TODO\";}return\"unknown empty Context\";};K=function(){var $ptr;return I;};$pkg.Background=K;N=function(b){var $ptr,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=$ifaceNil;e=$throwNilPointerError;c[0]=$clone(O(b),T);$r=P(b,c[0]);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=c[0];g=(function(c){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].cancel(true,$pkg.Canceled);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(c);d=f;e=g;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:N};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.WithCancel=N;O=function(b){var $ptr,b;return new T.ptr(b,new $Chan(AB,0),new D.Mutex.ptr(0,0),false,$ifaceNil);};P=function(b,c){var $ptr,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=[c];d=b[0].Done();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(d===$chanNil){$s=1;continue;}$s=2;continue;case 1:$s=-1;return;case 2:e=Q(b[0]);f=e[0];g=e[1];if(g){$s=4;continue;}$s=5;continue;case 4:$r=f.mu.Lock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(f.err,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:$r=c[0].cancel(false,f.err);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:if(f.children===false){f.children={};}h=c[0];(f.children||$throwRuntimeError(\"assignment to entry in nil map\"))[S.keyFor(h)]={k:h,v:new AB.ptr()};case 10:$r=f.mu.Unlock();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$go((function(b,c){return function $b(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=b[0].Done();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=c[0].Done();$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=$select([[j],[k]]);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}i=l;if(i[0]===0){$s=4;continue;}if(i[0]===1){$s=5;continue;}$s=6;continue;case 4:m=b[0].Err();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=c[0].cancel(false,n);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(b,c),[]);case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};Q=function(b){var $ptr,b,c,d,e,f,g;while(true){c=b;if($assertType(c,AC,true)[1]){d=c.$val;return[d,true];}else if($assertType(c,AD,true)[1]){e=c.$val;return[e.cancelCtx,true];}else if($assertType(c,AE,true)[1]){f=c.$val;b=f.Context;}else{g=c;return[AC.nil,false];}}};R=function(b,c){var $ptr,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=Q(b);e=d[0];f=d[1];if(!f){$s=-1;return;}$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(e.children===false)){delete e.children[S.keyFor(c)];}$r=e.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};T.ptr.prototype.Done=function(){var $ptr,b;b=this;return b.done;};T.prototype.Done=function(){return this.$val.Done();};T.ptr.prototype.Err=function(){var $ptr,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;$r=b.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(b.mu,\"Unlock\"),[]]);$s=-1;return b.err;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Err};}$f.$ptr=$ptr;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Err=function(){return this.$val.Err();};T.ptr.prototype.String=function(){var $ptr,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=B.Sprintf(\"%v.WithCancel\",new AF([b.Context]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.String};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.String=function(){return this.$val.String();};T.ptr.prototype.cancel=function(b,c){var $ptr,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if($interfaceIsEqual(c,$ifaceNil)){$panic(new $String(\"context: internal error: missing cancel error\"));}$r=d.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(d.err,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:$r=d.mu.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:d.err=c;$close(d.done);e=d.children;f=0;g=$keys(e);case 5:if(!(f<g.length)){$s=6;continue;}h=e[g[f]];if(h===undefined){f++;$s=5;continue;}i=h.k;$r=i.cancel(false,c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=5;continue;case 6:d.children=false;$r=d.mu.Unlock();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=9;continue;}$s=10;continue;case 9:$r=R(d.Context,d);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=-1;return;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.cancel};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.cancel=function(b,c){return this.$val.cancel(b,c);};U=function(b,c){var $ptr,b,c,d,e,f,g,h,i,j,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);d=[d];f=b.Deadline();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=$clone(e[0],E.Time);h=e[1];if(h&&$clone(g,E.Time).Before($clone(c,E.Time))){$s=2;continue;}$s=3;continue;case 2:i=N(b);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;case 3:d[0]=new V.ptr($clone(O(b),T),AG.nil,$clone(c,E.Time));$r=P(b,d[0]);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=E.Until($clone(c,E.Time));if((j.$high<0||(j.$high===0&&j.$low<=0))){$s=6;continue;}$s=7;continue;case 6:$r=d[0].cancel(true,$pkg.DeadlineExceeded);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[d[0],(function(d){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=d[0].cancel(true,$pkg.Canceled);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(d)];case 7:$r=d[0].cancelCtx.mu.Lock();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(d[0].cancelCtx.mu,\"Unlock\"),[]]);if($interfaceIsEqual(d[0].cancelCtx.err,$ifaceNil)){d[0].timer=E.AfterFunc(j,(function(d){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=d[0].cancel(true,$pkg.DeadlineExceeded);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(d));}$s=-1;return[d[0],(function(d){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=d[0].cancel(true,$pkg.Canceled);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(d)];}return;}}catch(err){$err=err;$s=-1;return[$ifaceNil,$throwNilPointerError];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.WithDeadline=U;V.ptr.prototype.Deadline=function(){var $ptr,b,c,d,e,f;b=new E.Time.ptr(new $Int64(0,0),0,AA.nil);c=false;d=this;e=$clone(d.deadline,E.Time);f=true;E.Time.copy(b,e);c=f;return[b,c];};V.prototype.Deadline=function(){return this.$val.Deadline();};V.ptr.prototype.String=function(){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;d=B.Sprintf(\"%v.WithDeadline(%s [%s])\",new AF([b.cancelCtx.Context,(c=b.deadline,new c.constructor.elem(c)),E.Until($clone(b.deadline,E.Time))]));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V.ptr.prototype.String};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.String=function(){return this.$val.String();};V.ptr.prototype.cancel=function(b,c){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;$r=d.cancelCtx.cancel(false,c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b){$s=2;continue;}$s=3;continue;case 2:$r=R(d.cancelCtx.Context,d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=d.cancelCtx.mu.Lock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(d.timer===AG.nil)){d.timer.Stop();d.timer=AG.nil;}$r=d.cancelCtx.mu.Unlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:V.ptr.prototype.cancel};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.cancel=function(b,c){return this.$val.cancel(b,c);};X=function(b,c,d){var $ptr,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(c,$ifaceNil)){$panic(new $String(\"nil key\"));}e=C.TypeOf(c).Comparable();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(!e){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"key is not comparable\"));case 2:$s=-1;return new Y.ptr(b,c,d);}return;}if($f===undefined){$f={$blk:X};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.WithValue=X;Y.ptr.prototype.String=function(){var $ptr,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=B.Sprintf(\"%v.WithValue(%#v, %#v)\",new AF([b.Context,b.key,b.val]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.String};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.String=function(){return this.$val.String();};Y.ptr.prototype.Value=function(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if($interfaceIsEqual(c.key,b)){$s=-1;return c.val;}d=c.Context.Value(b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Value};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Value=function(b){return this.$val.Value(b);};G.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];Z.methods=[{prop:\"Deadline\",name:\"Deadline\",pkg:\"\",typ:$funcType([],[E.Time,$Bool],false)},{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[AH],false)},{prop:\"Err\",name:\"Err\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Value\",name:\"Value\",pkg:\"\",typ:$funcType([$emptyInterface],[$emptyInterface],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];AC.methods=[{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[AH],false)},{prop:\"Err\",name:\"Err\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"cancel\",name:\"cancel\",pkg:\"context\",typ:$funcType([$Bool,$error],[],false)}];AD.methods=[{prop:\"Deadline\",name:\"Deadline\",pkg:\"\",typ:$funcType([],[E.Time,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"cancel\",name:\"cancel\",pkg:\"context\",typ:$funcType([$Bool,$error],[],false)}];AE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Value\",name:\"Value\",pkg:\"\",typ:$funcType([$emptyInterface],[$emptyInterface],false)}];F.init([{prop:\"Deadline\",name:\"Deadline\",pkg:\"\",typ:$funcType([],[E.Time,$Bool],false)},{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[AH],false)},{prop:\"Err\",name:\"Err\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Value\",name:\"Value\",pkg:\"\",typ:$funcType([$emptyInterface],[$emptyInterface],false)}]);G.init(\"\",[]);M.init([],[],false);S.init([{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[AH],false)},{prop:\"cancel\",name:\"cancel\",pkg:\"context\",typ:$funcType([$Bool,$error],[],false)}]);T.init(\"context\",[{prop:\"Context\",name:\"\",exported:true,typ:F,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:AI,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:D.Mutex,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:AJ,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);V.init(\"context\",[{prop:\"cancelCtx\",name:\"\",exported:false,typ:T,tag:\"\"},{prop:\"timer\",name:\"timer\",exported:false,typ:AG,tag:\"\"},{prop:\"deadline\",name:\"deadline\",exported:false,typ:E.Time,tag:\"\"}]);Y.init(\"context\",[{prop:\"Context\",name:\"\",exported:true,typ:F,tag:\"\"},{prop:\"key\",name:\"key\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"val\",name:\"val\",exported:false,typ:$emptyInterface,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Canceled=A.New(\"context canceled\");$pkg.DeadlineExceeded=(a=new G.ptr(),new a.constructor.elem(a));I=$newDataPointer(0,Z);J=$newDataPointer(0,Z);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math/rand\"]=(function(){var $pkg={},$init,B,A,J,K,M,AF,AH,AL,AM,AN,AO,AP,AQ,AS,AT,C,D,E,G,H,I,P,AG,F,L,N,O,V,Y,AI;B=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"math\"];J=$pkg.Source=$newType(8,$kindInterface,\"rand.Source\",true,\"math/rand\",true,null);K=$pkg.Source64=$newType(8,$kindInterface,\"rand.Source64\",true,\"math/rand\",true,null);M=$pkg.Rand=$newType(0,$kindStruct,\"rand.Rand\",true,\"math/rand\",true,function(src_,s64_,readVal_,readPos_){this.$val=this;if(arguments.length===0){this.src=$ifaceNil;this.s64=$ifaceNil;this.readVal=new $Int64(0,0);this.readPos=0;return;}this.src=src_;this.s64=s64_;this.readVal=readVal_;this.readPos=readPos_;});AF=$pkg.lockedSource=$newType(0,$kindStruct,\"rand.lockedSource\",true,\"math/rand\",false,function(lk_,src_){this.$val=this;if(arguments.length===0){this.lk=new B.Mutex.ptr(false);this.src=$ifaceNil;return;}this.lk=lk_;this.src=src_;});AH=$pkg.rngSource=$newType(0,$kindStruct,\"rand.rngSource\",true,\"math/rand\",false,function(tap_,feed_,vec_){this.$val=this;if(arguments.length===0){this.tap=0;this.feed=0;this.vec=AL.zero();return;}this.tap=tap_;this.feed=feed_;this.vec=vec_;});AL=$arrayType($Int64,607);AM=$ptrType(AF);AN=$ptrType($Int8);AO=$sliceType($Int);AP=$ptrType($Int64);AQ=$ptrType(M);AS=$sliceType($Uint8);AT=$ptrType(AH);M.ptr.prototype.ExpFloat64=function(){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;case 1:b=a.Uint32();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;d=(c&255)>>>0;e=(c)*(((d<0||d>=D.length)?($throwRuntimeError(\"index out of range\"),undefined):D[d]));if(c<((d<0||d>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[d])){$s=-1;return e;}if(d===0){$s=4;continue;}$s=5;continue;case 4:f=a.Float64();$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=A.Log(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return 7.69711747013105-g;case 5:h=a.Float64();$s=10;case 10:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}if($fround(((d<0||d>=E.length)?($throwRuntimeError(\"index out of range\"),undefined):E[d])+$fround(($fround(h))*($fround((i=d-1>>>0,((i<0||i>=E.length)?($throwRuntimeError(\"index out of range\"),undefined):E[i]))-((d<0||d>=E.length)?($throwRuntimeError(\"index out of range\"),undefined):E[d])))))<($fround(A.Exp(-e)))){$s=8;continue;}$s=9;continue;case 8:$s=-1;return e;case 9:$s=1;continue;case 2:$s=-1;return 0;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ExpFloat64};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ExpFloat64=function(){return this.$val.ExpFloat64();};F=function(a){var $ptr,a;if(a<0){return((-a>>>0));}return((a>>>0));};M.ptr.prototype.NormFloat64=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;case 1:b=a.Uint32();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=((b>>0));d=c&127;e=(c)*(((d<0||d>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[d]));if(F(c)<((d<0||d>=G.length)?($throwRuntimeError(\"index out of range\"),undefined):G[d])){$s=-1;return e;}if(d===0){$s=4;continue;}$s=5;continue;case 4:case 6:f=a.Float64();$s=8;case 8:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=A.Log(f);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=-g*0.29047645161474317;h=a.Float64();$s=10;case 10:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=A.Log(h);$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=-i;if(j+j>=e*e){$s=7;continue;}$s=6;continue;case 7:if(c>0){$s=-1;return 3.442619855899+e;}$s=-1;return-3.442619855899-e;case 5:k=a.Float64();$s=14;case 14:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if($fround(((d<0||d>=I.length)?($throwRuntimeError(\"index out of range\"),undefined):I[d])+$fround(($fround(k))*($fround((l=d-1>>0,((l<0||l>=I.length)?($throwRuntimeError(\"index out of range\"),undefined):I[l]))-((d<0||d>=I.length)?($throwRuntimeError(\"index out of range\"),undefined):I[d])))))<($fround(A.Exp(-0.5*e*e)))){$s=12;continue;}$s=13;continue;case 12:$s=-1;return e;case 13:$s=1;continue;case 2:$s=-1;return 0;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.NormFloat64};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.NormFloat64=function(){return this.$val.NormFloat64();};L=function(a){var $ptr,a,b;b=new AH.ptr(0,0,AL.zero());b.Seed(a);return b;};$pkg.NewSource=L;N=function(a){var $ptr,a,b,c;b=$assertType(a,K,true);c=b[0];return new M.ptr(a,c,new $Int64(0,0),0);};$pkg.New=N;M.ptr.prototype.Seed=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=$assertType(b.src,AM,true);d=c[0];e=c[1];if(e){$s=1;continue;}$s=2;continue;case 1:$r=d.seedPos(a,(b.$ptr_readPos||(b.$ptr_readPos=new AN(function(){return this.$target.readPos;},function($v){this.$target.readPos=$v;},b))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:$r=b.src.Seed(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.readPos=0;$s=-1;return;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Seed};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Seed=function(a){return this.$val.Seed(a);};M.ptr.prototype.Int63=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.src.Int63();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Int63};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Int63=function(){return this.$val.Int63();};M.ptr.prototype.Uint32=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.Int63();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return(($shiftRightInt64(b,31).$low>>>0));}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Uint32};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Uint32=function(){return this.$val.Uint32();};M.ptr.prototype.Uint64=function(){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(!($interfaceIsEqual(a.s64,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:b=a.s64.Uint64();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;case 2:e=a.Int63();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}h=a.Int63();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return(c=$shiftRightUint64(((d=e,new $Uint64(d.$high,d.$low))),31),f=$shiftLeft64(((g=h,new $Uint64(g.$high,g.$low))),32),new $Uint64(c.$high|f.$high,(c.$low|f.$low)>>>0));}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Uint64};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Uint64=function(){return this.$val.Uint64();};M.ptr.prototype.Int31=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.Int63();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return(((b=$shiftRightInt64(c,32),b.$low+((b.$high>>31)*4294967296))>>0));}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Int31};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Int31=function(){return this.$val.Int31();};M.ptr.prototype.Int=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.Int63();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=((b.$low>>>0));$s=-1;return((((c<<1>>>0)>>>1>>>0)>>0));}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Int};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Int=function(){return this.$val.Int();};M.ptr.prototype.Int63n=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if((a.$high<0||(a.$high===0&&a.$low<=0))){$panic(new $String(\"invalid argument to Int63n\"));}if((c=(d=new $Int64(a.$high-0,a.$low-1),new $Int64(a.$high&d.$high,(a.$low&d.$low)>>>0)),(c.$high===0&&c.$low===0))){$s=1;continue;}$s=2;continue;case 1:f=b.Int63();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return(e=f,g=new $Int64(a.$high-0,a.$low-1),new $Int64(e.$high&g.$high,(e.$low&g.$low)>>>0));case 2:j=((h=(i=$div64(new $Uint64(2147483648,0),(new $Uint64(a.$high,a.$low)),true),new $Uint64(2147483647-i.$high,4294967295-i.$low)),new $Int64(h.$high,h.$low)));k=b.Int63();$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;case 5:if(!((l.$high>j.$high||(l.$high===j.$high&&l.$low>j.$low)))){$s=6;continue;}m=b.Int63();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;$s=5;continue;case 6:$s=-1;return $div64(l,a,true);}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Int63n};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Int63n=function(a){return this.$val.Int63n(a);};M.ptr.prototype.Int31n=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(a<=0){$panic(new $String(\"invalid argument to Int31n\"));}if((a&((a-1>>0)))===0){$s=1;continue;}$s=2;continue;case 1:c=b.Int31();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c&((a-1>>0));case 2:e=(((2147483647-(d=2147483648%((a>>>0)),d===d?d:$throwRuntimeError(\"integer divide by zero\"))>>>0)>>0));f=b.Int31();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;case 5:if(!(g>e)){$s=6;continue;}h=b.Int31();$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;$s=5;continue;case 6:$s=-1;return(i=g%a,i===i?i:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Int31n};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Int31n=function(a){return this.$val.Int31n(a);};M.ptr.prototype.Intn=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(a<=0){$panic(new $String(\"invalid argument to Intn\"));}if(a<=2147483647){$s=1;continue;}$s=2;continue;case 1:c=b.Int31n(((a>>0)));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return((c>>0));case 2:e=b.Int63n((new $Int64(0,a)));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return(((d=e,d.$low+((d.$high>>31)*4294967296))>>0));}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Intn};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Intn=function(a){return this.$val.Intn(a);};M.ptr.prototype.Float64=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;case 1:b=a.Int63();$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($flatten64(b))/9.223372036854776e+18;if(c===1){$s=3;continue;}$s=4;continue;case 3:$s=1;continue;case 4:$s=-1;return c;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Float64};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Float64=function(){return this.$val.Float64();};M.ptr.prototype.Float32=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;case 1:b=a.Float64();$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($fround(b));if(c===1){$s=3;continue;}$s=4;continue;case 3:$s=1;continue;case 4:$s=-1;return c;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Float32};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Float32=function(){return this.$val.Float32();};M.ptr.prototype.Perm=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=$makeSlice(AO,a);d=0;case 1:if(!(d<a)){$s=2;continue;}e=b.Intn(d+1>>0);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]));((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=d);d=d+(1)>>0;$s=1;continue;case 2:$s=-1;return c;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Perm};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Perm=function(a){return this.$val.Perm(a);};M.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;e=$assertType(d.src,AM,true);f=e[0];g=e[1];if(g){$s=1;continue;}$s=2;continue;case 1:i=f.read(a,(d.$ptr_readVal||(d.$ptr_readVal=new AP(function(){return this.$target.readVal;},function($v){this.$target.readVal=$v;},d))),(d.$ptr_readPos||(d.$ptr_readPos=new AN(function(){return this.$target.readPos;},function($v){this.$target.readPos=$v;},d))));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;b=h[0];c=h[1];$s=-1;return[b,c];case 2:k=O(a,$methodVal(d,\"Int63\"),(d.$ptr_readVal||(d.$ptr_readVal=new AP(function(){return this.$target.readVal;},function($v){this.$target.readVal=$v;},d))),(d.$ptr_readPos||(d.$ptr_readPos=new AN(function(){return this.$target.readPos;},function($v){this.$target.readPos=$v;},d))));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;b=j[0];c=j[1];$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Read=function(a){return this.$val.Read(a);};O=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=0;f=$ifaceNil;g=d.$get();h=c.$get();e=0;case 1:if(!(e<a.$length)){$s=2;continue;}if(g===0){$s=3;continue;}$s=4;continue;case 3:i=b();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;g=7;case 4:((e<0||e>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+e]=((h.$low<<24>>>24)));h=$shiftRightInt64(h,(8));g=g-(1)<<24>>24;e=e+(1)>>0;$s=1;continue;case 2:d.$set(g);c.$set(h);$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};V=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=P.Int();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}$s=-1;return a;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Int=V;Y=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=P.Intn(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Intn=Y;AF.ptr.prototype.Int63=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=new $Int64(0,0);b=this;b.lk.Lock();c=b.src.Int63();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;b.lk.Unlock();$s=-1;return a;}return;}if($f===undefined){$f={$blk:AF.ptr.prototype.Int63};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AF.prototype.Int63=function(){return this.$val.Int63();};AF.ptr.prototype.Uint64=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=new $Uint64(0,0);b=this;b.lk.Lock();c=b.src.Uint64();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;b.lk.Unlock();$s=-1;return a;}return;}if($f===undefined){$f={$blk:AF.ptr.prototype.Uint64};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AF.prototype.Uint64=function(){return this.$val.Uint64();};AF.ptr.prototype.Seed=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.lk.Lock();$r=b.src.Seed(a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.lk.Unlock();$s=-1;return;}return;}if($f===undefined){$f={$blk:AF.ptr.prototype.Seed};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AF.prototype.Seed=function(a){return this.$val.Seed(a);};AF.ptr.prototype.seedPos=function(a,b){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.lk.Lock();$r=c.src.Seed(a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.$set(0);c.lk.Unlock();$s=-1;return;}return;}if($f===undefined){$f={$blk:AF.ptr.prototype.seedPos};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AF.prototype.seedPos=function(a,b){return this.$val.seedPos(a,b);};AF.ptr.prototype.read=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=0;e=$ifaceNil;f=this;f.lk.Lock();h=O(a,$methodVal(f.src,\"Int63\"),b,c);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;d=g[0];e=g[1];f.lk.Unlock();$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AF.ptr.prototype.read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AF.prototype.read=function(a,b,c){return this.$val.read(a,b,c);};AI=function(a){var $ptr,a,b,c,d,e;c=(b=a/44488,(b===b&&b!==1/0&&b!==-1/0)?b>>0:$throwRuntimeError(\"integer divide by zero\"));e=(d=a%44488,d===d?d:$throwRuntimeError(\"integer divide by zero\"));a=($imul(48271,e))-($imul(3399,c))>>0;if(a<0){a=a+(2147483647)>>0;}return a;};AH.ptr.prototype.Seed=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;b.tap=0;b.feed=334;a=$div64(a,new $Int64(0,2147483647),true);if((a.$high<0||(a.$high===0&&a.$low<0))){a=(c=new $Int64(0,2147483647),new $Int64(a.$high+c.$high,a.$low+c.$low));}if((a.$high===0&&a.$low===0)){a=new $Int64(0,89482311);}d=(((a.$low+((a.$high>>31)*4294967296))>>0));e=-20;while(true){if(!(e<607)){break;}d=AI(d);if(e>=0){f=new $Int64(0,0);f=$shiftLeft64((new $Int64(0,d)),40);d=AI(d);f=(g=$shiftLeft64((new $Int64(0,d)),20),new $Int64(f.$high^g.$high,(f.$low^g.$low)>>>0));d=AI(d);f=(h=(new $Int64(0,d)),new $Int64(f.$high^h.$high,(f.$low^h.$low)>>>0));f=(i=((e<0||e>=AG.length)?($throwRuntimeError(\"index out of range\"),undefined):AG[e]),new $Int64(f.$high^i.$high,(f.$low^i.$low)>>>0));(j=b.vec,((e<0||e>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[e]=f));}e=e+(1)>>0;}};AH.prototype.Seed=function(a){return this.$val.Seed(a);};AH.ptr.prototype.Int63=function(){var $ptr,a,b,c;a=this;return((b=(c=a.Uint64(),new $Uint64(c.$high&2147483647,(c.$low&4294967295)>>>0)),new $Int64(b.$high,b.$low)));};AH.prototype.Int63=function(){return this.$val.Int63();};AH.ptr.prototype.Uint64=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=this;a.tap=a.tap-(1)>>0;if(a.tap<0){a.tap=a.tap+(607)>>0;}a.feed=a.feed-(1)>>0;if(a.feed<0){a.feed=a.feed+(607)>>0;}h=(b=(c=a.vec,d=a.feed,((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])),e=(f=a.vec,g=a.tap,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])),new $Int64(b.$high+e.$high,b.$low+e.$low));(i=a.vec,j=a.feed,((j<0||j>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[j]=h));return(new $Uint64(h.$high,h.$low));};AH.prototype.Uint64=function(){return this.$val.Uint64();};AQ.methods=[{prop:\"ExpFloat64\",name:\"ExpFloat64\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"NormFloat64\",name:\"NormFloat64\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Seed\",name:\"Seed\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"Int63\",name:\"Int63\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint32\",name:\"Uint32\",pkg:\"\",typ:$funcType([],[$Uint32],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Int31\",name:\"Int31\",pkg:\"\",typ:$funcType([],[$Int32],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int63n\",name:\"Int63n\",pkg:\"\",typ:$funcType([$Int64],[$Int64],false)},{prop:\"Int31n\",name:\"Int31n\",pkg:\"\",typ:$funcType([$Int32],[$Int32],false)},{prop:\"Intn\",name:\"Intn\",pkg:\"\",typ:$funcType([$Int],[$Int],false)},{prop:\"Float64\",name:\"Float64\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Float32\",name:\"Float32\",pkg:\"\",typ:$funcType([],[$Float32],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([$Int],[AO],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AS],[$Int,$error],false)}];AM.methods=[{prop:\"Int63\",name:\"Int63\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Seed\",name:\"Seed\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"seedPos\",name:\"seedPos\",pkg:\"math/rand\",typ:$funcType([$Int64,AN],[],false)},{prop:\"read\",name:\"read\",pkg:\"math/rand\",typ:$funcType([AS,AP,AN],[$Int,$error],false)}];AT.methods=[{prop:\"Seed\",name:\"Seed\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"Int63\",name:\"Int63\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];J.init([{prop:\"Int63\",name:\"Int63\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seed\",name:\"Seed\",pkg:\"\",typ:$funcType([$Int64],[],false)}]);K.init([{prop:\"Int63\",name:\"Int63\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seed\",name:\"Seed\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)}]);M.init(\"math/rand\",[{prop:\"src\",name:\"src\",exported:false,typ:J,tag:\"\"},{prop:\"s64\",name:\"s64\",exported:false,typ:K,tag:\"\"},{prop:\"readVal\",name:\"readVal\",exported:false,typ:$Int64,tag:\"\"},{prop:\"readPos\",name:\"readPos\",exported:false,typ:$Int8,tag:\"\"}]);AF.init(\"math/rand\",[{prop:\"lk\",name:\"lk\",exported:false,typ:B.Mutex,tag:\"\"},{prop:\"src\",name:\"src\",exported:false,typ:K,tag:\"\"}]);AH.init(\"math/rand\",[{prop:\"tap\",name:\"tap\",exported:false,typ:$Int,tag:\"\"},{prop:\"feed\",name:\"feed\",exported:false,typ:$Int,tag:\"\"},{prop:\"vec\",name:\"vec\",exported:false,typ:AL,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}C=$toNativeArray($kindUint32,[3801129273,0,2615860924,3279400049,3571300752,3733536696,3836274812,3906990442,3958562475,3997804264,4028649213,4053523342,4074002619,4091154507,4105727352,4118261130,4129155133,4138710916,4147160435,4154685009,4161428406,4167506077,4173011791,4178022498,4182601930,4186803325,4190671498,4194244443,4197554582,4200629752,4203493986,4206168142,4208670408,4211016720,4213221098,4215295924,4217252177,4219099625,4220846988,4222502074,4224071896,4225562770,4226980400,4228329951,4229616109,4230843138,4232014925,4233135020,4234206673,4235232866,4236216336,4237159604,4238064994,4238934652,4239770563,4240574564,4241348362,4242093539,4242811568,4243503822,4244171579,4244816032,4245438297,4246039419,4246620374,4247182079,4247725394,4248251127,4248760037,4249252839,4249730206,4250192773,4250641138,4251075867,4251497493,4251906522,4252303431,4252688672,4253062674,4253425844,4253778565,4254121205,4254454110,4254777611,4255092022,4255397640,4255694750,4255983622,4256264513,4256537670,4256803325,4257061702,4257313014,4257557464,4257795244,4258026541,4258251531,4258470383,4258683258,4258890309,4259091685,4259287526,4259477966,4259663135,4259843154,4260018142,4260188212,4260353470,4260514019,4260669958,4260821380,4260968374,4261111028,4261249421,4261383632,4261513736,4261639802,4261761900,4261880092,4261994441,4262105003,4262211835,4262314988,4262414513,4262510454,4262602857,4262691764,4262777212,4262859239,4262937878,4263013162,4263085118,4263153776,4263219158,4263281289,4263340187,4263395872,4263448358,4263497660,4263543789,4263586755,4263626565,4263663224,4263696735,4263727099,4263754314,4263778377,4263799282,4263817020,4263831582,4263842955,4263851124,4263856071,4263857776,4263856218,4263851370,4263843206,4263831695,4263816804,4263798497,4263776735,4263751476,4263722676,4263690284,4263654251,4263614520,4263571032,4263523724,4263472530,4263417377,4263358192,4263294892,4263227394,4263155608,4263079437,4262998781,4262913534,4262823581,4262728804,4262629075,4262524261,4262414220,4262298801,4262177846,4262051187,4261918645,4261780032,4261635148,4261483780,4261325704,4261160681,4260988457,4260808763,4260621313,4260425802,4260221905,4260009277,4259787550,4259556329,4259315195,4259063697,4258801357,4258527656,4258242044,4257943926,4257632664,4257307571,4256967906,4256612870,4256241598,4255853155,4255446525,4255020608,4254574202,4254106002,4253614578,4253098370,4252555662,4251984571,4251383021,4250748722,4250079132,4249371435,4248622490,4247828790,4246986404,4246090910,4245137315,4244119963,4243032411,4241867296,4240616155,4239269214,4237815118,4236240596,4234530035,4232664930,4230623176,4228378137,4225897409,4223141146,4220059768,4216590757,4212654085,4208145538,4202926710,4196809522,4189531420,4180713890,4169789475,4155865042,4137444620,4111806704,4073393724,4008685917,3873074895]);D=$toNativeArray($kindFloat32,[2.0249555365836613e-09,1.4866739783681027e-11,2.4409616689036184e-11,3.1968806074589295e-11,3.844677007314168e-11,4.42282044321729e-11,4.951644302919611e-11,5.443358958023836e-11,5.905943789574764e-11,6.34494193296753e-11,6.764381416113352e-11,7.167294535648239e-11,7.556032188826833e-11,7.932458162551725e-11,8.298078890689453e-11,8.654132271912474e-11,9.001651507523079e-11,9.341507428706208e-11,9.674443190998971e-11,1.0001099254308699e-10,1.0322031424037093e-10,1.0637725422757427e-10,1.0948611461891744e-10,1.1255067711157807e-10,1.1557434870246297e-10,1.1856014781042035e-10,1.2151082917633005e-10,1.2442885610752796e-10,1.2731647680563896e-10,1.3017574518325858e-10,1.330085347417409e-10,1.3581656632677408e-10,1.386014220061682e-10,1.413645728254309e-10,1.4410737880776736e-10,1.4683107507629245e-10,1.4953686899854546e-10,1.522258291641876e-10,1.5489899640730442e-10,1.575573282952547e-10,1.6020171300645814e-10,1.628330109637588e-10,1.6545202707884954e-10,1.68059510752272e-10,1.7065616975120435e-10,1.73242697965037e-10,1.758197337720091e-10,1.783878739169964e-10,1.8094774290045024e-10,1.834998542005195e-10,1.8604476292871652e-10,1.8858298256319017e-10,1.9111498494872592e-10,1.9364125580789704e-10,1.9616222535212557e-10,1.9867835154840918e-10,2.011900368525943e-10,2.0369768372052732e-10,2.062016807302669e-10,2.0870240258208383e-10,2.1120022397624894e-10,2.136955057352452e-10,2.1618855317040442e-10,2.1867974098199738e-10,2.2116936060356807e-10,2.2365774510202385e-10,2.2614519978869652e-10,2.2863201609713002e-10,2.3111849933865614e-10,2.3360494094681883e-10,2.3609159072179864e-10,2.3857874009713953e-10,2.4106666662859766e-10,2.4355562011635357e-10,2.460458781161634e-10,2.485376904282077e-10,2.5103127909709144e-10,2.5352694943414633e-10,2.560248957284017e-10,2.585253955356137e-10,2.610286709003873e-10,2.6353494386732734e-10,2.6604446423661443e-10,2.6855745405285347e-10,2.71074163116225e-10,2.7359478571575835e-10,2.7611959940720965e-10,2.786487707240326e-10,2.8118254946640775e-10,2.8372118543451563e-10,2.8626484516180994e-10,2.8881380620404684e-10,2.9136826285025563e-10,2.9392840938946563e-10,2.96494523377433e-10,2.990667713476114e-10,3.016454031001814e-10,3.042306406797479e-10,3.068226783753403e-10,3.09421765987139e-10,3.12028125559749e-10,3.1464195138219964e-10,3.17263521010247e-10,3.1989300097734485e-10,3.225306410836737e-10,3.2517669112941405e-10,3.2783134540359526e-10,3.3049485370639786e-10,3.3316743808242677e-10,3.3584937608743815e-10,3.385408342548857e-10,3.4124211789610115e-10,3.4395342130011386e-10,3.4667499426710435e-10,3.494071143528288e-10,3.521500313574677e-10,3.54903967325626e-10,3.576691720574843e-10,3.6044595086437425e-10,3.632345535464765e-10,3.660352021483959e-10,3.688482297370399e-10,3.716738583570134e-10,3.7451239331964814e-10,3.773641121807003e-10,3.802292924959261e-10,3.831082673322328e-10,3.8600128648980103e-10,3.8890865527996255e-10,3.9183070676962473e-10,3.9476774627011935e-10,3.977200790927782e-10,4.006880383045086e-10,4.0367195697221803e-10,4.066721681628138e-10,4.0968900494320337e-10,4.127228558914453e-10,4.15774054074447e-10,4.188429603146915e-10,4.2192993543466173e-10,4.25035395767992e-10,4.2815970213716525e-10,4.313032986313914e-10,4.3446651831757777e-10,4.376498607960855e-10,4.408536868893975e-10,4.4407846844229937e-10,4.4732464954400086e-10,4.5059267428371186e-10,4.538830145062178e-10,4.5719619756745544e-10,4.605326675566346e-10,4.638929240741163e-10,4.672775499869886e-10,4.706869893844612e-10,4.74121908400349e-10,4.775827511238617e-10,4.810701836888143e-10,4.845848167178701e-10,4.881271498113904e-10,4.916979601254923e-10,4.952977472605369e-10,4.989272883726414e-10,5.025872495956207e-10,5.062783525744408e-10,5.100013189540675e-10,5.13756870379467e-10,5.175458395179078e-10,5.21369003525507e-10,5.252272505806843e-10,5.29121357839557e-10,5.330522134805449e-10,5.3702081670437e-10,5.41028055689452e-10,5.450749851476644e-10,5.491624932574268e-10,5.532918012640664e-10,5.574638528571541e-10,5.616799247931681e-10,5.659410717839819e-10,5.702485705860738e-10,5.746036979559221e-10,5.790077306500052e-10,5.83462111958255e-10,5.879682296594524e-10,5.925275825546805e-10,5.971417249561739e-10,6.01812211176167e-10,6.065408175714992e-10,6.113292094767075e-10,6.16179329782085e-10,6.21092954844471e-10,6.260721940876124e-10,6.311191569352559e-10,6.362359528111483e-10,6.414249686947926e-10,6.466885360545405e-10,6.520292639144998e-10,6.574497612987784e-10,6.629528592760892e-10,6.685415554485985e-10,6.742187919073217e-10,6.799880103436351e-10,6.858525969377638e-10,6.918161599145378e-10,6.978825850545434e-10,7.040559801829716e-10,7.103406751696184e-10,7.167412219288849e-10,7.232625609532306e-10,7.2990985477972e-10,7.366885990123251e-10,7.436047333442275e-10,7.506645305355164e-10,7.57874762946642e-10,7.652426470272644e-10,7.727759543385559e-10,7.804830115532013e-10,7.883728114777e-10,7.964550685635174e-10,8.047402189070851e-10,8.132396422944055e-10,8.219657177122031e-10,8.309318788590758e-10,8.401527806789488e-10,8.496445214056791e-10,8.594246980742071e-10,8.695127395874636e-10,8.799300732498239e-10,8.90700457834015e-10,9.01850316648023e-10,9.134091816243028e-10,9.254100818978372e-10,9.37890431984556e-10,9.508922538259412e-10,9.64463842123564e-10,9.78660263939446e-10,9.935448019859905e-10,1.0091912860943353e-09,1.0256859805934937e-09,1.0431305819125214e-09,1.0616465484503124e-09,1.0813799855569073e-09,1.1025096391392708e-09,1.1252564435793033e-09,1.149898620766976e-09,1.176793218427008e-09,1.2064089727203964e-09,1.2393785997488749e-09,1.2765849488616254e-09,1.319313880365769e-09,1.36954347862428e-09,1.4305497897382224e-09,1.5083649884672923e-09,1.6160853766322703e-09,1.7921247819074893e-09]);E=$toNativeArray($kindFloat32,[1,0.9381436705589294,0.900469958782196,0.8717043399810791,0.847785472869873,0.8269932866096497,0.8084216713905334,0.7915276288986206,0.7759568691253662,0.7614634037017822,0.7478685975074768,0.7350381016731262,0.7228676676750183,0.7112747430801392,0.7001926302909851,0.6895664930343628,0.6793505549430847,0.669506311416626,0.6600008606910706,0.6508058309555054,0.6418967247009277,0.633251965045929,0.62485271692276,0.6166821718215942,0.608725368976593,0.6009689569473267,0.5934008955955505,0.5860103368759155,0.5787873864173889,0.5717230439186096,0.5648092031478882,0.5580382943153381,0.5514034032821655,0.5448982119560242,0.5385168790817261,0.5322538614273071,0.526104211807251,0.5200631618499756,0.5141264200210571,0.5082897543907166,0.5025495290756226,0.4969019889831543,0.4913438558578491,0.4858720004558563,0.48048335313796997,0.4751752018928528,0.4699448347091675,0.4647897481918335,0.4597076177597046,0.4546961486339569,0.4497532546520233,0.44487687945365906,0.4400651156902313,0.4353161156177521,0.4306281507015228,0.42599955201148987,0.42142874002456665,0.4169141948223114,0.4124544560909271,0.40804818272590637,0.4036940038204193,0.39939069747924805,0.3951369822025299,0.39093172550201416,0.38677382469177246,0.38266217708587646,0.378595769405365,0.37457355856895447,0.37059465050697327,0.366658091545105,0.362762987613678,0.358908474445343,0.35509374737739563,0.35131800174713135,0.3475804924964905,0.34388044476509094,0.34021714329719543,0.33658990263938904,0.3329980671405792,0.3294409513473511,0.32591795921325684,0.32242849469184875,0.3189719021320343,0.3155476748943329,0.31215524673461914,0.3087940812110901,0.30546361207962036,0.30216339230537415,0.29889291524887085,0.29565170407295227,0.2924392819404602,0.2892552316188812,0.28609907627105713,0.2829704284667969,0.27986884117126465,0.2767939269542694,0.2737452983856201,0.2707225978374481,0.26772540807724,0.26475343108177185,0.2618062496185303,0.258883535861969,0.2559850215911865,0.25311028957366943,0.25025907158851624,0.24743106961250305,0.2446259707212448,0.24184346199035645,0.23908329010009766,0.23634515702724457,0.2336287796497345,0.23093391954898834,0.22826029360294342,0.22560766339302063,0.22297576069831848,0.22036437690258026,0.21777324378490448,0.21520215272903442,0.212650865316391,0.21011915802955627,0.20760682225227356,0.20511364936828613,0.20263944566249847,0.20018397271633148,0.19774706661701202,0.1953285187482834,0.19292815029621124,0.19054576754570007,0.18818120658397675,0.18583425879478455,0.18350479006767273,0.18119260668754578,0.17889754474163055,0.17661945521831512,0.17435817420482635,0.1721135377883911,0.16988539695739746,0.16767361760139465,0.16547803580760956,0.16329853236675262,0.16113494336605072,0.1589871346950531,0.15685498714447021,0.15473836660385132,0.15263713896274567,0.1505511850118637,0.1484803706407547,0.14642459154129028,0.1443837285041809,0.14235764741897583,0.1403462439775467,0.13834942877292633,0.136367067694664,0.13439907133579254,0.1324453204870224,0.1305057406425476,0.12858019769191742,0.12666863203048706,0.12477091699838638,0.12288697808980942,0.1210167184472084,0.11916005611419678,0.11731690168380737,0.11548716574907303,0.11367076635360718,0.11186762899160385,0.11007767915725708,0.1083008274435997,0.10653700679540634,0.10478614270687103,0.1030481606721878,0.10132300108671188,0.0996105819940567,0.09791085124015808,0.09622374176979065,0.09454918652772903,0.09288713335990906,0.09123751521110535,0.08960027992725372,0.08797537535429001,0.08636274188756943,0.0847623273730278,0.08317409455776215,0.08159798383712769,0.08003395050764084,0.07848194986581802,0.07694194465875626,0.07541389018297195,0.07389774918556213,0.07239348441362381,0.070901058614254,0.06942043453454971,0.06795158982276917,0.06649449467658997,0.06504911929368973,0.06361543387174606,0.06219341605901718,0.06078304722905159,0.0593843050301075,0.05799717456102371,0.05662164092063904,0.05525768920779228,0.05390531197190285,0.05256449431180954,0.05123523622751236,0.04991753399372101,0.04861138388514519,0.047316793352365494,0.04603376239538193,0.044762298464775085,0.04350241273641586,0.04225412383675575,0.04101744294166565,0.039792392402887344,0.03857899457216263,0.03737728297710419,0.03618728369474411,0.03500903770327568,0.03384258225560188,0.0326879620552063,0.031545232981443405,0.030414443463087082,0.0292956605553627,0.028188949450850487,0.027094384655356407,0.02601204626262188,0.024942025542259216,0.023884421214461327,0.022839335724711418,0.021806888282299042,0.020787203684449196,0.019780423492193222,0.018786700442433357,0.017806200310587883,0.016839107498526573,0.015885621309280396,0.014945968054234982,0.01402039173990488,0.013109165243804455,0.012212592177093029,0.011331013403832912,0.010464809834957123,0.009614413604140282,0.008780314587056637,0.007963077165186405,0.007163353264331818,0.0063819061033427715,0.005619642324745655,0.004877655766904354,0.004157294984906912,0.003460264764726162,0.0027887988835573196,0.0021459676790982485,0.001536299823783338,0.0009672692976891994,0.0004541343660093844]);G=$toNativeArray($kindUint32,[1991057938,0,1611602771,1826899878,1918584482,1969227037,2001281515,2023368125,2039498179,2051788381,2061460127,2069267110,2075699398,2081089314,2085670119,2089610331,2093034710,2096037586,2098691595,2101053571,2103168620,2105072996,2106796166,2108362327,2109791536,2111100552,2112303493,2113412330,2114437283,2115387130,2116269447,2117090813,2117856962,2118572919,2119243101,2119871411,2120461303,2121015852,2121537798,2122029592,2122493434,2122931299,2123344971,2123736059,2124106020,2124456175,2124787725,2125101763,2125399283,2125681194,2125948325,2126201433,2126441213,2126668298,2126883268,2127086657,2127278949,2127460589,2127631985,2127793506,2127945490,2128088244,2128222044,2128347141,2128463758,2128572095,2128672327,2128764606,2128849065,2128925811,2128994934,2129056501,2129110560,2129157136,2129196237,2129227847,2129251929,2129268426,2129277255,2129278312,2129271467,2129256561,2129233410,2129201800,2129161480,2129112170,2129053545,2128985244,2128906855,2128817916,2128717911,2128606255,2128482298,2128345305,2128194452,2128028813,2127847342,2127648860,2127432031,2127195339,2126937058,2126655214,2126347546,2126011445,2125643893,2125241376,2124799783,2124314271,2123779094,2123187386,2122530867,2121799464,2120980787,2120059418,2119015917,2117825402,2116455471,2114863093,2112989789,2110753906,2108037662,2104664315,2100355223,2094642347,2086670106,2074676188,2054300022,2010539237]);H=$toNativeArray($kindFloat32,[1.7290404663583558e-09,1.2680928529462676e-10,1.689751810696194e-10,1.9862687883343e-10,2.223243117382978e-10,2.4244936613904144e-10,2.601613091623989e-10,2.761198769629658e-10,2.9073962681813725e-10,3.042996965518796e-10,3.169979556627567e-10,3.289802041894774e-10,3.4035738116777736e-10,3.5121602848242617e-10,3.61625090983253e-10,3.7164057942185025e-10,3.813085680537398e-10,3.906675816178762e-10,3.997501218933053e-10,4.0858399996679395e-10,4.1719308563337165e-10,4.255982233303257e-10,4.3381759295968436e-10,4.4186720948857783e-10,4.497613115272969e-10,4.57512583373898e-10,4.6513240481438345e-10,4.726310454117311e-10,4.800177477726209e-10,4.873009773476156e-10,4.944885056978876e-10,5.015873272284921e-10,5.086040477664255e-10,5.155446070048697e-10,5.224146670812502e-10,5.292193350214802e-10,5.359634958068682e-10,5.426517013518151e-10,5.492881705038144e-10,5.558769555769061e-10,5.624218868405251e-10,5.689264614971989e-10,5.75394121238304e-10,5.818281967329142e-10,5.882316855831959e-10,5.946076964136182e-10,6.009590047817426e-10,6.072883862451306e-10,6.135985053390414e-10,6.19892026598734e-10,6.261713370037114e-10,6.324390455780815e-10,6.386973727678935e-10,6.449488165749528e-10,6.511955974453087e-10,6.574400468473129e-10,6.636843297158634e-10,6.699307220081607e-10,6.761814441702541e-10,6.824387166481927e-10,6.887046488657234e-10,6.949815167800466e-10,7.012714853260604e-10,7.075767749498141e-10,7.13899661608508e-10,7.202424212593428e-10,7.266072743483676e-10,7.329966078550854e-10,7.394128087589991e-10,7.458582640396116e-10,7.523354716987285e-10,7.588469852493063e-10,7.653954137154528e-10,7.719834771435785e-10,7.786139510912449e-10,7.852897221383159e-10,7.920137878869582e-10,7.987892014504894e-10,8.056192379868321e-10,8.125072836762115e-10,8.194568912323064e-10,8.264716688799467e-10,8.3355555791087e-10,8.407127216614185e-10,8.479473234679347e-10,8.552640262671218e-10,8.626675485068347e-10,8.701631637464402e-10,8.777562010564566e-10,8.854524335966119e-10,8.932581896381464e-10,9.011799639857543e-10,9.092249730890956e-10,9.174008219758889e-10,9.25715837318819e-10,9.341788453909317e-10,9.42799727177146e-10,9.515889187738935e-10,9.605578554783278e-10,9.697193048552322e-10,9.790869226478094e-10,9.886760299337993e-10,9.985036131254788e-10,1.008588212947359e-09,1.0189509236369076e-09,1.0296150598776421e-09,1.040606933955246e-09,1.0519566329136865e-09,1.0636980185552147e-09,1.0758701707302976e-09,1.0885182755160372e-09,1.101694735439196e-09,1.115461056855338e-09,1.1298901814171813e-09,1.1450695946990663e-09,1.1611052119775422e-09,1.178127595480305e-09,1.1962995039027646e-09,1.2158286599728285e-09,1.2369856250415978e-09,1.2601323318151003e-09,1.2857697129220469e-09,1.3146201904845611e-09,1.3477839955200466e-09,1.3870635751089821e-09,1.43574030442295e-09,1.5008658760251592e-09,1.6030947680434338e-09]);I=$toNativeArray($kindFloat32,[1,0.963599681854248,0.9362826943397522,0.9130436182022095,0.8922816514968872,0.8732430338859558,0.8555005788803101,0.8387836217880249,0.8229072093963623,0.8077383041381836,0.7931770086288452,0.7791460752487183,0.7655841708183289,0.7524415850639343,0.7396772503852844,0.7272568941116333,0.7151514887809753,0.7033361196517944,0.6917891502380371,0.6804918646812439,0.6694276928901672,0.6585819721221924,0.6479418277740479,0.6374954581260681,0.6272324919700623,0.6171433925628662,0.6072195172309875,0.5974531769752502,0.5878370404243469,0.5783646702766418,0.5690299868583679,0.5598273873329163,0.550751805305481,0.5417983531951904,0.5329626798629761,0.5242405533790588,0.5156282186508179,0.5071220397949219,0.49871864914894104,0.4904148280620575,0.48220765590667725,0.47409430146217346,0.466072142124176,0.45813870429992676,0.45029163360595703,0.44252872467041016,0.4348478317260742,0.42724698781967163,0.41972434520721436,0.41227802634239197,0.40490642189979553,0.39760786294937134,0.3903807997703552,0.3832238018512726,0.3761354684829712,0.3691144585609436,0.36215949058532715,0.3552693724632263,0.3484429717063904,0.3416791558265686,0.33497685194015503,0.32833510637283325,0.3217529058456421,0.3152293860912323,0.30876362323760986,0.3023548424243927,0.2960021495819092,0.2897048592567444,0.28346219658851624,0.2772735059261322,0.271138072013855,0.2650552988052368,0.25902456045150757,0.25304529070854187,0.24711695313453674,0.24123899638652802,0.23541094362735748,0.22963231801986694,0.22390270233154297,0.21822164952754974,0.21258877217769623,0.20700371265411377,0.20146611332893372,0.1959756463766098,0.19053204357624054,0.18513499200344086,0.17978426814079285,0.1744796335697174,0.16922089457511902,0.16400785744190216,0.1588403731584549,0.15371830761432648,0.14864157140254974,0.14361007511615753,0.13862377405166626,0.13368265330791473,0.12878671288490295,0.12393598258495331,0.11913054436445236,0.11437050998210907,0.10965602099895477,0.1049872562289238,0.10036443918943405,0.09578784555196762,0.09125780314207077,0.08677466958761215,0.08233889937400818,0.07795098423957825,0.07361150532960892,0.06932111829519272,0.06508058309555054,0.06089077144861221,0.05675266310572624,0.05266740173101425,0.048636294901371,0.044660862535238266,0.040742866694927216,0.03688438981771469,0.03308788686990738,0.029356317594647408,0.025693291798233986,0.02210330404341221,0.018592102453112602,0.015167297795414925,0.011839478276669979,0.0086244847625494,0.005548994988203049,0.0026696291752159595]);AG=$toNativeArray($kindInt64,[new $Int64(-973649357,3952672746),new $Int64(-1065661887,3130416987),new $Int64(324977939,3414273807),new $Int64(1241840476,2806224363),new $Int64(-1477934308,1997590414),new $Int64(2103305448,2402795971),new $Int64(1663160183,1140819369),new $Int64(1120601685,1788868961),new $Int64(1848035537,1089001426),new $Int64(1235702047,873593504),new $Int64(1911387977,581324885),new $Int64(-1654874170,1609182556),new $Int64(1069394745,1241596776),new $Int64(1895445337,1771189259),new $Int64(-1374618802,3467012610),new $Int64(-140526423,2344407434),new $Int64(-1745367887,782467244),new $Int64(26335124,3404933915),new $Int64(1063924276,618867887),new $Int64(-968700782,520164395),new $Int64(-1591572833,1341358184),new $Int64(-1515085039,665794848),new $Int64(1527227641,3183648150),new $Int64(1781176124,696329606),new $Int64(1789146075,4151988961),new $Int64(-2087444114,998951326),new $Int64(-612324923,1364957564),new $Int64(63173359,4090230633),new $Int64(-1498029007,4009697548),new $Int64(248009524,2569622517),new $Int64(778703922,3742421481),new $Int64(-1109106023,1506914633),new $Int64(1738099768,1983412561),new $Int64(236311649,1436266083),new $Int64(-1111517500,3922894967),new $Int64(-1336974714,1792680179),new $Int64(563141142,1188796351),new $Int64(1349617468,405968250),new $Int64(1044074554,433754187),new $Int64(870549669,4073162024),new $Int64(-1094251604,433121399),new $Int64(2451824,4162580594),new $Int64(-137262572,4132415622),new $Int64(-1536231048,3033822028),new $Int64(2016407895,824682382),new $Int64(2366218,3583765414),new $Int64(-624604839,535386927),new $Int64(1637219058,2286693689),new $Int64(1453075389,2968466525),new $Int64(193683513,1351410206),new $Int64(-283806096,1412813499),new $Int64(492736522,4126267639),new $Int64(512765208,2105529399),new $Int64(2132966268,2413882233),new $Int64(947457634,32226200),new $Int64(1149341356,2032329073),new $Int64(106485445,1356518208),new $Int64(-2067810156,3430061722),new $Int64(-1484435135,3820169661),new $Int64(-1665985194,2981816134),new $Int64(1017155588,4184371017),new $Int64(206574701,2119206761),new $Int64(-852109057,2472200560),new $Int64(-560457548,2853524696),new $Int64(1307803389,1681119904),new $Int64(-174986835,95608918),new $Int64(392686347,3690479145),new $Int64(-1205570926,1397922290),new $Int64(-1159314025,1516129515),new $Int64(-320178155,1547420459),new $Int64(1311333971,1470949486),new $Int64(-1953469798,1336785672),new $Int64(-45086614,4131677129),new $Int64(-1392278100,4246329084),new $Int64(-1142500187,3788585631),new $Int64(-66478285,3080389532),new $Int64(-646438364,2215402037),new $Int64(391002300,1171593935),new $Int64(1408774047,1423855166),new $Int64(-519177718,2276716302),new $Int64(-368453140,2068027241),new $Int64(1369359303,3427553297),new $Int64(189241615,3289637845),new $Int64(1057480830,3486407650),new $Int64(-1512910664,3071877822),new $Int64(1159653919,3363620705),new $Int64(-934256930,4159821533),new $Int64(-76621938,1894661),new $Int64(-674493898,1156868282),new $Int64(348271067,776219088),new $Int64(-501428838,2425634259),new $Int64(1716021749,680510161),new $Int64(-574263456,1310101429),new $Int64(1095885995,2964454134),new $Int64(-325695512,3467098407),new $Int64(1990672920,2109628894),new $Int64(-2139648704,1232604732),new $Int64(-1838070714,3261916179),new $Int64(1699175360,434597899),new $Int64(235436061,1624796439),new $Int64(-1626402839,3589632480),new $Int64(1198416575,864579159),new $Int64(-1938748161,1380889830),new $Int64(619206309,2654509477),new $Int64(1419738251,1468209306),new $Int64(-1744284772,100794388),new $Int64(-1191421458,2991674471),new $Int64(-208666741,2224662036),new $Int64(-173659161,977097250),new $Int64(1351320195,726419512),new $Int64(-183459897,1747974366),new $Int64(-753095183,1556430604),new $Int64(-1049492215,1080776742),new $Int64(-385846958,280794874),new $Int64(117767733,919835643),new $Int64(-967009426,3434019658),new $Int64(-1951414480,2461941785),new $Int64(133215641,3615001066),new $Int64(417204809,3103414427),new $Int64(790056561,3380809712),new $Int64(-1267681408,2724693469),new $Int64(547796833,598827710),new $Int64(-1846559452,3452273442),new $Int64(-75778224,649274915),new $Int64(-801301329,2585724112),new $Int64(-1510934263,3165579553),new $Int64(1185578221,2635894283),new $Int64(-52910178,2053289721),new $Int64(985976581,3169337108),new $Int64(1170569632,144717764),new $Int64(1079216270,1383666384),new $Int64(-124804942,681540375),new $Int64(1375448925,537050586),new $Int64(-1964768344,315246468),new $Int64(226402871,849323088),new $Int64(-885062465,45543944),new $Int64(-946445250,2319052083),new $Int64(-40708194,3613090841),new $Int64(560472520,2992171180),new $Int64(-381863169,2068244785),new $Int64(917538188,4239862634),new $Int64(-1369555809,3892253031),new $Int64(720683925,958186149),new $Int64(-423297785,1877702262),new $Int64(1357886971,837674867),new $Int64(1837048883,1507589294),new $Int64(1905518400,873336795),new $Int64(-1879761037,2764496274),new $Int64(-1806480530,4196182374),new $Int64(-1066765755,550964545),new $Int64(818747069,420611474),new $Int64(-1924830376,204265180),new $Int64(1549974541,1787046383),new $Int64(1215581865,3102292318),new $Int64(418321538,1552199393),new $Int64(1243493047,980542004),new $Int64(267284263,3293718720),new $Int64(1179528763,3771917473),new $Int64(599484404,2195808264),new $Int64(252818753,3894702887),new $Int64(-1367475956,2099949527),new $Int64(1424094358,338442522),new $Int64(490737398,637158004),new $Int64(-1727621530,281976339),new $Int64(574970164,3619802330),new $Int64(-431930823,3084554784),new $Int64(-1264611183,4129772886),new $Int64(-2104399043,1680378557),new $Int64(-1621962591,3339087776),new $Int64(1680500332,4220317857),new $Int64(-1935828963,2959322499),new $Int64(1675600481,1488354890),new $Int64(-834863562,3958162143),new $Int64(-1226511573,2773705983),new $Int64(1876039582,225908689),new $Int64(-1183735113,908216283),new $Int64(-605696219,3574646075),new $Int64(-1827723091,1936937569),new $Int64(1519770881,75492235),new $Int64(816689472,1935193178),new $Int64(2142521206,2018250883),new $Int64(455141620,3943126022),new $Int64(-601399488,3066544345),new $Int64(1932392669,2793082663),new $Int64(-1239009361,3297036421),new $Int64(1640597065,2206987825),new $Int64(-553246738,807894872),new $Int64(-1781325307,766252117),new $Int64(2060649606,3833114345),new $Int64(845619743,1255067973),new $Int64(1201145605,741697208),new $Int64(-1476242608,2810093753),new $Int64(1109032642,4229340371),new $Int64(1462188720,1361684224),new $Int64(-1159399429,1906263026),new $Int64(475781207,3904421704),new $Int64(-623537128,1769075545),new $Int64(1062308525,2621599764),new $Int64(1279509432,3431891480),new $Int64(-1742751146,1871896503),new $Int64(128756421,1412808876),new $Int64(1605404688,952876175),new $Int64(-230443691,1824438899),new $Int64(1662295856,1005035476),new $Int64(-156574141,527508597),new $Int64(1288873303,3066806859),new $Int64(565995893,3244940914),new $Int64(-889746188,209092916),new $Int64(-247669406,1242699167),new $Int64(-713830396,456723774),new $Int64(1776978905,1001252870),new $Int64(1468772157,2026725874),new $Int64(857254202,2137562569),new $Int64(765939740,3183366709),new $Int64(1533887628,2612072960),new $Int64(56977098,1727148468),new $Int64(-1197583895,3803658212),new $Int64(1883670356,479946959),new $Int64(685713571,1562982345),new $Int64(-1946242443,1766109365),new $Int64(700596547,3257093788),new $Int64(-184714929,2365720207),new $Int64(93384808,3742754173),new $Int64(-458385235,2878193673),new $Int64(1096135042,2174002182),new $Int64(-834260953,3573511231),new $Int64(-754572527,1760299077),new $Int64(-1375627191,2260779833),new $Int64(-866019274,1452805722),new $Int64(-1229671918,2940011802),new $Int64(1890251082,1886183802),new $Int64(893897673,2514369088),new $Int64(1644345561,3924317791),new $Int64(-1974867432,500935732),new $Int64(1403501753,676580929),new $Int64(-1565912283,1184984890),new $Int64(-691968413,1271474274),new $Int64(-1828754738,3163791473),new $Int64(2051027584,2842487377),new $Int64(1511537551,2170968612),new $Int64(573262976,3535856740),new $Int64(-2053227187,1488599718),new $Int64(-1180531831,3408913763),new $Int64(-2086531912,2501050084),new $Int64(-875130448,1639124157),new $Int64(-2009482504,4088176393),new $Int64(1574896563,3989947576),new $Int64(-165243708,3414355209),new $Int64(-792329287,2275136352),new $Int64(-2057774345,2151835223),new $Int64(-931144933,1654534827),new $Int64(-679921451,377892833),new $Int64(-482716010,660204544),new $Int64(85706799,390828249),new $Int64(-1422172693,3402783878),new $Int64(-1468634160,3717936603),new $Int64(1113532086,2211058823),new $Int64(1564224320,2692150867),new $Int64(1952770442,1928910388),new $Int64(788716862,3931011137),new $Int64(1083670504,1112701047),new $Int64(-68150572,2452299106),new $Int64(-896164822,2337204777),new $Int64(1774877857,273889282),new $Int64(1798719843,1462008793),new $Int64(2138834788,1554494002),new $Int64(-1194967131,182675323),new $Int64(-1598554764,1882802136),new $Int64(589279648,3700220025),new $Int64(381039426,3083431543),new $Int64(-851859191,3622207527),new $Int64(338126939,432729309),new $Int64(-1667470126,2391914317),new $Int64(-1849558151,235747924),new $Int64(2120733629,3088823825),new $Int64(-745079795,2314658321),new $Int64(1165929723,2957634338),new $Int64(501323675,4117056981),new $Int64(1564699815,1482500298),new $Int64(-740826490,840489337),new $Int64(799522364,3483178565),new $Int64(532129761,2074004656),new $Int64(724246478,3643392642),new $Int64(-665153481,1583624461),new $Int64(-885822954,287473085),new $Int64(1667835381,3136843981),new $Int64(1138806821,1266970974),new $Int64(135185781,1998688839),new $Int64(392094735,1492900209),new $Int64(1031326774,1538112737),new $Int64(-2070568842,2207265429),new $Int64(-1886797613,963263315),new $Int64(1671145500,2295892134),new $Int64(1068469660,2002560897),new $Int64(-356250305,1369254035),new $Int64(33436120,3353312708),new $Int64(57507843,947771099),new $Int64(-1945755145,1747061399),new $Int64(1507240140,2047354631),new $Int64(720000810,4165367136),new $Int64(479265078,3388864963),new $Int64(-952181250,286492130),new $Int64(2045622690,2795735007),new $Int64(-715730566,3703961339),new $Int64(-148436487,1797825479),new $Int64(1429039600,1116589674),new $Int64(-1665420098,2593309206),new $Int64(1329049334,3404995677),new $Int64(-750579440,3453462936),new $Int64(1014767077,3016498634),new $Int64(75698599,1650371545),new $Int64(1592007860,212344364),new $Int64(1127766888,3843932156),new $Int64(-748019856,3573129983),new $Int64(-890581831,665897820),new $Int64(1071492673,1675628772),new $Int64(243225682,2831752928),new $Int64(2120298836,1486294219),new $Int64(-1954407413,268782709),new $Int64(-1002123503,4186179080),new $Int64(624342951,1613720397),new $Int64(857179861,2703686015),new $Int64(-911618704,2205342611),new $Int64(-672703993,1411666394),new $Int64(-1528454899,677744900),new $Int64(-1876628533,4172867247),new $Int64(135494707,2163418403),new $Int64(849547544,2841526879),new $Int64(-1117516959,1082141470),new $Int64(-1770111792,4046134367),new $Int64(51415528,2142943655),new $Int64(-249824333,3124627521),new $Int64(998228909,219992939),new $Int64(-1078790951,1756846531),new $Int64(1283749206,1225118210),new $Int64(-525858006,1647770243),new $Int64(-2035959705,444807907),new $Int64(2036369448,3952076173),new $Int64(53201823,1461839639),new $Int64(315761893,3699250910),new $Int64(702974850,1373688981),new $Int64(734022261,147523747),new $Int64(-2047330906,1211276581),new $Int64(1294440951,2548832680),new $Int64(1144696256,1995631888),new $Int64(-1992983070,2011457303),new $Int64(-1351022674,3057425772),new $Int64(667839456,81484597),new $Int64(-1681980888,3646681560),new $Int64(-1372462725,635548515),new $Int64(602489502,2508044581),new $Int64(-1794220117,1014917157),new $Int64(719992433,3214891315),new $Int64(-1294799037,959582252),new $Int64(226415134,3347040449),new $Int64(-362868096,4102971975),new $Int64(397887437,4078022210),new $Int64(-536803826,2851767182),new $Int64(-1398321012,1540160644),new $Int64(-1549098876,1057290595),new $Int64(-112592988,3907769253),new $Int64(579300318,4248952684),new $Int64(-1054576049,132554364),new $Int64(-1085862414,1029351092),new $Int64(697840928,2583007416),new $Int64(298619124,1486185789),new $Int64(55905697,2871589073),new $Int64(2017643612,723203291),new $Int64(146250550,2494333952),new $Int64(-1082993397,2230939180),new $Int64(-1804568072,3943232912),new $Int64(1768732449,2181367922),new $Int64(-729261111,2889274791),new $Int64(1824032949,2046728161),new $Int64(1653899792,1376052477),new $Int64(1022327048,381236993),new $Int64(-1113097690,3188942166),new $Int64(-74480109,350070824),new $Int64(144881592,61758415),new $Int64(-741824226,3492950336),new $Int64(-2030042720,3093818430),new $Int64(-453590535,2962480613),new $Int64(-1912050708,3154871160),new $Int64(-1636478569,3228564679),new $Int64(610731502,888276216),new $Int64(-946702974,3574998604),new $Int64(-1277068380,1967526716),new $Int64(-1556147941,1554691298),new $Int64(-1573024234,339944798),new $Int64(1223764147,1154515356),new $Int64(1825645307,967516237),new $Int64(1546195135,596588202),new $Int64(-1867600880,3764362170),new $Int64(-1655392592,266611402),new $Int64(-393255880,2047856075),new $Int64(-1000726433,21444105),new $Int64(-949424754,3065563181),new $Int64(-232418803,1140663212),new $Int64(633187674,2323741028),new $Int64(2126290159,3103873707),new $Int64(1008658319,2766828349),new $Int64(-485587503,1970872996),new $Int64(1628585413,3766615585),new $Int64(-595148528,2036813414),new $Int64(-1994877121,3105536507),new $Int64(13954645,3396176938),new $Int64(-721402003,1377154485),new $Int64(-61839181,3807014186),new $Int64(543009040,3710110597),new $Int64(-1751425519,916420443),new $Int64(734556788,2103831255),new $Int64(-1766161494,717331943),new $Int64(-1574598896,3550505941),new $Int64(45939673,378749927),new $Int64(-1997615719,611017331),new $Int64(592130075,758907650),new $Int64(1012992349,154266815),new $Int64(-1040454942,1407468696),new $Int64(-1678191250,970098704),new $Int64(-285057486,1971660656),new $Int64(998365243,3332747885),new $Int64(1947089649,1935189867),new $Int64(1510248801,203520055),new $Int64(-1305165746,3916463034),new $Int64(-388598655,3474113316),new $Int64(1036101639,316544223),new $Int64(-1773744891,1650844677),new $Int64(-907191419,4267565603),new $Int64(-1070275024,2501167616),new $Int64(-1520651863,3929401789),new $Int64(-2091360852,337170252),new $Int64(-960502090,2061966842),new $Int64(-304190848,2508461464),new $Int64(-1941471116,2791377107),new $Int64(1240791848,1227227588),new $Int64(1813978778,1709681848),new $Int64(1153692192,3768820575),new $Int64(-1002297449,2887126398),new $Int64(-1447111334,296561685),new $Int64(700300844,3729960077),new $Int64(-1572311344,372833036),new $Int64(2078875613,2409779288),new $Int64(1829161290,555274064),new $Int64(-1105595719,4239804901),new $Int64(1839403216,3723486978),new $Int64(-1649093095,2145871984),new $Int64(-1582765715,3565480803),new $Int64(-1568653827,2197313814),new $Int64(974785092,3613674566),new $Int64(438638731,3042093666),new $Int64(-96556264,3324034321),new $Int64(869420878,3708873369),new $Int64(946682149,1698090092),new $Int64(1618900382,4213940712),new $Int64(-1843479747,2087477361),new $Int64(-1766167800,2407950639),new $Int64(-1296225558,3942568569),new $Int64(-1223900450,4088074412),new $Int64(723260036,2964773675),new $Int64(-673921829,1539178386),new $Int64(1062961552,2694849566),new $Int64(460977733,2120273838),new $Int64(-1604570740,2484608657),new $Int64(880846449,2956190677),new $Int64(1970902366,4223313749),new $Int64(662161910,3502682327),new $Int64(705634754,4133891139),new $Int64(-1031359300,1166449596),new $Int64(1038247601,3362705993),new $Int64(93734798,3892921029),new $Int64(1876124043,786869787),new $Int64(1057490746,1046342263),new $Int64(242763728,493777327),new $Int64(-853573201,3304827646),new $Int64(616460742,125356352),new $Int64(499300063,74094113),new $Int64(-795586925,2500816079),new $Int64(-490248444,514015239),new $Int64(1377565129,543520454),new $Int64(-2039776725,3614531153),new $Int64(2056746300,2356753985),new $Int64(1390062617,2018141668),new $Int64(131272971,2087974891),new $Int64(-1502927041,3166972343),new $Int64(372256200,1517638666),new $Int64(-935275664,173466846),new $Int64(-695774461,4241513471),new $Int64(-1413550842,2783126920),new $Int64(1972004134,4167264826),new $Int64(29260506,3907395640),new $Int64(-910901561,1539634186),new $Int64(-595957298,178241987),new $Int64(-113277636,182168164),new $Int64(-1102530459,2386154934),new $Int64(1379126408,4077374341),new $Int64(-2114679722,1732699140),new $Int64(-421057745,1041306002),new $Int64(1860414813,2068001749),new $Int64(1005320202,3208962910),new $Int64(844054010,697710380),new $Int64(-1509359403,2228431183),new $Int64(-810313977,3554678728),new $Int64(-750989047,173470263),new $Int64(-85886265,3848297795),new $Int64(-926936977,246236185),new $Int64(-1984190461,2066374846),new $Int64(1771673660,312890749),new $Int64(703378057,3573310289),new $Int64(-598851901,143166754),new $Int64(613554316,2081511079),new $Int64(1197802104,486038032),new $Int64(-1906483789,2982218564),new $Int64(364901986,1000939191),new $Int64(1902782651,2750454885),new $Int64(-671844857,3375313137),new $Int64(-1643868040,881302957),new $Int64(-1508784745,2514186393),new $Int64(-1703622845,360024739),new $Int64(1399671872,292500025),new $Int64(1381210821,2276300752),new $Int64(521803381,4069087683),new $Int64(-1938982667,1637778212),new $Int64(720490469,1676670893),new $Int64(1067262482,3855174429),new $Int64(2114075974,2067248671),new $Int64(-89426259,2884561259),new $Int64(-805741095,2456511185),new $Int64(983726246,561175414),new $Int64(-1719489563,432588903),new $Int64(885133709,4059399550),new $Int64(-93096266,1075014784),new $Int64(-1733832628,2728058415),new $Int64(1839142064,1299703678),new $Int64(1262333188,2347583393),new $Int64(1285481956,2468164145),new $Int64(-1158354011,1140014346),new $Int64(2033889184,1936972070),new $Int64(-1737578993,3870530098),new $Int64(-484494257,1717789158),new $Int64(-232997156,1153452491),new $Int64(-990424416,3948827651),new $Int64(-1357145630,2101413152),new $Int64(1495744672,3854091229),new $Int64(83644069,4215565463),new $Int64(-1385277313,1202710438),new $Int64(-564909037,2072216740),new $Int64(705690639,2066751068),new $Int64(-2113583312,173902580),new $Int64(-741983806,142459001),new $Int64(172391592,1889151926),new $Int64(-498943125,3034199774),new $Int64(1618587731,516490102),new $Int64(93114264,3692577783),new $Int64(-2078821353,2953948865),new $Int64(-320938673,4041040923),new $Int64(-1942517976,592046130),new $Int64(-705643640,384297211),new $Int64(-2051649464,265863924),new $Int64(2101717619,1333136237),new $Int64(1499611781,1406273556),new $Int64(1074670496,426305476),new $Int64(125704633,2750898176),new $Int64(488068495,1633944332),new $Int64(2037723464,3236349343),new $Int64(-1703423246,4013676611),new $Int64(1718532237,2265047407),new $Int64(1433593806,875071080),new $Int64(-343047503,1418843655),new $Int64(2009228711,451657300),new $Int64(1229446621,1866374663),new $Int64(1653472867,1551455622),new $Int64(577191481,3560962459),new $Int64(1669204077,3347903778),new $Int64(-298327194,2675874918),new $Int64(-1831355577,2762991672),new $Int64(530492383,3689068477),new $Int64(844089962,4071997905),new $Int64(1508155730,1381702441),new $Int64(2089931018,2373284878),new $Int64(-864267462,2143983064),new $Int64(308739063,1938207195),new $Int64(1754949306,1188152253),new $Int64(1272345009,615870490),new $Int64(742653194,2662252621),new $Int64(1477718295,3839976789),new $Int64(-2091334213,306752547),new $Int64(-1426688067,2162363077),new $Int64(-57052633,2767224719),new $Int64(-1471624099,2628837712),new $Int64(1678405918,2967771969),new $Int64(1694285728,499792248),new $Int64(-1744131281,4285253508),new $Int64(962357072,2856511070),new $Int64(679471692,2526409716),new $Int64(-1793706473,1240875658),new $Int64(-914893422,2577342868),new $Int64(-1001298215,4136853496),new $Int64(-1477114974,2403540137),new $Int64(1372824515,1371410668),new $Int64(-176562048,371758825),new $Int64(-441063112,1528834084),new $Int64(-71688630,1504757260),new $Int64(-1461820072,699052551),new $Int64(-505543539,3347789870),new $Int64(1951619734,3430604759),new $Int64(2119672219,1935601723),new $Int64(966789690,834676166)]);P=N(new AF.ptr(new B.Mutex.ptr(false),$assertType(L(new $Int64(0,1)),K)));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math/big\"]=(function(){var $pkg={},$init,F,E,I,A,J,C,B,H,G,D,X,BO,BW,BX,CU,DI,DJ,DK,DM,DO,DP,DR,DS,DT,DU,DW,BP,BY,BZ,CE,CM,CN,CO,CT,CV,K,L,M,N,O,P,Q,R,S,T,U,V,Y,Z,AA,AB,AC,AE,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,BQ,BS,BT,BU,BV,CB,CC,CD,CF,CG,CH,CI,CJ,CK,CL,CP,CQ,CR,CS,CW;F=$packages[\"bytes\"];E=$packages[\"encoding/binary\"];I=$packages[\"errors\"];A=$packages[\"fmt\"];J=$packages[\"github.com/gopherjs/gopherjs/nosync\"];C=$packages[\"io\"];B=$packages[\"math\"];H=$packages[\"math/rand\"];G=$packages[\"strconv\"];D=$packages[\"strings\"];X=$pkg.Word=$newType(4,$kindUintptr,\"big.Word\",true,\"math/big\",true,null);BO=$pkg.Int=$newType(0,$kindStruct,\"big.Int\",true,\"math/big\",true,function(neg_,abs_){this.$val=this;if(arguments.length===0){this.neg=false;this.abs=BX.nil;return;}this.neg=neg_;this.abs=abs_;});BW=$pkg.byteReader=$newType(0,$kindStruct,\"big.byteReader\",true,\"math/big\",false,function(ScanState_){this.$val=this;if(arguments.length===0){this.ScanState=$ifaceNil;return;}this.ScanState=ScanState_;});BX=$pkg.nat=$newType(12,$kindSlice,\"big.nat\",true,\"math/big\",false,null);CU=$pkg.divisor=$newType(0,$kindStruct,\"big.divisor\",true,\"math/big\",false,function(bbb_,nbits_,ndigits_){this.$val=this;if(arguments.length===0){this.bbb=BX.nil;this.nbits=0;this.ndigits=0;return;}this.bbb=bbb_;this.nbits=nbits_;this.ndigits=ndigits_;});DI=$sliceType($emptyInterface);DJ=$arrayType(CU,64);DK=$structType(\"math/big\",[{prop:\"Mutex\",name:\"\",exported:true,typ:J.Mutex,tag:\"\"},{prop:\"table\",name:\"table\",exported:false,typ:DJ,tag:\"\"}]);DM=$sliceType($Uint8);DO=$sliceType(X);DP=$ptrType(BO);DR=$ptrType(X);DS=$ptrType(BX);DT=$arrayType(BX,16);DU=$sliceType(CU);DW=$ptrType(H.Rand);K=function(m,n){var $ptr,m,n,o,p,q;o=0;p=0;q=AA(m,n);o=q[0];p=q[1];return[o,p];};L=function(m,n,o){var $ptr,m,n,o,p,q,r;p=0;q=0;r=AG(m,n,o);p=r[0];q=r[1];return[p,q];};M=function(m,n,o){var $ptr,m,n,o,p;p=0;p=AH(m,n,o);return p;};N=function(m,n,o){var $ptr,m,n,o,p;p=0;p=AI(m,n,o);return p;};O=function(m,n,o){var $ptr,m,n,o,p;p=0;p=AJ(m,n,o);return p;};P=function(m,n,o){var $ptr,m,n,o,p;p=0;p=AK(m,n,o);return p;};Q=function(m,n,o){var $ptr,m,n,o,p;p=0;p=AL(m,n,o);return p;};R=function(m,n,o){var $ptr,m,n,o,p;p=0;p=AM(m,n,o);return p;};S=function(m,n,o,p){var $ptr,m,n,o,p,q;q=0;q=AN(m,n,o,p);return q;};T=function(m,n,o){var $ptr,m,n,o,p;p=0;p=AO(m,n,o);return p;};U=function(m,n,o,p){var $ptr,m,n,o,p,q;q=0;q=AP(m,n,o,p);return q;};V=function(m){var $ptr,m,n;n=0;n=AC(m);return n;};Y=function(m,n,o){var $ptr,m,n,o,p,q,r;p=0;q=0;r=n+o>>>0;q=m+r>>>0;if(q<m||r<n){p=1;}return[p,q];};Z=function(m,n,o){var $ptr,m,n,o,p,q,r;p=0;q=0;r=n+o>>>0;q=m-r>>>0;if(q>m||r<n){p=1;}return[p,q];};AA=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u,v,w,x;o=0;p=0;q=(m&65535)>>>0;r=m>>>16>>>0;s=(n&65535)>>>0;t=n>>>16>>>0;u=$imul(q,s)>>>0;v=($imul(r,s)>>>0)+(u>>>16>>>0)>>>0;w=(v&65535)>>>0;x=v>>>16>>>0;w=w+(($imul(q,t)>>>0))>>>0;o=(($imul(r,t)>>>0)+x>>>0)+(w>>>16>>>0)>>>0;p=$imul(m,n)>>>0;return[o,p];};AB=function(m,n,o){var $ptr,m,n,o,p,q,r,s;p=0;q=0;r=AA(m,n);p=r[0];s=r[1];q=s+o>>>0;if(q<s){p=p+(1)>>>0;}return[p,q];};AC=function(m){var $ptr,m,n,o,p,q,r;n=0;while(true){if(!(m>=32768)){break;}n=n+(16)>>0;m=(o=(16),o<32?(m>>>o):0)>>>0;}if(m>=128){m=(p=(8),p<32?(m>>>p):0)>>>0;n=n+(8)>>0;}if(m>=8){m=(q=(4),q<32?(m>>>q):0)>>>0;n=n+(4)>>0;}if(m>=2){m=(r=(2),r<32?(m>>>r):0)>>>0;n=n+(2)>>0;}if(m>=1){n=n+(1)>>0;}return n;};AE=function(m){var $ptr,m;return(((32-V(m)>>0)>>>0));};AG=function(m,n,o){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;if(m>=o){r=4294967295;s=4294967295;p=r;q=s;return[p,q];}t=AE(o);o=(u=(t),u<32?(o<<u):0)>>>0;v=o>>>16>>>0;w=(o&65535)>>>0;z=(((x=t,x<32?(m<<x):0)>>>0)|((y=((32-t>>>0)),y<32?(n>>>y):0)>>>0))>>>0;ab=(aa=t,aa<32?(n<<aa):0)>>>0;ac=ab>>>16>>>0;ad=(ab&65535)>>>0;af=(ae=z/v,(ae===ae&&ae!==1/0&&ae!==-1/0)?ae>>>0:$throwRuntimeError(\"integer divide by zero\"));ag=z-($imul(af,v)>>>0)>>>0;while(true){if(!(af>=65536||($imul(af,w)>>>0)>(($imul(65536,ag)>>>0)+ac>>>0))){break;}af=af-(1)>>>0;ag=ag+(v)>>>0;if(ag>=65536){break;}}ah=(($imul(z,65536)>>>0)+ac>>>0)-($imul(af,o)>>>0)>>>0;aj=(ai=ah/v,(ai===ai&&ai!==1/0&&ai!==-1/0)?ai>>>0:$throwRuntimeError(\"integer divide by zero\"));ag=ah-($imul(aj,v)>>>0)>>>0;while(true){if(!(aj>=65536||($imul(aj,w)>>>0)>(($imul(65536,ag)>>>0)+ad>>>0))){break;}aj=aj-(1)>>>0;ag=ag+(v)>>>0;if(ag>=65536){break;}}ak=($imul(af,65536)>>>0)+aj>>>0;al=(am=t,am<32?((((($imul(ah,65536)>>>0)+ad>>>0)-($imul(aj,o)>>>0)>>>0))>>>am):0)>>>0;p=ak;q=al;return[p,q];};AH=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;if(false){q=m;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=Y(((s<0||s>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+s]),((s<0||s>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+s]),p);p=t[0];((s<0||s>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+s]=t[1]);r++;}return p;}u=$subslice(n,0,m.$length);v=0;while(true){if(!(v<u.$length)){break;}w=v;x=((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]);y=((w<0||w>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+w]);z=(x+y>>>0)+p>>>0;((w<0||w>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+w]=z);p=(((((x&y)>>>0)|(((((x|y)>>>0))&~z)>>>0))>>>0))>>>31>>>0;v++;}return p;};AI=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;if(false){q=m;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=Z(((s<0||s>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+s]),((s<0||s>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+s]),p);p=t[0];((s<0||s>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+s]=t[1]);r++;}return p;}u=$subslice(n,0,m.$length);v=0;while(true){if(!(v<u.$length)){break;}w=v;x=((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]);y=((w<0||w>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+w]);z=(x-y>>>0)-p>>>0;((w<0||w>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+w]=z);p=(((((y&~x)>>>0)|(((((y|(~x>>>0))>>>0))&z)>>>0))>>>0))>>>31>>>0;v++;}return p;};AJ=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v,w,x,y;p=0;if(false){p=o;q=m;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=Y(((s<0||s>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+s]),p,0);p=t[0];((s<0||s>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+s]=t[1]);r++;}return p;}p=o;u=$subslice(n,0,m.$length);v=0;while(true){if(!(v<u.$length)){break;}w=v;x=((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]);y=x+p>>>0;((w<0||w>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+w]=y);p=((x&~y)>>>0)>>>31>>>0;v++;}return p;};AK=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v,w,x,y;p=0;if(false){p=o;q=m;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=Z(((s<0||s>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+s]),p,0);p=t[0];((s<0||s>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+s]=t[1]);r++;}return p;}p=o;u=$subslice(n,0,m.$length);v=0;while(true){if(!(v<u.$length)){break;}w=v;x=((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]);y=x-p>>>0;((w<0||w>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+w]=y);p=(((y&~x)>>>0))>>>31>>>0;v++;}return p;};AL=function(m,n,o){var $ptr,aa,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=m.$length;if(q>0){r=32-o>>>0;t=(s=q-1>>0,((s<0||s>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+s]));p=(u=r,u<32?(t>>>u):0)>>>0;v=q-1>>0;while(true){if(!(v>0)){break;}w=t;t=(x=v-1>>0,((x<0||x>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+x]));((v<0||v>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+v]=((((y=o,y<32?(w<<y):0)>>>0)|((z=r,z<32?(t>>>z):0)>>>0))>>>0));v=v-(1)>>0;}(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]=((aa=o,aa<32?(t<<aa):0)>>>0));}return p;};AM=function(m,n,o){var $ptr,aa,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=m.$length;if(q>0){r=32-o>>>0;s=(0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0]);p=(t=r,t<32?(s<<t):0)>>>0;u=0;while(true){if(!(u<(q-1>>0))){break;}v=s;s=(w=u+1>>0,((w<0||w>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+w]));((u<0||u>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+u]=((((x=o,x<32?(v>>>x):0)>>>0)|((y=r,y<32?(s<<y):0)>>>0))>>>0));u=u+(1)>>0;}(aa=q-1>>0,((aa<0||aa>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+aa]=((z=o,z<32?(s>>>z):0)>>>0)));}return p;};AN=function(m,n,o,p){var $ptr,m,n,o,p,q,r,s,t,u;q=0;q=p;r=m;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=AB(((t<0||t>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+t]),o,q);q=u[0];((t<0||t>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+t]=u[1]);s++;}return q;};AO=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v,w;p=0;q=m;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=AB(((s<0||s>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+s]),o,((s<0||s>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+s]));u=t[0];v=t[1];w=Y(v,p,0);p=w[0];((s<0||s>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+s]=w[1]);p=p+(u)>>>0;r++;}return p;};AP=function(m,n,o,p){var $ptr,m,n,o,p,q,r,s;q=0;q=n;r=m.$length-1>>0;while(true){if(!(r>=0)){break;}s=AG(q,((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r]),p);((r<0||r>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+r]=s[0]);q=s[1];r=r-(1)>>0;}return q;};BO.ptr.prototype.Sign=function(){var $ptr,m;m=this;if(m.abs.$length===0){return 0;}if(m.neg){return-1;}return 1;};BO.prototype.Sign=function(){return this.$val.Sign();};BO.ptr.prototype.SetInt64=function(m){var $ptr,m,n,o;n=this;o=false;if((m.$high<0||(m.$high===0&&m.$low<0))){o=true;m=new $Int64(-m.$high,-m.$low);}n.abs=n.abs.setUint64((new $Uint64(m.$high,m.$low)));n.neg=o;return n;};BO.prototype.SetInt64=function(m){return this.$val.SetInt64(m);};BO.ptr.prototype.SetUint64=function(m){var $ptr,m,n;n=this;n.abs=n.abs.setUint64(m);n.neg=false;return n;};BO.prototype.SetUint64=function(m){return this.$val.SetUint64(m);};BQ=function(m){var $ptr,m;return new BO.ptr(false,BX.nil).SetInt64(m);};$pkg.NewInt=BQ;BO.ptr.prototype.Set=function(m){var $ptr,m,n;n=this;if(!(n===m)){n.abs=n.abs.set(m.abs);n.neg=m.neg;}return n;};BO.prototype.Set=function(m){return this.$val.Set(m);};BO.ptr.prototype.Bits=function(){var $ptr,m,n;m=this;return(n=m.abs,$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length));};BO.prototype.Bits=function(){return this.$val.Bits();};BO.ptr.prototype.SetBits=function(m){var $ptr,m,n;n=this;n.abs=($subslice(new BX(m.$array),m.$offset,m.$offset+m.$length)).norm();n.neg=false;return n;};BO.prototype.SetBits=function(m){return this.$val.SetBits(m);};BO.ptr.prototype.Abs=function(m){var $ptr,m,n;n=this;n.Set(m);n.neg=false;return n;};BO.prototype.Abs=function(m){return this.$val.Abs(m);};BO.ptr.prototype.Neg=function(m){var $ptr,m,n;n=this;n.Set(m);n.neg=n.abs.$length>0&&!n.neg;return n;};BO.prototype.Neg=function(m){return this.$val.Neg(m);};BO.ptr.prototype.Add=function(m,n){var $ptr,m,n,o,p;o=this;p=m.neg;if(m.neg===n.neg){o.abs=o.abs.add(m.abs,n.abs);}else{if(m.abs.cmp(n.abs)>=0){o.abs=o.abs.sub(m.abs,n.abs);}else{p=!p;o.abs=o.abs.sub(n.abs,m.abs);}}o.neg=o.abs.$length>0&&p;return o;};BO.prototype.Add=function(m,n){return this.$val.Add(m,n);};BO.ptr.prototype.Sub=function(m,n){var $ptr,m,n,o,p;o=this;p=m.neg;if(!(m.neg===n.neg)){o.abs=o.abs.add(m.abs,n.abs);}else{if(m.abs.cmp(n.abs)>=0){o.abs=o.abs.sub(m.abs,n.abs);}else{p=!p;o.abs=o.abs.sub(n.abs,m.abs);}}o.neg=o.abs.$length>0&&p;return o;};BO.prototype.Sub=function(m,n){return this.$val.Sub(m,n);};BO.ptr.prototype.Mul=function(m,n){var $ptr,m,n,o;o=this;o.abs=o.abs.mul(m.abs,n.abs);o.neg=o.abs.$length>0&&!(m.neg===n.neg);return o;};BO.prototype.Mul=function(m,n){return this.$val.Mul(m,n);};BO.ptr.prototype.MulRange=function(m,n){var $ptr,m,n,o,p,q,r,s,t;o=this;if((m.$high>n.$high||(m.$high===n.$high&&m.$low>n.$low))){return o.SetInt64(new $Int64(0,1));}else if((m.$high<0||(m.$high===0&&m.$low<=0))&&(n.$high>0||(n.$high===0&&n.$low>=0))){return o.SetInt64(new $Int64(0,0));}p=false;if((m.$high<0||(m.$high===0&&m.$low<0))){p=(q=(r=new $Int64(n.$high-m.$high,n.$low-m.$low),new $Int64(r.$high&0,(r.$low&1)>>>0)),(q.$high===0&&q.$low===0));s=new $Int64(-n.$high,-n.$low);t=new $Int64(-m.$high,-m.$low);m=s;n=t;}o.abs=o.abs.mulRange((new $Uint64(m.$high,m.$low)),(new $Uint64(n.$high,n.$low)));o.neg=p;return o;};BO.prototype.MulRange=function(m,n){return this.$val.MulRange(m,n);};BO.ptr.prototype.Binomial=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=[o];p=[p];q=this;if((r=$div64(m,new $Int64(0,2),false),(r.$high<n.$high||(r.$high===n.$high&&r.$low<n.$low)))&&(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low))){n=new $Int64(m.$high-n.$high,m.$low-n.$low);}s=new BO.ptr(false,BX.nil);t=new BO.ptr(false,BX.nil);o[0]=$clone(s,BO);p[0]=$clone(t,BO);o[0].MulRange((u=new $Int64(m.$high-n.$high,m.$low-n.$low),new $Int64(u.$high+0,u.$low+1)),m);p[0].MulRange(new $Int64(0,1),n);v=q.Quo(o[0],p[0]);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return v;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Binomial};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Binomial=function(m,n){return this.$val.Binomial(m,n);};BO.ptr.prototype.Quo=function(m,n){var $ptr,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;q=o.abs.div(BX.nil,m.abs,n.abs);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;o.abs=p[0];o.neg=o.abs.$length>0&&!(m.neg===n.neg);$s=-1;return o;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Quo};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Quo=function(m,n){return this.$val.Quo(m,n);};BO.ptr.prototype.Rem=function(m,n){var $ptr,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;q=(BX.nil).div(o.abs,m.abs,n.abs);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;o.abs=p[1];o.neg=o.abs.$length>0&&m.neg;$s=-1;return o;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Rem};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Rem=function(m,n){return this.$val.Rem(m,n);};BO.ptr.prototype.QuoRem=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;r=p.abs.div(o.abs,m.abs,n.abs);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;p.abs=q[0];o.abs=q[1];s=p.abs.$length>0&&!(m.neg===n.neg);t=o.abs.$length>0&&m.neg;p.neg=s;o.neg=t;$s=-1;return[p,o];}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.QuoRem};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.QuoRem=function(m,n,o){return this.$val.QuoRem(m,n,o);};BO.ptr.prototype.Div=function(m,n){var $ptr,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=[o];p=this;q=n.neg;o[0]=new BO.ptr(false,BX.nil);r=p.QuoRem(m,n,o[0]);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;if(o[0].neg){if(q){p.Add(p,BP);}else{p.Sub(p,BP);}}$s=-1;return p;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Div};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Div=function(m,n){return this.$val.Div(m,n);};BO.ptr.prototype.Mod=function(m,n){var $ptr,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;p=n;if(o===n||CG(o.abs,n.abs)){p=new BO.ptr(false,BX.nil).Set(n);}q=new BO.ptr(false,BX.nil);r=q.QuoRem(m,n,o);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;if(o.neg){if(p.neg){o.Sub(o,p);}else{o.Add(o,p);}}$s=-1;return o;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Mod};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Mod=function(m,n){return this.$val.Mod(m,n);};BO.ptr.prototype.DivMod=function(m,n,o){var $ptr,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=n;if(p===n||CG(p.abs,n.abs)){q=new BO.ptr(false,BX.nil).Set(n);}r=p.QuoRem(m,n,o);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;if(o.neg){if(q.neg){p.Add(p,BP);o.Sub(o,q);}else{p.Sub(p,BP);o.Add(o,q);}}$s=-1;return[p,o];}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.DivMod};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.DivMod=function(m,n,o){return this.$val.DivMod(m,n,o);};BO.ptr.prototype.Cmp=function(m){var $ptr,m,n,o;n=0;o=this;if(o.neg===m.neg){n=o.abs.cmp(m.abs);if(o.neg){n=-n;}}else if(o.neg){n=-1;}else{n=1;}return n;};BO.prototype.Cmp=function(m){return this.$val.Cmp(m);};BS=function(m){var $ptr,m,n,o,p,q;if(m.$length===0){return new $Uint64(0,0);}o=((n=(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]),new $Uint64(0,n.constructor===Number?n:1)));if(true&&m.$length>1){o=(p=$shiftLeft64(((q=(1>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+1]),new $Uint64(0,q.constructor===Number?q:1))),32),new $Uint64(o.$high|p.$high,(o.$low|p.$low)>>>0));}return o;};BO.ptr.prototype.Int64=function(){var $ptr,m,n,o;m=this;o=((n=BS(m.abs),new $Int64(n.$high,n.$low)));if(m.neg){o=new $Int64(-o.$high,-o.$low);}return o;};BO.prototype.Int64=function(){return this.$val.Int64();};BO.ptr.prototype.Uint64=function(){var $ptr,m;m=this;return BS(m.abs);};BO.prototype.Uint64=function(){return this.$val.Uint64();};BO.ptr.prototype.SetString=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;p=D.NewReader(m);r=o.scan(p,n);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[2];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[DP.nil,false];}t=p.ReadByte();u=t[1];if(!($interfaceIsEqual(u,C.EOF))){$s=-1;return[DP.nil,false];}$s=-1;return[o,true];}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.SetString};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.SetString=function(m,n){return this.$val.SetString(m,n);};BO.ptr.prototype.SetBytes=function(m){var $ptr,m,n;n=this;n.abs=n.abs.setBytes(m);n.neg=false;return n;};BO.prototype.SetBytes=function(m){return this.$val.SetBytes(m);};BO.ptr.prototype.Bytes=function(){var $ptr,m,n;m=this;n=$makeSlice(DM,($imul(m.abs.$length,4)));return $subslice(n,m.abs.bytes(n));};BO.prototype.Bytes=function(){return this.$val.Bytes();};BO.ptr.prototype.BitLen=function(){var $ptr,m;m=this;return m.abs.bitLen();};BO.prototype.BitLen=function(){return this.$val.BitLen();};BO.ptr.prototype.Exp=function(m,n,o){var $ptr,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=BX.nil;if(!n.neg){q=n.abs;}r=BX.nil;if(!(o===DP.nil)){r=o.abs;}s=p.abs.expNN(m.abs,q,r);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}p.abs=s;p.neg=p.abs.$length>0&&m.neg&&q.$length>0&&((((0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])&1)>>>0)===1);if(p.neg&&r.$length>0){p.abs=p.abs.sub(r,p.abs);p.neg=false;}$s=-1;return p;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Exp};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Exp=function(m,n,o){return this.$val.Exp(m,n,o);};BO.ptr.prototype.GCD=function(m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(o.Sign()<=0||p.Sign()<=0){q.SetInt64(new $Int64(0,0));if(!(m===DP.nil)){m.SetInt64(new $Int64(0,0));}if(!(n===DP.nil)){n.SetInt64(new $Int64(0,0));}$s=-1;return q;}if(m===DP.nil&&n===DP.nil){$s=1;continue;}$s=2;continue;case 1:r=q.binaryGCD(o,p);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;case 2:s=new BO.ptr(false,BX.nil).Set(o);t=new BO.ptr(false,BX.nil).Set(p);u=new BO.ptr(false,BX.nil);v=new BO.ptr(false,BX.nil).SetInt64(new $Int64(0,1));w=new BO.ptr(false,BX.nil).SetInt64(new $Int64(0,1));x=new BO.ptr(false,BX.nil);y=new BO.ptr(false,BX.nil);z=new BO.ptr(false,BX.nil);aa=new BO.ptr(false,BX.nil);case 4:if(!(t.abs.$length>0)){$s=5;continue;}ac=y.QuoRem(s,t,aa);$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;y=ab[0];aa=ab[1];ad=t;ae=aa;af=s;s=ad;t=ae;aa=af;z.Set(u);u.Mul(u,y);u.neg=!u.neg;u.Add(u,w);w.Set(z);z.Set(v);v.Mul(v,y);v.neg=!v.neg;v.Add(v,x);x.Set(z);$s=4;continue;case 5:if(!(m===DP.nil)){BO.copy(m,w);}if(!(n===DP.nil)){BO.copy(n,x);}BO.copy(q,s);$s=-1;return q;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.GCD};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.GCD=function(m,n,o,p){return this.$val.GCD(m,n,o,p);};BO.ptr.prototype.binaryGCD=function(m,n){var $ptr,aa,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;p=o;q=new BO.ptr(false,BX.nil);if(m.abs.$length>n.abs.$length){$s=2;continue;}if(m.abs.$length<n.abs.$length){$s=3;continue;}$s=4;continue;case 2:r=q.Rem(m,n);$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;p.Set(n);$s=5;continue;case 3:s=q.Rem(n,m);$s=7;case 7:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;p.Set(m);$s=5;continue;case 4:q.Set(n);p.Set(m);case 5:case 1:if(q.abs.$length===0){$s=-1;return p;}t=p.abs.trailingZeroBits();u=q.abs.trailingZeroBits();if(u<t){t=u;}p.Rsh(p,t);q.Rsh(q,t);v=new BO.ptr(false,BX.nil);if(!(((((w=p.abs,(0>=w.$length?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+0]))&1)>>>0)===0))){v.Neg(q);}else{v.Set(p);}while(true){if(!(v.abs.$length>0)){break;}v.Rsh(v,v.abs.trailingZeroBits());if(v.neg){x=v;y=q;q=x;v=y;q.neg=q.abs.$length>0&&!q.neg;}else{z=v;aa=p;p=z;v=aa;}v.Sub(p,q);}$s=-1;return o.Lsh(p,t);}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.binaryGCD};}$f.$ptr=$ptr;$f.aa=aa;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.binaryGCD=function(m,n){return this.$val.binaryGCD(m,n);};BO.ptr.prototype.Rand=function(m,n){var $ptr,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;o.neg=false;if(n.neg||(n.abs.$length===0)){o.abs=BX.nil;$s=-1;return o;}p=o.abs.random(m,n.abs,n.abs.bitLen());$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o.abs=p;$s=-1;return o;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Rand};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Rand=function(m,n){return this.$val.Rand(m,n);};BO.ptr.prototype.ModInverse=function(m,n){var $ptr,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;if(m.neg){$s=1;continue;}$s=2;continue;case 1:p=new BO.ptr(false,BX.nil);q=p.Mod(m,n);$s=3;case 3:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}m=q;case 2:r=new BO.ptr(false,BX.nil);s=r.GCD(o,DP.nil,m,n);$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;if(o.neg){o.Add(o,n);}$s=-1;return o;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.ModInverse};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.ModInverse=function(m,n){return this.$val.ModInverse(m,n);};BT=function(m,n){var $ptr,aa,ab,ac,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=[o];p=[p];q=[q];if((n.abs.$length===0)||((((r=n.abs,(0>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+0]))&1)>>>0)===0)){$s=1;continue;}$s=2;continue;case 1:s=A.Sprintf(\"big: invalid 2nd argument to Int.Jacobi: need odd integer but got %s\",new DI([n]));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$panic(new $String(s));case 2:t=new BO.ptr(false,BX.nil);u=new BO.ptr(false,BX.nil);v=new BO.ptr(false,BX.nil);o[0]=$clone(t,BO);p[0]=$clone(u,BO);q[0]=$clone(v,BO);o[0].Set(m);p[0].Set(n);w=1;if(p[0].neg){if(o[0].neg){w=-1;}p[0].neg=false;}case 4:if(p[0].Cmp(BP)===0){$s=-1;return w;}if(o[0].abs.$length===0){$s=-1;return 0;}x=o[0].Mod(o[0],p[0]);$s=6;case 6:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;if(o[0].abs.$length===0){$s=-1;return 0;}y=o[0].abs.trailingZeroBits();if(!((((y&1)>>>0)===0))){aa=((z=p[0].abs,(0>=z.$length?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+0]))&7)>>>0;if((aa===3)||(aa===5)){w=-w;}}q[0].Rsh(o[0],y);if(((((ab=p[0].abs,(0>=ab.$length?($throwRuntimeError(\"index out of range\"),undefined):ab.$array[ab.$offset+0]))&3)>>>0)===3)&&((((ac=q[0].abs,(0>=ac.$length?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+0]))&3)>>>0)===3)){w=-w;}o[0].Set(p[0]);p[0].Set(q[0]);$s=4;continue;case 5:$s=-1;return 0;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Jacobi=BT;BO.ptr.prototype.modSqrt3Mod4Prime=function(m,n){var $ptr,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;o.Set(n);o.Add(o,BP);o.Rsh(o,2);p=o.Exp(m,o,n);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=-1;return o;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.modSqrt3Mod4Prime};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.modSqrt3Mod4Prime=function(m,n){return this.$val.modSqrt3Mod4Prime(m,n);};BO.ptr.prototype.modSqrtTonelliShanks=function(m,n){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=[o];p=[p];q=[q];r=[r];s=[s];t=[t];u=this;r[0]=new BO.ptr(false,BX.nil);r[0].Sub(n,BP);v=r[0].abs.trailingZeroBits();r[0].Rsh(r[0],v);q[0]=new BO.ptr(false,BX.nil);q[0].SetInt64(new $Int64(0,2));case 1:w=BT(q[0],n);$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(!(!((w===-1)))){$s=2;continue;}q[0].Add(q[0],BP);$s=1;continue;case 2:x=new BO.ptr(false,BX.nil);y=new BO.ptr(false,BX.nil);z=new BO.ptr(false,BX.nil);aa=new BO.ptr(false,BX.nil);t[0]=$clone(x,BO);o[0]=$clone(y,BO);p[0]=$clone(z,BO);s[0]=$clone(aa,BO);t[0].Add(r[0],BP);t[0].Rsh(t[0],1);ab=t[0].Exp(m,t[0],n);$s=4;case 4:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ab;ac=o[0].Exp(m,r[0],n);$s=5;case 5:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;ad=p[0].Exp(q[0],r[0],n);$s=6;case 6:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ad;ae=v;case 7:af=0;s[0].Set(o[0]);case 9:if(!(!((s[0].Cmp(BP)===0)))){$s=10;continue;}ag=s[0].Mul(s[0],s[0]).Mod(s[0],n);$s=11;case 11:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;af=af+(1)>>>0;$s=9;continue;case 10:if(af===0){$s=-1;return u.Set(t[0]);}ah=s[0].SetInt64(new $Int64(0,0)).SetBit(s[0],((((ae-af>>>0)-1>>>0)>>0)),1).Exp(p[0],s[0],n);$s=12;case 12:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;ai=p[0].Mul(s[0],s[0]).Mod(p[0],n);$s=13;case 13:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;aj=t[0].Mul(t[0],s[0]).Mod(t[0],n);$s=14;case 14:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;ak=o[0].Mul(o[0],p[0]).Mod(o[0],n);$s=15;case 15:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;ae=af;$s=7;continue;case 8:$s=-1;return DP.nil;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.modSqrtTonelliShanks};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.modSqrtTonelliShanks=function(m,n){return this.$val.modSqrtTonelliShanks(m,n);};BO.ptr.prototype.ModSqrt=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;p=BT(m,n);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(q===(-1)){$s=-1;return DP.nil;}else if(q===(0)){$s=-1;return o.SetInt64(new $Int64(0,0));}else if(q===(1)){$s=1;continue;}case 1:if(m.neg||m.Cmp(n)>=0){$s=3;continue;}$s=4;continue;case 3:r=new BO.ptr(false,BX.nil).Mod(m,n);$s=5;case 5:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}m=r;case 4:if(n.abs.$length>0&&((s=(t=n.abs,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))%4,s===s?s:$throwRuntimeError(\"integer divide by zero\"))===3)){$s=6;continue;}$s=7;continue;case 6:u=o.modSqrt3Mod4Prime(m,n);$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return u;case 7:v=o.modSqrtTonelliShanks(m,n);$s=9;case 9:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return v;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.ModSqrt};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.ModSqrt=function(m,n){return this.$val.ModSqrt(m,n);};BO.ptr.prototype.Lsh=function(m,n){var $ptr,m,n,o;o=this;o.abs=o.abs.shl(m.abs,n);o.neg=m.neg;return o;};BO.prototype.Lsh=function(m,n){return this.$val.Lsh(m,n);};BO.ptr.prototype.Rsh=function(m,n){var $ptr,m,n,o,p;o=this;if(m.neg){p=o.abs.sub(m.abs,BY);p=p.shr(p,n);o.abs=p.add(p,BY);o.neg=true;return o;}o.abs=o.abs.shr(m.abs,n);o.neg=false;return o;};BO.prototype.Rsh=function(m,n){return this.$val.Rsh(m,n);};BO.ptr.prototype.Bit=function(m){var $ptr,m,n,o,p;n=this;if(m===0){if(n.abs.$length>0){return(((((o=n.abs,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]))&1)>>>0)>>>0));}return 0;}if(m<0){$panic(new $String(\"negative bit index\"));}if(n.neg){p=(BX.nil).sub(n.abs,BY);return(p.bit(((m>>>0)))^1)>>>0;}return n.abs.bit(((m>>>0)));};BO.prototype.Bit=function(m){return this.$val.Bit(m);};BO.ptr.prototype.SetBit=function(m,n,o){var $ptr,m,n,o,p,q;p=this;if(n<0){$panic(new $String(\"negative bit index\"));}if(m.neg){q=p.abs.sub(m.abs,BY);q=q.setBit(q,((n>>>0)),(o^1)>>>0);p.abs=q.add(q,BY);p.neg=p.abs.$length>0;return p;}p.abs=p.abs.setBit(m.abs,((n>>>0)),o);p.neg=false;return p;};BO.prototype.SetBit=function(m,n,o){return this.$val.SetBit(m,n,o);};BO.ptr.prototype.And=function(m,n){var $ptr,m,n,o,p,q,r,s,t;o=this;if(m.neg===n.neg){if(m.neg){p=(BX.nil).sub(m.abs,BY);q=(BX.nil).sub(n.abs,BY);o.abs=o.abs.add(o.abs.or(p,q),BY);o.neg=true;return o;}o.abs=o.abs.and(m.abs,n.abs);o.neg=false;return o;}if(m.neg){r=n;s=m;m=r;n=s;}t=(BX.nil).sub(n.abs,BY);o.abs=o.abs.andNot(m.abs,t);o.neg=false;return o;};BO.prototype.And=function(m,n){return this.$val.And(m,n);};BO.ptr.prototype.AndNot=function(m,n){var $ptr,m,n,o,p,q,r,s;o=this;if(m.neg===n.neg){if(m.neg){p=(BX.nil).sub(m.abs,BY);q=(BX.nil).sub(n.abs,BY);o.abs=o.abs.andNot(q,p);o.neg=false;return o;}o.abs=o.abs.andNot(m.abs,n.abs);o.neg=false;return o;}if(m.neg){r=(BX.nil).sub(m.abs,BY);o.abs=o.abs.add(o.abs.or(r,n.abs),BY);o.neg=true;return o;}s=(BX.nil).sub(n.abs,BY);o.abs=o.abs.and(m.abs,s);o.neg=false;return o;};BO.prototype.AndNot=function(m,n){return this.$val.AndNot(m,n);};BO.ptr.prototype.Or=function(m,n){var $ptr,m,n,o,p,q,r,s,t;o=this;if(m.neg===n.neg){if(m.neg){p=(BX.nil).sub(m.abs,BY);q=(BX.nil).sub(n.abs,BY);o.abs=o.abs.add(o.abs.and(p,q),BY);o.neg=true;return o;}o.abs=o.abs.or(m.abs,n.abs);o.neg=false;return o;}if(m.neg){r=n;s=m;m=r;n=s;}t=(BX.nil).sub(n.abs,BY);o.abs=o.abs.add(o.abs.andNot(t,m.abs),BY);o.neg=true;return o;};BO.prototype.Or=function(m,n){return this.$val.Or(m,n);};BO.ptr.prototype.Xor=function(m,n){var $ptr,m,n,o,p,q,r,s,t;o=this;if(m.neg===n.neg){if(m.neg){p=(BX.nil).sub(m.abs,BY);q=(BX.nil).sub(n.abs,BY);o.abs=o.abs.xor(p,q);o.neg=false;return o;}o.abs=o.abs.xor(m.abs,n.abs);o.neg=false;return o;}if(m.neg){r=n;s=m;m=r;n=s;}t=(BX.nil).sub(n.abs,BY);o.abs=o.abs.add(o.abs.xor(m.abs,t),BY);o.neg=true;return o;};BO.prototype.Xor=function(m,n){return this.$val.Xor(m,n);};BO.ptr.prototype.Not=function(m){var $ptr,m,n;n=this;if(m.neg){n.abs=n.abs.sub(m.abs,BY);n.neg=false;return n;}n.abs=n.abs.add(m.abs,BY);n.neg=true;return n;};BO.prototype.Not=function(m){return this.$val.Not(m);};BO.ptr.prototype.Sqrt=function(m){var $ptr,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;if(m.neg){$panic(new $String(\"square root of negative number\"));}n.neg=false;o=n.abs.sqrt(m.abs);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n.abs=o;$s=-1;return n;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Sqrt};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Sqrt=function(m){return this.$val.Sqrt(m);};BO.ptr.prototype.Text=function(m){var $ptr,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;if(n===DP.nil){$s=-1;return\"<nil>\";}o=n.abs.itoa(n.neg,m);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return($bytesToString(o));}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Text};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Text=function(m){return this.$val.Text(m);};BO.ptr.prototype.Append=function(m,n){var $ptr,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;if(o===DP.nil){$s=-1;return $appendSlice(m,\"<nil>\");}p=m;q=o.abs.itoa(o.neg,n);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;$s=-1;return $appendSlice(p,r);}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Append};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Append=function(m,n){return this.$val.Append(m,n);};BO.ptr.prototype.String=function(){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=this;n=m.Text(10);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.String};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.String=function(){return this.$val.String();};BU=function(m,n,o){var $ptr,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(n.length>0){$s=1;continue;}$s=2;continue;case 1:p=(new DM($stringToBytes(n)));case 3:if(!(o>0)){$s=4;continue;}q=m.Write(p);$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;o=o-(1)>>0;$s=3;continue;case 4:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BU};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BO.ptr.prototype.Format=function(m,n){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;p=0;q=n;if(q===(98)){$s=2;continue;}if(q===(111)){$s=3;continue;}if((q===(100))||(q===(115))||(q===(118))){$s=4;continue;}if((q===(120))||(q===(88))){$s=5;continue;}$s=6;continue;case 2:p=2;$s=7;continue;case 3:p=8;$s=7;continue;case 4:p=10;$s=7;continue;case 5:p=16;$s=7;continue;case 6:r=m;s=new $Int32(n);t=o.String();$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=new $String(t);v=A.Fprintf(r,\"%%!%c(big.Int=%s)\",new DI([s,u]));$s=9;case 9:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;$s=-1;return;case 7:case 1:if(o===DP.nil){$s=10;continue;}$s=11;continue;case 10:w=A.Fprint(m,new DI([new $String(\"<nil>\")]));$s=12;case 12:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return;case 11:x=\"\";if(o.neg){$s=14;continue;}y=m.Flag(43);$s=18;case 18:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}if(y){$s=15;continue;}z=m.Flag(32);$s=19;case 19:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}if(z){$s=16;continue;}$s=17;continue;case 14:x=\"-\";$s=17;continue;case 15:x=\"+\";$s=17;continue;case 16:x=\" \";case 17:case 13:aa=\"\";ab=m.Flag(35);$s=22;case 22:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(ab){$s=20;continue;}$s=21;continue;case 20:ac=n;if(ac===(111)){aa=\"0\";}else if(ac===(120)){aa=\"0x\";}else if(ac===(88)){aa=\"0X\";}case 21:ad=o.abs.utoa(p);$s=23;case 23:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;if(n===88){af=ae;ag=0;while(true){if(!(ag<af.$length)){break;}ah=ag;ai=((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]);if(97<=ai&&ai<=122){((ah<0||ah>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+ah]=(65+((ai-97<<24>>>24))<<24>>>24));}ag++;}}aj=0;ak=0;al=0;an=m.Precision();$s=24;case 24:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}am=an;ao=am[0];ap=am[1];if(ap){if(ae.$length<ao){ak=ao-ae.$length>>0;}else if((ae.$length===1)&&((0>=ae.$length?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+0])===48)&&(ao===0)){$s=-1;return;}}aq=((x.length+aa.length>>0)+ak>>0)+ae.$length>>0;as=m.Width();$s=25;case 25:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;at=ar[0];au=ar[1];if(au&&aq<at){$s=26;continue;}$s=27;continue;case 26:av=at-aq>>0;aw=m.Flag(45);$s=33;case 33:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw){$s=29;continue;}ax=m.Flag(48);$s=34;case 34:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if(ax&&!ap){$s=30;continue;}$s=31;continue;case 29:al=av;$s=32;continue;case 30:ak=av;$s=32;continue;case 31:aj=av;case 32:case 28:case 27:$r=BU(m,\" \",aj);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=BU(m,x,1);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=BU(m,aa,1);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=BU(m,\"0\",ak);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ay=m.Write(ae);$s=39;case 39:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;$r=BU(m,\" \",al);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Format};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Format=function(m,n){return this.$val.Format(m,n);};BO.ptr.prototype.scan=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;q=BV(m);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[DP.nil,0,s];}u=o.abs.scan(m,n,false);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;o.abs=t[0];n=t[1];s=t[3];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[DP.nil,n,s];}o.neg=o.abs.$length>0&&r;$s=-1;return[o,n,$ifaceNil];}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.scan};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.scan=function(m,n){return this.$val.scan(m,n);};BV=function(m){var $ptr,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=false;o=$ifaceNil;p=0;r=m.ReadByte();$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;p=q[0];o=q[1];if(!($interfaceIsEqual(o,$ifaceNil))){s=false;t=o;n=s;o=t;$s=-1;return[n,o];}u=p;if(u===(45)){$s=3;continue;}if(u===(43)){$s=4;continue;}$s=5;continue;case 3:n=true;$s=6;continue;case 4:$s=6;continue;case 5:v=m.UnreadByte();$s=7;case 7:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 6:case 2:$s=-1;return[n,o];}return;}if($f===undefined){$f={$blk:BV};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BW.ptr.prototype.ReadByte=function(){var $ptr,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=this;o=m.ScanState.ReadRune();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];r=n[2];if(!((q===1))&&$interfaceIsEqual(r,$ifaceNil)){$s=2;continue;}$s=3;continue;case 2:s=A.Errorf(\"invalid rune %#U\",new DI([new $Int32(p)]));$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;case 3:$s=-1;return[((p<<24>>>24)),r];}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.ReadByte};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.ReadByte=function(){return this.$val.ReadByte();};BW.ptr.prototype.UnreadByte=function(){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=this;n=m.ScanState.UnreadRune();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.UnreadByte};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.UnreadByte=function(){return this.$val.UnreadByte();};BO.ptr.prototype.Scan=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;$r=m.SkipSpace();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=0;q=n;if(q===(98)){p=2;}else if(q===(111)){p=8;}else if(q===(100)){p=10;}else if((q===(120))||(q===(88))){p=16;}else if((q===(115))||(q===(118))){}else{$s=-1;return I.New(\"Int.Scan: invalid verb\");}t=o.scan((s=new BW.ptr(m),new s.constructor.elem(s)),p);$s=2;case 2:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t;u=r[2];$s=-1;return u;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.Scan};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.Scan=function(m,n){return this.$val.Scan(m,n);};BO.ptr.prototype.GobEncode=function(){var $ptr,m,n,o,p;m=this;if(m===DP.nil){return[DM.nil,$ifaceNil];}n=$makeSlice(DM,(1+($imul(m.abs.$length,4))>>0));o=m.abs.bytes(n)-1>>0;p=2;if(m.neg){p=(p|(1))>>>0;}((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]=p);return[$subslice(n,o),$ifaceNil];};BO.prototype.GobEncode=function(){return this.$val.GobEncode();};BO.ptr.prototype.GobDecode=function(m){var $ptr,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;if(m.$length===0){BO.copy(n,new BO.ptr(false,BX.nil));$s=-1;return $ifaceNil;}o=(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]);if(!(((o>>>1<<24>>>24)===1))){$s=1;continue;}$s=2;continue;case 1:p=A.Errorf(\"Int.GobDecode: encoding version %d not supported\",new DI([new $Uint8((o>>>1<<24>>>24))]));$s=3;case 3:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return p;case 2:n.neg=!((((o&1)>>>0)===0));n.abs=n.abs.setBytes($subslice(m,1));$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.GobDecode=function(m){return this.$val.GobDecode(m);};BO.ptr.prototype.MarshalText=function(){var $ptr,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=DM.nil;n=$ifaceNil;o=this;if(o===DP.nil){p=(new DM($stringToBytes(\"<nil>\")));q=$ifaceNil;m=p;n=q;$s=-1;return[m,n];}s=o.abs.itoa(o.neg,10);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=$ifaceNil;m=r;n=t;$s=-1;return[m,n];}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.MarshalText=function(){return this.$val.MarshalText();};BO.ptr.prototype.UnmarshalText=function(m){var $ptr,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;p=n.SetString(($bytesToString(m)),0);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[1];if(!q){$s=2;continue;}$s=3;continue;case 2:r=A.Errorf(\"math/big: cannot unmarshal %q into a *big.Int\",new DI([m]));$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.UnmarshalText=function(m){return this.$val.UnmarshalText(m);};BO.ptr.prototype.MarshalJSON=function(){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=this;n=m.MarshalText();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BO.ptr.prototype.UnmarshalJSON=function(m){var $ptr,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;if(($bytesToString(m))===\"null\"){$s=-1;return $ifaceNil;}o=n.UnmarshalText(m);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return o;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.UnmarshalJSON=function(m){return this.$val.UnmarshalJSON(m);};BX.prototype.clear=function(){var $ptr,m,n,o,p;m=this;n=m;o=0;while(true){if(!(o<n.$length)){break;}p=o;((p<0||p>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+p]=0);o++;}};$ptrType(BX).prototype.clear=function(){return this.$get().clear();};BX.prototype.norm=function(){var $ptr,m,n,o;m=this;n=m.$length;while(true){if(!(n>0&&((o=n-1>>0,((o<0||o>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+o]))===0))){break;}n=n-(1)>>0;}return $subslice(m,0,n);};$ptrType(BX).prototype.norm=function(){return this.$get().norm();};BX.prototype.make=function(m){var $ptr,m,n;n=this;if(m<=n.$capacity){return $subslice(n,0,m);}return $makeSlice(BX,m,(m+4>>0));};$ptrType(BX).prototype.make=function(m){return this.$get().make(m);};BX.prototype.setWord=function(m){var $ptr,m,n;n=this;if(m===0){return $subslice(n,0,0);}n=n.make(1);(0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0]=m);return n;};$ptrType(BX).prototype.setWord=function(m){return this.$get().setWord(m);};BX.prototype.setUint64=function(m){var $ptr,m,n,o,p,q,r,s,t,u;n=this;o=((m.$low>>>0));if((p=(new $Uint64(0,o.constructor===Number?o:1)),(p.$high===m.$high&&p.$low===m.$low))){return n.setWord(o);}q=0;r=m;while(true){if(!((r.$high>0||(r.$high===0&&r.$low>0)))){break;}q=q+(1)>>0;r=$shiftRightUint64(r,(32));}n=n.make(q);s=n;t=0;while(true){if(!(t<s.$length)){break;}u=t;((u<0||u>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+u]=((new $Uint64(m.$high&0,(m.$low&4294967295)>>>0).$low>>>0)));m=$shiftRightUint64(m,(32));t++;}return n;};$ptrType(BX).prototype.setUint64=function(m){return this.$get().setUint64(m);};BX.prototype.set=function(m){var $ptr,m,n;n=this;n=n.make(m.$length);$copySlice(n,m);return n;};$ptrType(BX).prototype.set=function(m){return this.$get().set(m);};BX.prototype.add=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u;o=this;p=m.$length;q=n.$length;if(p<q){return o.add(n,m);}else if((p===0)){return $subslice(o,0,0);}else if((q===0)){return o.set(m);}o=o.make(p+1>>0);s=M((r=$subslice(o,0,q),$subslice(new DO(r.$array),r.$offset,r.$offset+r.$length)),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length));if(p>q){s=O((t=$subslice(o,q,p),$subslice(new DO(t.$array),t.$offset,t.$offset+t.$length)),(u=$subslice(m,q),$subslice(new DO(u.$array),u.$offset,u.$offset+u.$length)),s);}((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]=s);return o.norm();};$ptrType(BX).prototype.add=function(m,n){return this.$get().add(m,n);};BX.prototype.sub=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u;o=this;p=m.$length;q=n.$length;if(p<q){$panic(new $String(\"underflow\"));}else if((p===0)){return $subslice(o,0,0);}else if((q===0)){return o.set(m);}o=o.make(p);s=N((r=$subslice(o,0,q),$subslice(new DO(r.$array),r.$offset,r.$offset+r.$length)),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length));if(p>q){s=P((t=$subslice(o,q),$subslice(new DO(t.$array),t.$offset,t.$offset+t.$length)),(u=$subslice(m,q),$subslice(new DO(u.$array),u.$offset,u.$offset+u.$length)),s);}if(!((s===0))){$panic(new $String(\"underflow\"));}return o.norm();};$ptrType(BX).prototype.sub=function(m,n){return this.$get().sub(m,n);};BX.prototype.cmp=function(m){var $ptr,m,n,o,p,q,r;n=0;o=this;p=o.$length;q=m.$length;if(!((p===q))||(p===0)){if(p<q){n=-1;}else if(p>q){n=1;}return n;}r=p-1>>0;while(true){if(!(r>0&&(((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r])===((r<0||r>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+r])))){break;}r=r-(1)>>0;}if(((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r])<((r<0||r>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+r])){n=-1;}else if(((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r])>((r<0||r>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+r])){n=1;}return n;};$ptrType(BX).prototype.cmp=function(m){return this.$get().cmp(m);};BX.prototype.mulAddWW=function(m,n,o){var $ptr,m,n,o,p,q,r;p=this;q=m.$length;if((q===0)||(n===0)){return p.setWord(o);}p=p.make(q+1>>0);((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]=S((r=$subslice(p,0,q),$subslice(new DO(r.$array),r.$offset,r.$offset+r.$length)),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),n,o));return p.norm();};$ptrType(BX).prototype.mulAddWW=function(m,n,o){return this.$get().mulAddWW(m,n,o);};CB=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u;$subslice(m,0,(n.$length+o.$length>>0)).clear();p=o;q=0;while(true){if(!(q<p.$length)){break;}r=q;s=((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]);if(!((s===0))){(u=n.$length+r>>0,((u<0||u>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+u]=T((t=$subslice(m,r,(r+n.$length>>0)),$subslice(new DO(t.$array),t.$offset,t.$offset+t.$length)),$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length),s)));}q++;}};BX.prototype.montgomery=function(m,n,o,p,q){var $ptr,aa,m,n,o,p,q,r,s,t,u,v,w,x,y,z;r=this;if(!((m.$length===q))||!((n.$length===q))||!((o.$length===q))){$panic(new $String(\"math/big: mismatched montgomery number lengths\"));}r=r.make(q);r.clear();s=0;t=0;while(true){if(!(t<q)){break;}u=((t<0||t>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+t]);v=T($subslice(new DO(r.$array),r.$offset,r.$offset+r.$length),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),u);w=$imul((0>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+0]),p)>>>0;x=T($subslice(new DO(r.$array),r.$offset,r.$offset+r.$length),$subslice(new DO(o.$array),o.$offset,o.$offset+o.$length),w);$copySlice(r,$subslice(r,1));y=s+v>>>0;z=y+x>>>0;(aa=q-1>>0,((aa<0||aa>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+aa]=z));if(y<v||z<x){s=1;}else{s=0;}t=t+(1)>>0;}if(!((s===0))){N($subslice(new DO(r.$array),r.$offset,r.$offset+r.$length),$subslice(new DO(r.$array),r.$offset,r.$offset+r.$length),$subslice(new DO(o.$array),o.$offset,o.$offset+o.$length));}return r;};$ptrType(BX).prototype.montgomery=function(m,n,o,p,q){return this.$get().montgomery(m,n,o,p,q);};CC=function(m,n,o){var $ptr,m,n,o,p,q,r,s;q=M((p=$subslice(m,0,o),$subslice(new DO(p.$array),p.$offset,p.$offset+p.$length)),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length));if(!((q===0))){O((r=$subslice(m,o,(o+(o>>1>>0)>>0)),$subslice(new DO(r.$array),r.$offset,r.$offset+r.$length)),(s=$subslice(m,o),$subslice(new DO(s.$array),s.$offset,s.$offset+s.$length)),q);}};CD=function(m,n,o){var $ptr,m,n,o,p,q,r,s;q=N((p=$subslice(m,0,o),$subslice(new DO(p.$array),p.$offset,p.$offset+p.$length)),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length));if(!((q===0))){P((r=$subslice(m,o,(o+(o>>1>>0)>>0)),$subslice(new DO(r.$array),r.$offset,r.$offset+r.$length)),(s=$subslice(m,o),$subslice(new DO(s.$array),s.$offset,s.$offset+s.$length)),q);}};CF=function(m,n,o){var $ptr,aa,ab,ac,ad,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=o.$length;if(!(((p&1)===0))||p<CE||p<2){CB(m,n,o);return;}q=p>>1>>0;r=$subslice(n,q);s=$subslice(n,0,q);t=r;u=s;v=$subslice(o,q);w=$subslice(o,0,q);x=v;y=w;CF(m,u,y);CF($subslice(m,p),t,x);z=1;aa=$subslice(m,($imul(2,p)),(($imul(2,p))+q>>0));if(!((N($subslice(new DO(aa.$array),aa.$offset,aa.$offset+aa.$length),$subslice(new DO(t.$array),t.$offset,t.$offset+t.$length),$subslice(new DO(u.$array),u.$offset,u.$offset+u.$length))===0))){z=-z;N($subslice(new DO(aa.$array),aa.$offset,aa.$offset+aa.$length),$subslice(new DO(u.$array),u.$offset,u.$offset+u.$length),$subslice(new DO(t.$array),t.$offset,t.$offset+t.$length));}ab=$subslice(m,(($imul(2,p))+q>>0),($imul(3,p)));if(!((N($subslice(new DO(ab.$array),ab.$offset,ab.$offset+ab.$length),$subslice(new DO(y.$array),y.$offset,y.$offset+y.$length),$subslice(new DO(x.$array),x.$offset,x.$offset+x.$length))===0))){z=-z;N($subslice(new DO(ab.$array),ab.$offset,ab.$offset+ab.$length),$subslice(new DO(x.$array),x.$offset,x.$offset+x.$length),$subslice(new DO(y.$array),y.$offset,y.$offset+y.$length));}ac=$subslice(m,($imul(p,3)));CF(ac,aa,ab);ad=$subslice(m,($imul(p,4)));$copySlice(ad,$subslice(m,0,($imul(p,2))));CC($subslice(m,q),ad,p);CC($subslice(m,q),$subslice(ad,p),p);if(z>0){CC($subslice(m,q),ac,p);}else{CD($subslice(m,q),ac,p);}};CG=function(m,n){var $ptr,m,n,o,p;return m.$capacity>0&&n.$capacity>0&&(o=$subslice(m,0,m.$capacity),$indexPtr(o.$array,o.$offset+(m.$capacity-1>>0),DR))===(p=$subslice(n,0,n.$capacity),$indexPtr(p.$array,p.$offset+(n.$capacity-1>>0),DR));};CH=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v;p=n.$length;if(p>0){s=M((q=$subslice(m,o,(o+p>>0)),$subslice(new DO(q.$array),q.$offset,q.$offset+q.$length)),(r=$subslice(m,o),$subslice(new DO(r.$array),r.$offset,r.$offset+r.$length)),$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length));if(!((s===0))){t=o+p>>0;if(t<m.$length){O((u=$subslice(m,t),$subslice(new DO(u.$array),u.$offset,u.$offset+u.$length)),(v=$subslice(m,t),$subslice(new DO(v.$array),v.$offset,v.$offset+v.$length)),s);}}}};CI=function(m,n){var $ptr,m,n;if(m>n){return m;}return n;};CJ=function(m){var $ptr,m,n,o;n=0;while(true){if(!(m>CE)){break;}m=(m>>$min((1),31))>>0;n=n+(1)>>>0;}return(o=n,o<32?(m<<o):0)>>0;};BX.prototype.mul=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u,v,w,x,y,z;o=this;p=m.$length;q=n.$length;if(p<q){return o.mul(n,m);}else if((p===0)||(q===0)){return $subslice(o,0,0);}else if((q===1)){return o.mulAddWW(m,(0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0]),0);}if(CG(o,m)||CG(o,n)){o=BX.nil;}if(q<CE){o=o.make(p+q>>0);CB(o,m,n);return o.norm();}r=CJ(q);s=$subslice(m,0,r);t=$subslice(n,0,r);o=o.make(CI($imul(6,r),p+q>>0));CF(o,s,t);o=$subslice(o,0,(p+q>>0));$subslice(o,($imul(2,r))).clear();if(r<q||!((p===q))){u=BX.nil;v=s.norm();w=$subslice(n,r);u=u.mul(v,w);CH(o,u,r);x=t.norm();y=r;while(true){if(!(y<m.$length)){break;}z=$subslice(m,y);if(z.$length>r){z=$subslice(z,0,r);}z=z.norm();u=u.mul(z,x);CH(o,u,y);u=u.mul(z,w);CH(o,u,y+r>>0);y=y+(r)>>0;}}return o.norm();};$ptrType(BX).prototype.mul=function(m,n){return this.$get().mul(m,n);};BX.prototype.mulRange=function(m,n){var $ptr,m,n,o,p,q;o=this;if((m.$high===0&&m.$low===0)){return o.setUint64(new $Uint64(0,0));}else if((m.$high>n.$high||(m.$high===n.$high&&m.$low>n.$low))){return o.setUint64(new $Uint64(0,1));}else if((m.$high===n.$high&&m.$low===n.$low)){return o.setUint64(m);}else if((p=new $Uint64(m.$high+0,m.$low+1),(p.$high===n.$high&&p.$low===n.$low))){return o.mul((BX.nil).setUint64(m),(BX.nil).setUint64(n));}q=$div64((new $Uint64(m.$high+n.$high,m.$low+n.$low)),new $Uint64(0,2),false);return o.mul((BX.nil).mulRange(m,q),(BX.nil).mulRange(new $Uint64(q.$high+0,q.$low+1),n));};$ptrType(BX).prototype.mulRange=function(m,n){return this.$get().mulRange(m,n);};BX.prototype.divW=function(m,n){var $ptr,m,n,o,p,q,r;o=BX.nil;p=0;q=this;r=m.$length;if((n===0)){$panic(new $String(\"division by zero\"));}else if((n===1)){o=q.set(m);return[o,p];}else if((r===0)){o=$subslice(q,0,0);return[o,p];}q=q.make(r);p=U($subslice(new DO(q.$array),q.$offset,q.$offset+q.$length),0,$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),n);o=q.norm();return[o,p];};$ptrType(BX).prototype.divW=function(m,n){return this.$get().divW(m,n);};BX.prototype.div=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=BX.nil;q=BX.nil;r=this;if(o.$length===0){$panic(new $String(\"division by zero\"));}if(n.cmp(o)<0){p=$subslice(r,0,0);q=m.set(n);$s=-1;return[p,q];}if(o.$length===1){s=0;t=r.divW(n,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]));p=t[0];s=t[1];q=m.setWord(s);$s=-1;return[p,q];}v=r.divLarge(m,n,o);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;p=u[0];q=u[1];$s=-1;return[p,q];}return;}if($f===undefined){$f={$blk:BX.prototype.div};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.div=function(m,n,o){return this.$get().div(m,n,o);};CK=function(m){var $ptr,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=DS.nil;o=CM.Get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){n=$assertType(p,DS);}if(n===DS.nil){n=$newDataPointer(BX.nil,DS);}n.$set(n.make(m));$s=-1;return n;}return;}if($f===undefined){$f={$blk:CK};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};CL=function(m){var $ptr,m;CM.Put(m);};BX.prototype.divLarge=function(m,n,o){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=BX.nil;q=BX.nil;r=this;s=o.$length;t=n.$length-s>>0;if(CG(r,n)||CG(r,o)){r=BX.nil;}p=r.make(t+1>>0);u=CK(s+1>>0);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;w=v.$get();if(CG(m,n)||CG(m,o)){m=BX.nil;}m=m.make(n.$length+1>>0);m.clear();x=DS.nil;z=AE((y=s-1>>0,((y<0||y>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+y])));if(z>0){$s=2;continue;}$s=3;continue;case 2:aa=CK(s);$s=4;case 4:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}x=aa;ab=x.$get();Q($subslice(new DO(ab.$array),ab.$offset,ab.$offset+ab.$length),$subslice(new DO(o.$array),o.$offset,o.$offset+o.$length),z);o=ab;case 3:(ad=n.$length,((ad<0||ad>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+ad]=Q((ac=$subslice(m,0,n.$length),$subslice(new DO(ac.$array),ac.$offset,ac.$offset+ac.$length)),$subslice(new DO(n.$array),n.$offset,n.$offset+n.$length),z)));af=(ae=s-1>>0,((ae<0||ae>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+ae]));ag=t;while(true){if(!(ag>=0)){break;}ah=4294967295;aj=(ai=ag+s>>0,((ai<0||ai>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+ai]));if(!((aj===af))){ak=0;al=L(aj,(am=(ag+s>>0)-1>>0,((am<0||am>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+am])),af);ah=al[0];ak=al[1];ao=(an=s-2>>0,((an<0||an>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+an]));ap=K(ah,ao);aq=ap[0];ar=ap[1];at=(as=(ag+s>>0)-2>>0,((as<0||as>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+as]));while(true){if(!(CQ(aq,ar,ak,at))){break;}ah=ah-(1)>>>0;au=ak;ak=ak+(af)>>>0;if(ak<au){break;}av=K(ah,ao);aq=av[0];ar=av[1];}}((s<0||s>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+s]=S((aw=$subslice(w,0,s),$subslice(new DO(aw.$array),aw.$offset,aw.$offset+aw.$length)),$subslice(new DO(o.$array),o.$offset,o.$offset+o.$length),ah,0));az=N((ax=$subslice(m,ag,(ag+w.$length>>0)),$subslice(new DO(ax.$array),ax.$offset,ax.$offset+ax.$length)),(ay=$subslice(m,ag),$subslice(new DO(ay.$array),ay.$offset,ay.$offset+ay.$length)),$subslice(new DO(w.$array),w.$offset,w.$offset+w.$length));if(!((az===0))){bc=M((ba=$subslice(m,ag,(ag+s>>0)),$subslice(new DO(ba.$array),ba.$offset,ba.$offset+ba.$length)),(bb=$subslice(m,ag),$subslice(new DO(bb.$array),bb.$offset,bb.$offset+bb.$length)),$subslice(new DO(o.$array),o.$offset,o.$offset+o.$length));bd=ag+s>>0;((bd<0||bd>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+bd]=(((bd<0||bd>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+bd])+(bc)>>>0));ah=ah-(1)>>>0;}((ag<0||ag>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+ag]=ah);ag=ag-(1)>>0;}if(!(x===DS.nil)){CL(x);}CL(v);p=p.norm();R($subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),z);q=m.norm();be=p;bf=q;p=be;q=bf;$s=-1;return[p,q];}return;}if($f===undefined){$f={$blk:BX.prototype.divLarge};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.divLarge=function(m,n,o){return this.$get().divLarge(m,n,o);};BX.prototype.bitLen=function(){var $ptr,m,n;m=this;n=m.$length-1>>0;if(n>=0){return($imul(n,32))+V(((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]))>>0;}return 0;};$ptrType(BX).prototype.bitLen=function(){return this.$get().bitLen();};CP=function(m){var $ptr,m,n,o,p;n=32;if(n===(32)){return(((o=(($imul((((m&(-m>>>0))>>>0)),125613361)>>>0))>>>27>>>0,((o<0||o>=CN.length)?($throwRuntimeError(\"index out of range\"),undefined):CN[o]))>>>0));}else if(n===(64)){return(((p=0,((p<0||p>=CO.length)?($throwRuntimeError(\"index out of range\"),undefined):CO[p]))>>>0));}else{$panic(new $String(\"unknown word size\"));}};BX.prototype.trailingZeroBits=function(){var $ptr,m,n;m=this;if(m.$length===0){return 0;}n=0;while(true){if(!(((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n])===0)){break;}n=n+(1)>>>0;}return(n*32>>>0)+CP(((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]))>>>0;};$ptrType(BX).prototype.trailingZeroBits=function(){return this.$get().trailingZeroBits();};BX.prototype.shl=function(m,n){var $ptr,m,n,o,p,q,r,s,t;o=this;p=m.$length;if(p===0){return $subslice(o,0,0);}r=p+(((q=n/32,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))>>0;o=o.make(r+1>>0);((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r]=Q((s=$subslice(o,(r-p>>0),r),$subslice(new DO(s.$array),s.$offset,s.$offset+s.$length)),$subslice(new DO(m.$array),m.$offset,m.$offset+m.$length),(t=n%32,t===t?t:$throwRuntimeError(\"integer divide by zero\"))));$subslice(o,0,(r-p>>0)).clear();return o.norm();};$ptrType(BX).prototype.shl=function(m,n){return this.$get().shl(m,n);};BX.prototype.shr=function(m,n){var $ptr,m,n,o,p,q,r,s,t;o=this;p=m.$length;r=p-(((q=n/32,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))>>0;if(r<=0){return $subslice(o,0,0);}o=o.make(r);R($subslice(new DO(o.$array),o.$offset,o.$offset+o.$length),(s=$subslice(m,(p-r>>0)),$subslice(new DO(s.$array),s.$offset,s.$offset+s.$length)),(t=n%32,t===t?t:$throwRuntimeError(\"integer divide by zero\")));return o.norm();};$ptrType(BX).prototype.shr=function(m,n){return this.$get().shr(m,n);};BX.prototype.setBit=function(m,n,o){var $ptr,m,n,o,p,q,r,s,t,u,v,w;p=this;r=(((q=n/32,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));u=(s=((t=n%32,t===t?t:$throwRuntimeError(\"integer divide by zero\"))),s<32?(1<<s):0)>>>0;v=m.$length;w=o;if(w===(0)){p=p.make(v);$copySlice(p,m);if(r>=v){return p;}((r<0||r>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+r]=((((r<0||r>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+r])&~(u))>>>0));return p.norm();}else if(w===(1)){if(r>=v){p=p.make(r+1>>0);$subslice(p,v).clear();}else{p=p.make(v);}$copySlice(p,m);((r<0||r>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+r]=((((r<0||r>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+r])|(u))>>>0));return p;}$panic(new $String(\"set bit is not 0 or 1\"));};$ptrType(BX).prototype.setBit=function(m,n,o){return this.$get().setBit(m,n,o);};BX.prototype.bit=function(m){var $ptr,m,n,o,p,q,r;n=this;p=(o=m/32,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));if(p>=((n.$length>>>0))){return 0;}return((((((q=((r=m%32,r===r?r:$throwRuntimeError(\"integer divide by zero\"))),q<32?(((p<0||p>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+p])>>>q):0)>>>0)&1)>>>0)>>>0));};$ptrType(BX).prototype.bit=function(m){return this.$get().bit(m);};BX.prototype.and=function(m,n){var $ptr,m,n,o,p,q,r;o=this;p=m.$length;q=n.$length;if(p>q){p=q;}o=o.make(p);r=0;while(true){if(!(r<p)){break;}((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r]=((((r<0||r>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+r])&((r<0||r>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+r]))>>>0));r=r+(1)>>0;}return o.norm();};$ptrType(BX).prototype.and=function(m,n){return this.$get().and(m,n);};BX.prototype.andNot=function(m,n){var $ptr,m,n,o,p,q,r;o=this;p=m.$length;q=n.$length;if(q>p){q=p;}o=o.make(p);r=0;while(true){if(!(r<q)){break;}((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r]=((((r<0||r>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+r])&~((r<0||r>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+r]))>>>0));r=r+(1)>>0;}$copySlice($subslice(o,q,p),$subslice(m,q,p));return o.norm();};$ptrType(BX).prototype.andNot=function(m,n){return this.$get().andNot(m,n);};BX.prototype.or=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u;o=this;p=m.$length;q=n.$length;r=m;if(p<q){s=p;t=q;q=s;p=t;r=n;}o=o.make(p);u=0;while(true){if(!(u<q)){break;}((u<0||u>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+u]=((((u<0||u>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+u])|((u<0||u>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+u]))>>>0));u=u+(1)>>0;}$copySlice($subslice(o,q,p),$subslice(r,q,p));return o.norm();};$ptrType(BX).prototype.or=function(m,n){return this.$get().or(m,n);};BX.prototype.xor=function(m,n){var $ptr,m,n,o,p,q,r,s,t,u;o=this;p=m.$length;q=n.$length;r=m;if(p<q){s=p;t=q;q=s;p=t;r=n;}o=o.make(p);u=0;while(true){if(!(u<q)){break;}((u<0||u>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+u]=((((u<0||u>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+u])^((u<0||u>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+u]))>>>0));u=u+(1)>>0;}$copySlice($subslice(o,q,p),$subslice(r,q,p));return o.norm();};$ptrType(BX).prototype.xor=function(m,n){return this.$get().xor(m,n);};CQ=function(m,n,o,p){var $ptr,m,n,o,p;return m>o||(m===o)&&n>p;};BX.prototype.modW=function(m){var $ptr,m,n,o,p;n=0;o=this;p=BX.nil;p=p.make(o.$length);n=U($subslice(new DO(p.$array),p.$offset,p.$offset+p.$length),0,$subslice(new DO(o.$array),o.$offset,o.$offset+o.$length),m);return n;};$ptrType(BX).prototype.modW=function(m){return this.$get().modW(m);};BX.prototype.random=function(m,n,o){var $ptr,aa,ab,ac,ad,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(CG(p,n)){p=BX.nil;}p=p.make(n.$length);r=(((q=o%32,q===q?q:$throwRuntimeError(\"integer divide by zero\"))>>>0));if(r===0){r=32;}t=(((((s=r,s<32?(1<<s):0)>>>0))-1>>>0));case 1:u=32;if(u===(32)){$s=4;continue;}if(u===(64)){$s=5;continue;}$s=6;continue;case 4:v=p;w=0;case 8:if(!(w<v.$length)){$s=9;continue;}x=w;y=m.Uint32();$s=10;case 10:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}((x<0||x>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+x]=((y>>>0)));w++;$s=8;continue;case 9:$s=7;continue;case 5:z=p;aa=0;case 11:if(!(aa<z.$length)){$s=12;continue;}ab=aa;ac=m.Uint32();$s=13;case 13:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}((ab<0||ab>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+ab]=((((ac>>>0))|0)>>>0));aa++;$s=11;continue;case 12:$s=7;continue;case 6:$panic(new $String(\"unknown word size\"));case 7:case 3:ad=n.$length-1>>0;((ad<0||ad>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+ad]=((((ad<0||ad>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+ad])&(t))>>>0));if(p.cmp(n)<0){$s=2;continue;}$s=1;continue;case 2:$s=-1;return p.norm();}return;}if($f===undefined){$f={$blk:BX.prototype.random};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.random=function(m,n,o){return this.$get().random(m,n,o);};BX.prototype.expNN=function(m,n,o){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(CG(p,m)||CG(p,n)){p=BX.nil;}if((o.$length===1)&&((0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0])===1)){$s=-1;return p.setWord(0);}if(n.$length===0){$s=-1;return p.setWord(1);}if((n.$length===1)&&((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0])===1)&&!((o.$length===0))){$s=1;continue;}$s=2;continue;case 1:r=p.div(p,m,o);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;p=q[1];$s=-1;return p;case 2:if(!((o.$length===0))){p=p.make(o.$length);}p=p.set(m);if(m.cmp(BY)>0&&n.$length>1&&o.$length>0){$s=4;continue;}$s=5;continue;case 4:if((((0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0])&1)>>>0)===1){$s=6;continue;}$s=7;continue;case 6:s=p.expNNMontgomery(m,n,o);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;case 7:t=p.expNNWindowed(m,n,o);$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return t;case 5:v=(u=n.$length-1>>0,((u<0||u>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+u]));w=AE(v)+1>>>0;v=(x=(w),x<32?(v<<x):0)>>>0;y=BX.nil;z=32-((w>>0))>>0;aa=BX.nil;ab=BX.nil;ac=aa;ad=ab;ae=0;case 10:if(!(ae<z)){$s=11;continue;}ac=ac.mul(p,p);af=p;ag=ac;ac=af;p=ag;if(!((((v&2147483648)>>>0)===0))){ac=ac.mul(p,m);ah=p;ai=ac;ac=ah;p=ai;}if(!((o.$length===0))){$s=12;continue;}$s=13;continue;case 12:ak=ac.div(ad,p,o);$s=14;case 14:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;ac=aj[0];ad=aj[1];al=y;am=p;an=ac;ao=ad;ac=al;ad=am;y=an;p=ao;case 13:v=(ap=(1),ap<32?(v<<ap):0)>>>0;ae=ae+(1)>>0;$s=10;continue;case 11:aq=n.$length-2>>0;case 15:if(!(aq>=0)){$s=16;continue;}v=((aq<0||aq>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+aq]);ar=0;case 17:if(!(ar<32)){$s=18;continue;}ac=ac.mul(p,p);as=p;at=ac;ac=as;p=at;if(!((((v&2147483648)>>>0)===0))){ac=ac.mul(p,m);au=p;av=ac;ac=au;p=av;}if(!((o.$length===0))){$s=19;continue;}$s=20;continue;case 19:ax=ac.div(ad,p,o);$s=21;case 21:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ac=aw[0];ad=aw[1];ay=y;az=p;ba=ac;bb=ad;ac=ay;ad=az;y=ba;p=bb;case 20:v=(bc=(1),bc<32?(v<<bc):0)>>>0;ar=ar+(1)>>0;$s=17;continue;case 18:aq=aq-(1)>>0;$s=15;continue;case 16:$s=-1;return p.norm();}return;}if($f===undefined){$f={$blk:BX.prototype.expNN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.expNN=function(m,n,o){return this.$get().expNN(m,n,o);};BX.prototype.expNNWindowed=function(m,n,o){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=BX.nil;r=BX.nil;s=q;t=r;u=DT.zero();u[0]=BY;u[1]=m;v=2;case 1:if(!(v<16)){$s=2;continue;}w=$indexPtr(u,(x=v/2,(x===x&&x!==1/0&&x!==-1/0)?x>>0:$throwRuntimeError(\"integer divide by zero\")),DS);y=$indexPtr(u,v,DS);z=$indexPtr(u,(v+1>>0),DS);aa=w;ab=y;ac=z;ab.$set(ab.mul(aa.$get(),aa.$get()));ae=s.div(t,ab.$get(),o);$s=3;case 3:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;s=ad[0];t=ad[1];af=t;ag=ab.$get();ab.$set(af);t=ag;ac.$set(ac.mul(ab.$get(),m));ai=s.div(t,ac.$get(),o);$s=4;case 4:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;s=ah[0];t=ah[1];aj=t;ak=ac.$get();ac.$set(aj);t=ak;v=v+(2)>>0;$s=1;continue;case 2:p=p.setWord(1);al=n.$length-1>>0;case 5:if(!(al>=0)){$s=6;continue;}am=((al<0||al>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+al]);an=0;case 7:if(!(an<32)){$s=8;continue;}if(!((al===(n.$length-1>>0)))||!((an===0))){$s=9;continue;}$s=10;continue;case 9:s=s.mul(p,p);ao=p;ap=s;s=ao;p=ap;ar=s.div(t,p,o);$s=11;case 11:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;s=aq[0];t=aq[1];as=t;at=p;p=as;t=at;s=s.mul(p,p);au=p;av=s;s=au;p=av;ax=s.div(t,p,o);$s=12;case 12:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;s=aw[0];t=aw[1];ay=t;az=p;p=ay;t=az;s=s.mul(p,p);ba=p;bb=s;s=ba;p=bb;bd=s.div(t,p,o);$s=13;case 13:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;s=bc[0];t=bc[1];be=t;bf=p;p=be;t=bf;s=s.mul(p,p);bg=p;bh=s;s=bg;p=bh;bj=s.div(t,p,o);$s=14;case 14:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bi=bj;s=bi[0];t=bi[1];bk=t;bl=p;p=bk;t=bl;case 10:s=s.mul(p,(bm=am>>>28>>>0,((bm<0||bm>=u.length)?($throwRuntimeError(\"index out of range\"),undefined):u[bm])));bn=p;bo=s;s=bn;p=bo;bq=s.div(t,p,o);$s=15;case 15:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bp=bq;s=bp[0];t=bp[1];br=t;bs=p;p=br;t=bs;am=(bt=(4),bt<32?(am<<bt):0)>>>0;an=an+(4)>>0;$s=7;continue;case 8:al=al-(1)>>0;$s=5;continue;case 6:$s=-1;return p.norm();}return;}if($f===undefined){$f={$blk:BX.prototype.expNNWindowed};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.expNNWindowed=function(m,n,o){return this.$get().expNNWindowed(m,n,o);};BX.prototype.expNNMontgomery=function(m,n,o){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=o.$length;if(m.$length>q){$s=1;continue;}$s=2;continue;case 1:s=(BX.nil).div(BX.nil,m,o);$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;m=r[1];case 2:if(m.$length<q){t=$makeSlice(BX,q);$copySlice(t,m);m=t;}u=2-(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0])>>>0;v=(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0])-1>>>0;w=1;while(true){if(!(w<32)){break;}v=$imul(v,(v))>>>0;u=$imul(u,(((v+1>>>0))))>>>0;w=(x=(1),x<32?(w<<x):0)>>0;}u=-u>>>0;y=(BX.nil).setWord(1);z=(BX.nil).shl(y,((($imul(($imul(2,q)),32))>>>0)));ab=y.div(y,z,o);$s=4;case 4:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;y=aa[1];if(y.$length<q){z=z.make(q);$copySlice(z,y);y=z;}ac=$makeSlice(BX,q);(0>=ac.$length?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+0]=1);ad=DT.zero();ad[0]=ad[0].montgomery(ac,y,o,u,q);ad[1]=ad[1].montgomery(m,y,o,u,q);ae=2;while(true){if(!(ae<16)){break;}((ae<0||ae>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[ae]=((ae<0||ae>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[ae]).montgomery((af=ae-1>>0,((af<0||af>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[af])),ad[1],o,u,q));ae=ae+(1)>>0;}p=p.make(q);$copySlice(p,ad[0]);z=z.make(q);ag=n.$length-1>>0;while(true){if(!(ag>=0)){break;}ah=((ag<0||ag>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+ag]);ai=0;while(true){if(!(ai<32)){break;}if(!((ag===(n.$length-1>>0)))||!((ai===0))){z=z.montgomery(p,p,o,u,q);p=p.montgomery(z,z,o,u,q);z=z.montgomery(p,p,o,u,q);p=p.montgomery(z,z,o,u,q);}z=z.montgomery(p,(aj=ah>>>28>>>0,((aj<0||aj>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[aj])),o,u,q);ak=z;al=p;p=ak;z=al;ah=(am=(4),am<32?(ah<<am):0)>>>0;ai=ai+(4)>>0;}ag=ag-(1)>>0;}z=z.montgomery(p,ac,o,u,q);if(z.cmp(o)>=0){$s=5;continue;}$s=6;continue;case 5:z=z.sub(z,o);if(z.cmp(o)>=0){$s=7;continue;}$s=8;continue;case 7:ao=(BX.nil).div(BX.nil,z,o);$s=9;case 9:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;z=an[1];case 8:case 6:$s=-1;return z.norm();}return;}if($f===undefined){$f={$blk:BX.prototype.expNNMontgomery};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.expNNMontgomery=function(m,n,o){return this.$get().expNNMontgomery(m,n,o);};BX.prototype.bytes=function(m){var $ptr,m,n,o,p,q,r,s,t;n=0;o=this;n=m.$length;p=o;q=0;while(true){if(!(q<p.$length)){break;}r=((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]);s=0;while(true){if(!(s<4)){break;}n=n-(1)>>0;((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]=((r<<24>>>24)));r=(t=(8),t<32?(r>>>t):0)>>>0;s=s+(1)>>0;}q++;}while(true){if(!(n<m.$length&&(((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n])===0))){break;}n=n+(1)>>0;}return n;};$ptrType(BX).prototype.bytes=function(m){return this.$get().bytes(m);};BX.prototype.setBytes=function(m){var $ptr,m,n,o,p,q,r,s,t,u;n=this;n=n.make((o=(((m.$length+4>>0)-1>>0))/4,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\")));p=0;q=0;r=0;s=m.$length;while(true){if(!(s>0)){break;}r=(r|(((t=q,t<32?((((u=s-1>>0,((u<0||u>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+u]))>>>0))<<t):0)>>>0)))>>>0;q=q+(8)>>>0;if(q===32){((p<0||p>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+p]=r);p=p+(1)>>0;q=0;r=0;}s=s-(1)>>0;}if(p<n.$length){((p<0||p>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+p]=r);}return n.norm();};$ptrType(BX).prototype.setBytes=function(m){return this.$get().setBytes(m);};BX.prototype.sqrt=function(m){var $ptr,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;if(m.cmp(BY)<=0){$s=-1;return n.set(m);}if(CG(n,m)){n=BX.nil;}o=BX.nil;p=BX.nil;q=o;r=p;q=n;q=q.setUint64(new $Uint64(0,1));q=q.shl(q,((((s=m.bitLen()/2,(s===s&&s!==1/0&&s!==-1/0)?s>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0)>>>0)));t=0;case 1:v=r.div(BX.nil,m,q);$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;r=u[0];r=r.add(r,q);r=r.shr(r,1);if(r.cmp(q)>=0){if((t&1)===0){$s=-1;return q;}$s=-1;return n.set(q);}w=r;x=q;q=w;r=x;t=t+(1)>>0;$s=1;continue;case 2:$s=-1;return BX.nil;}return;}if($f===undefined){$f={$blk:BX.prototype.sqrt};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.sqrt=function(m){return this.$get().sqrt(m);};CR=function(m){var $ptr,m,n,o,p,q,r,s;n=0;o=0;p=m;q=1;n=p;o=q;s=(r=4294967295/m,(r===r&&r!==1/0&&r!==-1/0)?r>>>0:$throwRuntimeError(\"integer divide by zero\"));while(true){if(!(n<=s)){break;}n=$imul(n,(m))>>>0;o=o+(1)>>0;}return[n,o];};CS=function(m,n){var $ptr,m,n,o;o=0;o=1;while(true){if(!(n>0)){break;}if(!(((n&1)===0))){o=$imul(o,(m))>>>0;}m=$imul(m,(m))>>>0;n=(n>>$min((1),31))>>0;}return o;};BX.prototype.scan=function(m,n,o){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=BX.nil;q=0;r=0;s=$ifaceNil;t=this;u=(n===0)||!o&&2<=n&&n<=36||o&&((n===2)||(n===10)||(n===16));if(!u){$s=1;continue;}$s=2;continue;case 1:v=A.Sprintf(\"illegal number base %d\",new DI([new $Int(n)]));$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$panic(new $String(v));case 2:x=m.ReadByte();$s=4;case 4:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[0];s=w[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[p,q,r,s];}q=n;if(n===0){$s=5;continue;}$s=6;continue;case 5:q=10;if(y===48){$s=7;continue;}$s=8;continue;case 7:r=1;aa=m.ReadByte();$s=10;case 10:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;y=z[0];s=z[1];ab=s;if($interfaceIsEqual(ab,$ifaceNil)){$s=11;continue;}if($interfaceIsEqual(ab,(C.EOF))){$s=12;continue;}$s=13;continue;case 11:if(!o){q=8;}ac=y;if((ac===(120))||(ac===(88))){q=16;}else if((ac===(98))||(ac===(66))){q=2;}ad=q;if((ad===(16))||(ad===(2))){$s=16;continue;}if(ad===(8)){$s=17;continue;}$s=18;continue;case 16:r=0;af=m.ReadByte();$s=19;case 19:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;y=ae[0];s=ae[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[p,q,r,s];}$s=18;continue;case 17:r=0;case 18:case 15:$s=14;continue;case 12:p=$subslice(t,0,0);s=$ifaceNil;$s=-1;return[p,q,r,s];case 13:$s=-1;return[p,q,r,s];case 14:case 9:case 8:case 6:t=$subslice(t,0,0);ag=((q>>>0));ah=CR(ag);ai=ah[0];aj=ah[1];ak=0;al=0;am=-1;case 20:if(o&&(y===46)){$s=22;continue;}$s=23;continue;case 22:o=false;am=r;ao=m.ReadByte();$s=24;case 24:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;y=an[0];s=an[1];if(!($interfaceIsEqual(s,$ifaceNil))){if($interfaceIsEqual(s,C.EOF)){s=$ifaceNil;$s=21;continue;}$s=-1;return[p,q,r,s];}case 23:ap=0;if(48<=y&&y<=57){ap=(((y-48<<24>>>24)>>>0));}else if(97<=y&&y<=122){ap=((((y-97<<24>>>24)+10<<24>>>24)>>>0));}else if(65<=y&&y<=90){ap=((((y-65<<24>>>24)+10<<24>>>24)>>>0));}else{ap=37;}if(ap>=ag){$s=25;continue;}$s=26;continue;case 25:aq=m.UnreadByte();$s=27;case 27:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}aq;$s=21;continue;case 26:r=r+(1)>>0;ak=($imul(ak,ag)>>>0)+ap>>>0;al=al+(1)>>0;if(al===aj){t=t.mulAddWW(t,ai,ak);ak=0;al=0;}as=m.ReadByte();$s=28;case 28:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;y=ar[0];s=ar[1];if(!($interfaceIsEqual(s,$ifaceNil))){if($interfaceIsEqual(s,C.EOF)){s=$ifaceNil;$s=21;continue;}$s=-1;return[p,q,r,s];}$s=20;continue;case 21:if(r===0){if((n===0)&&(q===8)){r=1;q=10;}else if(!((n===0))||!((q===8))){s=I.New(\"syntax error scanning number\");}$s=-1;return[p,q,r,s];}if(al>0){t=t.mulAddWW(t,CS(ag,al),ak);}p=t.norm();if(am>=0){r=am-r>>0;}$s=-1;return[p,q,r,s];}return;}if($f===undefined){$f={$blk:BX.prototype.scan};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.scan=function(m,n,o){return this.$get().scan(m,n,o);};BX.prototype.utoa=function(m){var $ptr,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;o=n.itoa(false,m);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return o;}return;}if($f===undefined){$f={$blk:BX.prototype.utoa};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.utoa=function(m){return this.$get().utoa(m);};BX.prototype.itoa=function(m,n){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;if(n<2||n>36){$panic(new $String(\"invalid base\"));}if(o.$length===0){$s=-1;return(new DM($stringToBytes(\"0\")));}p=(((o.bitLen())/B.Log2((n))>>0))+1>>0;if(m){p=p+(1)>>0;}q=$makeSlice(DM,p);r=((n>>>0));if(r===((r&(-r>>>0))>>>0)){$s=1;continue;}$s=2;continue;case 1:s=CP(r);u=((((t=s,t<32?(1<<t):0)>>>0)-1>>>0));v=(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]);w=32;x=1;while(true){if(!(x<o.$length)){break;}while(true){if(!(w>=s)){break;}p=p-(1)>>0;((p<0||p>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+p]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((v&u)>>>0)));v=(y=(s),y<32?(v>>>y):0)>>>0;w=w-(s)>>>0;}if(w===0){v=((x<0||x>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+x]);w=32;}else{v=(v|(((z=w,z<32?(((x<0||x>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+x])<<z):0)>>>0)))>>>0;p=p-(1)>>0;((p<0||p>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+p]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((v&u)>>>0)));v=(aa=((s-w>>>0)),aa<32?(((x<0||x>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+x])>>>aa):0)>>>0;w=32-((s-w>>>0))>>>0;}x=x+(1)>>0;}while(true){if(!(!((v===0)))){break;}p=p-(1)>>0;((p<0||p>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+p]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((v&u)>>>0)));v=(ab=(s),ab<32?(v>>>ab):0)>>>0;}$s=3;continue;case 2:ac=CR(r);ad=ac[0];ae=ac[1];af=CW(o.$length,r,ae,ad);$s=4;case 4:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;ah=(BX.nil).set(o);$r=ah.convertWords(q,r,ae,ad,ag);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=0;while(true){if(!(((p<0||p>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+p])===48)){break;}p=p+(1)>>0;}case 3:if(m){p=p-(1)>>0;((p<0||p>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+p]=45);}$s=-1;return $subslice(q,p);}return;}if($f===undefined){$f={$blk:BX.prototype.itoa};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.itoa=function(m,n){return this.$get().itoa(m,n);};BX.prototype.convertWords=function(m,n,o,p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!(q===DU.nil)){$s=1;continue;}$s=2;continue;case 1:s=BX.nil;t=q.$length-1>>0;case 3:if(!(r.$length>CT)){$s=4;continue;}u=r.bitLen();v=u>>1>>0;while(true){if(!(t>0&&(w=t-1>>0,((w<0||w>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+w])).nbits>v)){break;}t=t-(1)>>0;}if(((t<0||t>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+t]).nbits>=u&&((t<0||t>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+t]).bbb.cmp(r)>=0){t=t-(1)>>0;if(t<0){$panic(new $String(\"internal inconsistency\"));}}y=r.div(s,r,((t<0||t>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+t]).bbb);$s=5;case 5:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;r=x[0];s=x[1];z=m.$length-((t<0||t>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+t]).ndigits>>0;$r=s.convertWords($subslice(m,z),n,o,p,$subslice(q,0,t));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=$subslice(m,0,z);$s=3;continue;case 4:case 2:aa=m.$length;ab=0;if(n===10){while(true){if(!(r.$length>0)){break;}ac=r.divW(r,p);r=ac[0];ab=ac[1];ad=0;while(true){if(!(ad<o&&aa>0)){break;}aa=aa-(1)>>0;af=(ae=ab/10,(ae===ae&&ae!==1/0&&ae!==-1/0)?ae>>>0:$throwRuntimeError(\"integer divide by zero\"));((aa<0||aa>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+aa]=(48+(((ab-($imul(af,10)>>>0)>>>0)<<24>>>24))<<24>>>24));ab=af;ad=ad+(1)>>0;}}}else{while(true){if(!(r.$length>0)){break;}ag=r.divW(r,p);r=ag[0];ab=ag[1];ah=0;while(true){if(!(ah<o&&aa>0)){break;}aa=aa-(1)>>0;((aa<0||aa>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+aa]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((ai=ab%n,ai===ai?ai:$throwRuntimeError(\"integer divide by zero\"))));ab=(aj=ab/(n),(aj===aj&&aj!==1/0&&aj!==-1/0)?aj>>>0:$throwRuntimeError(\"integer divide by zero\"));ah=ah+(1)>>0;}}}while(true){if(!(aa>0)){break;}aa=aa-(1)>>0;((aa<0||aa>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+aa]=48);}$s=-1;return;}return;}if($f===undefined){$f={$blk:BX.prototype.convertWords};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.convertWords=function(m,n,o,p,q){return this.$get().convertWords(m,n,o,p,q);};BX.prototype.expWW=function(m,n){var $ptr,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;p=o.expNN((BX.nil).setWord(m),(BX.nil).setWord(n),BX.nil);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return p;}return;}if($f===undefined){$f={$blk:BX.prototype.expWW};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.expWW=function(m,n){return this.$get().expWW(m,n);};CW=function(m,n,o,p){var $ptr,aa,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if((CT===0)||m<=CT){$s=-1;return DU.nil;}q=1;r=CT;while(true){if(!(r<(m>>1>>0)&&q<64)){break;}q=q+(1)>>0;r=(s=(1),s<32?(r<<s):0)>>0;}t=DU.nil;if(n===10){CV.Mutex.Lock();t=$subslice(new DU(CV.table),0,q);}else{t=$makeSlice(DU,q);}if((u=q-1>>0,((u<0||u>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+u])).ndigits===0){$s=1;continue;}$s=2;continue;case 1:v=BX.nil;w=0;case 3:if(!(w<q)){$s=4;continue;}if(((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).ndigits===0){$s=5;continue;}$s=6;continue;case 5:if(w===0){$s=7;continue;}$s=8;continue;case 7:x=(BX.nil).expWW(p,((CT>>>0)));$s=10;case 10:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]).bbb=x;(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]).ndigits=$imul(o,CT);$s=9;continue;case 8:((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).bbb=(BX.nil).mul((y=w-1>>0,((y<0||y>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+y])).bbb,(z=w-1>>0,((z<0||z>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+z])).bbb);((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).ndigits=$imul(2,(aa=w-1>>0,((aa<0||aa>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+aa])).ndigits);case 9:v=(BX.nil).set(((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).bbb);while(true){if(!(S($subslice(new DO(v.$array),v.$offset,v.$offset+v.$length),$subslice(new DO(v.$array),v.$offset,v.$offset+v.$length),n,0)===0)){break;}((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).bbb=((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).bbb.set(v);((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).ndigits=((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).ndigits+(1)>>0;}((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).nbits=((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]).bbb.bitLen();case 6:w=w+(1)>>0;$s=3;continue;case 4:case 2:if(n===10){CV.Mutex.Unlock();}$s=-1;return t;}return;}if($f===undefined){$f={$blk:CW};}$f.$ptr=$ptr;$f.aa=aa;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BO.ptr.prototype.ProbablyPrime=function(m){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=this;if(m<0){$panic(new $String(\"negative n for ProbablyPrime\"));}if(n.neg||(n.abs.$length===0)){$s=-1;return false;}p=(o=n.abs,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]));if((n.abs.$length===1)&&p<64){$s=-1;return!((q=(r=$shiftLeft64(new $Uint64(0,1),p),new $Uint64(673221152&r.$high,(2693408940&r.$low)>>>0)),(q.$high===0&&q.$low===0)));}if(((p&1)>>>0)===0){$s=-1;return false;}s=0;t=0;u=s;v=t;w=32;if(w===(32)){u=((n.abs.modW(4127218095)>>>0));v=((n.abs.modW(3948078067)>>>0));}else if(w===(64)){x=n.abs.modW(820596253);u=(((y=x%4127218095,y===y?y:$throwRuntimeError(\"integer divide by zero\"))>>>0));v=(((z=x%3948078067,z===z?z:$throwRuntimeError(\"integer divide by zero\"))>>>0));}else{$panic(new $String(\"math/big: invalid word size\"));}if(((aa=u%3,aa===aa?aa:$throwRuntimeError(\"integer divide by zero\"))===0)||((ab=u%5,ab===ab?ab:$throwRuntimeError(\"integer divide by zero\"))===0)||((ac=u%7,ac===ac?ac:$throwRuntimeError(\"integer divide by zero\"))===0)||((ad=u%11,ad===ad?ad:$throwRuntimeError(\"integer divide by zero\"))===0)||((ae=u%13,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\"))===0)||((af=u%17,af===af?af:$throwRuntimeError(\"integer divide by zero\"))===0)||((ag=u%19,ag===ag?ag:$throwRuntimeError(\"integer divide by zero\"))===0)||((ah=u%23,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"))===0)||((ai=u%37,ai===ai?ai:$throwRuntimeError(\"integer divide by zero\"))===0)||((aj=v%29,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"))===0)||((ak=v%31,ak===ak?ak:$throwRuntimeError(\"integer divide by zero\"))===0)||((al=v%41,al===al?al:$throwRuntimeError(\"integer divide by zero\"))===0)||((am=v%43,am===am?am:$throwRuntimeError(\"integer divide by zero\"))===0)||((an=v%47,an===an?an:$throwRuntimeError(\"integer divide by zero\"))===0)||((ao=v%53,ao===ao?ao:$throwRuntimeError(\"integer divide by zero\"))===0)){$s=-1;return false;}aq=n.abs.probablyPrimeMillerRabin(m+1>>0,true);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}if(!(aq)){ap=false;$s=1;continue s;}ar=n.abs.probablyPrimeLucas();$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}ap=ar;case 1:$s=-1;return ap;}return;}if($f===undefined){$f={$blk:BO.ptr.prototype.ProbablyPrime};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BO.prototype.ProbablyPrime=function(m){return this.$val.ProbablyPrime(m);};BX.prototype.probablyPrimeMillerRabin=function(m,n){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:o=this;p=(BX.nil).sub(o,BY);q=p.trailingZeroBits();r=(BX.nil).shr(p,q);s=(BX.nil).sub(p,BZ);u=H.New(H.NewSource(((t=(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]),new $Int64(0,t.constructor===Number?t:1)))));v=BX.nil;w=BX.nil;x=BX.nil;y=v;z=w;aa=x;ab=s.bitLen();ac=0;case 1:if(!(ac<m)){$s=2;continue;}if((ac===(m-1>>0))&&n){$s=3;continue;}$s=4;continue;case 3:y=y.set(BZ);$s=5;continue;case 4:ad=y.random(u,s,ab);$s=6;case 6:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}y=ad;y=y.add(y,BZ);case 5:ae=z.expNN(y,r,o);$s=7;case 7:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}z=ae;if((z.cmp(BY)===0)||(z.cmp(p)===0)){$s=8;continue;}$s=9;continue;case 8:ac=ac+(1)>>0;$s=1;continue;case 9:af=1;case 10:if(!(af<q)){$s=11;continue;}z=z.mul(z,z);ah=aa.div(z,z,o);$s=12;case 12:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ag=ah;aa=ag[0];z=ag[1];if(z.cmp(p)===0){ac=ac+(1)>>0;$s=1;continue s;}if(z.cmp(BY)===0){$s=-1;return false;}af=af+(1)>>>0;$s=10;continue;case 11:$s=-1;return false;$s=1;continue;case 2:$s=-1;return true;}return;}if($f===undefined){$f={$blk:BX.prototype.probablyPrimeMillerRabin};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.probablyPrimeMillerRabin=function(m,n){return this.$get().probablyPrimeMillerRabin(m,n);};BX.prototype.probablyPrimeLucas=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=this;if((m.$length===0)||(m.cmp(BY)===0)){$s=-1;return false;}if((((0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])&1)>>>0)===0){$s=-1;return m.cmp(BZ)===0;}n=3;o=new BX([1]);p=(BX.nil);q=new BO.ptr(false,o);r=new BO.ptr(false,m);case 1:if(n>10000){$s=3;continue;}$s=4;continue;case 3:s=r.String();$s=5;case 5:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$panic(new $String(\"math/big: internal error: cannot find (D/n) = -1 for \"+s));case 4:(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=(($imul(n,n)>>>0)-4>>>0));t=BT(q,r);$s=6;case 6:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;if(u===-1){$s=2;continue;}if(u===0){$s=-1;return(m.$length===1)&&((0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])===(n+2>>>0));}if(n===40){$s=7;continue;}$s=8;continue;case 7:v=p.sqrt(m);$s=9;case 9:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}p=v;p=p.mul(p,p);if(p.cmp(m)===0){$s=-1;return false;}case 8:n=n+(1)>>>0;$s=1;continue;case 2:w=(BX.nil).add(m,BY);x=((w.trailingZeroBits()>>0));w=w.shr(w,((x>>>0)));y=(BX.nil).sub(m,BZ);z=(BX.nil).setWord(n);aa=(BX.nil).setWord(2);ab=(BX.nil).setWord(n);ac=(BX.nil);ad=(w.bitLen());case 10:if(!(ad>=0)){$s=11;continue;}if(!((w.bit(((ad>>>0)))===0))){$s=12;continue;}$s=13;continue;case 12:p=p.mul(aa,ab);p=p.add(p,m);p=p.sub(p,z);af=ac.div(aa,p,m);$s=15;case 15:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;ac=ae[0];aa=ae[1];p=p.mul(ab,ab);p=p.add(p,y);ah=ac.div(ab,p,m);$s=16;case 16:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ag=ah;ac=ag[0];ab=ag[1];$s=14;continue;case 13:p=p.mul(aa,ab);p=p.add(p,m);p=p.sub(p,z);aj=ac.div(ab,p,m);$s=17;case 17:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;ac=ai[0];ab=ai[1];p=p.mul(aa,aa);p=p.add(p,y);al=ac.div(aa,p,m);$s=18;case 18:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;ac=ak[0];aa=ak[1];case 14:ad=ad-(1)>>0;$s=10;continue;case 11:if((aa.cmp(BZ)===0)||(aa.cmp(y)===0)){$s=19;continue;}$s=20;continue;case 19:am=p.mul(aa,z);an=ac.shl(ab,1);if(am.cmp(an)<0){ao=an;ap=am;am=ao;an=ap;}am=am.sub(am,an);aq=ab;ab=BX.nil;$unused(ab);as=an.div(aq,am,m);$s=21;case 21:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;an=ar[0];aq=ar[1];if(aq.$length===0){$s=-1;return true;}case 20:at=0;case 22:if(!(at<(x-1>>0))){$s=23;continue;}if(aa.$length===0){$s=-1;return true;}if((aa.$length===1)&&((0>=aa.$length?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+0])===2)){$s=-1;return false;}p=p.mul(aa,aa);p=p.sub(p,BZ);av=ac.div(aa,p,m);$s=24;case 24:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}au=av;ac=au[0];aa=au[1];at=at+(1)>>0;$s=22;continue;case 23:$s=-1;return false;}return;}if($f===undefined){$f={$blk:BX.prototype.probablyPrimeLucas};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BX).prototype.probablyPrimeLucas=function(){return this.$get().probablyPrimeLucas();};DP.methods=[{prop:\"Sign\",name:\"Sign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"SetInt64\",name:\"SetInt64\",pkg:\"\",typ:$funcType([$Int64],[DP],false)},{prop:\"SetUint64\",name:\"SetUint64\",pkg:\"\",typ:$funcType([$Uint64],[DP],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([DP],[DP],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[DO],false)},{prop:\"SetBits\",name:\"SetBits\",pkg:\"\",typ:$funcType([DO],[DP],false)},{prop:\"Abs\",name:\"Abs\",pkg:\"\",typ:$funcType([DP],[DP],false)},{prop:\"Neg\",name:\"Neg\",pkg:\"\",typ:$funcType([DP],[DP],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Mul\",name:\"Mul\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"MulRange\",name:\"MulRange\",pkg:\"\",typ:$funcType([$Int64,$Int64],[DP],false)},{prop:\"Binomial\",name:\"Binomial\",pkg:\"\",typ:$funcType([$Int64,$Int64],[DP],false)},{prop:\"Quo\",name:\"Quo\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Rem\",name:\"Rem\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"QuoRem\",name:\"QuoRem\",pkg:\"\",typ:$funcType([DP,DP,DP],[DP,DP],false)},{prop:\"Div\",name:\"Div\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Mod\",name:\"Mod\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"DivMod\",name:\"DivMod\",pkg:\"\",typ:$funcType([DP,DP,DP],[DP,DP],false)},{prop:\"Cmp\",name:\"Cmp\",pkg:\"\",typ:$funcType([DP],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String,$Int],[DP,$Bool],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([DM],[DP],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[DM],false)},{prop:\"BitLen\",name:\"BitLen\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Exp\",name:\"Exp\",pkg:\"\",typ:$funcType([DP,DP,DP],[DP],false)},{prop:\"GCD\",name:\"GCD\",pkg:\"\",typ:$funcType([DP,DP,DP,DP],[DP],false)},{prop:\"binaryGCD\",name:\"binaryGCD\",pkg:\"math/big\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Rand\",name:\"Rand\",pkg:\"\",typ:$funcType([DW,DP],[DP],false)},{prop:\"ModInverse\",name:\"ModInverse\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"modSqrt3Mod4Prime\",name:\"modSqrt3Mod4Prime\",pkg:\"math/big\",typ:$funcType([DP,DP],[DP],false)},{prop:\"modSqrtTonelliShanks\",name:\"modSqrtTonelliShanks\",pkg:\"math/big\",typ:$funcType([DP,DP],[DP],false)},{prop:\"ModSqrt\",name:\"ModSqrt\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Lsh\",name:\"Lsh\",pkg:\"\",typ:$funcType([DP,$Uint],[DP],false)},{prop:\"Rsh\",name:\"Rsh\",pkg:\"\",typ:$funcType([DP,$Uint],[DP],false)},{prop:\"Bit\",name:\"Bit\",pkg:\"\",typ:$funcType([$Int],[$Uint],false)},{prop:\"SetBit\",name:\"SetBit\",pkg:\"\",typ:$funcType([DP,$Int,$Uint],[DP],false)},{prop:\"And\",name:\"And\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"AndNot\",name:\"AndNot\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Or\",name:\"Or\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Xor\",name:\"Xor\",pkg:\"\",typ:$funcType([DP,DP],[DP],false)},{prop:\"Not\",name:\"Not\",pkg:\"\",typ:$funcType([DP],[DP],false)},{prop:\"Sqrt\",name:\"Sqrt\",pkg:\"\",typ:$funcType([DP],[DP],false)},{prop:\"Text\",name:\"Text\",pkg:\"\",typ:$funcType([$Int],[$String],false)},{prop:\"Append\",name:\"Append\",pkg:\"\",typ:$funcType([DM,$Int],[DM],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([A.State,$Int32],[],false)},{prop:\"scan\",name:\"scan\",pkg:\"math/big\",typ:$funcType([C.ByteScanner,$Int],[DP,$Int,$error],false)},{prop:\"Scan\",name:\"Scan\",pkg:\"\",typ:$funcType([A.ScanState,$Int32],[$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DM,$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DM],[$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DM,$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DM],[$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DM,$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DM],[$error],false)},{prop:\"ProbablyPrime\",name:\"ProbablyPrime\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)}];BW.methods=[{prop:\"ReadByte\",name:\"ReadByte\",pkg:\"\",typ:$funcType([],[$Uint8,$error],false)},{prop:\"UnreadByte\",name:\"UnreadByte\",pkg:\"\",typ:$funcType([],[$error],false)}];BX.methods=[{prop:\"clear\",name:\"clear\",pkg:\"math/big\",typ:$funcType([],[],false)},{prop:\"norm\",name:\"norm\",pkg:\"math/big\",typ:$funcType([],[BX],false)},{prop:\"make\",name:\"make\",pkg:\"math/big\",typ:$funcType([$Int],[BX],false)},{prop:\"setWord\",name:\"setWord\",pkg:\"math/big\",typ:$funcType([X],[BX],false)},{prop:\"setUint64\",name:\"setUint64\",pkg:\"math/big\",typ:$funcType([$Uint64],[BX],false)},{prop:\"set\",name:\"set\",pkg:\"math/big\",typ:$funcType([BX],[BX],false)},{prop:\"add\",name:\"add\",pkg:\"math/big\",typ:$funcType([BX,BX],[BX],false)},{prop:\"sub\",name:\"sub\",pkg:\"math/big\",typ:$funcType([BX,BX],[BX],false)},{prop:\"cmp\",name:\"cmp\",pkg:\"math/big\",typ:$funcType([BX],[$Int],false)},{prop:\"mulAddWW\",name:\"mulAddWW\",pkg:\"math/big\",typ:$funcType([BX,X,X],[BX],false)},{prop:\"montgomery\",name:\"montgomery\",pkg:\"math/big\",typ:$funcType([BX,BX,BX,X,$Int],[BX],false)},{prop:\"mul\",name:\"mul\",pkg:\"math/big\",typ:$funcType([BX,BX],[BX],false)},{prop:\"mulRange\",name:\"mulRange\",pkg:\"math/big\",typ:$funcType([$Uint64,$Uint64],[BX],false)},{prop:\"divW\",name:\"divW\",pkg:\"math/big\",typ:$funcType([BX,X],[BX,X],false)},{prop:\"div\",name:\"div\",pkg:\"math/big\",typ:$funcType([BX,BX,BX],[BX,BX],false)},{prop:\"divLarge\",name:\"divLarge\",pkg:\"math/big\",typ:$funcType([BX,BX,BX],[BX,BX],false)},{prop:\"bitLen\",name:\"bitLen\",pkg:\"math/big\",typ:$funcType([],[$Int],false)},{prop:\"trailingZeroBits\",name:\"trailingZeroBits\",pkg:\"math/big\",typ:$funcType([],[$Uint],false)},{prop:\"shl\",name:\"shl\",pkg:\"math/big\",typ:$funcType([BX,$Uint],[BX],false)},{prop:\"shr\",name:\"shr\",pkg:\"math/big\",typ:$funcType([BX,$Uint],[BX],false)},{prop:\"setBit\",name:\"setBit\",pkg:\"math/big\",typ:$funcType([BX,$Uint,$Uint],[BX],false)},{prop:\"bit\",name:\"bit\",pkg:\"math/big\",typ:$funcType([$Uint],[$Uint],false)},{prop:\"sticky\",name:\"sticky\",pkg:\"math/big\",typ:$funcType([$Uint],[$Uint],false)},{prop:\"and\",name:\"and\",pkg:\"math/big\",typ:$funcType([BX,BX],[BX],false)},{prop:\"andNot\",name:\"andNot\",pkg:\"math/big\",typ:$funcType([BX,BX],[BX],false)},{prop:\"or\",name:\"or\",pkg:\"math/big\",typ:$funcType([BX,BX],[BX],false)},{prop:\"xor\",name:\"xor\",pkg:\"math/big\",typ:$funcType([BX,BX],[BX],false)},{prop:\"modW\",name:\"modW\",pkg:\"math/big\",typ:$funcType([X],[X],false)},{prop:\"random\",name:\"random\",pkg:\"math/big\",typ:$funcType([DW,BX,$Int],[BX],false)},{prop:\"expNN\",name:\"expNN\",pkg:\"math/big\",typ:$funcType([BX,BX,BX],[BX],false)},{prop:\"expNNWindowed\",name:\"expNNWindowed\",pkg:\"math/big\",typ:$funcType([BX,BX,BX],[BX],false)},{prop:\"expNNMontgomery\",name:\"expNNMontgomery\",pkg:\"math/big\",typ:$funcType([BX,BX,BX],[BX],false)},{prop:\"bytes\",name:\"bytes\",pkg:\"math/big\",typ:$funcType([DM],[$Int],false)},{prop:\"setBytes\",name:\"setBytes\",pkg:\"math/big\",typ:$funcType([DM],[BX],false)},{prop:\"sqrt\",name:\"sqrt\",pkg:\"math/big\",typ:$funcType([BX],[BX],false)},{prop:\"scan\",name:\"scan\",pkg:\"math/big\",typ:$funcType([C.ByteScanner,$Int,$Bool],[BX,$Int,$Int,$error],false)},{prop:\"utoa\",name:\"utoa\",pkg:\"math/big\",typ:$funcType([$Int],[DM],false)},{prop:\"itoa\",name:\"itoa\",pkg:\"math/big\",typ:$funcType([$Bool,$Int],[DM],false)},{prop:\"convertWords\",name:\"convertWords\",pkg:\"math/big\",typ:$funcType([DM,X,$Int,X,DU],[],false)},{prop:\"expWW\",name:\"expWW\",pkg:\"math/big\",typ:$funcType([X,X],[BX],false)},{prop:\"probablyPrimeMillerRabin\",name:\"probablyPrimeMillerRabin\",pkg:\"math/big\",typ:$funcType([$Int,$Bool],[$Bool],false)},{prop:\"probablyPrimeLucas\",name:\"probablyPrimeLucas\",pkg:\"math/big\",typ:$funcType([],[$Bool],false)}];BO.init(\"math/big\",[{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"abs\",name:\"abs\",exported:false,typ:BX,tag:\"\"}]);BW.init(\"\",[{prop:\"ScanState\",name:\"\",exported:true,typ:A.ScanState,tag:\"\"}]);BX.init(X);CU.init(\"math/big\",[{prop:\"bbb\",name:\"bbb\",exported:false,typ:BX,tag:\"\"},{prop:\"nbits\",name:\"nbits\",exported:false,typ:$Int,tag:\"\"},{prop:\"ndigits\",name:\"ndigits\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=F.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CM=new J.Pool.ptr(DI.nil,$throwNilPointerError);CV=new DK.ptr(new J.Mutex.ptr(false),DJ.zero());BY=new BX([1]);BP=new BO.ptr(false,BY);BZ=new BX([2]);CE=40;CN=$toNativeArray($kindUint8,[0,1,28,2,29,14,24,3,30,22,20,15,25,17,4,8,31,27,13,23,21,19,16,7,26,12,18,6,11,5,10,9]);CO=$toNativeArray($kindUint8,[0,1,56,2,57,49,28,3,61,58,42,50,38,29,17,4,62,47,59,36,45,43,51,22,53,39,33,30,24,18,12,5,63,55,48,27,60,41,37,16,46,35,44,21,52,32,23,11,54,26,40,15,34,20,31,10,25,14,19,9,13,8,7,6]);CT=8;}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/rand\"]=(function(){var $pkg={},$init,A,B,C,D,F,L,M,N,I,E,G,K;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];D=$packages[\"math/big\"];F=$pkg.rngReader=$newType(0,$kindStruct,\"rand.rngReader\",true,\"crypto/rand\",false,function(){this.$val=this;if(arguments.length===0){return;}});L=$sliceType($Uint8);M=$ptrType(D.Int);N=$ptrType(F);E=function(){var $ptr;$pkg.Reader=new F.ptr();};F.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=$ifaceNil;d=this;e=a.$array;f=$parseInt(a.$offset)>>0;g=$global.crypto;if(g===undefined){g=$global.msCrypto;}if(!(g===undefined)){if(!(g.getRandomValues===undefined)){b=a.$length;if(b>65536){b=65536;}g.getRandomValues(e.subarray(f,f+b>>0));h=b;i=$ifaceNil;b=h;c=i;return[b,c];}}j=$global.require;if(!(j===undefined)){k=j($externalize(\"crypto\",$String)).randomBytes;if(!(k===undefined)){e.set(k(a.$length),f);l=a.$length;m=$ifaceNil;b=l;c=m;return[b,c];}}n=0;o=A.New(\"crypto/rand not available in this environment\");b=n;c=o;return[b,c];};F.prototype.Read=function(a){return this.$val.Read(a);};G=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;e=C.ReadFull($pkg.Reader,a);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;b=d[0];c=d[1];$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Read=G;K=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=M.nil;d=$ifaceNil;if(b.Sign()<=0){$panic(new $String(\"crypto/rand: argument to Int is <= 0\"));}f=(e=((b.BitLen()+7>>0))/8,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"));h=(((g=b.BitLen()%8,g===g?g:$throwRuntimeError(\"integer divide by zero\"))>>>0));if(h===0){h=8;}i=$makeSlice(L,f);c=new D.Int.ptr(false,D.nat.nil);case 1:k=C.ReadFull(a,i);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;d=j[1];if(!($interfaceIsEqual(d,$ifaceNil))){l=M.nil;m=d;c=l;d=m;$s=-1;return[c,d];}(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]=(((0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])&(((((((n=h,n<32?(1<<n):0)>>0))-1>>0)<<24>>>24))))>>>0));c.SetBytes(i);if(c.Cmp(b)<0){$s=-1;return[c,d];}$s=1;continue;case 2:$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Int=K;N.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([L],[$Int,$error],false)}];F.init(\"\",[]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Reader=$ifaceNil;I=new D.Int.ptr(false,D.nat.nil).SetUint64(new $Uint64(3793877372,820596253));E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto\"]=(function(){var $pkg={},$init,A,B,C,D,H,I,J,K,L,M,N,O,P,E,F,G;A=$packages[\"hash\"];B=$packages[\"io\"];C=$packages[\"strconv\"];D=$pkg.Hash=$newType(4,$kindUint,\"crypto.Hash\",true,\"crypto\",true,null);H=$pkg.PublicKey=$newType(8,$kindInterface,\"crypto.PublicKey\",true,\"crypto\",true,null);I=$pkg.PrivateKey=$newType(8,$kindInterface,\"crypto.PrivateKey\",true,\"crypto\",true,null);J=$pkg.Signer=$newType(8,$kindInterface,\"crypto.Signer\",true,\"crypto\",true,null);K=$pkg.SignerOpts=$newType(8,$kindInterface,\"crypto.SignerOpts\",true,\"crypto\",true,null);L=$pkg.Decrypter=$newType(8,$kindInterface,\"crypto.Decrypter\",true,\"crypto\",true,null);M=$pkg.DecrypterOpts=$newType(8,$kindInterface,\"crypto.DecrypterOpts\",true,\"crypto\",true,null);N=$sliceType($Uint8);O=$funcType([],[A.Hash],false);P=$sliceType(O);D.prototype.HashFunc=function(){var $ptr,a;a=this.$val;return a;};$ptrType(D).prototype.HashFunc=function(){return new D(this.$get()).HashFunc();};D.prototype.Size=function(){var $ptr,a;a=this.$val;if(a>0&&a<16){return((((a<0||a>=E.$length)?($throwRuntimeError(\"index out of range\"),undefined):E.$array[E.$offset+a])>>0));}$panic(new $String(\"crypto: Size of unknown hash function\"));};$ptrType(D).prototype.Size=function(){return new D(this.$get()).Size();};D.prototype.New=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this.$val;if(a>0&&a<16){$s=1;continue;}$s=2;continue;case 1:b=((a<0||a>=F.$length)?($throwRuntimeError(\"index out of range\"),undefined):F.$array[F.$offset+a]);if(!(b===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:c=b();$s=5;case 5:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;case 4:case 2:$panic(new $String(\"crypto: requested hash function #\"+C.Itoa(((a>>0)))+\" is unavailable\"));$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:D.prototype.New};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(D).prototype.New=function(){return new D(this.$get()).New();};D.prototype.Available=function(){var $ptr,a;a=this.$val;return a<16&&!(((a<0||a>=F.$length)?($throwRuntimeError(\"index out of range\"),undefined):F.$array[F.$offset+a])===$throwNilPointerError);};$ptrType(D).prototype.Available=function(){return new D(this.$get()).Available();};G=function(a,b){var $ptr,a,b;if(a>=16){$panic(new $String(\"crypto: RegisterHash of unknown hash function\"));}((a<0||a>=F.$length)?($throwRuntimeError(\"index out of range\"),undefined):F.$array[F.$offset+a]=b);};$pkg.RegisterHash=G;D.methods=[{prop:\"HashFunc\",name:\"HashFunc\",pkg:\"\",typ:$funcType([],[D],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([],[A.Hash],false)},{prop:\"Available\",name:\"Available\",pkg:\"\",typ:$funcType([],[$Bool],false)}];H.init([]);I.init([]);J.init([{prop:\"Public\",name:\"Public\",pkg:\"\",typ:$funcType([],[H],false)},{prop:\"Sign\",name:\"Sign\",pkg:\"\",typ:$funcType([B.Reader,N,K],[N,$error],false)}]);K.init([{prop:\"HashFunc\",name:\"HashFunc\",pkg:\"\",typ:$funcType([],[D],false)}]);L.init([{prop:\"Decrypt\",name:\"Decrypt\",pkg:\"\",typ:$funcType([B.Reader,N,M],[N,$error],false)},{prop:\"Public\",name:\"Public\",pkg:\"\",typ:$funcType([],[H],false)}]);M.init([]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E=new N([0,16,16,20,28,32,48,64,36,20,28,32,48,64,28,32]);F=$makeSlice(P,16);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/subtle\"]=(function(){var $pkg={},$init,A,B,C,D,E,F;A=function(a,b){var $ptr,a,b,c,d;if(!((a.$length===b.$length))){return 0;}c=0;d=0;while(true){if(!(d<a.$length)){break;}c=(c|(((((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d])^((d<0||d>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+d]))<<24>>>24)))>>>0;d=d+(1)>>0;}return C(c,0);};$pkg.ConstantTimeCompare=A;B=function(a,b,c){var $ptr,a,b,c;return((~((a-1>>0))>>0)&b)|(((a-1>>0))&c);};$pkg.ConstantTimeSelect=B;C=function(a,b){var $ptr,a,b,c;c=~(((a^b)<<24>>>24))<<24>>>24;c=(c&((c>>>4<<24>>>24)))>>>0;c=(c&((c>>>2<<24>>>24)))>>>0;c=(c&((c>>>1<<24>>>24)))>>>0;return((c>>0));};$pkg.ConstantTimeByteEq=C;D=function(a,b){var $ptr,a,b,c;c=~(((a^b)>>0))>>0;c=c&((c>>16>>0));c=c&((c>>8>>0));c=c&((c>>4>>0));c=c&((c>>2>>0));c=c&((c>>1>>0));return(((c&1)>>0));};$pkg.ConstantTimeEq=D;E=function(a,b,c){var $ptr,a,b,c,d,e,f;if(!((b.$length===c.$length))){$panic(new $String(\"subtle: slices have different lengths\"));}d=(((a-1>>0)<<24>>>24));e=(((~((a-1>>0))>>0)<<24>>>24));f=0;while(true){if(!(f<b.$length)){break;}((f<0||f>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+f]=((((((f<0||f>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+f])&d)>>>0)|((((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f])&e)>>>0))>>>0));f=f+(1)>>0;}};$pkg.ConstantTimeCopy=E;F=function(a,b){var $ptr,a,b,c,d;c=((a>>0));d=((b>>0));return((((((((c-d>>0)-1>>0))>>31>>0))&1)>>0));};$pkg.ConstantTimeLessOrEq=F;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/cipher\"]=(function(){var $pkg={},$init,A,B,C,D,E,G,H,J,K,Q,R,S,U,V,X,Y,Z,AA,AM,AV,AW,AX,AY,AZ,BA,BC,BD,BE,BF,AD,AH,F,I,L,T,W,AB,AC,AE,AF,AG,AI,AJ,AK,AL,AQ,AR,AS,AT,AU;A=$packages[\"crypto/subtle\"];B=$packages[\"errors\"];C=$packages[\"io\"];D=$packages[\"runtime\"];E=$pkg.cbc=$newType(0,$kindStruct,\"cipher.cbc\",true,\"crypto/cipher\",false,function(b_,blockSize_,iv_,tmp_){this.$val=this;if(arguments.length===0){this.b=$ifaceNil;this.blockSize=0;this.iv=AW.nil;this.tmp=AW.nil;return;}this.b=b_;this.blockSize=blockSize_;this.iv=iv_;this.tmp=tmp_;});G=$pkg.cbcEncrypter=$newType(0,$kindStruct,\"cipher.cbcEncrypter\",true,\"crypto/cipher\",false,function(b_,blockSize_,iv_,tmp_){this.$val=this;if(arguments.length===0){this.b=$ifaceNil;this.blockSize=0;this.iv=AW.nil;this.tmp=AW.nil;return;}this.b=b_;this.blockSize=blockSize_;this.iv=iv_;this.tmp=tmp_;});H=$pkg.cbcEncAble=$newType(8,$kindInterface,\"cipher.cbcEncAble\",true,\"crypto/cipher\",false,null);J=$pkg.cbcDecrypter=$newType(0,$kindStruct,\"cipher.cbcDecrypter\",true,\"crypto/cipher\",false,function(b_,blockSize_,iv_,tmp_){this.$val=this;if(arguments.length===0){this.b=$ifaceNil;this.blockSize=0;this.iv=AW.nil;this.tmp=AW.nil;return;}this.b=b_;this.blockSize=blockSize_;this.iv=iv_;this.tmp=tmp_;});K=$pkg.cbcDecAble=$newType(8,$kindInterface,\"cipher.cbcDecAble\",true,\"crypto/cipher\",false,null);Q=$pkg.Block=$newType(8,$kindInterface,\"cipher.Block\",true,\"crypto/cipher\",true,null);R=$pkg.Stream=$newType(8,$kindInterface,\"cipher.Stream\",true,\"crypto/cipher\",true,null);S=$pkg.BlockMode=$newType(8,$kindInterface,\"cipher.BlockMode\",true,\"crypto/cipher\",true,null);U=$pkg.ctr=$newType(0,$kindStruct,\"cipher.ctr\",true,\"crypto/cipher\",false,function(b_,ctr_,out_,outUsed_){this.$val=this;if(arguments.length===0){this.b=$ifaceNil;this.ctr=AW.nil;this.out=AW.nil;this.outUsed=0;return;}this.b=b_;this.ctr=ctr_;this.out=out_;this.outUsed=outUsed_;});V=$pkg.ctrAble=$newType(8,$kindInterface,\"cipher.ctrAble\",true,\"crypto/cipher\",false,null);X=$pkg.AEAD=$newType(8,$kindInterface,\"cipher.AEAD\",true,\"crypto/cipher\",true,null);Y=$pkg.gcmAble=$newType(8,$kindInterface,\"cipher.gcmAble\",true,\"crypto/cipher\",false,null);Z=$pkg.gcmFieldElement=$newType(0,$kindStruct,\"cipher.gcmFieldElement\",true,\"crypto/cipher\",false,function(low_,high_){this.$val=this;if(arguments.length===0){this.low=new $Uint64(0,0);this.high=new $Uint64(0,0);return;}this.low=low_;this.high=high_;});AA=$pkg.gcm=$newType(0,$kindStruct,\"cipher.gcm\",true,\"crypto/cipher\",false,function(cipher_,nonceSize_,productTable_){this.$val=this;if(arguments.length===0){this.cipher=$ifaceNil;this.nonceSize=0;this.productTable=BA.zero();return;}this.cipher=cipher_;this.nonceSize=nonceSize_;this.productTable=productTable_;});AM=$pkg.StreamReader=$newType(0,$kindStruct,\"cipher.StreamReader\",true,\"crypto/cipher\",true,function(S_,R_){this.$val=this;if(arguments.length===0){this.S=$ifaceNil;this.R=$ifaceNil;return;}this.S=S_;this.R=R_;});AV=$sliceType($Uint16);AW=$sliceType($Uint8);AX=$ptrType(G);AY=$ptrType(J);AZ=$arrayType($Uint8,16);BA=$arrayType(Z,16);BC=$ptrType(U);BD=$ptrType(Z);BE=$ptrType(AZ);BF=$ptrType(AA);F=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=a.BlockSize();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=a.BlockSize();$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return new E.ptr(a,c,T(b),$makeSlice(AW,d));}return;}if($f===undefined){$f={$blk:F};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};I=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=a.BlockSize();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}if(!((b.$length===c))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"cipher.NewCBCEncrypter: IV length must equal block size\"));case 2:d=$assertType(a,H,true);e=d[0];f=d[1];if(f){$s=4;continue;}$s=5;continue;case 4:g=e.NewCBCEncrypter(b);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 5:h=F(a,b);$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return($pointerOfStructConversion(h,AX));}return;}if($f===undefined){$f={$blk:I};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewCBCEncrypter=I;G.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return a.blockSize;};G.prototype.BlockSize=function(){return this.$val.BlockSize();};G.ptr.prototype.CryptBlocks=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(!(((d=b.$length%c.blockSize,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0))){$panic(new $String(\"crypto/cipher: input not full blocks\"));}if(a.$length<b.$length){$panic(new $String(\"crypto/cipher: output smaller than input\"));}e=c.iv;case 1:if(!(b.$length>0)){$s=2;continue;}AS($subslice(a,0,c.blockSize),$subslice(b,0,c.blockSize),e);$r=c.b.Encrypt($subslice(a,0,c.blockSize),$subslice(a,0,c.blockSize));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=$subslice(a,0,c.blockSize);b=$subslice(b,c.blockSize);a=$subslice(a,c.blockSize);$s=1;continue;case 2:$copySlice(c.iv,e);$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.CryptBlocks};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.CryptBlocks=function(a,b){return this.$val.CryptBlocks(a,b);};G.ptr.prototype.SetIV=function(a){var $ptr,a,b;b=this;if(!((a.$length===b.iv.$length))){$panic(new $String(\"cipher: incorrect length IV\"));}$copySlice(b.iv,a);};G.prototype.SetIV=function(a){return this.$val.SetIV(a);};L=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=a.BlockSize();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}if(!((b.$length===c))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"cipher.NewCBCDecrypter: IV length must equal block size\"));case 2:d=$assertType(a,K,true);e=d[0];f=d[1];if(f){$s=4;continue;}$s=5;continue;case 4:g=e.NewCBCDecrypter(b);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 5:h=F(a,b);$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return($pointerOfStructConversion(h,AY));}return;}if($f===undefined){$f={$blk:L};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewCBCDecrypter=L;J.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return a.blockSize;};J.prototype.BlockSize=function(){return this.$val.BlockSize();};J.ptr.prototype.CryptBlocks=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(!(((d=b.$length%c.blockSize,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0))){$panic(new $String(\"crypto/cipher: input not full blocks\"));}if(a.$length<b.$length){$panic(new $String(\"crypto/cipher: output smaller than input\"));}if(b.$length===0){$s=-1;return;}e=b.$length;f=e-c.blockSize>>0;g=f-c.blockSize>>0;$copySlice(c.tmp,$subslice(b,f,e));case 1:if(!(f>0)){$s=2;continue;}$r=c.b.Decrypt($subslice(a,f,e),$subslice(b,f,e));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS($subslice(a,f,e),$subslice(a,f,e),$subslice(b,g,f));e=f;f=g;g=g-(c.blockSize)>>0;$s=1;continue;case 2:$r=c.b.Decrypt($subslice(a,f,e),$subslice(b,f,e));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS($subslice(a,f,e),$subslice(a,f,e),c.iv);h=c.tmp;i=c.iv;c.iv=h;c.tmp=i;$s=-1;return;}return;}if($f===undefined){$f={$blk:J.ptr.prototype.CryptBlocks};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.CryptBlocks=function(a,b){return this.$val.CryptBlocks(a,b);};J.ptr.prototype.SetIV=function(a){var $ptr,a,b;b=this;if(!((a.$length===b.iv.$length))){$panic(new $String(\"cipher: incorrect length IV\"));}$copySlice(b.iv,a);};J.prototype.SetIV=function(a){return this.$val.SetIV(a);};T=function(a){var $ptr,a,b;b=$makeSlice(AW,a.$length);$copySlice(b,a);return b;};W=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$assertType(a,V,true);d=c[0];e=c[1];if(e){$s=1;continue;}$s=2;continue;case 1:f=d.NewCTR(b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 2:g=a.BlockSize();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!((b.$length===g))){$s=4;continue;}$s=5;continue;case 4:$panic(new $String(\"cipher.NewCTR: IV length must equal block size\"));case 5:h=512;i=a.BlockSize();$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(h<i){$s=7;continue;}$s=8;continue;case 7:j=a.BlockSize();$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}h=j;case 8:$s=-1;return new U.ptr(a,T(b),$makeSlice(AW,0,h),0);}return;}if($f===undefined){$f={$blk:W};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewCTR=W;U.ptr.prototype.refill=function(){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.out.$length-a.outUsed>>0;$copySlice(a.out,$subslice(a.out,a.outUsed));a.out=$subslice(a.out,0,a.out.$capacity);c=a.b.BlockSize();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;case 2:if(!(b<=(a.out.$length-d>>0))){$s=3;continue;}$r=a.b.Encrypt($subslice(a.out,b),a.ctr);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=b+(d)>>0;e=a.ctr.$length-1>>0;while(true){if(!(e>=0)){break;}(g=a.ctr,((e<0||e>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+e]=((f=a.ctr,((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e]))+(1)<<24>>>24)));if(!(((h=a.ctr,((e<0||e>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+e]))===0))){break;}e=e-(1)>>0;}$s=2;continue;case 3:a.out=$subslice(a.out,0,b);a.outUsed=0;$s=-1;return;}return;}if($f===undefined){$f={$blk:U.ptr.prototype.refill};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};U.prototype.refill=function(){return this.$val.refill();};U.ptr.prototype.XORKeyStream=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;case 1:if(!(b.$length>0)){$s=2;continue;}d=c.b.BlockSize();$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(c.outUsed>=(c.out.$length-d>>0)){$s=3;continue;}$s=4;continue;case 3:$r=c.refill();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:e=AS(a,b,$subslice(c.out,c.outUsed));a=$subslice(a,e);b=$subslice(b,e);c.outUsed=c.outUsed+(e)>>0;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:U.ptr.prototype.XORKeyStream};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};U.prototype.XORKeyStream=function(a,b){return this.$val.XORKeyStream(a,b);};AB=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=AC(a,12);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewGCM=AB;AC=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=$assertType(a,Y,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=e.NewGCM(b);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 2:h=a.BlockSize();$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}if(!((h===16))){$s=4;continue;}$s=5;continue;case 4:$s=-1;return[$ifaceNil,B.New(\"cipher: NewGCM requires 128-bit block cipher\")];case 5:i=AZ.zero();$r=a.Encrypt(new AW(i),new AW(i));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=new AA.ptr(a,b,BA.zero());c[0]=new Z.ptr(AK($subslice(new AW(i),0,8)),AK($subslice(new AW(i),8)));Z.copy((k=j.productTable,l=AE(1),((l<0||l>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[l])),c[0]);m=2;while(true){if(!(m<16)){break;}Z.copy((q=j.productTable,r=AE(m),((r<0||r>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[r])),AG((n=j.productTable,o=AE((p=m/2,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"))),((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]))));Z.copy((u=j.productTable,v=AE(m+1>>0),((v<0||v>=u.length)?($throwRuntimeError(\"index out of range\"),undefined):u[v])),AF((s=j.productTable,t=AE(m),((t<0||t>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[t])),c[0]));m=m+(2)>>0;}$s=-1;return[j,$ifaceNil];}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewGCMWithNonceSize=AC;AA.ptr.prototype.NonceSize=function(){var $ptr,a;a=this;return a.nonceSize;};AA.prototype.NonceSize=function(){return this.$val.NonceSize();};AA.ptr.prototype.Overhead=function(){var $ptr;return 16;};AA.prototype.Overhead=function(){return this.$val.Overhead();};AA.ptr.prototype.Seal=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=this;if(!((b.$length===g.nonceSize))){$panic(new $String(\"cipher: incorrect nonce length given to GCM\"));}j=g.cipher.BlockSize();$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if((h=(new $Uint64(0,c.$length)),i=$mul64(new $Uint64(0,4294967294),(new $Uint64(0,j))),(h.$high>i.$high||(h.$high===i.$high&&h.$low>i.$low)))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"cipher: message too large for GCM\"));case 2:k=AJ(a,c.$length+16>>0);l=k[0];m=k[1];n=AZ.zero();o=AZ.zero();e[0]=$clone(n,AZ);f[0]=$clone(o,AZ);g.deriveCounter(e[0],b);$r=g.cipher.Encrypt(new AW(f[0]),new AW(e[0]));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AI(e[0]);$r=g.counterCrypt(m,c,e[0]);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g.auth($subslice(m,c.$length),$subslice(m,0,c.$length),d,f[0]);$s=-1;return l;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.Seal};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.Seal=function(a,b,c,d){return this.$val.Seal(a,b,c,d);};AA.ptr.prototype.Open=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=this;if(!((b.$length===g.nonceSize))){$panic(new $String(\"cipher: incorrect nonce length given to GCM\"));}if(c.$length<16){$s=-1;return[AW.nil,AD];}k=g.cipher.BlockSize();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if((h=(new $Uint64(0,c.$length)),i=(j=$mul64(new $Uint64(0,4294967294),(new $Uint64(0,k))),new $Uint64(j.$high+0,j.$low+16)),(h.$high>i.$high||(h.$high===i.$high&&h.$low>i.$low)))){$s=1;continue;}$s=2;continue;case 1:$s=-1;return[AW.nil,AD];case 2:l=$subslice(c,(c.$length-16>>0));c=$subslice(c,0,(c.$length-16>>0));m=AZ.zero();n=AZ.zero();e[0]=$clone(m,AZ);f[0]=$clone(n,AZ);g.deriveCounter(e[0],b);$r=g.cipher.Encrypt(new AW(f[0]),new AW(e[0]));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AI(e[0]);o=AZ.zero();g.auth(new AW(o),c,d,f[0]);p=AJ(a,c.$length);q=p[0];r=p[1];if(!((A.ConstantTimeCompare(new AW(o),l)===1))){s=r;t=0;while(true){if(!(t<s.$length)){break;}u=t;((u<0||u>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+u]=0);t++;}$s=-1;return[AW.nil,AD];}$r=g.counterCrypt(r,c,e[0]);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[q,$ifaceNil];}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.Open};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.Open=function(a,b,c,d){return this.$val.Open(a,b,c,d);};AE=function(a){var $ptr,a;a=((((a<<2>>0))&12))|((((a>>2>>0))&3));a=((((a<<1>>0))&10))|((((a>>1>>0))&5));return a;};AF=function(a,b){var $ptr,a,b,c,d,e,f;return new Z.ptr((c=a.low,d=b.low,new $Uint64(c.$high^d.$high,(c.$low^d.$low)>>>0)),(e=a.high,f=b.high,new $Uint64(e.$high^f.$high,(e.$low^f.$low)>>>0)));};AG=function(a){var $ptr,a,b,c,d,e,f,g,h,i;b=new Z.ptr(new $Uint64(0,0),new $Uint64(0,0));e=(c=(d=a.high,new $Uint64(d.$high&0,(d.$low&1)>>>0)),(c.$high===0&&c.$low===1));b.high=$shiftRightUint64(a.high,1);b.high=(f=b.high,g=$shiftLeft64(a.low,63),new $Uint64(f.$high|g.$high,(f.$low|g.$low)>>>0));b.low=$shiftRightUint64(a.low,1);if(e){b.low=(h=b.low,i=new $Uint64(3774873600,0),new $Uint64(h.$high^i.$high,(h.$low^i.$low)>>>0));}return b;};AA.ptr.prototype.mul=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;b=this;c=new Z.ptr(new $Uint64(0,0),new $Uint64(0,0));d=0;while(true){if(!(d<2)){break;}e=a.high;if(d===1){e=a.low;}f=0;while(true){if(!(f<64)){break;}h=(g=c.high,new $Uint64(g.$high&0,(g.$low&15)>>>0));c.high=$shiftRightUint64(c.high,(4));c.high=(i=c.high,j=$shiftLeft64(c.low,60),new $Uint64(i.$high|j.$high,(i.$low|j.$low)>>>0));c.low=$shiftRightUint64(c.low,(4));c.low=(k=c.low,l=$shiftLeft64((new $Uint64(0,(($flatten64(h)<0||$flatten64(h)>=AH.$length)?($throwRuntimeError(\"index out of range\"),undefined):AH.$array[AH.$offset+$flatten64(h)]))),48),new $Uint64(k.$high^l.$high,(k.$low^l.$low)>>>0));o=(m=b.productTable,n=new $Uint64(e.$high&0,(e.$low&15)>>>0),(($flatten64(n)<0||$flatten64(n)>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[$flatten64(n)]));c.low=(p=c.low,q=o.low,new $Uint64(p.$high^q.$high,(p.$low^q.$low)>>>0));c.high=(r=c.high,s=o.high,new $Uint64(r.$high^s.$high,(r.$low^s.$low)>>>0));e=$shiftRightUint64(e,(4));f=f+(4)>>0;}d=d+(1)>>0;}Z.copy(a,c);};AA.prototype.mul=function(a){return this.$val.mul(a);};AA.ptr.prototype.updateBlocks=function(a,b){var $ptr,a,b,c,d,e,f,g;c=this;while(true){if(!(b.$length>0)){break;}a.low=(d=a.low,e=AK(b),new $Uint64(d.$high^e.$high,(d.$low^e.$low)>>>0));a.high=(f=a.high,g=AK($subslice(b,8)),new $Uint64(f.$high^g.$high,(f.$low^g.$low)>>>0));c.mul(a);b=$subslice(b,16);}};AA.prototype.updateBlocks=function(a,b){return this.$val.updateBlocks(a,b);};AA.ptr.prototype.update=function(a,b){var $ptr,a,b,c,d,e;c=this;d=((b.$length>>4>>0))<<4>>0;c.updateBlocks(a,$subslice(b,0,d));if(!((b.$length===d))){e=AZ.zero();$copySlice(new AW(e),$subslice(b,d));c.updateBlocks(a,new AW(e));}};AA.prototype.update=function(a,b){return this.$val.update(a,b);};AI=function(a){var $ptr,a,b;b=15;while(true){if(!(b>=12)){break;}a.nilCheck,((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]=((a.nilCheck,((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]))+(1)<<24>>>24));if(!(((a.nilCheck,((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]))===0))){break;}b=b-(1)>>0;}};AJ=function(a,b){var $ptr,a,b,c,d,e;c=AW.nil;d=AW.nil;e=a.$length+b>>0;if(a.$capacity>=e){c=$subslice(a,0,e);}else{c=$makeSlice(AW,e);$copySlice(c,a);}d=$subslice(c,a.$length);return[c,d];};AA.ptr.prototype.counterCrypt=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=AZ.zero();case 1:if(!(b.$length>=16)){$s=2;continue;}$r=d.cipher.Encrypt(new AW(e),new AW(c));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AI(c);AU(a,b,new AW(e));a=$subslice(a,16);b=$subslice(b,16);$s=1;continue;case 2:if(b.$length>0){$s=4;continue;}$s=5;continue;case 4:$r=d.cipher.Encrypt(new AW(e),new AW(c));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AI(c);AS(a,b,new AW(e));case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.counterCrypt};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.counterCrypt=function(a,b,c){return this.$val.counterCrypt(a,b,c);};AA.ptr.prototype.deriveCounter=function(a,b){var $ptr,a,b,c,d,e,f;c=this;if(b.$length===12){$copySlice(new AW(a),b);a.nilCheck,a[15]=1;}else{d=new Z.ptr(new $Uint64(0,0),new $Uint64(0,0));c.update(d,b);d.high=(e=d.high,f=$mul64((new $Uint64(0,b.$length)),new $Uint64(0,8)),new $Uint64(e.$high^f.$high,(e.$low^f.$low)>>>0));c.mul(d);AL($subslice(new AW(a),0,8),d.low);AL($subslice(new AW(a),8),d.high);}};AA.prototype.deriveCounter=function(a,b){return this.$val.deriveCounter(a,b);};AA.ptr.prototype.auth=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j;e=this;f=new Z.ptr(new $Uint64(0,0),new $Uint64(0,0));e.update(f,c);e.update(f,b);f.low=(g=f.low,h=$mul64((new $Uint64(0,c.$length)),new $Uint64(0,8)),new $Uint64(g.$high^h.$high,(g.$low^h.$low)>>>0));f.high=(i=f.high,j=$mul64((new $Uint64(0,b.$length)),new $Uint64(0,8)),new $Uint64(i.$high^j.$high,(i.$low^j.$low)>>>0));e.mul(f);AL(a,f.low);AL($subslice(a,8),f.high);AU(a,a,new AW(d));};AA.prototype.auth=function(a,b,c,d){return this.$val.auth(a,b,c,d);};AK=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;p=(b=(c=(d=(e=(f=(g=(h=$shiftLeft64((new $Uint64(0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]))),56),i=$shiftLeft64((new $Uint64(0,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]))),48),new $Uint64(h.$high|i.$high,(h.$low|i.$low)>>>0)),j=$shiftLeft64((new $Uint64(0,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))),40),new $Uint64(g.$high|j.$high,(g.$low|j.$low)>>>0)),k=$shiftLeft64((new $Uint64(0,(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]))),32),new $Uint64(f.$high|k.$high,(f.$low|k.$low)>>>0)),l=$shiftLeft64((new $Uint64(0,(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]))),24),new $Uint64(e.$high|l.$high,(e.$low|l.$low)>>>0)),m=$shiftLeft64((new $Uint64(0,(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]))),16),new $Uint64(d.$high|m.$high,(d.$low|m.$low)>>>0)),n=$shiftLeft64((new $Uint64(0,(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]))),8),new $Uint64(c.$high|n.$high,(c.$low|n.$low)>>>0)),o=(new $Uint64(0,(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]))),new $Uint64(b.$high|o.$high,(b.$low|o.$low)>>>0));return p;};AL=function(a,b){var $ptr,a,b;(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=(($shiftRightUint64(b,56).$low<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(($shiftRightUint64(b,48).$low<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(($shiftRightUint64(b,40).$low<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=(($shiftRightUint64(b,32).$low<<24>>>24)));(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]=(($shiftRightUint64(b,24).$low<<24>>>24)));(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]=(($shiftRightUint64(b,16).$low<<24>>>24)));(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]=(($shiftRightUint64(b,8).$low<<24>>>24)));(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]=((b.$low<<24>>>24)));};AM.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;f=d.R.Read(a);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;b=e[0];c=e[1];$r=d.S.XORKeyStream($subslice(a,0,b),$subslice(a,0,b));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Read=function(a){return this.$val.Read(a);};AQ=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=b.$length;if(c.$length<d){d=c.$length;}f=(e=d/4,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"));if(f>0){g=a;h=b;i=c;j=0;while(true){if(!(j<f)){break;}((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=((((j<0||j>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+j])^((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]))>>>0));j=j+(1)>>0;}}l=(d-(k=d%4,k===k?k:$throwRuntimeError(\"integer divide by zero\"))>>0);while(true){if(!(l<d)){break;}((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]=((((l<0||l>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+l])^((l<0||l>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+l]))<<24>>>24));l=l+(1)>>0;}return d;};AR=function(a,b,c){var $ptr,a,b,c,d,e;d=b.$length;if(c.$length<d){d=c.$length;}e=0;while(true){if(!(e<d)){break;}((e<0||e>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+e]=((((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e])^((e<0||e>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+e]))<<24>>>24));e=e+(1)>>0;}return d;};AS=function(a,b,c){var $ptr,a,b,c;if(false){return AQ(a,b,c);}else{return AR(a,b,c);}};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=a;e=b;f=c;h=(g=c.$length/4,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"));i=0;while(true){if(!(i<h)){break;}((i<0||i>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+i]=((((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i])^((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))>>>0));i=i+(1)>>0;}};AU=function(a,b,c){var $ptr,a,b,c;if(false){AT(a,b,c);}else{AR(a,b,c);}};AX.methods=[{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"CryptBlocks\",name:\"CryptBlocks\",pkg:\"\",typ:$funcType([AW,AW],[],false)},{prop:\"SetIV\",name:\"SetIV\",pkg:\"\",typ:$funcType([AW],[],false)}];AY.methods=[{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"CryptBlocks\",name:\"CryptBlocks\",pkg:\"\",typ:$funcType([AW,AW],[],false)},{prop:\"SetIV\",name:\"SetIV\",pkg:\"\",typ:$funcType([AW],[],false)}];BC.methods=[{prop:\"refill\",name:\"refill\",pkg:\"crypto/cipher\",typ:$funcType([],[],false)},{prop:\"XORKeyStream\",name:\"XORKeyStream\",pkg:\"\",typ:$funcType([AW,AW],[],false)}];BF.methods=[{prop:\"NonceSize\",name:\"NonceSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Overhead\",name:\"Overhead\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Seal\",name:\"Seal\",pkg:\"\",typ:$funcType([AW,AW,AW,AW],[AW],false)},{prop:\"Open\",name:\"Open\",pkg:\"\",typ:$funcType([AW,AW,AW,AW],[AW,$error],false)},{prop:\"mul\",name:\"mul\",pkg:\"crypto/cipher\",typ:$funcType([BD],[],false)},{prop:\"updateBlocks\",name:\"updateBlocks\",pkg:\"crypto/cipher\",typ:$funcType([BD,AW],[],false)},{prop:\"update\",name:\"update\",pkg:\"crypto/cipher\",typ:$funcType([BD,AW],[],false)},{prop:\"counterCrypt\",name:\"counterCrypt\",pkg:\"crypto/cipher\",typ:$funcType([AW,AW,BE],[],false)},{prop:\"deriveCounter\",name:\"deriveCounter\",pkg:\"crypto/cipher\",typ:$funcType([BE,AW],[],false)},{prop:\"auth\",name:\"auth\",pkg:\"crypto/cipher\",typ:$funcType([AW,AW,AW,BE],[],false)}];AM.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AW],[$Int,$error],false)}];E.init(\"crypto/cipher\",[{prop:\"b\",name:\"b\",exported:false,typ:Q,tag:\"\"},{prop:\"blockSize\",name:\"blockSize\",exported:false,typ:$Int,tag:\"\"},{prop:\"iv\",name:\"iv\",exported:false,typ:AW,tag:\"\"},{prop:\"tmp\",name:\"tmp\",exported:false,typ:AW,tag:\"\"}]);G.init(\"crypto/cipher\",[{prop:\"b\",name:\"b\",exported:false,typ:Q,tag:\"\"},{prop:\"blockSize\",name:\"blockSize\",exported:false,typ:$Int,tag:\"\"},{prop:\"iv\",name:\"iv\",exported:false,typ:AW,tag:\"\"},{prop:\"tmp\",name:\"tmp\",exported:false,typ:AW,tag:\"\"}]);H.init([{prop:\"NewCBCEncrypter\",name:\"NewCBCEncrypter\",pkg:\"\",typ:$funcType([AW],[S],false)}]);J.init(\"crypto/cipher\",[{prop:\"b\",name:\"b\",exported:false,typ:Q,tag:\"\"},{prop:\"blockSize\",name:\"blockSize\",exported:false,typ:$Int,tag:\"\"},{prop:\"iv\",name:\"iv\",exported:false,typ:AW,tag:\"\"},{prop:\"tmp\",name:\"tmp\",exported:false,typ:AW,tag:\"\"}]);K.init([{prop:\"NewCBCDecrypter\",name:\"NewCBCDecrypter\",pkg:\"\",typ:$funcType([AW],[S],false)}]);Q.init([{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Decrypt\",name:\"Decrypt\",pkg:\"\",typ:$funcType([AW,AW],[],false)},{prop:\"Encrypt\",name:\"Encrypt\",pkg:\"\",typ:$funcType([AW,AW],[],false)}]);R.init([{prop:\"XORKeyStream\",name:\"XORKeyStream\",pkg:\"\",typ:$funcType([AW,AW],[],false)}]);S.init([{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"CryptBlocks\",name:\"CryptBlocks\",pkg:\"\",typ:$funcType([AW,AW],[],false)}]);U.init(\"crypto/cipher\",[{prop:\"b\",name:\"b\",exported:false,typ:Q,tag:\"\"},{prop:\"ctr\",name:\"ctr\",exported:false,typ:AW,tag:\"\"},{prop:\"out\",name:\"out\",exported:false,typ:AW,tag:\"\"},{prop:\"outUsed\",name:\"outUsed\",exported:false,typ:$Int,tag:\"\"}]);V.init([{prop:\"NewCTR\",name:\"NewCTR\",pkg:\"\",typ:$funcType([AW],[R],false)}]);X.init([{prop:\"NonceSize\",name:\"NonceSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Open\",name:\"Open\",pkg:\"\",typ:$funcType([AW,AW,AW,AW],[AW,$error],false)},{prop:\"Overhead\",name:\"Overhead\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Seal\",name:\"Seal\",pkg:\"\",typ:$funcType([AW,AW,AW,AW],[AW],false)}]);Y.init([{prop:\"NewGCM\",name:\"NewGCM\",pkg:\"\",typ:$funcType([$Int],[X,$error],false)}]);Z.init(\"crypto/cipher\",[{prop:\"low\",name:\"low\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"high\",name:\"high\",exported:false,typ:$Uint64,tag:\"\"}]);AA.init(\"crypto/cipher\",[{prop:\"cipher\",name:\"cipher\",exported:false,typ:Q,tag:\"\"},{prop:\"nonceSize\",name:\"nonceSize\",exported:false,typ:$Int,tag:\"\"},{prop:\"productTable\",name:\"productTable\",exported:false,typ:BA,tag:\"\"}]);AM.init(\"\",[{prop:\"S\",name:\"S\",exported:true,typ:R,tag:\"\"},{prop:\"R\",name:\"R\",exported:true,typ:C.Reader,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AD=B.New(\"cipher: message authentication failed\");AH=new AV([0,7200,14400,9312,28800,27808,18624,21728,57600,64800,55616,50528,37248,36256,43456,46560]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/aes\"]=(function(){var $pkg={},$init,A,B,H,I,AC,AD,AE,N,O,P,Q,R,S,T,U,V,W,X,C,D,E,F,G,J,K,L;A=$packages[\"crypto/cipher\"];B=$packages[\"strconv\"];H=$pkg.aesCipher=$newType(0,$kindStruct,\"aes.aesCipher\",true,\"crypto/aes\",false,function(enc_,dec_){this.$val=this;if(arguments.length===0){this.enc=AC.nil;this.dec=AC.nil;return;}this.enc=enc_;this.dec=dec_;});I=$pkg.KeySizeError=$newType(4,$kindInt,\"aes.KeySizeError\",true,\"crypto/aes\",true,null);AC=$sliceType($Uint32);AD=$sliceType($Uint8);AE=$ptrType(H);C=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=0;e=0;f=0;g=0;h=0;i=0;j=0;k=0;l=d;m=e;n=f;o=g;p=h;q=i;r=j;s=k;l=(((((((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])>>>0))<<24>>>0)|((((1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1])>>>0))<<16>>>0))>>>0)|((((2>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+2])>>>0))<<8>>>0))>>>0)|(((3>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+3])>>>0)))>>>0;m=(((((((((4>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+4])>>>0))<<24>>>0)|((((5>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+5])>>>0))<<16>>>0))>>>0)|((((6>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+6])>>>0))<<8>>>0))>>>0)|(((7>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+7])>>>0)))>>>0;n=(((((((((8>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+8])>>>0))<<24>>>0)|((((9>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+9])>>>0))<<16>>>0))>>>0)|((((10>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+10])>>>0))<<8>>>0))>>>0)|(((11>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+11])>>>0)))>>>0;o=(((((((((12>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+12])>>>0))<<24>>>0)|((((13>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+13])>>>0))<<16>>>0))>>>0)|((((14>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+14])>>>0))<<8>>>0))>>>0)|(((15>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+15])>>>0)))>>>0;l=(l^((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])))>>>0;m=(m^((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])))>>>0;n=(n^((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])))>>>0;o=(o^((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])))>>>0;u=(t=a.$length/4,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"))-2>>0;v=4;w=0;while(true){if(!(w<u)){break;}p=((((((((x=v+0>>0,((x<0||x>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+x]))^(y=(((l>>>24>>>0)<<24>>>24)),((y<0||y>=Q.length)?($throwRuntimeError(\"index out of range\"),undefined):Q[y])))>>>0)^(z=(((m>>>16>>>0)<<24>>>24)),((z<0||z>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[z])))>>>0)^(aa=(((n>>>8>>>0)<<24>>>24)),((aa<0||aa>=S.length)?($throwRuntimeError(\"index out of range\"),undefined):S[aa])))>>>0)^(ab=((o<<24>>>24)),((ab<0||ab>=T.length)?($throwRuntimeError(\"index out of range\"),undefined):T[ab])))>>>0;q=((((((((ac=v+1>>0,((ac<0||ac>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+ac]))^(ad=(((m>>>24>>>0)<<24>>>24)),((ad<0||ad>=Q.length)?($throwRuntimeError(\"index out of range\"),undefined):Q[ad])))>>>0)^(ae=(((n>>>16>>>0)<<24>>>24)),((ae<0||ae>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ae])))>>>0)^(af=(((o>>>8>>>0)<<24>>>24)),((af<0||af>=S.length)?($throwRuntimeError(\"index out of range\"),undefined):S[af])))>>>0)^(ag=((l<<24>>>24)),((ag<0||ag>=T.length)?($throwRuntimeError(\"index out of range\"),undefined):T[ag])))>>>0;r=((((((((ah=v+2>>0,((ah<0||ah>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+ah]))^(ai=(((n>>>24>>>0)<<24>>>24)),((ai<0||ai>=Q.length)?($throwRuntimeError(\"index out of range\"),undefined):Q[ai])))>>>0)^(aj=(((o>>>16>>>0)<<24>>>24)),((aj<0||aj>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[aj])))>>>0)^(ak=(((l>>>8>>>0)<<24>>>24)),((ak<0||ak>=S.length)?($throwRuntimeError(\"index out of range\"),undefined):S[ak])))>>>0)^(al=((m<<24>>>24)),((al<0||al>=T.length)?($throwRuntimeError(\"index out of range\"),undefined):T[al])))>>>0;s=((((((((am=v+3>>0,((am<0||am>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+am]))^(an=(((o>>>24>>>0)<<24>>>24)),((an<0||an>=Q.length)?($throwRuntimeError(\"index out of range\"),undefined):Q[an])))>>>0)^(ao=(((l>>>16>>>0)<<24>>>24)),((ao<0||ao>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ao])))>>>0)^(ap=(((m>>>8>>>0)<<24>>>24)),((ap<0||ap>=S.length)?($throwRuntimeError(\"index out of range\"),undefined):S[ap])))>>>0)^(aq=((n<<24>>>24)),((aq<0||aq>=T.length)?($throwRuntimeError(\"index out of range\"),undefined):T[aq])))>>>0;v=v+(4)>>0;ar=p;as=q;at=r;au=s;l=ar;m=as;n=at;o=au;w=w+(1)>>0;}l=(((((((((av=p>>>24>>>0,((av<0||av>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[av]))>>>0))<<24>>>0)|((((aw=((q>>>16>>>0)&255)>>>0,((aw<0||aw>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[aw]))>>>0))<<16>>>0))>>>0)|((((ax=((r>>>8>>>0)&255)>>>0,((ax<0||ax>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[ax]))>>>0))<<8>>>0))>>>0)|(((ay=(s&255)>>>0,((ay<0||ay>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[ay]))>>>0)))>>>0;m=(((((((((az=q>>>24>>>0,((az<0||az>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[az]))>>>0))<<24>>>0)|((((ba=((r>>>16>>>0)&255)>>>0,((ba<0||ba>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[ba]))>>>0))<<16>>>0))>>>0)|((((bb=((s>>>8>>>0)&255)>>>0,((bb<0||bb>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bb]))>>>0))<<8>>>0))>>>0)|(((bc=(p&255)>>>0,((bc<0||bc>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bc]))>>>0)))>>>0;n=(((((((((bd=r>>>24>>>0,((bd<0||bd>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bd]))>>>0))<<24>>>0)|((((be=((s>>>16>>>0)&255)>>>0,((be<0||be>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[be]))>>>0))<<16>>>0))>>>0)|((((bf=((p>>>8>>>0)&255)>>>0,((bf<0||bf>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bf]))>>>0))<<8>>>0))>>>0)|(((bg=(q&255)>>>0,((bg<0||bg>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bg]))>>>0)))>>>0;o=(((((((((bh=s>>>24>>>0,((bh<0||bh>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bh]))>>>0))<<24>>>0)|((((bi=((p>>>16>>>0)&255)>>>0,((bi<0||bi>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bi]))>>>0))<<16>>>0))>>>0)|((((bj=((q>>>8>>>0)&255)>>>0,((bj<0||bj>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bj]))>>>0))<<8>>>0))>>>0)|(((bk=(r&255)>>>0,((bk<0||bk>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[bk]))>>>0)))>>>0;l=(l^((bl=v+0>>0,((bl<0||bl>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bl]))))>>>0;m=(m^((bm=v+1>>0,((bm<0||bm>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bm]))))>>>0;n=(n^((bn=v+2>>0,((bn<0||bn>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bn]))))>>>0;o=(o^((bo=v+3>>0,((bo<0||bo>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bo]))))>>>0;bp=(((l>>>24>>>0)<<24>>>24));bq=(((l>>>16>>>0)<<24>>>24));br=(((l>>>8>>>0)<<24>>>24));bs=((l<<24>>>24));(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]=bp);(1>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+1]=bq);(2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2]=br);(3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3]=bs);bt=(((m>>>24>>>0)<<24>>>24));bu=(((m>>>16>>>0)<<24>>>24));bv=(((m>>>8>>>0)<<24>>>24));bw=((m<<24>>>24));(4>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+4]=bt);(5>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+5]=bu);(6>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+6]=bv);(7>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+7]=bw);bx=(((n>>>24>>>0)<<24>>>24));by=(((n>>>16>>>0)<<24>>>24));bz=(((n>>>8>>>0)<<24>>>24));ca=((n<<24>>>24));(8>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+8]=bx);(9>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+9]=by);(10>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+10]=bz);(11>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+11]=ca);cb=(((o>>>24>>>0)<<24>>>24));cc=(((o>>>16>>>0)<<24>>>24));cd=(((o>>>8>>>0)<<24>>>24));ce=((o<<24>>>24));(12>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+12]=cb);(13>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+13]=cc);(14>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+14]=cd);(15>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+15]=ce);};D=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=0;e=0;f=0;g=0;h=0;i=0;j=0;k=0;l=d;m=e;n=f;o=g;p=h;q=i;r=j;s=k;l=(((((((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])>>>0))<<24>>>0)|((((1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1])>>>0))<<16>>>0))>>>0)|((((2>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+2])>>>0))<<8>>>0))>>>0)|(((3>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+3])>>>0)))>>>0;m=(((((((((4>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+4])>>>0))<<24>>>0)|((((5>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+5])>>>0))<<16>>>0))>>>0)|((((6>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+6])>>>0))<<8>>>0))>>>0)|(((7>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+7])>>>0)))>>>0;n=(((((((((8>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+8])>>>0))<<24>>>0)|((((9>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+9])>>>0))<<16>>>0))>>>0)|((((10>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+10])>>>0))<<8>>>0))>>>0)|(((11>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+11])>>>0)))>>>0;o=(((((((((12>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+12])>>>0))<<24>>>0)|((((13>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+13])>>>0))<<16>>>0))>>>0)|((((14>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+14])>>>0))<<8>>>0))>>>0)|(((15>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+15])>>>0)))>>>0;l=(l^((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])))>>>0;m=(m^((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])))>>>0;n=(n^((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])))>>>0;o=(o^((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])))>>>0;u=(t=a.$length/4,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"))-2>>0;v=4;w=0;while(true){if(!(w<u)){break;}p=((((((((x=v+0>>0,((x<0||x>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+x]))^(y=(((l>>>24>>>0)<<24>>>24)),((y<0||y>=U.length)?($throwRuntimeError(\"index out of range\"),undefined):U[y])))>>>0)^(z=(((o>>>16>>>0)<<24>>>24)),((z<0||z>=V.length)?($throwRuntimeError(\"index out of range\"),undefined):V[z])))>>>0)^(aa=(((n>>>8>>>0)<<24>>>24)),((aa<0||aa>=W.length)?($throwRuntimeError(\"index out of range\"),undefined):W[aa])))>>>0)^(ab=((m<<24>>>24)),((ab<0||ab>=X.length)?($throwRuntimeError(\"index out of range\"),undefined):X[ab])))>>>0;q=((((((((ac=v+1>>0,((ac<0||ac>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+ac]))^(ad=(((m>>>24>>>0)<<24>>>24)),((ad<0||ad>=U.length)?($throwRuntimeError(\"index out of range\"),undefined):U[ad])))>>>0)^(ae=(((l>>>16>>>0)<<24>>>24)),((ae<0||ae>=V.length)?($throwRuntimeError(\"index out of range\"),undefined):V[ae])))>>>0)^(af=(((o>>>8>>>0)<<24>>>24)),((af<0||af>=W.length)?($throwRuntimeError(\"index out of range\"),undefined):W[af])))>>>0)^(ag=((n<<24>>>24)),((ag<0||ag>=X.length)?($throwRuntimeError(\"index out of range\"),undefined):X[ag])))>>>0;r=((((((((ah=v+2>>0,((ah<0||ah>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+ah]))^(ai=(((n>>>24>>>0)<<24>>>24)),((ai<0||ai>=U.length)?($throwRuntimeError(\"index out of range\"),undefined):U[ai])))>>>0)^(aj=(((m>>>16>>>0)<<24>>>24)),((aj<0||aj>=V.length)?($throwRuntimeError(\"index out of range\"),undefined):V[aj])))>>>0)^(ak=(((l>>>8>>>0)<<24>>>24)),((ak<0||ak>=W.length)?($throwRuntimeError(\"index out of range\"),undefined):W[ak])))>>>0)^(al=((o<<24>>>24)),((al<0||al>=X.length)?($throwRuntimeError(\"index out of range\"),undefined):X[al])))>>>0;s=((((((((am=v+3>>0,((am<0||am>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+am]))^(an=(((o>>>24>>>0)<<24>>>24)),((an<0||an>=U.length)?($throwRuntimeError(\"index out of range\"),undefined):U[an])))>>>0)^(ao=(((n>>>16>>>0)<<24>>>24)),((ao<0||ao>=V.length)?($throwRuntimeError(\"index out of range\"),undefined):V[ao])))>>>0)^(ap=(((m>>>8>>>0)<<24>>>24)),((ap<0||ap>=W.length)?($throwRuntimeError(\"index out of range\"),undefined):W[ap])))>>>0)^(aq=((l<<24>>>24)),((aq<0||aq>=X.length)?($throwRuntimeError(\"index out of range\"),undefined):X[aq])))>>>0;v=v+(4)>>0;ar=p;as=q;at=r;au=s;l=ar;m=as;n=at;o=au;w=w+(1)>>0;}l=(((((((((av=p>>>24>>>0,((av<0||av>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[av]))>>>0))<<24>>>0)|((((aw=((s>>>16>>>0)&255)>>>0,((aw<0||aw>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[aw]))>>>0))<<16>>>0))>>>0)|((((ax=((r>>>8>>>0)&255)>>>0,((ax<0||ax>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[ax]))>>>0))<<8>>>0))>>>0)|(((ay=(q&255)>>>0,((ay<0||ay>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[ay]))>>>0)))>>>0;m=(((((((((az=q>>>24>>>0,((az<0||az>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[az]))>>>0))<<24>>>0)|((((ba=((p>>>16>>>0)&255)>>>0,((ba<0||ba>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[ba]))>>>0))<<16>>>0))>>>0)|((((bb=((s>>>8>>>0)&255)>>>0,((bb<0||bb>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bb]))>>>0))<<8>>>0))>>>0)|(((bc=(r&255)>>>0,((bc<0||bc>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bc]))>>>0)))>>>0;n=(((((((((bd=r>>>24>>>0,((bd<0||bd>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bd]))>>>0))<<24>>>0)|((((be=((q>>>16>>>0)&255)>>>0,((be<0||be>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[be]))>>>0))<<16>>>0))>>>0)|((((bf=((p>>>8>>>0)&255)>>>0,((bf<0||bf>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bf]))>>>0))<<8>>>0))>>>0)|(((bg=(s&255)>>>0,((bg<0||bg>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bg]))>>>0)))>>>0;o=(((((((((bh=s>>>24>>>0,((bh<0||bh>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bh]))>>>0))<<24>>>0)|((((bi=((r>>>16>>>0)&255)>>>0,((bi<0||bi>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bi]))>>>0))<<16>>>0))>>>0)|((((bj=((q>>>8>>>0)&255)>>>0,((bj<0||bj>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bj]))>>>0))<<8>>>0))>>>0)|(((bk=(p&255)>>>0,((bk<0||bk>=P.length)?($throwRuntimeError(\"index out of range\"),undefined):P[bk]))>>>0)))>>>0;l=(l^((bl=v+0>>0,((bl<0||bl>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bl]))))>>>0;m=(m^((bm=v+1>>0,((bm<0||bm>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bm]))))>>>0;n=(n^((bn=v+2>>0,((bn<0||bn>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bn]))))>>>0;o=(o^((bo=v+3>>0,((bo<0||bo>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+bo]))))>>>0;bp=(((l>>>24>>>0)<<24>>>24));bq=(((l>>>16>>>0)<<24>>>24));br=(((l>>>8>>>0)<<24>>>24));bs=((l<<24>>>24));(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]=bp);(1>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+1]=bq);(2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2]=br);(3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3]=bs);bt=(((m>>>24>>>0)<<24>>>24));bu=(((m>>>16>>>0)<<24>>>24));bv=(((m>>>8>>>0)<<24>>>24));bw=((m<<24>>>24));(4>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+4]=bt);(5>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+5]=bu);(6>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+6]=bv);(7>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+7]=bw);bx=(((n>>>24>>>0)<<24>>>24));by=(((n>>>16>>>0)<<24>>>24));bz=(((n>>>8>>>0)<<24>>>24));ca=((n<<24>>>24));(8>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+8]=bx);(9>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+9]=by);(10>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+10]=bz);(11>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+11]=ca);cb=(((o>>>24>>>0)<<24>>>24));cc=(((o>>>16>>>0)<<24>>>24));cd=(((o>>>8>>>0)<<24>>>24));ce=((o<<24>>>24));(12>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+12]=cb);(13>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+13]=cc);(14>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+14]=cd);(15>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+15]=ce);};E=function(a){var $ptr,a,b,c,d,e;return(((((((((b=a>>>24>>>0,((b<0||b>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[b]))>>>0))<<24>>>0)|((((c=((a>>>16>>>0)&255)>>>0,((c<0||c>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[c]))>>>0))<<16>>>0))>>>0)|((((d=((a>>>8>>>0)&255)>>>0,((d<0||d>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[d]))>>>0))<<8>>>0))>>>0)|(((e=(a&255)>>>0,((e<0||e>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[e]))>>>0)))>>>0;};F=function(a){var $ptr,a;return((a<<8>>>0)|(a>>>24>>>0))>>>0;};G=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=0;f=(e=a.$length/4,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"));d=0;while(true){if(!(d<f)){break;}((d<0||d>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+d]=((((((((((g=$imul(4,d),((g<0||g>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+g]))>>>0))<<24>>>0)|((((h=($imul(4,d))+1>>0,((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h]))>>>0))<<16>>>0))>>>0)|((((i=($imul(4,d))+2>>0,((i<0||i>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+i]))>>>0))<<8>>>0))>>>0)|(((j=($imul(4,d))+3>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]))>>>0)))>>>0));d=d+(1)>>0;}while(true){if(!(d<b.$length)){break;}l=(k=d-1>>0,((k<0||k>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+k]));if((m=d%f,m===m?m:$throwRuntimeError(\"integer divide by zero\"))===0){l=(E(F(l))^(((((o=(p=d/f,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"))-1>>0,((o<0||o>=N.length)?($throwRuntimeError(\"index out of range\"),undefined):N[o]))>>>0))<<24>>>0)))>>>0;}else if(f>6&&((n=d%f,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===4)){l=E(l);}((d<0||d>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+d]=(((q=d-f>>0,((q<0||q>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+q]))^l)>>>0));d=d+(1)>>0;}if(c===AC.nil){return;}r=b.$length;s=0;while(true){if(!(s<r)){break;}t=(r-s>>0)-4>>0;u=0;while(true){if(!(u<4)){break;}w=(v=t+u>>0,((v<0||v>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+v]));if(s>0&&(s+4>>0)<r){w=((((((x=(y=w>>>24>>>0,((y<0||y>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[y])),((x<0||x>=U.length)?($throwRuntimeError(\"index out of range\"),undefined):U[x]))^(z=(aa=((w>>>16>>>0)&255)>>>0,((aa<0||aa>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[aa])),((z<0||z>=V.length)?($throwRuntimeError(\"index out of range\"),undefined):V[z])))>>>0)^(ab=(ac=((w>>>8>>>0)&255)>>>0,((ac<0||ac>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[ac])),((ab<0||ab>=W.length)?($throwRuntimeError(\"index out of range\"),undefined):W[ab])))>>>0)^(ad=(ae=(w&255)>>>0,((ae<0||ae>=O.length)?($throwRuntimeError(\"index out of range\"),undefined):O[ae])),((ad<0||ad>=X.length)?($throwRuntimeError(\"index out of range\"),undefined):X[ad])))>>>0;}(af=s+u>>0,((af<0||af>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+af]=w));u=u+(1)>>0;}s=s+(4)>>0;}};I.prototype.Error=function(){var $ptr,a;a=this.$val;return\"crypto/aes: invalid key size \"+B.Itoa(((a>>0)));};$ptrType(I).prototype.Error=function(){return new I(this.$get()).Error();};J=function(a){var $ptr,a,b,c;b=a.$length;switch(0){default:c=b;if((c===(16))||(c===(24))||(c===(32))){break;}else{return[$ifaceNil,new I(((b>>0)))];}}return L(a);};$pkg.NewCipher=J;K=function(a){var $ptr,a,b,c;b=a.$length+28>>0;c=new H.ptr($makeSlice(AC,b),$makeSlice(AC,b));G(a,c.enc,c.dec);return[c,$ifaceNil];};H.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return 16;};H.prototype.BlockSize=function(){return this.$val.BlockSize();};H.ptr.prototype.Encrypt=function(a,b){var $ptr,a,b,c;c=this;if(b.$length<16){$panic(new $String(\"crypto/aes: input not full block\"));}if(a.$length<16){$panic(new $String(\"crypto/aes: output not full block\"));}C(c.enc,a,b);};H.prototype.Encrypt=function(a,b){return this.$val.Encrypt(a,b);};H.ptr.prototype.Decrypt=function(a,b){var $ptr,a,b,c;c=this;if(b.$length<16){$panic(new $String(\"crypto/aes: input not full block\"));}if(a.$length<16){$panic(new $String(\"crypto/aes: output not full block\"));}D(c.dec,a,b);};H.prototype.Decrypt=function(a,b){return this.$val.Decrypt(a,b);};L=function(a){var $ptr,a;return K(a);};AE.methods=[{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encrypt\",name:\"Encrypt\",pkg:\"\",typ:$funcType([AD,AD],[],false)},{prop:\"Decrypt\",name:\"Decrypt\",pkg:\"\",typ:$funcType([AD,AD],[],false)}];I.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];H.init(\"crypto/aes\",[{prop:\"enc\",name:\"enc\",exported:false,typ:AC,tag:\"\"},{prop:\"dec\",name:\"dec\",exported:false,typ:AC,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}N=$toNativeArray($kindUint8,[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47]);O=$toNativeArray($kindUint8,[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]);P=$toNativeArray($kindUint8,[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]);Q=$toNativeArray($kindUint32,[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986]);R=$toNativeArray($kindUint32,[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766]);S=$toNativeArray($kindUint32,[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126]);T=$toNativeArray($kindUint32,[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436]);U=$toNativeArray($kindUint32,[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890]);V=$toNativeArray($kindUint32,[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935]);W=$toNativeArray($kindUint32,[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239000,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600]);X=$toNativeArray($kindUint32,[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998000,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/des\"]=(function(){var $pkg={},$init,B,A,C,O,P,R,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,H,W,X,Y,Z,AA,D,E,F,G,I,J,K,L,M,N,S;B=$packages[\"crypto/cipher\"];A=$packages[\"encoding/binary\"];C=$packages[\"strconv\"];O=$pkg.KeySizeError=$newType(4,$kindInt,\"des.KeySizeError\",true,\"crypto/des\",true,null);P=$pkg.desCipher=$newType(0,$kindStruct,\"des.desCipher\",true,\"crypto/des\",false,function(subkeys_){this.$val=this;if(arguments.length===0){this.subkeys=AH.zero();return;}this.subkeys=subkeys_;});R=$pkg.tripleDESCipher=$newType(0,$kindStruct,\"des.tripleDESCipher\",true,\"crypto/des\",false,function(cipher1_,cipher2_,cipher3_){this.$val=this;if(arguments.length===0){this.cipher1=new P.ptr(AH.zero());this.cipher2=new P.ptr(AH.zero());this.cipher3=new P.ptr(AH.zero());return;}this.cipher1=cipher1_;this.cipher2=cipher2_;this.cipher3=cipher3_;});AB=$arrayType($Uint32,64);AC=$arrayType(AB,8);AD=$arrayType($Uint8,16);AE=$arrayType(AD,4);AF=$sliceType($Uint8);AG=$sliceType($Uint32);AH=$arrayType($Uint64,16);AI=$sliceType($Uint64);AJ=$ptrType(P);AK=$ptrType(R);D=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=$clone(A.BigEndian,A.bigEndian).Uint64(c);e=L(e);f=(($shiftRightUint64(e,32).$low>>>0));g=((e.$low>>>0));h=f;i=g;j=new $Uint64(0,0);k=0;while(true){if(!(k<16)){break;}if(d){j=(l=15-k>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));}else{j=((k<0||k>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+k]);}m=i;n=(h^G(i,j))>>>0;h=m;i=n;k=k+(1)>>0;}q=(o=$shiftLeft64((new $Uint64(0,i)),32),p=(new $Uint64(0,h)),new $Uint64(o.$high|p.$high,(o.$low|p.$low)>>>0));$clone(A.BigEndian,A.bigEndian).PutUint64(b,M(q));};E=function(a,b,c){var $ptr,a,b,c;D(a,b,c,false);};F=function(a,b,c){var $ptr,a,b,c;D(a,b,c,true);};G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;c=0;e=(d=K(a),new $Uint64(b.$high^d.$high,(b.$low^d.$low)>>>0));f=0;g=0;while(true){if(!(g<8)){break;}h=((($shiftRightUint64(e,42).$low<<24>>>24))&63)>>>0;e=$shiftLeft64(e,(6));i=((((h&1)>>>0))|(((((h&32)>>>0))>>>4<<24>>>24)))>>>0;j=(((h>>>1<<24>>>24))&15)>>>0;f=(f^((k=((g<0||g>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[g]),l=(16*i<<24>>>24)+j<<24>>>24,((l<0||l>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[l]))))>>>0;g=g+(1)<<24>>>24;}c=f;return c;};I=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j;c=new $Uint64(0,0);d=b;e=0;while(true){if(!(e<d.$length)){break;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=(h=$shiftRightUint64(a,g),new $Uint64(h.$high&0,(h.$low&1)>>>0));c=(j=$shiftLeft64(i,(((((b.$length-1>>0))-f>>0)>>>0))),new $Uint64(c.$high|j.$high,(c.$low|j.$low)>>>0));e++;}return c;};J=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=Z;b=0;while(true){if(!(b<8)){break;}c=b;d=0;while(true){if(!(d<4)){break;}e=0;while(true){if(!(e<16)){break;}h=$shiftLeft64((new $Uint64(0,(f=(g=((c<0||c>=Z.length)?($throwRuntimeError(\"index out of range\"),undefined):Z[c]),((d<0||d>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[d])),((e<0||e>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[e])))),((4*((7-((c>>>0))>>>0))>>>0)));h=I(h,new AF(W));(i=((c<0||c>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[c]),j=($imul(16,d))+e>>0,((j<0||j>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[j]=((h.$low>>>0))));e=e+(1)>>0;}d=d+(1)>>0;}b++;}};K=function(a){var $ptr,a,b,c,d,e;b=new $Uint64(0,0);a=(((a<<5>>>0))|((a>>>27>>>0)))>>>0;c=0;while(true){if(!(c<8)){break;}b=$shiftLeft64(b,(6));b=(d=(e=(new $Uint64(0,a)),new $Uint64(e.$high&0,(e.$low&63)>>>0)),new $Uint64(b.$high|d.$high,(b.$low|d.$low)>>>0));a=(((a<<4>>>0))|((a>>>28>>>0)))>>>0;c=c+(1)>>0;}return b;};L=function(a){var $ptr,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=$shiftRightUint64(a,48);c=$shiftLeft64(a,48);a=(d=(e=(f=new $Uint64(b.$high^c.$high,(b.$low^c.$low)>>>0),g=$shiftLeft64(b,48),new $Uint64(f.$high^g.$high,(f.$low^g.$low)>>>0)),h=$shiftRightUint64(c,48),new $Uint64(e.$high^h.$high,(e.$low^h.$low)>>>0)),new $Uint64(a.$high^d.$high,(a.$low^d.$low)>>>0));b=(i=$shiftRightUint64(a,32),new $Uint64(i.$high&0,(i.$low&16711935)>>>0));c=new $Uint64(a.$high&0,(a.$low&4278255360)>>>0);a=(j=(k=(l=(m=$shiftLeft64(b,32),new $Uint64(m.$high^c.$high,(m.$low^c.$low)>>>0)),n=$shiftLeft64(b,8),new $Uint64(l.$high^n.$high,(l.$low^n.$low)>>>0)),o=$shiftLeft64(c,24),new $Uint64(k.$high^o.$high,(k.$low^o.$low)>>>0)),new $Uint64(a.$high^j.$high,(a.$low^j.$low)>>>0));b=new $Uint64(a.$high&252641280,(a.$low&252641280)>>>0);c=new $Uint64(a.$high&61680,(a.$low&61680)>>>0);a=(p=(q=(r=new $Uint64(b.$high^c.$high,(b.$low^c.$low)>>>0),s=$shiftRightUint64(b,12),new $Uint64(r.$high^s.$high,(r.$low^s.$low)>>>0)),t=$shiftLeft64(c,12),new $Uint64(q.$high^t.$high,(q.$low^t.$low)>>>0)),new $Uint64(a.$high^p.$high,(a.$low^p.$low)>>>0));b=new $Uint64(a.$high&855651072,(a.$low&855651072)>>>0);c=new $Uint64(a.$high&13369548,(a.$low&13369548)>>>0);a=(u=(v=(w=new $Uint64(b.$high^c.$high,(b.$low^c.$low)>>>0),x=$shiftRightUint64(b,6),new $Uint64(w.$high^x.$high,(w.$low^x.$low)>>>0)),y=$shiftLeft64(c,6),new $Uint64(v.$high^y.$high,(v.$low^y.$low)>>>0)),new $Uint64(a.$high^u.$high,(a.$low^u.$low)>>>0));b=new $Uint64(a.$high&2863311530,(a.$low&1431655765)>>>0);a=(z=(aa=(ab=$shiftRightUint64(b,33),new $Uint64(b.$high^ab.$high,(b.$low^ab.$low)>>>0)),ac=$shiftLeft64(b,33),new $Uint64(aa.$high^ac.$high,(aa.$low^ac.$low)>>>0)),new $Uint64(a.$high^z.$high,(a.$low^z.$low)>>>0));return a;};M=function(a){var $ptr,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=new $Uint64(a.$high&2863311530,(a.$low&1431655765)>>>0);a=(c=(d=(e=$shiftRightUint64(b,33),new $Uint64(b.$high^e.$high,(b.$low^e.$low)>>>0)),f=$shiftLeft64(b,33),new $Uint64(d.$high^f.$high,(d.$low^f.$low)>>>0)),new $Uint64(a.$high^c.$high,(a.$low^c.$low)>>>0));b=new $Uint64(a.$high&855651072,(a.$low&855651072)>>>0);g=new $Uint64(a.$high&13369548,(a.$low&13369548)>>>0);a=(h=(i=(j=new $Uint64(b.$high^g.$high,(b.$low^g.$low)>>>0),k=$shiftRightUint64(b,6),new $Uint64(j.$high^k.$high,(j.$low^k.$low)>>>0)),l=$shiftLeft64(g,6),new $Uint64(i.$high^l.$high,(i.$low^l.$low)>>>0)),new $Uint64(a.$high^h.$high,(a.$low^h.$low)>>>0));b=new $Uint64(a.$high&252641280,(a.$low&252641280)>>>0);g=new $Uint64(a.$high&61680,(a.$low&61680)>>>0);a=(m=(n=(o=new $Uint64(b.$high^g.$high,(b.$low^g.$low)>>>0),p=$shiftRightUint64(b,12),new $Uint64(o.$high^p.$high,(o.$low^p.$low)>>>0)),q=$shiftLeft64(g,12),new $Uint64(n.$high^q.$high,(n.$low^q.$low)>>>0)),new $Uint64(a.$high^m.$high,(a.$low^m.$low)>>>0));b=(r=$shiftRightUint64(a,32),new $Uint64(r.$high&0,(r.$low&16711935)>>>0));g=new $Uint64(a.$high&0,(a.$low&4278255360)>>>0);a=(s=(t=(u=(v=$shiftLeft64(b,32),new $Uint64(v.$high^g.$high,(v.$low^g.$low)>>>0)),w=$shiftLeft64(b,8),new $Uint64(u.$high^w.$high,(u.$low^w.$low)>>>0)),x=$shiftLeft64(g,24),new $Uint64(t.$high^x.$high,(t.$low^x.$low)>>>0)),new $Uint64(a.$high^s.$high,(a.$low^s.$low)>>>0));b=$shiftRightUint64(a,48);g=$shiftLeft64(a,48);a=(y=(z=(aa=new $Uint64(b.$high^g.$high,(b.$low^g.$low)>>>0),ab=$shiftLeft64(b,48),new $Uint64(aa.$high^ab.$high,(aa.$low^ab.$low)>>>0)),ac=$shiftRightUint64(g,48),new $Uint64(z.$high^ac.$high,(z.$low^ac.$low)>>>0)),new $Uint64(a.$high^y.$high,(a.$low^y.$low)>>>0));return a;};N=function(a){var $ptr,a,b,c,d,e,f,g,h;b=AG.nil;b=$makeSlice(AG,16);c=a;d=0;while(true){if(!(d<16)){break;}f=(((e=((4+((d<0||d>=AA.length)?($throwRuntimeError(\"index out of range\"),undefined):AA[d])<<24>>>24)),e<32?(c<<e):0)>>>0))>>>4>>>0;h=(g=((32-((d<0||d>=AA.length)?($throwRuntimeError(\"index out of range\"),undefined):AA[d])<<24>>>24)),g<32?(((c<<4>>>0))>>>g):0)>>>0;((d<0||d>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+d]=((f|h)>>>0));c=((d<0||d>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+d]);d=d+(1)>>0;}return b;};P.ptr.prototype.generateSubkeys=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=this;c=$clone(A.BigEndian,A.bigEndian).Uint64(a);d=I(c,new AF(X));e=N((($shiftRightUint64(d,28).$low>>>0)));f=N((($shiftLeft64(d,4).$low>>>0))>>>4>>>0);g=0;while(true){if(!(g<16)){break;}j=(h=$shiftLeft64((new $Uint64(0,((g<0||g>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+g]))),28),i=(new $Uint64(0,((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]))),new $Uint64(h.$high|i.$high,(h.$low|i.$low)>>>0));(k=b.subkeys,((g<0||g>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[g]=I(j,new AF(Y))));g=g+(1)>>0;}};P.prototype.generateSubkeys=function(a){return this.$val.generateSubkeys(a);};O.prototype.Error=function(){var $ptr,a;a=this.$val;return\"crypto/des: invalid key size \"+C.Itoa(((a>>0)));};$ptrType(O).prototype.Error=function(){return new O(this.$get()).Error();};P.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return 8;};P.prototype.BlockSize=function(){return this.$val.BlockSize();};P.ptr.prototype.Encrypt=function(a,b){var $ptr,a,b,c;c=this;E(new AI(c.subkeys),a,b);};P.prototype.Encrypt=function(a,b){return this.$val.Encrypt(a,b);};P.ptr.prototype.Decrypt=function(a,b){var $ptr,a,b,c;c=this;F(new AI(c.subkeys),a,b);};P.prototype.Decrypt=function(a,b){return this.$val.Decrypt(a,b);};S=function(a){var $ptr,a,b;if(!((a.$length===24))){return[$ifaceNil,new O(((a.$length>>0)))];}b=new R.ptr(new P.ptr(AH.zero()),new P.ptr(AH.zero()),new P.ptr(AH.zero()));b.cipher1.generateSubkeys($subslice(a,0,8));b.cipher2.generateSubkeys($subslice(a,8,16));b.cipher3.generateSubkeys($subslice(a,16));return[b,$ifaceNil];};$pkg.NewTripleDESCipher=S;R.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return 8;};R.prototype.BlockSize=function(){return this.$val.BlockSize();};R.ptr.prototype.Encrypt=function(a,b){var $ptr,a,b,c;c=this;c.cipher1.Encrypt(a,b);c.cipher2.Decrypt(a,a);c.cipher3.Encrypt(a,a);};R.prototype.Encrypt=function(a,b){return this.$val.Encrypt(a,b);};R.ptr.prototype.Decrypt=function(a,b){var $ptr,a,b,c;c=this;c.cipher3.Decrypt(a,b);c.cipher2.Encrypt(a,a);c.cipher1.Decrypt(a,a);};R.prototype.Decrypt=function(a,b){return this.$val.Decrypt(a,b);};O.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AJ.methods=[{prop:\"generateSubkeys\",name:\"generateSubkeys\",pkg:\"crypto/des\",typ:$funcType([AF],[],false)},{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encrypt\",name:\"Encrypt\",pkg:\"\",typ:$funcType([AF,AF],[],false)},{prop:\"Decrypt\",name:\"Decrypt\",pkg:\"\",typ:$funcType([AF,AF],[],false)}];AK.methods=[{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encrypt\",name:\"Encrypt\",pkg:\"\",typ:$funcType([AF,AF],[],false)},{prop:\"Decrypt\",name:\"Decrypt\",pkg:\"\",typ:$funcType([AF,AF],[],false)}];P.init(\"crypto/des\",[{prop:\"subkeys\",name:\"subkeys\",exported:false,typ:AH,tag:\"\"}]);R.init(\"crypto/des\",[{prop:\"cipher1\",name:\"cipher1\",exported:false,typ:P,tag:\"\"},{prop:\"cipher2\",name:\"cipher2\",exported:false,typ:P,tag:\"\"},{prop:\"cipher3\",name:\"cipher3\",exported:false,typ:P,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}H=AC.zero();W=$toNativeArray($kindUint8,[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7]);X=$toNativeArray($kindUint8,[7,15,23,31,39,47,55,63,6,14,22,30,38,46,54,62,5,13,21,29,37,45,53,61,4,12,20,28,1,9,17,25,33,41,49,57,2,10,18,26,34,42,50,58,3,11,19,27,35,43,51,59,36,44,52,60]);Y=$toNativeArray($kindUint8,[42,39,45,32,55,51,53,28,41,50,35,46,33,37,44,52,30,48,40,49,29,36,43,54,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24]);Z=$toNativeArray($kindArray,[$toNativeArray($kindArray,[$toNativeArray($kindUint8,[14,4,13,1,2,15,11,8,3,10,6,12,5,9,0,7]),$toNativeArray($kindUint8,[0,15,7,4,14,2,13,1,10,6,12,11,9,5,3,8]),$toNativeArray($kindUint8,[4,1,14,8,13,6,2,11,15,12,9,7,3,10,5,0]),$toNativeArray($kindUint8,[15,12,8,2,4,9,1,7,5,11,3,14,10,0,6,13])]),$toNativeArray($kindArray,[$toNativeArray($kindUint8,[15,1,8,14,6,11,3,4,9,7,2,13,12,0,5,10]),$toNativeArray($kindUint8,[3,13,4,7,15,2,8,14,12,0,1,10,6,9,11,5]),$toNativeArray($kindUint8,[0,14,7,11,10,4,13,1,5,8,12,6,9,3,2,15]),$toNativeArray($kindUint8,[13,8,10,1,3,15,4,2,11,6,7,12,0,5,14,9])]),$toNativeArray($kindArray,[$toNativeArray($kindUint8,[10,0,9,14,6,3,15,5,1,13,12,7,11,4,2,8]),$toNativeArray($kindUint8,[13,7,0,9,3,4,6,10,2,8,5,14,12,11,15,1]),$toNativeArray($kindUint8,[13,6,4,9,8,15,3,0,11,1,2,12,5,10,14,7]),$toNativeArray($kindUint8,[1,10,13,0,6,9,8,7,4,15,14,3,11,5,2,12])]),$toNativeArray($kindArray,[$toNativeArray($kindUint8,[7,13,14,3,0,6,9,10,1,2,8,5,11,12,4,15]),$toNativeArray($kindUint8,[13,8,11,5,6,15,0,3,4,7,2,12,1,10,14,9]),$toNativeArray($kindUint8,[10,6,9,0,12,11,7,13,15,1,3,14,5,2,8,4]),$toNativeArray($kindUint8,[3,15,0,6,10,1,13,8,9,4,5,11,12,7,2,14])]),$toNativeArray($kindArray,[$toNativeArray($kindUint8,[2,12,4,1,7,10,11,6,8,5,3,15,13,0,14,9]),$toNativeArray($kindUint8,[14,11,2,12,4,7,13,1,5,0,15,10,3,9,8,6]),$toNativeArray($kindUint8,[4,2,1,11,10,13,7,8,15,9,12,5,6,3,0,14]),$toNativeArray($kindUint8,[11,8,12,7,1,14,2,13,6,15,0,9,10,4,5,3])]),$toNativeArray($kindArray,[$toNativeArray($kindUint8,[12,1,10,15,9,2,6,8,0,13,3,4,14,7,5,11]),$toNativeArray($kindUint8,[10,15,4,2,7,12,9,5,6,1,13,14,0,11,3,8]),$toNativeArray($kindUint8,[9,14,15,5,2,8,12,3,7,0,4,10,1,13,11,6]),$toNativeArray($kindUint8,[4,3,2,12,9,5,15,10,11,14,1,7,6,0,8,13])]),$toNativeArray($kindArray,[$toNativeArray($kindUint8,[4,11,2,14,15,0,8,13,3,12,9,7,5,10,6,1]),$toNativeArray($kindUint8,[13,0,11,7,4,9,1,10,14,3,5,12,2,15,8,6]),$toNativeArray($kindUint8,[1,4,11,13,12,3,7,14,10,15,6,8,0,5,9,2]),$toNativeArray($kindUint8,[6,11,13,8,1,4,10,7,9,5,0,15,14,2,3,12])]),$toNativeArray($kindArray,[$toNativeArray($kindUint8,[13,2,8,4,6,15,11,1,10,9,3,14,5,0,12,7]),$toNativeArray($kindUint8,[1,15,13,8,10,3,7,4,12,5,6,11,0,14,9,2]),$toNativeArray($kindUint8,[7,11,4,1,9,12,14,2,0,6,10,13,15,3,5,8]),$toNativeArray($kindUint8,[2,1,14,7,4,10,8,13,15,12,9,0,3,5,6,11])])]);AA=$toNativeArray($kindUint8,[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1]);J();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/elliptic\"]=(function(){var $pkg={},$init,A,B,C,D,E,U,X,AT,CF,CG,CH,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,G,K,L,M,T,Y,AB,AE,AU,AV,AY,CI,BC,BG,CD,F,H,I,J,N,O,P,Q,R,S,V,W,Z,AA,AC,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AW,AX,BD,BE,BF,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CB,CC,CE;A=$packages[\"io\"];B=$packages[\"math/big\"];C=$packages[\"sync\"];D=$pkg.Curve=$newType(8,$kindInterface,\"elliptic.Curve\",true,\"crypto/elliptic\",true,null);E=$pkg.CurveParams=$newType(0,$kindStruct,\"elliptic.CurveParams\",true,\"crypto/elliptic\",true,function(P_,N_,B_,Gx_,Gy_,BitSize_,Name_){this.$val=this;if(arguments.length===0){this.P=CH.nil;this.N=CH.nil;this.B=CH.nil;this.Gx=CH.nil;this.Gy=CH.nil;this.BitSize=0;this.Name=\"\";return;}this.P=P_;this.N=N_;this.B=B_;this.Gx=Gx_;this.Gy=Gy_;this.BitSize=BitSize_;this.Name=Name_;});U=$pkg.p224Curve=$newType(0,$kindStruct,\"elliptic.p224Curve\",true,\"crypto/elliptic\",false,function(CurveParams_,gx_,gy_,b_){this.$val=this;if(arguments.length===0){this.CurveParams=CF.nil;this.gx=CG.zero();this.gy=CG.zero();this.b=CG.zero();return;}this.CurveParams=CurveParams_;this.gx=gx_;this.gy=gy_;this.b=b_;});X=$pkg.p224FieldElement=$newType(32,$kindArray,\"elliptic.p224FieldElement\",true,\"crypto/elliptic\",false,null);AT=$pkg.p256Curve=$newType(0,$kindStruct,\"elliptic.p256Curve\",true,\"crypto/elliptic\",false,function(CurveParams_){this.$val=this;if(arguments.length===0){this.CurveParams=CF.nil;return;}this.CurveParams=CurveParams_;});CF=$ptrType(E);CG=$arrayType($Uint32,8);CH=$ptrType(B.Int);CJ=$sliceType($Uint8);CK=$sliceType($Uint32);CL=$arrayType($Uint64,15);CM=$arrayType($Uint8,28);CN=$arrayType($Uint8,32);CO=$arrayType($Uint32,9);CP=$arrayType($Uint32,18);CQ=$arrayType($Uint64,17);CR=$arrayType(CO,3);CS=$arrayType(CR,16);E.ptr.prototype.Params=function(){var $ptr,a;a=this;return a;};E.prototype.Params=function(){return this.$val.Params();};E.ptr.prototype.IsOnCurve=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=new B.Int.ptr(false,B.nat.nil).Mul(b,b);e=d.Mod(d,c.P);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=new B.Int.ptr(false,B.nat.nil).Mul(a,a);f.Mul(f,a);g=new B.Int.ptr(false,B.nat.nil).Lsh(a,1);g.Add(g,a);f.Sub(f,g);f.Add(f,c.B);h=f.Mod(f,c.P);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return f.Cmp(d)===0;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.IsOnCurve};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.IsOnCurve=function(a,b){return this.$val.IsOnCurve(a,b);};F=function(a,b){var $ptr,a,b,c;c=new B.Int.ptr(false,B.nat.nil);if(!((a.Sign()===0))||!((b.Sign()===0))){c.SetInt64(new $Int64(0,1));}return c;};E.ptr.prototype.affineFromJacobian=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=CH.nil;e=CH.nil;f=this;if(c.Sign()===0){g=new B.Int.ptr(false,B.nat.nil);h=new B.Int.ptr(false,B.nat.nil);d=g;e=h;$s=-1;return[d,e];}i=new B.Int.ptr(false,B.nat.nil).ModInverse(c,f.P);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=new B.Int.ptr(false,B.nat.nil).Mul(j,j);d=new B.Int.ptr(false,B.nat.nil).Mul(a,k);l=d.Mod(d,f.P);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;k.Mul(k,j);e=new B.Int.ptr(false,B.nat.nil).Mul(b,k);m=e.Mod(e,f.P);$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.affineFromJacobian};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.affineFromJacobian=function(a,b,c){return this.$val.affineFromJacobian(a,b,c);};E.ptr.prototype.Add=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=F(a,b);g=F(c,d);i=e.addJacobian(a,b,f,c,d,g);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=e.affineFromJacobian(h[0],h[1],h[2]);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Add};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Add=function(a,b,c,d){return this.$val.Add(a,b,c,d);};E.ptr.prototype.addJacobian=function(a,b,c,d,e,f){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=new B.Int.ptr(false,B.nat.nil);i=new B.Int.ptr(false,B.nat.nil);j=new B.Int.ptr(false,B.nat.nil);k=h;l=i;m=j;if(c.Sign()===0){k.Set(d);l.Set(e);m.Set(f);$s=-1;return[k,l,m];}if(f.Sign()===0){k.Set(a);l.Set(b);m.Set(c);$s=-1;return[k,l,m];}n=new B.Int.ptr(false,B.nat.nil).Mul(c,c);o=n.Mod(n,g.P);$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=new B.Int.ptr(false,B.nat.nil).Mul(f,f);q=p.Mod(p,g.P);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=new B.Int.ptr(false,B.nat.nil).Mul(a,p);s=r.Mod(r,g.P);$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=new B.Int.ptr(false,B.nat.nil).Mul(d,n);u=t.Mod(t,g.P);$s=4;case 4:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=new B.Int.ptr(false,B.nat.nil).Sub(t,r);w=v.Sign()===0;if(v.Sign()===-1){v.Add(v,g.P);}x=new B.Int.ptr(false,B.nat.nil).Lsh(v,1);x.Mul(x,x);y=new B.Int.ptr(false,B.nat.nil).Mul(v,x);z=new B.Int.ptr(false,B.nat.nil).Mul(b,f);z.Mul(z,p);aa=z.Mod(z,g.P);$s=5;case 5:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;ab=new B.Int.ptr(false,B.nat.nil).Mul(e,c);ab.Mul(ab,n);ac=ab.Mod(ab,g.P);$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;ad=new B.Int.ptr(false,B.nat.nil).Sub(ab,z);if(ad.Sign()===-1){ad.Add(ad,g.P);}ae=ad.Sign()===0;if(w&&ae){$s=7;continue;}$s=8;continue;case 7:af=g.doubleJacobian(a,b,c);$s=9;case 9:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$s=-1;return af;case 8:ad.Lsh(ad,1);ag=new B.Int.ptr(false,B.nat.nil).Mul(r,x);k.Set(ad);k.Mul(k,k);k.Sub(k,y);k.Sub(k,ag);k.Sub(k,ag);ah=k.Mod(k,g.P);$s=10;case 10:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;l.Set(ad);ag.Sub(ag,k);l.Mul(l,ag);z.Mul(z,y);z.Lsh(z,1);l.Sub(l,z);ai=l.Mod(l,g.P);$s=11;case 11:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;m.Add(c,f);m.Mul(m,m);m.Sub(m,n);m.Sub(m,p);m.Mul(m,v);aj=m.Mod(m,g.P);$s=12;case 12:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.addJacobian};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.addJacobian=function(a,b,c,d,e,f){return this.$val.addJacobian(a,b,c,d,e,f);};E.ptr.prototype.Double=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=F(a,b);f=c.doubleJacobian(a,b,d);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=c.affineFromJacobian(e[0],e[1],e[2]);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Double};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Double=function(a,b){return this.$val.Double(a,b);};E.ptr.prototype.doubleJacobian=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=new B.Int.ptr(false,B.nat.nil).Mul(c,c);f=e.Mod(e,d.P);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;g=new B.Int.ptr(false,B.nat.nil).Mul(b,b);h=g.Mod(g,d.P);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=new B.Int.ptr(false,B.nat.nil).Sub(a,e);if(i.Sign()===-1){i.Add(i,d.P);}j=new B.Int.ptr(false,B.nat.nil).Add(a,e);i.Mul(i,j);j.Set(i);i.Lsh(i,1);i.Add(i,j);k=j.Mul(a,g);l=new B.Int.ptr(false,B.nat.nil).Mul(i,i);m=new B.Int.ptr(false,B.nat.nil).Lsh(k,3);l.Sub(l,m);while(true){if(!(l.Sign()===-1)){break;}l.Add(l,d.P);}n=l.Mod(l,d.P);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=new B.Int.ptr(false,B.nat.nil).Add(b,c);o.Mul(o,o);o.Sub(o,g);if(o.Sign()===-1){o.Add(o,d.P);}o.Sub(o,e);if(o.Sign()===-1){o.Add(o,d.P);}p=o.Mod(o,d.P);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;k.Lsh(k,2);k.Sub(k,l);if(k.Sign()===-1){k.Add(k,d.P);}q=i.Mul(i,k);g.Mul(g,g);g.Lsh(g,3);r=g.Mod(g,d.P);$s=5;case 5:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;q.Sub(q,g);if(q.Sign()===-1){q.Add(q,d.P);}s=q.Mod(q,d.P);$s=6;case 6:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return[l,q,o];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.doubleJacobian};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.doubleJacobian=function(a,b,c){return this.$val.doubleJacobian(a,b,c);};E.ptr.prototype.ScalarMult=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=new B.Int.ptr(false,B.nat.nil).SetInt64(new $Int64(0,1));f=new B.Int.ptr(false,B.nat.nil);g=new B.Int.ptr(false,B.nat.nil);h=new B.Int.ptr(false,B.nat.nil);i=f;j=g;k=h;l=c;m=0;case 1:if(!(m<l.$length)){$s=2;continue;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);o=0;case 3:if(!(o<8)){$s=4;continue;}q=d.doubleJacobian(i,j,k);$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;i=p[0];j=p[1];k=p[2];if(((n&128)>>>0)===128){$s=6;continue;}$s=7;continue;case 6:s=d.addJacobian(a,b,e,i,j,k);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;i=r[0];j=r[1];k=r[2];case 7:n=(t=(1),t<32?(n<<t):0)<<24>>>24;o=o+(1)>>0;$s=3;continue;case 4:m++;$s=1;continue;case 2:u=d.affineFromJacobian(i,j,k);$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return u;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ScalarMult};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ScalarMult=function(a,b,c){return this.$val.ScalarMult(a,b,c);};E.ptr.prototype.ScalarBaseMult=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.ScalarMult(b.Gx,b.Gy,a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.ScalarBaseMult};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.ScalarBaseMult=function(a){return this.$val.ScalarBaseMult(a);};H=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=CJ.nil;d=CH.nil;e=CH.nil;f=$ifaceNil;g=a.Params();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.N;i=h.BitLen();j=((i+7>>0))>>3>>0;c=$makeSlice(CJ,j);case 2:if(!(d===CH.nil)){$s=3;continue;}l=A.ReadFull(b,c);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[c,d,e,f];}(0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0]=(((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])&((m=(n=i%8,n===n?n:$throwRuntimeError(\"integer divide by zero\")),((m<0||m>=G.$length)?($throwRuntimeError(\"index out of range\"),undefined):G.$array[G.$offset+m]))))>>>0));(1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1]=(((1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1])^(66))<<24>>>24));if(new B.Int.ptr(false,B.nat.nil).SetBytes(c).Cmp(h)>=0){$s=5;continue;}$s=6;continue;case 5:$s=2;continue;case 6:p=a.ScalarBaseMult(c);$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;d=o[0];e=o[1];$s=2;continue;case 3:$s=-1;return[c,d,e,f];}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};$pkg.GenerateKey=H;I=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=a.Params();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=((d.BitSize+7>>0))>>3>>0;f=$makeSlice(CJ,(1+($imul(2,e))>>0));(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=4);g=b.Bytes();$copySlice($subslice(f,((1+e>>0)-g.$length>>0)),g);h=c.Bytes();$copySlice($subslice(f,((1+($imul(2,e))>>0)-h.$length>>0)),h);$s=-1;return f;}return;}if($f===undefined){$f={$blk:I};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Marshal=I;J=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=CH.nil;d=CH.nil;e=a.Params();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=((e.BitSize+7>>0))>>3>>0;if(!((b.$length===(1+($imul(2,f))>>0)))){$s=-1;return[c,d];}if(!(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])===4))){$s=-1;return[c,d];}c=new B.Int.ptr(false,B.nat.nil).SetBytes($subslice(b,1,(1+f>>0)));d=new B.Int.ptr(false,B.nat.nil).SetBytes($subslice(b,(1+f>>0)));g=a.IsOnCurve(c,d);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!g){$s=2;continue;}$s=3;continue;case 2:h=CH.nil;i=CH.nil;c=h;d=i;case 3:$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Unmarshal=J;N=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=V();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AW();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:N};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};O=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:L=new E.ptr(CH.nil,CH.nil,CH.nil,CH.nil,CH.nil,0,\"P-384\");b=new B.Int.ptr(false,B.nat.nil).SetString(\"39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319\",10);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a=b;L.P=a[0];d=new B.Int.ptr(false,B.nat.nil).SetString(\"39402006196394479212279040100143613805079739270465446667946905279627659399113263569398956308152294913554433653942643\",10);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;L.N=c[0];f=new B.Int.ptr(false,B.nat.nil).SetString(\"b3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef\",16);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;L.B=e[0];h=new B.Int.ptr(false,B.nat.nil).SetString(\"aa87ca22be8b05378eb1c71ef320ad746e1d3b628ba79b9859f741e082542a385502f25dbf55296c3a545e3872760ab7\",16);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;L.Gx=g[0];j=new B.Int.ptr(false,B.nat.nil).SetString(\"3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f\",16);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;L.Gy=i[0];L.BitSize=384;$s=-1;return;}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:M=new E.ptr(CH.nil,CH.nil,CH.nil,CH.nil,CH.nil,0,\"P-521\");b=new B.Int.ptr(false,B.nat.nil).SetString(\"6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151\",10);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a=b;M.P=a[0];d=new B.Int.ptr(false,B.nat.nil).SetString(\"6864797660130609714981900799081393217269435300143305409394463459185543183397655394245057746333217197532963996371363321113864768612440380340372808892707005449\",10);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;M.N=c[0];f=new B.Int.ptr(false,B.nat.nil).SetString(\"051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00\",16);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;M.B=e[0];h=new B.Int.ptr(false,B.nat.nil).SetString(\"c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66\",16);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;M.Gx=g[0];j=new B.Int.ptr(false,B.nat.nil).SetString(\"11839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650\",16);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;M.Gy=i[0];M.BitSize=521;$s=-1;return;}return;}if($f===undefined){$f={$blk:P};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};Q=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=K.Do(N);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return new CD.constructor.elem(CD);}return;}if($f===undefined){$f={$blk:Q};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};$pkg.P256=Q;R=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=K.Do(N);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return L;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};$pkg.P384=R;S=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=K.Do(N);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return M;}return;}if($f===undefined){$f={$blk:S};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};$pkg.P521=S;V=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:T.CurveParams=new E.ptr(CH.nil,CH.nil,CH.nil,CH.nil,CH.nil,0,\"P-224\");b=new B.Int.ptr(false,B.nat.nil).SetString(\"26959946667150639794667015087019630673557916260026308143510066298881\",10);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a=b;T.CurveParams.P=a[0];d=new B.Int.ptr(false,B.nat.nil).SetString(\"26959946667150639794667015087019625940457807714424391721682722368061\",10);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;T.CurveParams.N=c[0];f=new B.Int.ptr(false,B.nat.nil).SetString(\"b4050a850c04b3abf54132565044b0b7d7bfd8ba270b39432355ffb4\",16);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;T.CurveParams.B=e[0];h=new B.Int.ptr(false,B.nat.nil).SetString(\"b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21\",16);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;T.CurveParams.Gx=g[0];j=new B.Int.ptr(false,B.nat.nil).SetString(\"bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34\",16);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;T.CurveParams.Gy=i[0];T.CurveParams.BitSize=224;AR(T.gx,T.CurveParams.Gx);AR(T.gy,T.CurveParams.Gy);AR(T.b,T.CurveParams.B);$s=-1;return;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};W=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=K.Do(N);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return new T.constructor.elem(T);}return;}if($f===undefined){$f={$blk:W};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};$pkg.P224=W;U.ptr.prototype.Params=function(){var $ptr,a;a=this;return a.CurveParams;};U.prototype.Params=function(){return this.$val.Params();};U.ptr.prototype.IsOnCurve=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k;c=this;d=CG.zero();e=CG.zero();f=$clone(d,X);g=$clone(e,X);AR(f,a);AR(g,b);h=CL.zero();i=CG.zero();AG(i,f,h);AF(i,i,f,h);j=0;while(true){if(!(j<8)){break;}((j<0||j>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[j]=($imul(((j<0||j>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[j]),(3))>>>0));j=j+(1)>>0;}AC(i,i,f);AI(i);AA(i,i,c.b);AK(i,i);AG(g,g,h);AK(g,g);k=0;while(true){if(!(k<8)){break;}if(!((((k<0||k>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[k])===((k<0||k>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[k])))){return false;}k=k+(1)>>0;}return true;};U.prototype.IsOnCurve=function(a,b){return this.$val.IsOnCurve(a,b);};U.ptr.prototype.Add=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;e=CH.nil;f=CH.nil;g=CG.zero();h=CG.zero();i=CG.zero();j=CG.zero();k=CG.zero();l=CG.zero();m=CG.zero();n=CG.zero();o=CG.zero();p=$clone(g,X);q=$clone(h,X);r=$clone(i,X);s=$clone(j,X);t=$clone(k,X);u=$clone(l,X);v=$clone(m,X);w=$clone(n,X);x=$clone(o,X);AR(p,a);AR(q,b);if(!((a.Sign()===0))||!((b.Sign()===0))){r[0]=1;}AR(s,c);AR(t,d);if(!((c.Sign()===0))||!((d.Sign()===0))){u[0]=1;}AL(v,w,x,p,q,r,s,t,u);y=AP(v,w,x);e=y[0];f=y[1];return[e,f];};U.prototype.Add=function(a,b,c,d){return this.$val.Add(a,b,c,d);};U.ptr.prototype.Double=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=CH.nil;d=CH.nil;e=CG.zero();f=CG.zero();g=CG.zero();h=CG.zero();i=CG.zero();j=CG.zero();k=$clone(e,X);l=$clone(f,X);m=$clone(g,X);n=$clone(h,X);o=$clone(i,X);p=$clone(j,X);AR(k,a);AR(l,b);m[0]=1;AM(n,o,p,k,l,m);q=AP(n,o,p);c=q[0];d=q[1];return[c,d];};U.prototype.Double=function(a,b){return this.$val.Double(a,b);};U.ptr.prototype.ScalarMult=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;d=CH.nil;e=CH.nil;f=CG.zero();g=CG.zero();h=CG.zero();i=CG.zero();j=CG.zero();k=CG.zero();l=$clone(f,X);m=$clone(g,X);n=$clone(h,X);o=$clone(i,X);p=$clone(j,X);q=$clone(k,X);AR(l,a);AR(m,b);n[0]=1;AO(o,p,q,l,m,n,c);r=AP(o,p,q);d=r[0];e=r[1];return[d,e];};U.prototype.ScalarMult=function(a,b,c){return this.$val.ScalarMult(a,b,c);};U.ptr.prototype.ScalarBaseMult=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;b=CH.nil;c=CH.nil;d=this;e=CG.zero();f=CG.zero();g=CG.zero();h=CG.zero();i=$clone(e,X);j=$clone(f,X);k=$clone(g,X);l=$clone(h,X);i[0]=1;AO(j,k,l,d.gx,d.gy,i,a);m=AP(j,k,l);b=m[0];c=m[1];return[b,c];};U.prototype.ScalarBaseMult=function(a){return this.$val.ScalarBaseMult(a);};Z=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=CG.zero();AK(b,a);c=0;d=0;e=c;f=d;g=b;h=0;while(true){if(!(h<8)){break;}i=h;j=((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]);e=(e|(j))>>>0;f=(f|((j-((i<0||i>=Y.length)?($throwRuntimeError(\"index out of range\"),undefined):Y[i])>>>0)))>>>0;h++;}e=(e|((e>>>16>>>0)))>>>0;e=(e|((e>>>8>>>0)))>>>0;e=(e|((e>>>4>>>0)))>>>0;e=(e|((e>>>2>>>0)))>>>0;e=(e|((e>>>1>>>0)))>>>0;f=(f|((f>>>16>>>0)))>>>0;f=(f|((f>>>8>>>0)))>>>0;f=(f|((f>>>4>>>0)))>>>0;f=(f|((f>>>2>>>0)))>>>0;f=(f|((f>>>1>>>0)))>>>0;k=(e&f)>>>0;k=(((~k>>>0))&1)>>>0;return k;};AA=function(a,b,c){var $ptr,a,b,c,d;d=0;while(true){if(!(d<8)){break;}a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]=((b.nilCheck,((d<0||d>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[d]))+(c.nilCheck,((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]))>>>0));d=d+(1)>>0;}};AC=function(a,b,c){var $ptr,a,b,c,d;d=0;while(true){if(!(d<8)){break;}a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]=(((b.nilCheck,((d<0||d>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[d]))+((d<0||d>=AB.$length)?($throwRuntimeError(\"index out of range\"),undefined):AB.$array[AB.$offset+d])>>>0)-(c.nilCheck,((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]))>>>0));d=d+(1)>>0;}};AF=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j;e=0;while(true){if(!(e<15)){break;}d.nilCheck,((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=new $Uint64(0,0));e=e+(1)>>0;}f=0;while(true){if(!(f<8)){break;}g=0;while(true){if(!(g<8)){break;}h=f+g>>0;d.nilCheck,((h<0||h>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[h]=(i=(d.nilCheck,((h<0||h>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[h])),j=$mul64((new $Uint64(0,(b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f])))),(new $Uint64(0,(c.nilCheck,((g<0||g>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[g]))))),new $Uint64(i.$high+j.$high,i.$low+j.$low)));g=g+(1)>>0;}f=f+(1)>>0;}AH(a,d);};AG=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=0;while(true){if(!(d<15)){break;}c.nilCheck,((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=new $Uint64(0,0));d=d+(1)>>0;}e=0;while(true){if(!(e<8)){break;}f=0;while(true){if(!(f<=e)){break;}g=$mul64((new $Uint64(0,(b.nilCheck,((e<0||e>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[e])))),(new $Uint64(0,(b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f])))));if(e===f){h=e+f>>0;c.nilCheck,((h<0||h>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[h]=(i=(c.nilCheck,((h<0||h>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[h])),j=g,new $Uint64(i.$high+j.$high,i.$low+j.$low)));}else{k=e+f>>0;c.nilCheck,((k<0||k>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[k]=(l=(c.nilCheck,((k<0||k>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[k])),m=$shiftLeft64(g,1),new $Uint64(l.$high+m.$high,l.$low+m.$low)));}f=f+(1)>>0;}e=e+(1)>>0;}AH(a,c);};AH=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;while(true){if(!(c<8)){break;}b.nilCheck,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]=(d=(b.nilCheck,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c])),e=((c<0||c>=AE.length)?($throwRuntimeError(\"index out of range\"),undefined):AE[c]),new $Uint64(d.$high+e.$high,d.$low+e.$low)));c=c+(1)>>0;}f=14;while(true){if(!(f>=8)){break;}g=f-8>>0;b.nilCheck,((g<0||g>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[g]=(h=(b.nilCheck,((g<0||g>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[g])),i=(b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f])),new $Uint64(h.$high-i.$high,h.$low-i.$low)));j=f-5>>0;b.nilCheck,((j<0||j>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[j]=(k=(b.nilCheck,((j<0||j>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[j])),l=$shiftLeft64(((m=(b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f])),new $Uint64(m.$high&0,(m.$low&65535)>>>0))),12),new $Uint64(k.$high+l.$high,k.$low+l.$low)));n=f-4>>0;b.nilCheck,((n<0||n>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[n]=(o=(b.nilCheck,((n<0||n>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[n])),p=$shiftRightUint64((b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f])),16),new $Uint64(o.$high+p.$high,o.$low+p.$low)));f=f-(1)>>0;}b.nilCheck,b[8]=new $Uint64(0,0);q=1;while(true){if(!(q<8)){break;}r=q+1>>0;b.nilCheck,((r<0||r>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[r]=(s=(b.nilCheck,((r<0||r>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[r])),t=$shiftRightUint64((b.nilCheck,((q<0||q>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[q])),28),new $Uint64(s.$high+t.$high,s.$low+t.$low)));a.nilCheck,((q<0||q>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[q]=(((u=(b.nilCheck,((q<0||q>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[q])),new $Uint64(u.$high&0,(u.$low&268435455)>>>0)).$low>>>0)));q=q+(1)>>0;}b.nilCheck,b[0]=(v=(b.nilCheck,b[0]),w=(b.nilCheck,b[8]),new $Uint64(v.$high-w.$high,v.$low-w.$low));a.nilCheck,a[3]=((a.nilCheck,a[3])+(((((x=(b.nilCheck,b[8]),new $Uint64(x.$high&0,(x.$low&65535)>>>0)).$low>>>0))<<12>>>0))>>>0);a.nilCheck,a[4]=((a.nilCheck,a[4])+((($shiftRightUint64((b.nilCheck,b[8]),16).$low>>>0)))>>>0);a.nilCheck,a[0]=(((y=(b.nilCheck,b[0]),new $Uint64(y.$high&0,(y.$low&268435455)>>>0)).$low>>>0));a.nilCheck,a[1]=((a.nilCheck,a[1])+((((z=$shiftRightUint64((b.nilCheck,b[0]),28),new $Uint64(z.$high&0,(z.$low&268435455)>>>0)).$low>>>0)))>>>0);a.nilCheck,a[2]=((a.nilCheck,a[2])+((($shiftRightUint64((b.nilCheck,b[0]),56).$low>>>0)))>>>0);};AI=function(a){var $ptr,a,b,c,d,e,f;b=0;while(true){if(!(b<7)){break;}c=b+1>>0;a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))+(((a.nilCheck,((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]))>>>28>>>0))>>>0));a.nilCheck,((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]=(((a.nilCheck,((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]))&(268435455))>>>0));b=b+(1)>>0;}d=(a.nilCheck,a[7])>>>28>>>0;a.nilCheck,a[7]=(((a.nilCheck,a[7])&(268435455))>>>0);e=d;e=(e|((e>>>2>>>0)))>>>0;e=(e|((e>>>1>>>0)))>>>0;e=(f=(31),f<32?(e<<f):0)>>>0;e=(((((e>>0))>>31>>0)>>>0));a.nilCheck,a[0]=((a.nilCheck,a[0])-(d)>>>0);a.nilCheck,a[3]=((a.nilCheck,a[3])+((d<<12>>>0))>>>0);a.nilCheck,a[3]=((a.nilCheck,a[3])-(((1&e)>>>0))>>>0);a.nilCheck,a[2]=((a.nilCheck,a[2])+(((e&268435455)>>>0))>>>0);a.nilCheck,a[1]=((a.nilCheck,a[1])+(((e&268435455)>>>0))>>>0);a.nilCheck,a[0]=((a.nilCheck,a[0])+(((e&268435456)>>>0))>>>0);};AJ=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=CG.zero();d=CG.zero();e=CG.zero();f=CG.zero();g=$clone(c,X);h=$clone(d,X);i=$clone(e,X);j=$clone(f,X);k=CL.zero();AG(g,b,k);AF(g,g,b,k);AG(g,g,k);AF(g,g,b,k);AG(h,g,k);AG(h,h,k);AG(h,h,k);AF(g,g,h,k);AG(h,g,k);l=0;while(true){if(!(l<5)){break;}AG(h,h,k);l=l+(1)>>0;}AF(h,h,g,k);AG(i,h,k);m=0;while(true){if(!(m<11)){break;}AG(i,i,k);m=m+(1)>>0;}AF(h,i,h,k);AG(i,h,k);n=0;while(true){if(!(n<23)){break;}AG(i,i,k);n=n+(1)>>0;}AF(i,i,h,k);AG(j,i,k);o=0;while(true){if(!(o<47)){break;}AG(j,j,k);o=o+(1)>>0;}AF(i,i,j,k);AG(j,i,k);p=0;while(true){if(!(p<23)){break;}AG(j,j,k);p=p+(1)>>0;}AF(h,j,h,k);q=0;while(true){if(!(q<6)){break;}AG(h,h,k);q=q+(1)>>0;}AF(g,g,h,k);AG(g,g,k);AF(g,g,b,k);r=0;while(true){if(!(r<97)){break;}AG(g,g,k);r=r+(1)>>0;}AF(a,g,i,k);};AK=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;$copySlice(new CK(a),new CK(b));c=0;while(true){if(!(c<7)){break;}d=c+1>>0;a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]=((a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]))+(((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))>>>28>>>0))>>>0));a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=(((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))&(268435455))>>>0));c=c+(1)>>0;}e=(a.nilCheck,a[7])>>>28>>>0;a.nilCheck,a[7]=(((a.nilCheck,a[7])&(268435455))>>>0);a.nilCheck,a[0]=((a.nilCheck,a[0])-(e)>>>0);a.nilCheck,a[3]=((a.nilCheck,a[3])+((e<<12>>>0))>>>0);f=0;while(true){if(!(f<3)){break;}g=((((((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>0))>>31>>0)>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))+(((268435456&g)>>>0))>>>0));h=f+1>>0;a.nilCheck,((h<0||h>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[h]=((a.nilCheck,((h<0||h>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[h]))-(((1&g)>>>0))>>>0));f=f+(1)>>0;}i=3;while(true){if(!(i<7)){break;}j=i+1>>0;a.nilCheck,((j<0||j>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[j]=((a.nilCheck,((j<0||j>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[j]))+(((a.nilCheck,((i<0||i>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[i]))>>>28>>>0))>>>0));a.nilCheck,((i<0||i>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[i]=(((a.nilCheck,((i<0||i>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[i]))&(268435455))>>>0));i=i+(1)>>0;}e=(a.nilCheck,a[7])>>>28>>>0;a.nilCheck,a[7]=(((a.nilCheck,a[7])&(268435455))>>>0);a.nilCheck,a[0]=((a.nilCheck,a[0])-(e)>>>0);a.nilCheck,a[3]=((a.nilCheck,a[3])+((e<<12>>>0))>>>0);k=0;while(true){if(!(k<3)){break;}l=((((((a.nilCheck,((k<0||k>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[k]))>>0))>>31>>0)>>>0));a.nilCheck,((k<0||k>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[k]=((a.nilCheck,((k<0||k>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[k]))+(((268435456&l)>>>0))>>>0));m=k+1>>0;a.nilCheck,((m<0||m>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[m]=((a.nilCheck,((m<0||m>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[m]))-(((1&l)>>>0))>>>0));k=k+(1)>>0;}n=4294967295;o=4;while(true){if(!(o<8)){break;}n=(n&((a.nilCheck,((o<0||o>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[o]))))>>>0;o=o+(1)>>0;}n=(n|(4026531840))>>>0;n=(n&((n>>>16>>>0)))>>>0;n=(n&((n>>>8>>>0)))>>>0;n=(n&((n>>>4>>>0)))>>>0;n=(n&((n>>>2>>>0)))>>>0;n=(n&((n>>>1>>>0)))>>>0;n=((((((n<<31>>>0)>>0))>>31>>0)>>>0));p=((((a.nilCheck,a[0])|(a.nilCheck,a[1]))>>>0)|(a.nilCheck,a[2]))>>>0;p=(p|((p>>>16>>>0)))>>>0;p=(p|((p>>>8>>>0)))>>>0;p=(p|((p>>>4>>>0)))>>>0;p=(p|((p>>>2>>>0)))>>>0;p=(p|((p>>>1>>>0)))>>>0;p=((((((p<<31>>>0)>>0))>>31>>0)>>>0));q=(a.nilCheck,a[3])-268431360>>>0;r=q;r=(r|((r>>>16>>>0)))>>>0;r=(r|((r>>>8>>>0)))>>>0;r=(r|((r>>>4>>>0)))>>>0;r=(r|((r>>>2>>>0)))>>>0;r=(r|((r>>>1>>>0)))>>>0;r=~((((((r<<31>>>0)>>0))>>31>>0)>>>0))>>>0;s=~(((((q>>0))>>31>>0)>>>0))>>>0;t=(n&((((((r&p)>>>0))|s)>>>0)))>>>0;a.nilCheck,a[0]=((a.nilCheck,a[0])-(((1&t)>>>0))>>>0);a.nilCheck,a[3]=((a.nilCheck,a[3])-(((268431360&t)>>>0))>>>0);a.nilCheck,a[4]=((a.nilCheck,a[4])-(((268435455&t)>>>0))>>>0);a.nilCheck,a[5]=((a.nilCheck,a[5])-(((268435455&t)>>>0))>>>0);a.nilCheck,a[6]=((a.nilCheck,a[6])-(((268435455&t)>>>0))>>>0);a.nilCheck,a[7]=((a.nilCheck,a[7])-(((268435455&t)>>>0))>>>0);};AL=function(a,b,c,d,e,f,g,h,i){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=CG.zero();k=CG.zero();l=CG.zero();m=CG.zero();n=CG.zero();o=CG.zero();p=CG.zero();q=CG.zero();r=CG.zero();s=CG.zero();t=CG.zero();u=$clone(j,X);v=$clone(k,X);w=$clone(l,X);x=$clone(m,X);y=$clone(n,X);z=$clone(o,X);aa=$clone(p,X);ab=$clone(q,X);ac=$clone(r,X);ad=$clone(s,X);ae=$clone(t,X);af=CL.zero();ag=Z(f);ah=Z(i);AG(u,f,af);AG(v,i,af);AF(w,d,v,af);AF(x,g,u,af);AF(y,i,v,af);AF(y,e,y,af);AF(z,f,u,af);AF(z,h,z,af);AC(aa,x,w);AI(aa);ai=Z(aa);aj=0;while(true){if(!(aj<8)){break;}((aj<0||aj>=ab.length)?($throwRuntimeError(\"index out of range\"),undefined):ab[aj]=(((aj<0||aj>=aa.length)?($throwRuntimeError(\"index out of range\"),undefined):aa[aj])<<1>>>0));aj=aj+(1)>>0;}AI(ab);AG(ab,ab,af);AF(ac,aa,ab,af);AC(ad,z,y);AI(ad);ak=Z(ad);if((ai===1)&&(ak===1)&&(ag===0)&&(ah===0)){AM(a,b,c,d,e,f);return;}al=0;while(true){if(!(al<8)){break;}((al<0||al>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[al]=((am=(1),am<32?(((al<0||al>=ad.length)?($throwRuntimeError(\"index out of range\"),undefined):ad[al])<<am):0)>>>0));al=al+(1)>>0;}AI(ad);AF(ae,w,ab,af);AA(u,u,v);AA(v,f,i);AI(v);AG(v,v,af);AC(c,v,u);AI(c);AF(c,c,aa,af);an=0;while(true){if(!(an<8)){break;}((an<0||an>=u.length)?($throwRuntimeError(\"index out of range\"),undefined):u[an]=(((an<0||an>=ae.length)?($throwRuntimeError(\"index out of range\"),undefined):ae[an])<<1>>>0));an=an+(1)>>0;}AA(u,ac,u);AI(u);AG(a,ad,af);AC(a,a,u);AI(a);ao=0;while(true){if(!(ao<8)){break;}((ao<0||ao>=y.length)?($throwRuntimeError(\"index out of range\"),undefined):y[ao]=((ap=(1),ap<32?(((ao<0||ao>=y.length)?($throwRuntimeError(\"index out of range\"),undefined):y[ao])<<ap):0)>>>0));ao=ao+(1)>>0;}AF(y,y,ac,af);AC(u,ae,a);AI(u);AF(u,u,ad,af);AC(b,u,y);AI(b);AN(a,g,ag);AN(a,d,ah);AN(b,h,ag);AN(b,e,ah);AN(c,i,ag);AN(c,f,ah);};AM=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;g=CG.zero();h=CG.zero();i=CG.zero();j=CG.zero();k=CG.zero();l=$clone(g,X);m=$clone(h,X);n=$clone(i,X);o=$clone(j,X);p=$clone(k,X);q=CL.zero();AG(l,f,q);AG(m,e,q);AF(n,d,m,q);AA(p,d,l);r=0;while(true){if(!(r<8)){break;}((r<0||r>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[r]=(((r<0||r>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[r])+((((r<0||r>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[r])<<1>>>0))>>>0));r=r+(1)>>0;}AI(p);AC(o,d,l);AI(o);AF(o,o,p,q);AA(c,e,f);AI(c);AG(c,c,q);AC(c,c,m);AI(c);AC(c,c,l);AI(c);s=0;while(true){if(!(s<8)){break;}((s<0||s>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[s]=(((s<0||s>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[s])<<3>>>0));s=s+(1)>>0;}AI(l);AG(a,o,q);AC(a,a,l);AI(a);t=0;while(true){if(!(t<8)){break;}((t<0||t>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[t]=((u=(2),u<32?(((t<0||t>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[t])<<u):0)>>>0));t=t+(1)>>0;}AC(n,n,a);AI(n);AG(m,m,q);v=0;while(true){if(!(v<8)){break;}((v<0||v>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[v]=((w=(3),w<32?(((v<0||v>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[v])<<w):0)>>>0));v=v+(1)>>0;}AI(m);AF(b,o,n,q);AC(b,b,m);AI(b);};AN=function(a,b,c){var $ptr,a,b,c,d,e;c=(d=(31),d<32?(c<<d):0)>>>0;c=(((((c>>0))>>31>>0)>>>0));e=0;while(true){if(!(e<8)){break;}a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))^(((((((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))^(b.nilCheck,((e<0||e>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[e])))>>>0))&c)>>>0)))>>>0));e=e+(1)>>0;}};AO=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;h=CG.zero();i=CG.zero();j=CG.zero();k=$clone(h,X);l=$clone(i,X);m=$clone(j,X);n=0;while(true){if(!(n<8)){break;}a.nilCheck,((n<0||n>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[n]=0);b.nilCheck,((n<0||n>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[n]=0);c.nilCheck,((n<0||n>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[n]=0);n=n+(1)>>0;}o=g;p=0;while(true){if(!(p<o.$length)){break;}q=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);r=0;while(true){if(!(r<8)){break;}AM(a,b,c,a,b,c);t=(((((((s=((7-r>>>0)),s<32?(q>>>s):0)<<24>>>24))&1)>>>0)>>>0));AL(k,l,m,d,e,f,a,b,c);AN(a,k,t);AN(b,l,t);AN(c,m,t);r=r+(1)>>>0;}p++;}};AP=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=CG.zero();e=CG.zero();f=CG.zero();g=CG.zero();h=$clone(d,X);i=$clone(e,X);j=$clone(f,X);k=$clone(g,X);l=CL.zero();m=Z(c);if(m===1){return[new B.Int.ptr(false,B.nat.nil),new B.Int.ptr(false,B.nat.nil)];}AJ(h,c);AG(i,h,l);AF(a,a,i,l);AF(i,i,h,l);AF(b,b,i,l);AK(j,a);AK(k,b);return[AS(j),AS(k)];};AQ=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i;c=0;d=0;while(true){if(!(d<4)){break;}e=0;f=a.$length;if(f>0){e=(g=f-1>>0,((g<0||g>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+g]));if(!((d===3))||(b===4)){a=$subslice(a,0,(f-1>>0));}}c=(c|(((h=b,h<32?(((i=((8*d>>>0)),i<32?(((e>>>0))<<i):0)>>>0)>>>h):0)>>>0)))>>>0;d=d+(1)>>>0;}c=(c&(268435455))>>>0;return[c,a];};AR=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k;c=b.Bytes();d=AQ(c,0);a.nilCheck,a[0]=d[0];c=d[1];e=AQ(c,4);a.nilCheck,a[1]=e[0];c=e[1];f=AQ(c,0);a.nilCheck,a[2]=f[0];c=f[1];g=AQ(c,4);a.nilCheck,a[3]=g[0];c=g[1];h=AQ(c,0);a.nilCheck,a[4]=h[0];c=h[1];i=AQ(c,4);a.nilCheck,a[5]=i[0];c=i[1];j=AQ(c,0);a.nilCheck,a[6]=j[0];c=j[1];k=AQ(c,4);a.nilCheck,a[7]=k[0];c=k[1];};AS=function(a){var $ptr,a,b;b=CM.zero();b[27]=(((a.nilCheck,a[0])<<24>>>24));b[26]=((((a.nilCheck,a[0])>>>8>>>0)<<24>>>24));b[25]=((((a.nilCheck,a[0])>>>16>>>0)<<24>>>24));b[24]=((((((((((a.nilCheck,a[0])>>>24>>>0))&15)>>>0))|(((((a.nilCheck,a[1])<<4>>>0))&240)>>>0))>>>0)<<24>>>24));b[23]=((((a.nilCheck,a[1])>>>4>>>0)<<24>>>24));b[22]=((((a.nilCheck,a[1])>>>12>>>0)<<24>>>24));b[21]=((((a.nilCheck,a[1])>>>20>>>0)<<24>>>24));b[20]=(((a.nilCheck,a[2])<<24>>>24));b[19]=((((a.nilCheck,a[2])>>>8>>>0)<<24>>>24));b[18]=((((a.nilCheck,a[2])>>>16>>>0)<<24>>>24));b[17]=((((((((((a.nilCheck,a[2])>>>24>>>0))&15)>>>0))|(((((a.nilCheck,a[3])<<4>>>0))&240)>>>0))>>>0)<<24>>>24));b[16]=((((a.nilCheck,a[3])>>>4>>>0)<<24>>>24));b[15]=((((a.nilCheck,a[3])>>>12>>>0)<<24>>>24));b[14]=((((a.nilCheck,a[3])>>>20>>>0)<<24>>>24));b[13]=(((a.nilCheck,a[4])<<24>>>24));b[12]=((((a.nilCheck,a[4])>>>8>>>0)<<24>>>24));b[11]=((((a.nilCheck,a[4])>>>16>>>0)<<24>>>24));b[10]=((((((((((a.nilCheck,a[4])>>>24>>>0))&15)>>>0))|(((((a.nilCheck,a[5])<<4>>>0))&240)>>>0))>>>0)<<24>>>24));b[9]=((((a.nilCheck,a[5])>>>4>>>0)<<24>>>24));b[8]=((((a.nilCheck,a[5])>>>12>>>0)<<24>>>24));b[7]=((((a.nilCheck,a[5])>>>20>>>0)<<24>>>24));b[6]=(((a.nilCheck,a[6])<<24>>>24));b[5]=((((a.nilCheck,a[6])>>>8>>>0)<<24>>>24));b[4]=((((a.nilCheck,a[6])>>>16>>>0)<<24>>>24));b[3]=((((((((((a.nilCheck,a[6])>>>24>>>0))&15)>>>0))|(((((a.nilCheck,a[7])<<4>>>0))&240)>>>0))>>>0)<<24>>>24));b[2]=((((a.nilCheck,a[7])>>>4>>>0)<<24>>>24));b[1]=((((a.nilCheck,a[7])>>>12>>>0)<<24>>>24));b[0]=((((a.nilCheck,a[7])>>>20>>>0)<<24>>>24));return new B.Int.ptr(false,B.nat.nil).SetBytes(new CJ(b));};AW=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:AU=new E.ptr(CH.nil,CH.nil,CH.nil,CH.nil,CH.nil,0,\"P-256\");b=new B.Int.ptr(false,B.nat.nil).SetString(\"115792089210356248762697446949407573530086143415290314195533631308867097853951\",10);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a=b;AU.P=a[0];d=new B.Int.ptr(false,B.nat.nil).SetString(\"115792089210356248762697446949407573529996955224135760342422259061068512044369\",10);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;AU.N=c[0];f=new B.Int.ptr(false,B.nat.nil).SetString(\"5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b\",16);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;AU.B=e[0];h=new B.Int.ptr(false,B.nat.nil).SetString(\"6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296\",16);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;AU.Gx=g[0];j=new B.Int.ptr(false,B.nat.nil).SetString(\"4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5\",16);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;AU.Gy=i[0];AU.BitSize=256;l=new B.Int.ptr(false,B.nat.nil).SetString(\"7fffffff00000001fffffffe8000000100000000ffffffff0000000180000000\",16);$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;AV=k[0];CE();$s=-1;return;}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AT.ptr.prototype.Params=function(){var $ptr,a;a=this;return a.CurveParams;};AT.prototype.Params=function(){return this.$val.Params();};AX=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=new B.Int.ptr(false,B.nat.nil).SetBytes(b);d=CJ.nil;if(c.Cmp(AU.N)>=0){$s=1;continue;}$s=2;continue;case 1:e=c.Mod(c,AU.N);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;d=c.Bytes();$s=3;continue;case 2:d=b;case 3:f=d;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);(j=d.$length-((1+h>>0))>>0,a.nilCheck,((j<0||j>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[j]=i));g++;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AX};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AT.ptr.prototype.ScalarBaseMult=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=[c];d=[d];e=[e];f=CH.nil;g=CH.nil;b[0]=CN.zero();$r=AX(b[0],a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=CO.zero();i=CO.zero();j=CO.zero();c[0]=$clone(h,CO);d[0]=$clone(i,CO);e[0]=$clone(j,CO);BX(c[0],d[0],e[0],b[0]);l=BZ(c[0],d[0],e[0]);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:AT.ptr.prototype.ScalarBaseMult};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AT.prototype.ScalarBaseMult=function(a){return this.$val.ScalarBaseMult(a);};AT.ptr.prototype.ScalarMult=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=[d];e=[e];f=[f];g=[g];h=[h];i=[i];j=CH.nil;k=CH.nil;f[0]=CN.zero();$r=AX(f[0],c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=CO.zero();m=CO.zero();n=CO.zero();o=CO.zero();p=CO.zero();d[0]=$clone(l,CO);e[0]=$clone(m,CO);g[0]=$clone(n,CO);h[0]=$clone(o,CO);i[0]=$clone(p,CO);$r=CB(d[0],a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=CB(e[0],b);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CA(g[0],h[0],i[0],d[0],e[0],f[0]);r=BZ(g[0],h[0],i[0]);$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;j=q[0];k=q[1];$s=-1;return[j,k];}return;}if($f===undefined){$f={$blk:AT.ptr.prototype.ScalarMult};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};AT.prototype.ScalarMult=function(a,b,c){return this.$val.ScalarMult(a,b,c);};BD=function(a){var $ptr,a;return((((a-1>>>0))>>>31>>>0))-1>>>0;};BE=function(a,b){var $ptr,a,b,c;c=BD(b);a.nilCheck,a[0]=((a.nilCheck,a[0])+((b<<1>>>0))>>>0);a.nilCheck,a[3]=((a.nilCheck,a[3])+(((268435456&c)>>>0))>>>0);a.nilCheck,a[3]=((a.nilCheck,a[3])-((b<<11>>>0))>>>0);a.nilCheck,a[4]=((a.nilCheck,a[4])+(((536870911&c)>>>0))>>>0);a.nilCheck,a[5]=((a.nilCheck,a[5])+(((268435455&c)>>>0))>>>0);a.nilCheck,a[6]=((a.nilCheck,a[6])+(((536870911&c)>>>0))>>>0);a.nilCheck,a[6]=((a.nilCheck,a[6])-((b<<22>>>0))>>>0);a.nilCheck,a[7]=((a.nilCheck,a[7])-(((1&c)>>>0))>>>0);a.nilCheck,a[7]=((a.nilCheck,a[7])+((b<<25>>>0))>>>0);};BF=function(a,b,c){var $ptr,a,b,c,d,e;d=0;e=0;while(true){a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((b.nilCheck,((e<0||e>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[e]))+(c.nilCheck,((e<0||e>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[e]))>>>0));a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))+(d)>>>0));d=(a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))>>>29>>>0;a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))&(536870911))>>>0));e=e+(1)>>0;if(e===9){break;}a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((b.nilCheck,((e<0||e>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[e]))+(c.nilCheck,((e<0||e>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[e]))>>>0));a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))+(d)>>>0));d=(a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))>>>28>>>0;a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))&(268435455))>>>0));e=e+(1)>>0;}BE(a,d);};BH=function(a,b,c){var $ptr,a,b,c,d,e;d=0;e=0;while(true){a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((b.nilCheck,((e<0||e>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[e]))-(c.nilCheck,((e<0||e>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[e]))>>>0));a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))+(((e<0||e>=BG.length)?($throwRuntimeError(\"index out of range\"),undefined):BG[e]))>>>0));a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))+(d)>>>0));d=(a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))>>>29>>>0;a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))&(536870911))>>>0));e=e+(1)>>0;if(e===9){break;}a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((b.nilCheck,((e<0||e>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[e]))-(c.nilCheck,((e<0||e>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[e]))>>>0));a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))+(((e<0||e>=BG.length)?($throwRuntimeError(\"index out of range\"),undefined):BG[e]))>>>0));a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))+(d)>>>0));d=(a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))>>>28>>>0;a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(((a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]))&(268435455))>>>0));e=e+(1)>>0;}BE(a,d);};BI=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=CP.zero();d=0;e=0;f=0;g=d;h=e;i=f;c[0]=((((b[0].$low>>>0))&536870911)>>>0);c[1]=(((b[0].$low>>>0))>>>29>>>0);c[1]=((c[1]|((((((($shiftRightUint64(b[0],32).$low>>>0))<<3>>>0))&268435455)>>>0)))>>>0);c[1]=(c[1]+(((((b[1].$low>>>0))&268435455)>>>0))>>>0);g=c[1]>>>28>>>0;c[1]=((c[1]&(268435455))>>>0);j=2;while(true){if(!(j<17)){break;}((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((($shiftRightUint64((k=j-2>>0,((k<0||k>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[k])),32).$low>>>0)))>>>25>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+((((((l=j-1>>0,((l<0||l>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[l])).$low>>>0)))>>>28>>>0))>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+((((((($shiftRightUint64((m=j-1>>0,((m<0||m>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[m])),32).$low>>>0))<<4>>>0))&536870911)>>>0))>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+(((((((j<0||j>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[j]).$low>>>0))&536870911)>>>0))>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+(g)>>>0));g=((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])>>>29>>>0;((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=((((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])&(536870911))>>>0));j=j+(1)>>0;if(j===17){break;}((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=((($shiftRightUint64((n=j-2>>0,((n<0||n>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[n])),32).$low>>>0))>>>25>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+(((((o=j-1>>0,((o<0||o>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[o])).$low>>>0))>>>29>>>0))>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+(((((((($shiftRightUint64((p=j-1>>0,((p<0||p>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[p])),32).$low>>>0)))<<3>>>0))&268435455)>>>0))>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+(((((((j<0||j>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[j]).$low>>>0))&268435455)>>>0))>>>0));((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=(((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])+(g)>>>0));g=((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])>>>28>>>0;((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j]=((((j<0||j>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[j])&(268435455))>>>0));j=j+(1)>>0;}c[17]=((($shiftRightUint64(b[15],32).$low>>>0))>>>25>>>0);c[17]=(c[17]+((((b[16].$low>>>0))>>>29>>>0))>>>0);c[17]=(c[17]+(((($shiftRightUint64(b[16],32).$low>>>0))<<3>>>0))>>>0);c[17]=(c[17]+(g)>>>0);q=0;while(true){r=q+1>>0;((r<0||r>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[r]=(((r<0||r>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[r])+((((q<0||q>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[q])>>>29>>>0))>>>0));h=(((q<0||q>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[q])&536870911)>>>0;i=BD(h);((q<0||q>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[q]=0);s=q+3>>0;((s<0||s>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[s]=(((s<0||s>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[s])+(((((h<<10>>>0))&268435455)>>>0))>>>0));t=q+4>>0;((t<0||t>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[t]=(((t<0||t>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[t])+(((h>>>18>>>0)))>>>0));u=q+6>>0;((u<0||u>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[u]=(((u<0||u>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[u])+(((((h<<21>>>0))&536870911)>>>0))>>>0));v=q+7>>0;((v<0||v>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[v]=(((v<0||v>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[v])+((h>>>8>>>0))>>>0));w=q+7>>0;((w<0||w>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[w]=(((w<0||w>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[w])+(((268435456&i)>>>0))>>>0));x=q+8>>0;((x<0||x>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[x]=(((x<0||x>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[x])+(((((h-1>>>0))&i)>>>0))>>>0));y=q+7>>0;((y<0||y>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[y]=(((y<0||y>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[y])-(((((h<<24>>>0))&268435455)>>>0))>>>0));z=q+8>>0;((z<0||z>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[z]=(((z<0||z>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[z])-((h>>>4>>>0))>>>0));aa=q+8>>0;((aa<0||aa>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aa]=(((aa<0||aa>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aa])+(((536870912&i)>>>0))>>>0));ab=q+8>>0;((ab<0||ab>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ab]=(((ab<0||ab>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ab])-(h)>>>0));ac=q+8>>0;((ac<0||ac>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ac]=(((ac<0||ac>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ac])+(((((h<<28>>>0))&536870911)>>>0))>>>0));ad=q+9>>0;((ad<0||ad>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ad]=(((ad<0||ad>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ad])+(((((((h>>>1>>>0))-1>>>0))&i)>>>0))>>>0));if((q+1>>0)===9){break;}ae=q+2>>0;((ae<0||ae>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ae]=(((ae<0||ae>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ae])+(((af=q+1>>0,((af<0||af>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[af]))>>>28>>>0))>>>0));h=((ag=q+1>>0,((ag<0||ag>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ag]))&268435455)>>>0;i=BD(h);(ah=q+1>>0,((ah<0||ah>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ah]=0));ai=q+4>>0;((ai<0||ai>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ai]=(((ai<0||ai>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ai])+(((((h<<11>>>0))&536870911)>>>0))>>>0));aj=q+5>>0;((aj<0||aj>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aj]=(((aj<0||aj>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aj])+(((h>>>18>>>0)))>>>0));ak=q+7>>0;((ak<0||ak>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ak]=(((ak<0||ak>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ak])+(((((h<<21>>>0))&268435455)>>>0))>>>0));al=q+8>>0;((al<0||al>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[al]=(((al<0||al>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[al])+((h>>>7>>>0))>>>0));am=q+8>>0;((am<0||am>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[am]=(((am<0||am>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[am])+(((536870912&i)>>>0))>>>0));an=q+9>>0;((an<0||an>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[an]=(((an<0||an>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[an])+(((((h-1>>>0))&i)>>>0))>>>0));ao=q+8>>0;((ao<0||ao>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ao]=(((ao<0||ao>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ao])-(((((h<<25>>>0))&536870911)>>>0))>>>0));ap=q+9>>0;((ap<0||ap>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ap]=(((ap<0||ap>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ap])-((h>>>4>>>0))>>>0));aq=q+9>>0;((aq<0||aq>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aq]=(((aq<0||aq>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aq])+(((268435456&i)>>>0))>>>0));ar=q+9>>0;((ar<0||ar>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ar]=(((ar<0||ar>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ar])-(h)>>>0));as=q+10>>0;((as<0||as>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[as]=(((as<0||as>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[as])+(((((h-1>>>0))&i)>>>0))>>>0));q=q+(2)>>0;}g=0;at=0;while(true){if(!(at<8)){break;}a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]=(au=at+9>>0,((au<0||au>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[au])));a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]=((a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]))+(g)>>>0));a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]=((a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]))+((((((av=at+10>>0,((av<0||av>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[av]))<<28>>>0))&536870911)>>>0))>>>0));g=(a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]))>>>29>>>0;a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]=(((a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]))&(536870911))>>>0));at=at+(1)>>0;a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]=((aw=at+9>>0,((aw<0||aw>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aw]))>>>1>>>0));a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]=((a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]))+(g)>>>0));g=(a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]))>>>28>>>0;a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]=(((a.nilCheck,((at<0||at>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[at]))&(268435455))>>>0));at=at+(1)>>0;}a.nilCheck,a[8]=c[17];a.nilCheck,a[8]=((a.nilCheck,a[8])+(g)>>>0);g=(a.nilCheck,a[8])>>>29>>>0;a.nilCheck,a[8]=(((a.nilCheck,a[8])&(536870911))>>>0);BE(a,g);};BJ=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=CQ.zero();c[0]=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),(new $Uint64(0,(b.nilCheck,b[0]))));c[1]=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[1]))),1)));c[2]=(d=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[2]))),1))),e=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[1]))),1))),new $Uint64(d.$high+e.$high,d.$low+e.$low));c[3]=(f=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[3]))),1))),g=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[2]))),1))),new $Uint64(f.$high+g.$high,f.$low+g.$low));c[4]=(h=(i=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[4]))),1))),j=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[3]))),2))),new $Uint64(i.$high+j.$high,i.$low+j.$low)),k=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),(new $Uint64(0,(b.nilCheck,b[2])))),new $Uint64(h.$high+k.$high,h.$low+k.$low));c[5]=(l=(m=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[5]))),1))),n=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[4]))),1))),new $Uint64(m.$high+n.$high,m.$low+n.$low)),o=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[3]))),1))),new $Uint64(l.$high+o.$high,l.$low+o.$low));c[6]=(p=(q=(r=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[6]))),1))),s=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[5]))),2))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[4]))),1))),new $Uint64(q.$high+t.$high,q.$low+t.$low)),u=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[3]))),1))),new $Uint64(p.$high+u.$high,p.$low+u.$low));c[7]=(v=(w=(x=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),1))),y=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[6]))),1))),new $Uint64(x.$high+y.$high,x.$low+y.$low)),z=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[5]))),1))),new $Uint64(w.$high+z.$high,w.$low+z.$low)),aa=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[4]))),1))),new $Uint64(v.$high+aa.$high,v.$low+aa.$low));c[8]=(ab=(ac=(ad=(ae=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1))),af=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),2))),new $Uint64(ae.$high+af.$high,ae.$low+af.$low)),ag=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[6]))),1))),new $Uint64(ad.$high+ag.$high,ad.$low+ag.$low)),ah=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[5]))),2))),new $Uint64(ac.$high+ah.$high,ac.$low+ah.$low)),ai=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),(new $Uint64(0,(b.nilCheck,b[4])))),new $Uint64(ab.$high+ai.$high,ab.$low+ai.$low));c[9]=(aj=(ak=(al=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1))),am=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),1))),new $Uint64(al.$high+am.$high,al.$low+am.$low)),an=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[6]))),1))),new $Uint64(ak.$high+an.$high,ak.$low+an.$low)),ao=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[5]))),1))),new $Uint64(aj.$high+ao.$high,aj.$low+ao.$low));c[10]=(ap=(aq=(ar=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1))),as=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),2))),new $Uint64(ar.$high+as.$high,ar.$low+as.$low)),at=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[6]))),1))),new $Uint64(aq.$high+at.$high,aq.$low+at.$low)),au=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[5]))),1))),new $Uint64(ap.$high+au.$high,ap.$low+au.$low));c[11]=(av=(aw=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1))),ax=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),1))),new $Uint64(aw.$high+ax.$high,aw.$low+ax.$low)),ay=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[6]))),1))),new $Uint64(av.$high+ay.$high,av.$low+ay.$low));c[12]=(az=(ba=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1))),bb=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),2))),new $Uint64(ba.$high+bb.$high,ba.$low+bb.$low)),bc=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),(new $Uint64(0,(b.nilCheck,b[6])))),new $Uint64(az.$high+bc.$high,az.$low+bc.$low));c[13]=(bd=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1))),be=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),1))),new $Uint64(bd.$high+be.$high,bd.$low+be.$low));c[14]=(bf=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1))),bg=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[7]))),1))),new $Uint64(bf.$high+bg.$high,bf.$low+bg.$low));c[15]=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(b.nilCheck,b[8]))),1)));c[16]=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),(new $Uint64(0,(b.nilCheck,b[8]))));BI(a,$clone(c,CQ));};BK=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=CQ.zero();d[0]=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),(new $Uint64(0,(c.nilCheck,c[0]))));d[1]=(e=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),0))),f=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(e.$high+f.$high,e.$low+f.$low));d[2]=(g=(h=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),i=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),1))),new $Uint64(h.$high+i.$high,h.$low+i.$low)),j=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(g.$high+j.$high,g.$low+j.$low));d[3]=(k=(l=(m=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),0))),n=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(m.$high+n.$high,m.$low+n.$low)),o=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),0))),new $Uint64(l.$high+o.$high,l.$low+o.$low)),p=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(k.$high+p.$high,k.$low+p.$low));d[4]=(q=(r=(s=(t=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),u=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),1))),new $Uint64(t.$high+u.$high,t.$low+u.$low)),v=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(s.$high+v.$high,s.$low+v.$low)),w=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),1))),new $Uint64(r.$high+w.$high,r.$low+w.$low)),x=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(q.$high+x.$high,q.$low+x.$low));d[5]=(y=(z=(aa=(ab=(ac=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),0))),ad=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(ac.$high+ad.$high,ac.$low+ad.$low)),ae=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),0))),new $Uint64(ab.$high+ae.$high,ab.$low+ae.$low)),af=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(aa.$high+af.$high,aa.$low+af.$low)),ag=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),0))),new $Uint64(z.$high+ag.$high,z.$low+ag.$low)),ah=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(y.$high+ah.$high,y.$low+ah.$low));d[6]=(ai=(aj=(ak=(al=(am=(an=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),ao=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),1))),new $Uint64(an.$high+ao.$high,an.$low+ao.$low)),ap=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(am.$high+ap.$high,am.$low+ap.$low)),aq=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),1))),new $Uint64(al.$high+aq.$high,al.$low+aq.$low)),ar=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(ak.$high+ar.$high,ak.$low+ar.$low)),as=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),1))),new $Uint64(aj.$high+as.$high,aj.$low+as.$low)),at=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(ai.$high+at.$high,ai.$low+at.$low));d[7]=(au=(av=(aw=(ax=(ay=(az=(ba=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),0))),bb=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(ba.$high+bb.$high,ba.$low+bb.$low)),bc=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),0))),new $Uint64(az.$high+bc.$high,az.$low+bc.$low)),bd=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(ay.$high+bd.$high,ay.$low+bd.$low)),be=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),0))),new $Uint64(ax.$high+be.$high,ax.$low+be.$low)),bf=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(aw.$high+bf.$high,aw.$low+bf.$low)),bg=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),0))),new $Uint64(av.$high+bg.$high,av.$low+bg.$low)),bh=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(au.$high+bh.$high,au.$low+bh.$low));d[8]=(bi=(bj=(bk=(bl=(bm=(bn=(bo=(bp=$mul64((new $Uint64(0,(b.nilCheck,b[0]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),bq=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),1))),new $Uint64(bp.$high+bq.$high,bp.$low+bq.$low)),br=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(bo.$high+br.$high,bo.$low+br.$low)),bs=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),1))),new $Uint64(bn.$high+bs.$high,bn.$low+bs.$low)),bt=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(bm.$high+bt.$high,bm.$low+bt.$low)),bu=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),1))),new $Uint64(bl.$high+bu.$high,bl.$low+bu.$low)),bv=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(bk.$high+bv.$high,bk.$low+bv.$low)),bw=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),1))),new $Uint64(bj.$high+bw.$high,bj.$low+bw.$low)),bx=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[0]))),0))),new $Uint64(bi.$high+bx.$high,bi.$low+bx.$low));d[9]=(by=(bz=(ca=(cb=(cc=(cd=(ce=$mul64((new $Uint64(0,(b.nilCheck,b[1]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),cf=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),0))),new $Uint64(ce.$high+cf.$high,ce.$low+cf.$low)),cg=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(cd.$high+cg.$high,cd.$low+cg.$low)),ch=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),0))),new $Uint64(cc.$high+ch.$high,cc.$low+ch.$low)),ci=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(cb.$high+ci.$high,cb.$low+ci.$low)),cj=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),0))),new $Uint64(ca.$high+cj.$high,ca.$low+cj.$low)),ck=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(bz.$high+ck.$high,bz.$low+ck.$low)),cl=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[1]))),0))),new $Uint64(by.$high+cl.$high,by.$low+cl.$low));d[10]=(cm=(cn=(co=(cp=(cq=(cr=$mul64((new $Uint64(0,(b.nilCheck,b[2]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),cs=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),1))),new $Uint64(cr.$high+cs.$high,cr.$low+cs.$low)),ct=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(cq.$high+ct.$high,cq.$low+ct.$low)),cu=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),1))),new $Uint64(cp.$high+cu.$high,cp.$low+cu.$low)),cv=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(co.$high+cv.$high,co.$low+cv.$low)),cw=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),1))),new $Uint64(cn.$high+cw.$high,cn.$low+cw.$low)),cx=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[2]))),0))),new $Uint64(cm.$high+cx.$high,cm.$low+cx.$low));d[11]=(cy=(cz=(da=(db=(dc=$mul64((new $Uint64(0,(b.nilCheck,b[3]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),dd=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),0))),new $Uint64(dc.$high+dd.$high,dc.$low+dd.$low)),de=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(db.$high+de.$high,db.$low+de.$low)),df=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),0))),new $Uint64(da.$high+df.$high,da.$low+df.$low)),dg=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(cz.$high+dg.$high,cz.$low+dg.$low)),dh=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[3]))),0))),new $Uint64(cy.$high+dh.$high,cy.$low+dh.$low));d[12]=(di=(dj=(dk=(dl=$mul64((new $Uint64(0,(b.nilCheck,b[4]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),dm=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),1))),new $Uint64(dl.$high+dm.$high,dl.$low+dm.$low)),dn=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(dk.$high+dn.$high,dk.$low+dn.$low)),dp=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),1))),new $Uint64(dj.$high+dp.$high,dj.$low+dp.$low)),dq=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[4]))),0))),new $Uint64(di.$high+dq.$high,di.$low+dq.$low));d[13]=(dr=(ds=(dt=$mul64((new $Uint64(0,(b.nilCheck,b[5]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),du=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),0))),new $Uint64(dt.$high+du.$high,dt.$low+du.$low)),dv=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(ds.$high+dv.$high,ds.$low+dv.$low)),dw=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[5]))),0))),new $Uint64(dr.$high+dw.$high,dr.$low+dw.$low));d[14]=(dx=(dy=$mul64((new $Uint64(0,(b.nilCheck,b[6]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),dz=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),1))),new $Uint64(dy.$high+dz.$high,dy.$low+dz.$low)),ea=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[6]))),0))),new $Uint64(dx.$high+ea.$high,dx.$low+ea.$low));d[15]=(eb=$mul64((new $Uint64(0,(b.nilCheck,b[7]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0))),ec=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[7]))),0))),new $Uint64(eb.$high+ec.$high,eb.$low+ec.$low));d[16]=$mul64((new $Uint64(0,(b.nilCheck,b[8]))),($shiftLeft64((new $Uint64(0,(c.nilCheck,c[8]))),0)));BI(a,$clone(d,CQ));};BL=function(a,b){var $ptr,a,b;CO.copy(a,b);};BM=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;c=CO.zero();d=CO.zero();e=$clone(c,CO);f=$clone(d,CO);g=CO.zero();h=CO.zero();i=CO.zero();j=CO.zero();k=CO.zero();l=CO.zero();m=$clone(g,CO);n=$clone(h,CO);o=$clone(i,CO);p=$clone(j,CO);q=$clone(k,CO);r=$clone(l,CO);BJ(e,b);BK(e,b,e);BL(m,e);BJ(e,e);BJ(e,e);BK(e,e,m);BL(n,e);BJ(e,e);BJ(e,e);BJ(e,e);BJ(e,e);BK(e,e,n);BL(o,e);s=0;while(true){if(!(s<8)){break;}BJ(e,e);s=s+(1)>>0;}BK(e,e,o);BL(p,e);t=0;while(true){if(!(t<16)){break;}BJ(e,e);t=t+(1)>>0;}BK(e,e,p);BL(q,e);u=0;while(true){if(!(u<32)){break;}BJ(e,e);u=u+(1)>>0;}BL(r,e);BK(e,e,b);v=0;while(true){if(!(v<192)){break;}BJ(e,e);v=v+(1)>>0;}BK(f,r,q);w=0;while(true){if(!(w<16)){break;}BJ(f,f);w=w+(1)>>0;}BK(f,f,p);x=0;while(true){if(!(x<8)){break;}BJ(f,f);x=x+(1)>>0;}BK(f,f,o);y=0;while(true){if(!(y<4)){break;}BJ(f,f);y=y+(1)>>0;}BK(f,f,n);BJ(f,f);BJ(f,f);BK(f,f,m);BJ(f,f);BJ(f,f);BK(f,f,b);BK(a,f,e);};BN=function(a){var $ptr,a,b,c;b=0;c=0;while(true){a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=($imul((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c])),(3))>>>0));a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))+(b)>>>0));b=(a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))>>>29>>>0;a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=(((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))&(536870911))>>>0));c=c+(1)>>0;if(c===9){break;}a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=($imul((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c])),(3))>>>0));a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))+(b)>>>0));b=(a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))>>>28>>>0;a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]=(((a.nilCheck,((c<0||c>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[c]))&(268435455))>>>0));c=c+(1)>>0;}BE(a,b);};BO=function(a){var $ptr,a,b,c,d,e,f,g,h;b=0;c=0;d=b;e=c;f=0;while(true){e=(a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>27>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((g=(2),g<32?((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))<<g):0)>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(536870911))>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))+(d)>>>0));d=e+(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>29>>>0))>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(536870911))>>>0));f=f+(1)>>0;if(f===9){break;}e=(a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>26>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((h=(2),h<32?((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))<<h):0)>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(268435455))>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))+(d)>>>0));d=e+(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>28>>>0))>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(268435455))>>>0));f=f+(1)>>0;}BE(a,d);};BP=function(a){var $ptr,a,b,c,d,e,f,g,h;b=0;c=0;d=b;e=c;f=0;while(true){e=(a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>26>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((g=(3),g<32?((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))<<g):0)>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(536870911))>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))+(d)>>>0));d=e+(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>29>>>0))>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(536870911))>>>0));f=f+(1)>>0;if(f===9){break;}e=(a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>25>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((h=(3),h<32?((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))<<h):0)>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(268435455))>>>0));a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))+(d)>>>0));d=e+(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))>>>28>>>0))>>>0;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=(((a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]))&(268435455))>>>0));f=f+(1)>>0;}BE(a,d);};BQ=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;g=CO.zero();h=CO.zero();i=CO.zero();j=CO.zero();k=CO.zero();l=CO.zero();m=$clone(g,CO);n=$clone(h,CO);o=$clone(i,CO);p=$clone(j,CO);q=$clone(k,CO);r=$clone(l,CO);BJ(m,f);BJ(n,e);BK(p,d,n);BF(q,d,m);BH(r,d,m);BK(o,q,r);BN(o);BF(q,e,f);BJ(q,q);BH(q,q,n);BH(c,q,m);BO(p);BJ(a,o);BH(a,a,p);BH(a,a,p);BH(q,p,a);BK(q,o,q);BJ(r,n);BP(r);BH(b,q,r);};BR=function(a,b,c,d,e,f,g,h){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;i=CO.zero();j=CO.zero();k=CO.zero();l=CO.zero();m=CO.zero();n=CO.zero();o=CO.zero();p=CO.zero();q=CO.zero();r=CO.zero();s=CO.zero();t=$clone(i,CO);u=$clone(j,CO);v=$clone(k,CO);w=$clone(l,CO);x=$clone(m,CO);y=$clone(n,CO);z=$clone(o,CO);aa=$clone(p,CO);ab=$clone(q,CO);ac=$clone(r,CO);ad=$clone(s,CO);BJ(t,f);BF(ad,f,f);BK(w,g,t);BK(u,f,t);BK(v,h,u);BH(x,w,d);BF(y,x,x);BJ(y,y);BK(z,x,y);BH(aa,v,e);BF(aa,aa,aa);BK(ac,d,y);BK(c,ad,x);BJ(ab,aa);BH(a,ab,z);BH(a,a,ac);BH(a,a,ac);BH(ad,ac,a);BK(b,ad,aa);BK(ad,e,z);BH(b,b,ad);BH(b,b,ad);};BS=function(a,b,c,d,e,f,g,h,i){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=CO.zero();k=CO.zero();l=CO.zero();m=CO.zero();n=CO.zero();o=CO.zero();p=CO.zero();q=CO.zero();r=CO.zero();s=CO.zero();t=CO.zero();u=CO.zero();v=CO.zero();w=CO.zero();x=CO.zero();y=$clone(j,CO);z=$clone(k,CO);aa=$clone(l,CO);ab=$clone(m,CO);ac=$clone(n,CO);ad=$clone(o,CO);ae=$clone(p,CO);af=$clone(q,CO);ag=$clone(r,CO);ah=$clone(s,CO);ai=$clone(t,CO);aj=$clone(u,CO);ak=$clone(v,CO);al=$clone(w,CO);am=$clone(x,CO);BJ(y,f);BJ(aa,i);BK(ae,d,aa);BF(am,f,i);BJ(am,am);BH(am,am,y);BH(am,am,aa);BK(ab,i,aa);BK(ac,e,ab);BK(af,g,y);BK(z,f,y);BK(ad,h,z);BH(ag,af,ae);BF(ah,ag,ag);BJ(ah,ah);BK(ai,ag,ah);BH(aj,ad,ac);BF(aj,aj,aj);BK(al,ae,ah);BK(c,am,ag);BJ(ak,aj);BH(a,ak,ai);BH(a,a,al);BH(a,a,al);BH(am,al,a);BK(b,am,aj);BK(am,ac,ai);BH(b,b,am);BH(b,b,am);};BT=function(a,b,c){var $ptr,a,b,c,d,e;d=0;while(true){if(!(d<9)){break;}e=(c&((((b.nilCheck,((d<0||d>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[d]))^(a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d])))>>>0)))>>>0;a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]=(((a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]))^(e))>>>0));d=d+(1)>>0;}};BU=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;e=a;f=0;while(true){if(!(f<9)){break;}g=f;a.nilCheck,((g<0||g>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[g]=0);f++;}h=b;i=0;while(true){if(!(i<9)){break;}j=i;b.nilCheck,((j<0||j>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[j]=0);i++;}k=1;while(true){if(!(k<16)){break;}l=(k^d)>>>0;l=(l|((l>>>2>>>0)))>>>0;l=(l|((l>>>1>>>0)))>>>0;l=(l&(1))>>>0;l=l-(1)>>>0;m=a;n=0;while(true){if(!(n<9)){break;}o=n;a.nilCheck,((o<0||o>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[o]=(((a.nilCheck,((o<0||o>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[o]))|((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])&l)>>>0)))>>>0));c=$subslice(c,1);n++;}p=b;q=0;while(true){if(!(q<9)){break;}r=q;b.nilCheck,((r<0||r>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[r]=(((b.nilCheck,((r<0||r>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[r]))|((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])&l)>>>0)))>>>0));c=$subslice(c,1);q++;}k=k+(1)>>>0;}};BV=function(a,b,c,d,e){var $ptr,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=a;g=0;while(true){if(!(g<9)){break;}h=g;a.nilCheck,((h<0||h>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[h]=0);g++;}i=b;j=0;while(true){if(!(j<9)){break;}k=j;b.nilCheck,((k<0||k>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[k]=0);j++;}l=c;m=0;while(true){if(!(m<9)){break;}n=m;c.nilCheck,((n<0||n>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[n]=0);m++;}o=1;while(true){if(!(o<16)){break;}p=(o^e)>>>0;p=(p|((p>>>2>>>0)))>>>0;p=(p|((p>>>1>>>0)))>>>0;p=(p&(1))>>>0;p=p-(1)>>>0;q=a;r=0;while(true){if(!(r<9)){break;}s=r;a.nilCheck,((s<0||s>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[s]=(((a.nilCheck,((s<0||s>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[s]))|((((t=(d.nilCheck,((o<0||o>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[o]))[0],((s<0||s>=t.length)?($throwRuntimeError(\"index out of range\"),undefined):t[s]))&p)>>>0)))>>>0));r++;}u=b;v=0;while(true){if(!(v<9)){break;}w=v;b.nilCheck,((w<0||w>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[w]=(((b.nilCheck,((w<0||w>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[w]))|((((x=(d.nilCheck,((o<0||o>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[o]))[1],((w<0||w>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[w]))&p)>>>0)))>>>0));v++;}y=c;z=0;while(true){if(!(z<9)){break;}aa=z;c.nilCheck,((aa<0||aa>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aa]=(((c.nilCheck,((aa<0||aa>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aa]))|((((ab=(d.nilCheck,((o<0||o>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[o]))[2],((aa<0||aa>=ab.length)?($throwRuntimeError(\"index out of range\"),undefined):ab[aa]))&p)>>>0)))>>>0));z++;}o=o+(1)>>>0;}};BW=function(a,b){var $ptr,a,b,c,d;return(((((((c=(((b&7)>>>0)),c<32?(((d=b>>>3>>>0,(a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]))))>>>c):0)<<24>>>24))&1)>>>0)>>>0));};BX=function(a,b,c,d){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;e=4294967295;f=0;g=0;h=0;i=f;j=g;k=h;l=CO.zero();m=CO.zero();n=CO.zero();o=CO.zero();p=CO.zero();q=$clone(l,CO);r=$clone(m,CO);s=$clone(n,CO);t=$clone(o,CO);u=$clone(p,CO);v=a;w=0;while(true){if(!(w<9)){break;}x=w;a.nilCheck,((x<0||x>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[x]=0);w++;}y=b;z=0;while(true){if(!(z<9)){break;}aa=z;b.nilCheck,((aa<0||aa>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[aa]=0);z++;}ab=c;ac=0;while(true){if(!(ac<9)){break;}ad=ac;c.nilCheck,((ad<0||ad>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ad]=0);ac++;}ae=0;while(true){if(!(ae<32)){break;}if(!((ae===0))){BQ(a,b,c,a,b,c);}k=0;af=0;while(true){if(!(af<=32)){break;}ag=BW(d,(31-ae>>>0)+af>>>0);ah=BW(d,(95-ae>>>0)+af>>>0);ai=BW(d,(159-ae>>>0)+af>>>0);aj=BW(d,(223-ae>>>0)+af>>>0);ak=(((((ag|((ah<<1>>>0)))>>>0)|((ai<<2>>>0)))>>>0)|((aj<<3>>>0)))>>>0;BU(q,r,$subslice(new CK(BC),k),ak);k=k+(270)>>>0;BR(s,t,u,a,b,c,q,r);BT(a,q,e);BT(b,r,e);BT(c,AY,e);i=BD(ak);j=(i&(~e>>>0))>>>0;BT(a,s,j);BT(b,t,j);BT(c,u,j);e=(e&~(i))>>>0;af=af+(32)>>>0;}ae=ae+(1)>>>0;}};BY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i;f=CO.zero();g=CO.zero();h=$clone(f,CO);i=$clone(g,CO);BM(h,e);BJ(i,h);BK(a,c,i);BK(h,h,i);BK(b,d,h);};BZ=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=[d];e=[e];f=CH.nil;g=CH.nil;h=CO.zero();i=CO.zero();d[0]=$clone(h,CO);e[0]=$clone(i,CO);BY(d[0],e[0],a,b,c);k=CC(d[0]);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;m=CC(e[0]);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;f=j;g=l;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:BZ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};CA=function(a,b,c,d,e,f){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;g=CO.zero();h=CO.zero();i=CO.zero();j=CO.zero();k=CO.zero();l=CO.zero();m=$clone(g,CO);n=$clone(h,CO);o=$clone(i,CO);p=$clone(j,CO);q=$clone(k,CO);r=$clone(l,CO);s=CS.zero();t=0;u=0;v=0;w=0;x=t;y=u;z=v;aa=w;CO.copy(s[1][0],d);CO.copy(s[1][1],e);CO.copy(s[1][2],AY);ab=2;while(true){if(!(ab<16)){break;}BQ(((ab<0||ab>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ab])[0],((ab<0||ab>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ab])[1],((ab<0||ab>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ab])[2],(ac=(ad=ab/2,(ad===ad&&ad!==1/0&&ad!==-1/0)?ad>>0:$throwRuntimeError(\"integer divide by zero\")),((ac<0||ac>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ac]))[0],(ae=(af=ab/2,(af===af&&af!==1/0&&af!==-1/0)?af>>0:$throwRuntimeError(\"integer divide by zero\")),((ae<0||ae>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ae]))[1],(ag=(ah=ab/2,(ah===ah&&ah!==1/0&&ah!==-1/0)?ah>>0:$throwRuntimeError(\"integer divide by zero\")),((ag<0||ag>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ag]))[2]);BR((ai=ab+1>>0,((ai<0||ai>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ai]))[0],(aj=ab+1>>0,((aj<0||aj>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[aj]))[1],(ak=ab+1>>0,((ak<0||ak>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ak]))[2],((ab<0||ab>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ab])[0],((ab<0||ab>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ab])[1],((ab<0||ab>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[ab])[2],d,e);ab=ab+(2)>>0;}al=a;am=0;while(true){if(!(am<9)){break;}an=am;a.nilCheck,((an<0||an>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[an]=0);am++;}ao=b;ap=0;while(true){if(!(ap<9)){break;}aq=ap;b.nilCheck,((aq<0||aq>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[aq]=0);ap++;}ar=c;as=0;while(true){if(!(as<9)){break;}at=as;c.nilCheck,((at<0||at>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[at]=0);as++;}x=4294967295;au=0;while(true){if(!(au<64)){break;}if(!((au===0))){BQ(a,b,c,a,b,c);BQ(a,b,c,a,b,c);BQ(a,b,c,a,b,c);BQ(a,b,c,a,b,c);}y=(((av=31-(aw=au/2,(aw===aw&&aw!==1/0&&aw!==-1/0)?aw>>0:$throwRuntimeError(\"integer divide by zero\"))>>0,(f.nilCheck,((av<0||av>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[av])))>>>0));if(((au&1))===1){y=(y&(15))>>>0;}else{y=(ax=(4),ax<32?(y>>>ax):0)>>>0;}BV(m,n,o,s,y);BS(p,q,r,a,b,c,m,n,o);BT(a,m,x);BT(b,n,x);BT(c,o,x);z=BD(y);aa=(z&(~x>>>0))>>>0;BT(a,p,aa);BT(b,q,aa);BT(c,r,aa);x=(x&~(z))>>>0;au=au+(1)>>0;}};CB=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=new B.Int.ptr(false,B.nat.nil).Lsh(b,257);d=c.Mod(c,AU.P);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=0;while(true){if(!(e<9)){break;}f=c.Bits();if(f.$length>0){a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(((((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])>>>0))&536870911)>>>0));}else{a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=0);}c.Rsh(c,29);e=e+(1)>>0;if(e===9){break;}g=c.Bits();if(g.$length>0){a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(((((0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0])>>>0))&268435455)>>>0));}else{a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=0);}c.Rsh(c,28);e=e+(1)>>0;}$s=-1;return;}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};CC=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new B.Int.ptr(false,B.nat.nil);c=new B.Int.ptr(false,B.nat.nil);d=b;e=c;d.SetInt64((new $Int64(0,(a.nilCheck,a[8]))));f=7;while(true){if(!(f>=0)){break;}if(((f&1))===0){d.Lsh(d,29);}else{d.Lsh(d,28);}e.SetInt64((new $Int64(0,(a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f])))));d.Add(d,e);f=f-(1)>>0;}d.Mul(d,AV);g=d.Mod(d,AU.P);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return d;}return;}if($f===undefined){$f={$blk:CC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};CE=function(){var $ptr;AT.copy(CD,new AT.ptr(AU));};CF.methods=[{prop:\"Params\",name:\"Params\",pkg:\"\",typ:$funcType([],[CF],false)},{prop:\"IsOnCurve\",name:\"IsOnCurve\",pkg:\"\",typ:$funcType([CH,CH],[$Bool],false)},{prop:\"affineFromJacobian\",name:\"affineFromJacobian\",pkg:\"crypto/elliptic\",typ:$funcType([CH,CH,CH],[CH,CH],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([CH,CH,CH,CH],[CH,CH],false)},{prop:\"addJacobian\",name:\"addJacobian\",pkg:\"crypto/elliptic\",typ:$funcType([CH,CH,CH,CH,CH,CH],[CH,CH,CH],false)},{prop:\"Double\",name:\"Double\",pkg:\"\",typ:$funcType([CH,CH],[CH,CH],false)},{prop:\"doubleJacobian\",name:\"doubleJacobian\",pkg:\"crypto/elliptic\",typ:$funcType([CH,CH,CH],[CH,CH,CH],false)},{prop:\"ScalarMult\",name:\"ScalarMult\",pkg:\"\",typ:$funcType([CH,CH,CJ],[CH,CH],false)},{prop:\"ScalarBaseMult\",name:\"ScalarBaseMult\",pkg:\"\",typ:$funcType([CJ],[CH,CH],false)}];U.methods=[{prop:\"Params\",name:\"Params\",pkg:\"\",typ:$funcType([],[CF],false)},{prop:\"IsOnCurve\",name:\"IsOnCurve\",pkg:\"\",typ:$funcType([CH,CH],[$Bool],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([CH,CH,CH,CH],[CH,CH],false)},{prop:\"Double\",name:\"Double\",pkg:\"\",typ:$funcType([CH,CH],[CH,CH],false)},{prop:\"ScalarMult\",name:\"ScalarMult\",pkg:\"\",typ:$funcType([CH,CH,CJ],[CH,CH],false)},{prop:\"ScalarBaseMult\",name:\"ScalarBaseMult\",pkg:\"\",typ:$funcType([CJ],[CH,CH],false)}];AT.methods=[{prop:\"Params\",name:\"Params\",pkg:\"\",typ:$funcType([],[CF],false)},{prop:\"ScalarBaseMult\",name:\"ScalarBaseMult\",pkg:\"\",typ:$funcType([CJ],[CH,CH],false)},{prop:\"ScalarMult\",name:\"ScalarMult\",pkg:\"\",typ:$funcType([CH,CH,CJ],[CH,CH],false)}];D.init([{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([CH,CH,CH,CH],[CH,CH],false)},{prop:\"Double\",name:\"Double\",pkg:\"\",typ:$funcType([CH,CH],[CH,CH],false)},{prop:\"IsOnCurve\",name:\"IsOnCurve\",pkg:\"\",typ:$funcType([CH,CH],[$Bool],false)},{prop:\"Params\",name:\"Params\",pkg:\"\",typ:$funcType([],[CF],false)},{prop:\"ScalarBaseMult\",name:\"ScalarBaseMult\",pkg:\"\",typ:$funcType([CJ],[CH,CH],false)},{prop:\"ScalarMult\",name:\"ScalarMult\",pkg:\"\",typ:$funcType([CH,CH,CJ],[CH,CH],false)}]);E.init(\"\",[{prop:\"P\",name:\"P\",exported:true,typ:CH,tag:\"\"},{prop:\"N\",name:\"N\",exported:true,typ:CH,tag:\"\"},{prop:\"B\",name:\"B\",exported:true,typ:CH,tag:\"\"},{prop:\"Gx\",name:\"Gx\",exported:true,typ:CH,tag:\"\"},{prop:\"Gy\",name:\"Gy\",exported:true,typ:CH,tag:\"\"},{prop:\"BitSize\",name:\"BitSize\",exported:true,typ:$Int,tag:\"\"},{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"}]);U.init(\"crypto/elliptic\",[{prop:\"CurveParams\",name:\"\",exported:true,typ:CF,tag:\"\"},{prop:\"gx\",name:\"gx\",exported:false,typ:X,tag:\"\"},{prop:\"gy\",name:\"gy\",exported:false,typ:X,tag:\"\"},{prop:\"b\",name:\"b\",exported:false,typ:X,tag:\"\"}]);X.init($Uint32,8);AT.init(\"\",[{prop:\"CurveParams\",name:\"\",exported:true,typ:CF,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}K=new C.Once.ptr(new C.Mutex.ptr(0,0),0);L=CF.nil;M=CF.nil;T=new U.ptr(CF.nil,CG.zero(),CG.zero(),CG.zero());AU=CF.nil;AV=CH.nil;CD=new AT.ptr(CF.nil);G=new CJ([255,1,3,7,15,31,63,127]);Y=$toNativeArray($kindUint32,[1,0,0,268431360,268435455,268435455,268435455,268435455]);AB=new CK([2147483656,2147483640,2147483640,2147450872,2147483640,2147483640,2147483640,2147483640]);AE=$toNativeArray($kindUint64,[new $Uint64(2147483656,0),new $Uint64(2147483640,0),new $Uint64(2147483640,0),new $Uint64(2147483640,0),new $Uint64(2147483639,4294443008),new $Uint64(2147483640,0),new $Uint64(2147483640,0),new $Uint64(2147483640,0)]);AY=$toNativeArray($kindUint32,[2,0,0,268433408,536870911,268435455,532676607,33554431,0]);BC=$toNativeArray($kindUint32,[290596984,242421057,230031737,78635775,310917853,212721032,295599836,222981803,51514350,489335829,254096764,434396381,96936400,429049253,170095751,22329889,21696699,11419619,222406006,153287761,37001551,101408979,373655214,216620824,535072883,66729676,99339564,188755759,22835391,358715996,94529284,229187216,215751807,513877062,236641822,248061730,40859512,90604670,168553630,37024851,439480858,226879324,90992905,170293760,190300240,10025815,178796492,101451666,217734681,102476702,92922779,10691781,131522279,43478603,532943434,176956491,484992866,215358590,405915872,123172065,496412073,138651209,205172986,115533781,124205610,395011560,67124891,438243778,7870186,258227729,93078495,255999938,425934842,143782578,305931036,74112396,88539357,94251799,388871183,138291069,185456137,265411090,56389202,435020300,219799744,159190848,184638233,71951349,14748830,54179201,90859435,91714381,501071970,207073549,21607325,40541819,204857247,75982029,124632266,212120422,244515755,443842791,92184193,504621904,256273651,116484896,79311219,202804275,365646905,111382033,121002173,187258447,66509915,5486974,321045696,106813439,60941558,350622890,153379607,466107082,182025965,221826634,260222982,54653047,174775689,76106445,166814421,260313327,455502422,14152227,65063826,238663282,111317018,110789974,518080,163043539,3185280,449863551,204453341,213898269,164542008,273777244,228642651,135456897,116610665,111505196,502845828,3430432,343397495,23354801,199756881,203603518,238413402,451639968,204952341,258456729,134076345,421511614,6366045,46236905,29730873,75111974,192722006,155066973,351520493,214702793,402536435,77105545,445695234,49487938,169309851,184388732,135863406,500019767,23199936,276509345,107743451,282094082,261267,90308643,376580903,109796441,40959228,262999756,241033666,246105707,50090300,67630940,195735859,158359529,193509607,120899987,31588239,420833648,180162304,273063591,53033664,215783594,30950397,236240872,364806751,9130514,246676327,136101161,197537558,45546695,257576489,324406118,202074818,85649040,222421617,255761364,30870187,16949106,121510965,250023868,181935023,166511770,141325342,266780208,392647399,2348054,528735877,41804168,107966648,404542751,158035532,412033845,173930329,396852918,267062899,357230868,49540177,58878809,194113917,29829449,325238538,237239775,173413552,1015183,495713,136567250,136396601,287878667,218717445,193315010,32289519,38657156,238414081,406919754,257809469,58222217,86139112,95303012,88256781,148453957,429206180,160877633,273786665,79574169,86713258,278868094,116766395,528802279,125439226,281337663,39453418,184844341,238149222,208587427,42902325,42491940,326299680,16080181,367290444,254451223,441087273,213368497,187332769,447880991,104209615,113842077,185816615,308787572,71338925,482342488,238904593,13096815,30177897,243196699,89107279,2855247,450001456,215177118,206574156,84781712,11616114,184986229,118447302,373941674,139088658,53019708,68960273,332604433,184854584,225840429,387167538,195693571,138420907,113046977,49566585,25878640,415883550,34327194,107956587,65991316,108331218,226451772,2997227,192155704,235148095,360879757,199853559,28097562,443192223,54415606,224812756,189496278,509228953,112408647,402282239,106887472,2219082,45315673,72416791,188054373,234221484,356088815,164846207,288014687,103081518,177253935,276753618,32938942,125660110,91493268,331777276,156289296,119886379,231179651,68086459,534655626,198581654,220775303,166165897,307563584,123325309,57143092,182626656,152800220,154428073,16017903,187603695,221030257,89005890,8038985,103901883,37829774,88235001,468532794,254222964,526283558,104949015,245526642,164552359,7239219,130619730,226520526,149071841,239214106,68733409,31180944,456743990,169722229,499445619,144011060,239820018,453851672,51989046,113402911,239342156,170872490,176956858,261258967,103265812,121052362,195126932,68664323,130066403,163798041,292069893,146190349,283373001,163683314,92807721,455819618,173862682,356737579,163398462,56942669,122161042,97105331,243662629,67694423,404017060,18986011,220498447,61887010,60535146,209032813,168001811,172627817,18857068,152560910,250363304,379416236,17569433,172056915,259148050,365781175,78428889,99599866,253038295,1190737,285520906,213382210,263923967,111956938,425804492,129961897,9795153,81850901,248789496,66350037,95217711,285808310,7188600,268270935,254724780,212364780,366392026,157674697,479376578,2045969,481329397,47757316,433176877,253803846,26550183,171333315,86221861,265094802,222617032,320802651,184028746,215612532,161199640,47944780,174534800,29495521,395087139,21447555,280523837,159753563,48711545,5726520,156793127,321990906,199251222,167040537,196486512,161400209,227830014,487028781,264711691,117551768,409175611,140072120,303696950,166199007,258257961,163174174,350418392,260410682,155381416,228964197,116240383,178067660,208004282,477396614,240036117,427939745,137975385,86955234,142427063,58372379,433230542,260916882,415434047,143015443,79775424,113112410,82068861,370483849,180850370,442090914,33721239,119287041,43353375,67400827,142103949,131242660,332936223,148565975,329029421,112716405,222993886,267477976,136140247,173797224,192622808,199703919,178815297,228027521,132622796,415151985,225918141,334829905,164675959,29661816]);BG=$toNativeArray($kindUint32,[2147483640,1073741820,2147483644,1073750012,2147483644,1073741820,2164260860,939524092,2147483644]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/sha512\"]=(function(){var $pkg={},$init,A,B,D,P,Q,R,S,T,X,Y,M,O,C,E,F,G,H,I,N;A=$packages[\"crypto\"];B=$packages[\"hash\"];D=$pkg.digest=$newType(0,$kindStruct,\"sha512.digest\",true,\"crypto/sha512\",false,function(h_,x_,nx_,len_,function$4_){this.$val=this;if(arguments.length===0){this.h=Q.zero();this.x=R.zero();this.nx=0;this.len=new $Uint64(0,0);this.function$4=0;return;}this.h=h_;this.x=x_;this.nx=nx_;this.len=len_;this.function$4=function$4_;});P=$sliceType($Uint64);Q=$arrayType($Uint64,8);R=$arrayType($Uint8,128);S=$sliceType($Uint8);T=$arrayType($Uint8,64);X=$arrayType($Uint64,80);Y=$ptrType(D);C=function(){var $ptr;A.RegisterHash(6,H);A.RegisterHash(7,E);A.RegisterHash(14,F);A.RegisterHash(15,G);};D.ptr.prototype.Reset=function(){var $ptr,a,b;a=this;b=a.function$4;if(b===(6)){a.h[0]=new $Uint64(3418070365,3238371032);a.h[1]=new $Uint64(1654270250,914150663);a.h[2]=new $Uint64(2438529370,812702999);a.h[3]=new $Uint64(355462360,4144912697);a.h[4]=new $Uint64(1731405415,4290775857);a.h[5]=new $Uint64(2394180231,1750603025);a.h[6]=new $Uint64(3675008525,1694076839);a.h[7]=new $Uint64(1203062813,3204075428);}else if(b===(14)){a.h[0]=new $Uint64(2352822216,424955298);a.h[1]=new $Uint64(1944164710,2312950998);a.h[2]=new $Uint64(502970286,855612546);a.h[3]=new $Uint64(1738396948,1479516111);a.h[4]=new $Uint64(258812777,2077511080);a.h[5]=new $Uint64(2011393907,79989058);a.h[6]=new $Uint64(1067287976,1780299464);a.h[7]=new $Uint64(286451373,2446758561);}else if(b===(15)){a.h[0]=new $Uint64(573645204,4230739756);a.h[1]=new $Uint64(2673172387,3360449730);a.h[2]=new $Uint64(596883563,1867755857);a.h[3]=new $Uint64(2520282905,1497426621);a.h[4]=new $Uint64(2519219938,2827943907);a.h[5]=new $Uint64(3193839141,1401305490);a.h[6]=new $Uint64(721525244,746961066);a.h[7]=new $Uint64(246885852,2177182882);}else{a.h[0]=new $Uint64(1779033703,4089235720);a.h[1]=new $Uint64(3144134277,2227873595);a.h[2]=new $Uint64(1013904242,4271175723);a.h[3]=new $Uint64(2773480762,1595750129);a.h[4]=new $Uint64(1359893119,2917565137);a.h[5]=new $Uint64(2600822924,725511199);a.h[6]=new $Uint64(528734635,4215389547);a.h[7]=new $Uint64(1541459225,327033209);}a.nx=0;a.len=new $Uint64(0,0);};D.prototype.Reset=function(){return this.$val.Reset();};E=function(){var $ptr,a;a=new D.ptr(Q.zero(),R.zero(),0,new $Uint64(0,0),7);a.Reset();return a;};$pkg.New=E;F=function(){var $ptr,a;a=new D.ptr(Q.zero(),R.zero(),0,new $Uint64(0,0),14);a.Reset();return a;};$pkg.New512_224=F;G=function(){var $ptr,a;a=new D.ptr(Q.zero(),R.zero(),0,new $Uint64(0,0),15);a.Reset();return a;};$pkg.New512_256=G;H=function(){var $ptr,a;a=new D.ptr(Q.zero(),R.zero(),0,new $Uint64(0,0),6);a.Reset();return a;};$pkg.New384=H;D.ptr.prototype.Size=function(){var $ptr,a,b;a=this;b=a.function$4;if(b===(14)){return 28;}else if(b===(15)){return 32;}else if(b===(6)){return 48;}else{return 64;}};D.prototype.Size=function(){return this.$val.Size();};D.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return 128;};D.prototype.BlockSize=function(){return this.$val.BlockSize();};D.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;b=a.$length;d.len=(e=d.len,f=(new $Uint64(0,b)),new $Uint64(e.$high+f.$high,e.$low+f.$low));if(d.nx>0){$s=1;continue;}$s=2;continue;case 1:g=$copySlice($subslice(new S(d.x),d.nx),a);d.nx=d.nx+(g)>>0;if(d.nx===128){$s=3;continue;}$s=4;continue;case 3:$r=O(d,new S(d.x));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nx=0;case 4:a=$subslice(a,g);case 2:if(a.$length>=128){$s=6;continue;}$s=7;continue;case 6:h=(a.$length&~127)>>0;$r=O(d,$subslice(a,0,h));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=$subslice(a,h);case 7:if(a.$length>0){d.nx=$copySlice(new S(d.x),a);}$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Write=function(a){return this.$val.Write(a);};D.ptr.prototype.Sum=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=new D.ptr(Q.zero(),R.zero(),0,new $Uint64(0,0),0);D.copy(c,b);d=c.checkSum();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,T);f=c.function$4;if(f===(6)){$s=-1;return $appendSlice(a,$subslice(new S(e),0,48));}else if(f===(14)){$s=-1;return $appendSlice(a,$subslice(new S(e),0,28));}else if(f===(15)){$s=-1;return $appendSlice(a,$subslice(new S(e),0,32));}else{$s=-1;return $appendSlice(a,new S(e));}$s=-1;return S.nil;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Sum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Sum=function(a){return this.$val.Sum(a);};D.ptr.prototype.checkSum=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.len;c=R.zero();c[0]=128;if((d=$div64(b,new $Uint64(0,128),true),(d.$high<0||(d.$high===0&&d.$low<112)))){$s=1;continue;}$s=2;continue;case 1:f=a.Write($subslice(new S(c),0,$flatten64((e=$div64(b,new $Uint64(0,128),true),new $Uint64(0-e.$high,112-e.$low)))));$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=3;continue;case 2:h=a.Write($subslice(new S(c),0,$flatten64((g=$div64(b,new $Uint64(0,128),true),new $Uint64(0-g.$high,240-g.$low)))));$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 3:b=$shiftLeft64(b,(3));i=0;while(true){if(!(i<16)){break;}((i<0||i>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[i]=(($shiftRightUint64(b,((120-(8*i>>>0)>>>0))).$low<<24>>>24)));i=i+(1)>>>0;}j=a.Write($subslice(new S(c),0,16));$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;if(!((a.nx===0))){$panic(new $String(\"d.nx != 0\"));}k=new P(a.h);if(a.function$4===6){k=$subslice(new P(a.h),0,6);}l=T.zero();m=k;n=0;while(true){if(!(n<m.$length)){break;}o=n;p=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);(q=$imul(o,8),((q<0||q>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[q]=(($shiftRightUint64(p,56).$low<<24>>>24))));(r=($imul(o,8))+1>>0,((r<0||r>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[r]=(($shiftRightUint64(p,48).$low<<24>>>24))));(s=($imul(o,8))+2>>0,((s<0||s>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[s]=(($shiftRightUint64(p,40).$low<<24>>>24))));(t=($imul(o,8))+3>>0,((t<0||t>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[t]=(($shiftRightUint64(p,32).$low<<24>>>24))));(u=($imul(o,8))+4>>0,((u<0||u>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[u]=(($shiftRightUint64(p,24).$low<<24>>>24))));(v=($imul(o,8))+5>>0,((v<0||v>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[v]=(($shiftRightUint64(p,16).$low<<24>>>24))));(w=($imul(o,8))+6>>0,((w<0||w>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[w]=(($shiftRightUint64(p,8).$low<<24>>>24))));(x=($imul(o,8))+7>>0,((x<0||x>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[x]=((p.$low<<24>>>24))));n++;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.checkSum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.checkSum=function(){return this.$val.checkSum();};I=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new D.ptr(Q.zero(),R.zero(),0,new $Uint64(0,0),7);b.Reset();c=b.Write(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;d=b.checkSum();$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:I};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sum512=I;N=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,ei,ej,ek,el,em,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=X.zero();d=a.h[0];e=a.h[1];f=a.h[2];g=a.h[3];h=a.h[4];i=a.h[5];j=a.h[6];k=a.h[7];l=d;m=e;n=f;o=g;p=h;q=i;r=j;s=k;while(true){if(!(b.$length>=128)){break;}t=0;while(true){if(!(t<16)){break;}u=$imul(t,8);((t<0||t>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[t]=(v=(w=(x=(y=(z=(aa=(ab=$shiftLeft64((new $Uint64(0,((u<0||u>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+u]))),56),ac=$shiftLeft64((new $Uint64(0,(ad=u+1>>0,((ad<0||ad>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ad])))),48),new $Uint64(ab.$high|ac.$high,(ab.$low|ac.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(af=u+2>>0,((af<0||af>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+af])))),40),new $Uint64(aa.$high|ae.$high,(aa.$low|ae.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(ah=u+3>>0,((ah<0||ah>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ah])))),32),new $Uint64(z.$high|ag.$high,(z.$low|ag.$low)>>>0)),ai=$shiftLeft64((new $Uint64(0,(aj=u+4>>0,((aj<0||aj>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+aj])))),24),new $Uint64(y.$high|ai.$high,(y.$low|ai.$low)>>>0)),ak=$shiftLeft64((new $Uint64(0,(al=u+5>>0,((al<0||al>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+al])))),16),new $Uint64(x.$high|ak.$high,(x.$low|ak.$low)>>>0)),am=$shiftLeft64((new $Uint64(0,(an=u+6>>0,((an<0||an>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+an])))),8),new $Uint64(w.$high|am.$high,(w.$low|am.$low)>>>0)),ao=(new $Uint64(0,(ap=u+7>>0,((ap<0||ap>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ap])))),new $Uint64(v.$high|ao.$high,(v.$low|ao.$low)>>>0)));t=t+(1)>>0;}aq=16;while(true){if(!(aq<80)){break;}as=(ar=aq-2>>0,((ar<0||ar>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ar]));bb=(at=(au=(av=$shiftRightUint64(as,19),aw=$shiftLeft64(as,45),new $Uint64(av.$high|aw.$high,(av.$low|aw.$low)>>>0)),ax=(ay=$shiftRightUint64(as,61),az=$shiftLeft64(as,3),new $Uint64(ay.$high|az.$high,(ay.$low|az.$low)>>>0)),new $Uint64(au.$high^ax.$high,(au.$low^ax.$low)>>>0)),ba=$shiftRightUint64(as,6),new $Uint64(at.$high^ba.$high,(at.$low^ba.$low)>>>0));bd=(bc=aq-15>>0,((bc<0||bc>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bc]));bm=(be=(bf=(bg=$shiftRightUint64(bd,1),bh=$shiftLeft64(bd,63),new $Uint64(bg.$high|bh.$high,(bg.$low|bh.$low)>>>0)),bi=(bj=$shiftRightUint64(bd,8),bk=$shiftLeft64(bd,56),new $Uint64(bj.$high|bk.$high,(bj.$low|bk.$low)>>>0)),new $Uint64(bf.$high^bi.$high,(bf.$low^bi.$low)>>>0)),bl=$shiftRightUint64(bd,7),new $Uint64(be.$high^bl.$high,(be.$low^bl.$low)>>>0));((aq<0||aq>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aq]=(bn=(bo=(bp=(bq=aq-7>>0,((bq<0||bq>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bq])),new $Uint64(bb.$high+bp.$high,bb.$low+bp.$low)),new $Uint64(bo.$high+bm.$high,bo.$low+bm.$low)),br=(bs=aq-16>>0,((bs<0||bs>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bs])),new $Uint64(bn.$high+br.$high,bn.$low+br.$low)));aq=aq+(1)>>0;}bt=l;bu=m;bv=n;bw=o;bx=p;by=q;bz=r;ca=s;cb=bt;cc=bu;cd=bv;ce=bw;cf=bx;cg=by;ch=bz;ci=ca;cj=0;while(true){if(!(cj<80)){break;}de=(ck=(cl=(cm=(cn=(co=(cp=(cq=$shiftRightUint64(cf,14),cr=$shiftLeft64(cf,50),new $Uint64(cq.$high|cr.$high,(cq.$low|cr.$low)>>>0)),cs=(ct=$shiftRightUint64(cf,18),cu=$shiftLeft64(cf,46),new $Uint64(ct.$high|cu.$high,(ct.$low|cu.$low)>>>0)),new $Uint64(cp.$high^cs.$high,(cp.$low^cs.$low)>>>0)),cv=(cw=$shiftRightUint64(cf,41),cx=$shiftLeft64(cf,23),new $Uint64(cw.$high|cx.$high,(cw.$low|cx.$low)>>>0)),new $Uint64(co.$high^cv.$high,(co.$low^cv.$low)>>>0)),new $Uint64(ci.$high+cn.$high,ci.$low+cn.$low)),cy=(cz=new $Uint64(cf.$high&cg.$high,(cf.$low&cg.$low)>>>0),da=(db=new $Uint64(~cf.$high,~cf.$low>>>0),new $Uint64(db.$high&ch.$high,(db.$low&ch.$low)>>>0)),new $Uint64(cz.$high^da.$high,(cz.$low^da.$low)>>>0)),new $Uint64(cm.$high+cy.$high,cm.$low+cy.$low)),dc=((cj<0||cj>=M.$length)?($throwRuntimeError(\"index out of range\"),undefined):M.$array[M.$offset+cj]),new $Uint64(cl.$high+dc.$high,cl.$low+dc.$low)),dd=((cj<0||cj>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[cj]),new $Uint64(ck.$high+dd.$high,ck.$low+dd.$low));dw=(df=(dg=(dh=(di=$shiftRightUint64(cb,28),dj=$shiftLeft64(cb,36),new $Uint64(di.$high|dj.$high,(di.$low|dj.$low)>>>0)),dk=(dl=$shiftRightUint64(cb,34),dm=$shiftLeft64(cb,30),new $Uint64(dl.$high|dm.$high,(dl.$low|dm.$low)>>>0)),new $Uint64(dh.$high^dk.$high,(dh.$low^dk.$low)>>>0)),dn=(dp=$shiftRightUint64(cb,39),dq=$shiftLeft64(cb,25),new $Uint64(dp.$high|dq.$high,(dp.$low|dq.$low)>>>0)),new $Uint64(dg.$high^dn.$high,(dg.$low^dn.$low)>>>0)),dr=(ds=(dt=new $Uint64(cb.$high&cc.$high,(cb.$low&cc.$low)>>>0),du=new $Uint64(cb.$high&cd.$high,(cb.$low&cd.$low)>>>0),new $Uint64(dt.$high^du.$high,(dt.$low^du.$low)>>>0)),dv=new $Uint64(cc.$high&cd.$high,(cc.$low&cd.$low)>>>0),new $Uint64(ds.$high^dv.$high,(ds.$low^dv.$low)>>>0)),new $Uint64(df.$high+dr.$high,df.$low+dr.$low));ci=ch;ch=cg;cg=cf;cf=new $Uint64(ce.$high+de.$high,ce.$low+de.$low);ce=cd;cd=cc;cc=cb;cb=new $Uint64(de.$high+dw.$high,de.$low+dw.$low);cj=cj+(1)>>0;}l=(dx=cb,new $Uint64(l.$high+dx.$high,l.$low+dx.$low));m=(dy=cc,new $Uint64(m.$high+dy.$high,m.$low+dy.$low));n=(dz=cd,new $Uint64(n.$high+dz.$high,n.$low+dz.$low));o=(ea=ce,new $Uint64(o.$high+ea.$high,o.$low+ea.$low));p=(eb=cf,new $Uint64(p.$high+eb.$high,p.$low+eb.$low));q=(ec=cg,new $Uint64(q.$high+ec.$high,q.$low+ec.$low));r=(ed=ch,new $Uint64(r.$high+ed.$high,r.$low+ed.$low));s=(ee=ci,new $Uint64(s.$high+ee.$high,s.$low+ee.$low));b=$subslice(b,128);}ef=l;eg=m;eh=n;ei=o;ej=p;ek=q;el=r;em=s;a.h[0]=ef;a.h[1]=eg;a.h[2]=eh;a.h[3]=ei;a.h[4]=ej;a.h[5]=ek;a.h[6]=el;a.h[7]=em;};Y.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([S],[$Int,$error],false)},{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([S],[S],false)},{prop:\"checkSum\",name:\"checkSum\",pkg:\"crypto/sha512\",typ:$funcType([],[T],false)}];D.init(\"crypto/sha512\",[{prop:\"h\",name:\"h\",exported:false,typ:Q,tag:\"\"},{prop:\"x\",name:\"x\",exported:false,typ:R,tag:\"\"},{prop:\"nx\",name:\"nx\",exported:false,typ:$Int,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"function$4\",name:\"function\",exported:false,typ:A.Hash,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}M=new P([new $Uint64(1116352408,3609767458),new $Uint64(1899447441,602891725),new $Uint64(3049323471,3964484399),new $Uint64(3921009573,2173295548),new $Uint64(961987163,4081628472),new $Uint64(1508970993,3053834265),new $Uint64(2453635748,2937671579),new $Uint64(2870763221,3664609560),new $Uint64(3624381080,2734883394),new $Uint64(310598401,1164996542),new $Uint64(607225278,1323610764),new $Uint64(1426881987,3590304994),new $Uint64(1925078388,4068182383),new $Uint64(2162078206,991336113),new $Uint64(2614888103,633803317),new $Uint64(3248222580,3479774868),new $Uint64(3835390401,2666613458),new $Uint64(4022224774,944711139),new $Uint64(264347078,2341262773),new $Uint64(604807628,2007800933),new $Uint64(770255983,1495990901),new $Uint64(1249150122,1856431235),new $Uint64(1555081692,3175218132),new $Uint64(1996064986,2198950837),new $Uint64(2554220882,3999719339),new $Uint64(2821834349,766784016),new $Uint64(2952996808,2566594879),new $Uint64(3210313671,3203337956),new $Uint64(3336571891,1034457026),new $Uint64(3584528711,2466948901),new $Uint64(113926993,3758326383),new $Uint64(338241895,168717936),new $Uint64(666307205,1188179964),new $Uint64(773529912,1546045734),new $Uint64(1294757372,1522805485),new $Uint64(1396182291,2643833823),new $Uint64(1695183700,2343527390),new $Uint64(1986661051,1014477480),new $Uint64(2177026350,1206759142),new $Uint64(2456956037,344077627),new $Uint64(2730485921,1290863460),new $Uint64(2820302411,3158454273),new $Uint64(3259730800,3505952657),new $Uint64(3345764771,106217008),new $Uint64(3516065817,3606008344),new $Uint64(3600352804,1432725776),new $Uint64(4094571909,1467031594),new $Uint64(275423344,851169720),new $Uint64(430227734,3100823752),new $Uint64(506948616,1363258195),new $Uint64(659060556,3750685593),new $Uint64(883997877,3785050280),new $Uint64(958139571,3318307427),new $Uint64(1322822218,3812723403),new $Uint64(1537002063,2003034995),new $Uint64(1747873779,3602036899),new $Uint64(1955562222,1575990012),new $Uint64(2024104815,1125592928),new $Uint64(2227730452,2716904306),new $Uint64(2361852424,442776044),new $Uint64(2428436474,593698344),new $Uint64(2756734187,3733110249),new $Uint64(3204031479,2999351573),new $Uint64(3329325298,3815920427),new $Uint64(3391569614,3928383900),new $Uint64(3515267271,566280711),new $Uint64(3940187606,3454069534),new $Uint64(4118630271,4000239992),new $Uint64(116418474,1914138554),new $Uint64(174292421,2731055270),new $Uint64(289380356,3203993006),new $Uint64(460393269,320620315),new $Uint64(685471733,587496836),new $Uint64(852142971,1086792851),new $Uint64(1017036298,365543100),new $Uint64(1126000580,2618297676),new $Uint64(1288033470,3409855158),new $Uint64(1501505948,4234509866),new $Uint64(1607167915,987167468),new $Uint64(1816402316,1246189591)]);O=N;C();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"encoding/asn1\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,F,G,I,J,Q,S,U,V,AE,AF,AW,AX,BC,BD,BE,BF,BG,BH,BI,BP,BQ,CH,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,O,AI,AJ,AK,AL,AM,AN,AO,AP,BA,BB,a,b,c,K,L,M,N,P,R,T,W,X,Y,Z,AA,AB,AC,AD,AG,AH,AQ,AR,AS,AT,AU,AV,AY,AZ,BJ,BK,BL,BM,BN,BO,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CB,CC,CD,CE,CF,CG;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"math/big\"];D=$packages[\"reflect\"];E=$packages[\"strconv\"];H=$packages[\"strings\"];F=$packages[\"time\"];G=$packages[\"unicode/utf8\"];I=$pkg.StructuralError=$newType(0,$kindStruct,\"asn1.StructuralError\",true,\"encoding/asn1\",true,function(Msg_){this.$val=this;if(arguments.length===0){this.Msg=\"\";return;}this.Msg=Msg_;});J=$pkg.SyntaxError=$newType(0,$kindStruct,\"asn1.SyntaxError\",true,\"encoding/asn1\",true,function(Msg_){this.$val=this;if(arguments.length===0){this.Msg=\"\";return;}this.Msg=Msg_;});Q=$pkg.BitString=$newType(0,$kindStruct,\"asn1.BitString\",true,\"encoding/asn1\",true,function(Bytes_,BitLength_){this.$val=this;if(arguments.length===0){this.Bytes=CH.nil;this.BitLength=0;return;}this.Bytes=Bytes_;this.BitLength=BitLength_;});S=$pkg.ObjectIdentifier=$newType(12,$kindSlice,\"asn1.ObjectIdentifier\",true,\"encoding/asn1\",true,null);U=$pkg.Enumerated=$newType(4,$kindInt,\"asn1.Enumerated\",true,\"encoding/asn1\",true,null);V=$pkg.Flag=$newType(1,$kindBool,\"asn1.Flag\",true,\"encoding/asn1\",true,null);AE=$pkg.RawValue=$newType(0,$kindStruct,\"asn1.RawValue\",true,\"encoding/asn1\",true,function(Class_,Tag_,IsCompound_,Bytes_,FullBytes_){this.$val=this;if(arguments.length===0){this.Class=0;this.Tag=0;this.IsCompound=false;this.Bytes=CH.nil;this.FullBytes=CH.nil;return;}this.Class=Class_;this.Tag=Tag_;this.IsCompound=IsCompound_;this.Bytes=Bytes_;this.FullBytes=FullBytes_;});AF=$pkg.RawContent=$newType(12,$kindSlice,\"asn1.RawContent\",true,\"encoding/asn1\",true,null);AW=$pkg.tagAndLength=$newType(0,$kindStruct,\"asn1.tagAndLength\",true,\"encoding/asn1\",false,function(class$0_,tag_,length_,isCompound_){this.$val=this;if(arguments.length===0){this.class$0=0;this.tag=0;this.length=0;this.isCompound=false;return;}this.class$0=class$0_;this.tag=tag_;this.length=length_;this.isCompound=isCompound_;});AX=$pkg.fieldParameters=$newType(0,$kindStruct,\"asn1.fieldParameters\",true,\"encoding/asn1\",false,function(optional_,explicit_,application_,defaultValue_,tag_,stringType_,timeType_,set_,omitEmpty_){this.$val=this;if(arguments.length===0){this.optional=false;this.explicit=false;this.application=false;this.defaultValue=CN.nil;this.tag=CO.nil;this.stringType=0;this.timeType=0;this.set=false;this.omitEmpty=false;return;}this.optional=optional_;this.explicit=explicit_;this.application=application_;this.defaultValue=defaultValue_;this.tag=tag_;this.stringType=stringType_;this.timeType=timeType_;this.set=set_;this.omitEmpty=omitEmpty_;});BC=$pkg.encoder=$newType(8,$kindInterface,\"asn1.encoder\",true,\"encoding/asn1\",false,null);BD=$pkg.byteEncoder=$newType(1,$kindUint8,\"asn1.byteEncoder\",true,\"encoding/asn1\",false,null);BE=$pkg.bytesEncoder=$newType(12,$kindSlice,\"asn1.bytesEncoder\",true,\"encoding/asn1\",false,null);BF=$pkg.stringEncoder=$newType(8,$kindString,\"asn1.stringEncoder\",true,\"encoding/asn1\",false,null);BG=$pkg.multiEncoder=$newType(12,$kindSlice,\"asn1.multiEncoder\",true,\"encoding/asn1\",false,null);BH=$pkg.taggedEncoder=$newType(0,$kindStruct,\"asn1.taggedEncoder\",true,\"encoding/asn1\",false,function(scratch_,tag_,body_){this.$val=this;if(arguments.length===0){this.scratch=CR.zero();this.tag=$ifaceNil;this.body=$ifaceNil;return;}this.scratch=scratch_;this.tag=tag_;this.body=body_;});BI=$pkg.int64Encoder=$newType(8,$kindInt64,\"asn1.int64Encoder\",true,\"encoding/asn1\",false,null);BP=$pkg.bitStringEncoder=$newType(0,$kindStruct,\"asn1.bitStringEncoder\",true,\"encoding/asn1\",false,function(Bytes_,BitLength_){this.$val=this;if(arguments.length===0){this.Bytes=CH.nil;this.BitLength=0;return;}this.Bytes=Bytes_;this.BitLength=BitLength_;});BQ=$pkg.oidEncoder=$newType(12,$kindSlice,\"asn1.oidEncoder\",true,\"encoding/asn1\",false,null);CH=$sliceType($Uint8);CI=$ptrType(F.Location);CJ=$ptrType(C.Int);CK=$sliceType($Int);CL=$sliceType($emptyInterface);CM=$ptrType(D.rtype);CN=$ptrType($Int64);CO=$ptrType($Int);CP=$sliceType(BC);CQ=$arrayType($Uint8,4);CR=$arrayType($Uint8,8);CS=$ptrType(BH);I.ptr.prototype.Error=function(){var $ptr,d;d=this;return\"asn1: structure error: \"+d.Msg;};I.prototype.Error=function(){return this.$val.Error();};J.ptr.prototype.Error=function(){var $ptr,d;d=this;return\"asn1: syntax error: \"+d.Msg;};J.prototype.Error=function(){return this.$val.Error();};K=function(d){var $ptr,d,e,f,g,h,i;e=false;f=$ifaceNil;if(!((d.$length===1))){f=(g=new J.ptr(\"invalid boolean\"),new g.constructor.elem(g));return[e,f];}h=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]);if(h===(0)){e=false;}else if(h===(255)){e=true;}else{f=(i=new J.ptr(\"invalid boolean\"),new i.constructor.elem(i));}return[e,f];};L=function(d){var $ptr,d,e,f;if(d.$length===0){return(e=new I.ptr(\"empty integer\"),new e.constructor.elem(e));}if(d.$length===1){return $ifaceNil;}if((((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===0)&&((((1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1])&128)>>>0)===0))||(((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===255)&&((((1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1])&128)>>>0)===128))){return(f=new I.ptr(\"integer not minimally-encoded\"),new f.constructor.elem(f));}return $ifaceNil;};M=function(d){var $ptr,d,e,f,g,h,i;e=new $Int64(0,0);f=$ifaceNil;f=L(d);if(!($interfaceIsEqual(f,$ifaceNil))){return[e,f];}if(d.$length>8){f=(g=new I.ptr(\"integer too large\"),new g.constructor.elem(g));return[e,f];}h=0;while(true){if(!(h<d.$length)){break;}e=$shiftLeft64(e,(8));e=(i=(new $Int64(0,((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]))),new $Int64(e.$high|i.$high,(e.$low|i.$low)>>>0));h=h+(1)>>0;}e=$shiftLeft64(e,((64-(((d.$length<<24>>>24))*8<<24>>>24)<<24>>>24)));e=$shiftRightInt64(e,((64-(((d.$length<<24>>>24))*8<<24>>>24)<<24>>>24)));return[e,f];};N=function(d){var $ptr,d,e,f,g,h,i,j;e=L(d);if(!($interfaceIsEqual(e,$ifaceNil))){return[0,e];}f=M(d);g=f[0];h=f[1];if(!($interfaceIsEqual(h,$ifaceNil))){return[0,h];}if(!((i=(new $Int64(0,(((g.$low+((g.$high>>31)*4294967296))>>0)))),(g.$high===i.$high&&g.$low===i.$low)))){return[0,(j=new I.ptr(\"integer too large\"),new j.constructor.elem(j))];}return[(((g.$low+((g.$high>>31)*4294967296))>>0)),$ifaceNil];};P=function(d){var $ptr,d,e,f,g,h,i,j;e=L(d);if(!($interfaceIsEqual(e,$ifaceNil))){return[CJ.nil,e];}f=new C.Int.ptr(false,C.nat.nil);if(d.$length>0&&((((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])&128)>>>0)===128)){g=$makeSlice(CH,d.$length);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=(~((j<0||j>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+j])<<24>>>24));i++;}f.SetBytes(g);f.Add(f,O);f.Neg(f);return[f,$ifaceNil];}f.SetBytes(d);return[f,$ifaceNil];};Q.ptr.prototype.At=function(d){var $ptr,d,e,f,g,h,i,j,k;e=this;if(d<0||d>=e.BitLength){return 0;}g=(f=d/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));i=7-(((h=d%8,h===h?h:$throwRuntimeError(\"integer divide by zero\"))>>>0))>>>0;return((((j=i,j<32?((k=e.Bytes,((g<0||g>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+g]))>>>j):0)<<24>>>24)>>0))&1;};Q.prototype.At=function(d){return this.$val.At(d);};Q.ptr.prototype.RightAlign=function(){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o;d=this;f=(((8-((e=d.BitLength%8,e===e?e:$throwRuntimeError(\"integer divide by zero\")))>>0)>>>0));if((f===8)||(d.Bytes.$length===0)){return d.Bytes;}g=$makeSlice(CH,d.Bytes.$length);(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]=((h=f,h<32?((i=d.Bytes,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))>>>h):0)<<24>>>24));j=1;while(true){if(!(j<d.Bytes.$length)){break;}((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=((k=((8-f>>>0)),k<32?((l=d.Bytes,m=j-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]))<<k):0)<<24>>>24));((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=((((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j])|(((n=f,n<32?((o=d.Bytes,((j<0||j>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+j]))>>>n):0)<<24>>>24)))>>>0));j=j+(1)>>0;}return g;};Q.prototype.RightAlign=function(){return this.$val.RightAlign();};R=function(d){var $ptr,d,e,f,g,h,i,j,k;e=new Q.ptr(CH.nil,0);f=$ifaceNil;if(d.$length===0){f=(g=new J.ptr(\"zero length BIT STRING\"),new g.constructor.elem(g));return[e,f];}h=(((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])>>0));if(h>7||(d.$length===1)&&h>0||!(((((i=d.$length-1>>0,((i<0||i>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+i]))&(((((j=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]),j<32?(1<<j):0)<<24>>>24))-1<<24>>>24)))>>>0)===0))){f=(k=new J.ptr(\"invalid padding bits in BIT STRING\"),new k.constructor.elem(k));return[e,f];}e.BitLength=($imul(((d.$length-1>>0)),8))-h>>0;e.Bytes=$subslice(d,1);return[e,f];};S.prototype.Equal=function(d){var $ptr,d,e,f;e=this;if(!((e.$length===d.$length))){return false;}f=0;while(true){if(!(f<e.$length)){break;}if(!((((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f])===((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])))){return false;}f=f+(1)>>0;}return true;};$ptrType(S).prototype.Equal=function(d){return this.$get().Equal(d);};S.prototype.String=function(){var $ptr,d,e,f,g,h,i;d=this;e=\"\";f=d;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){e=e+(\".\");}e=e+(E.Itoa(i));g++;}return e;};$ptrType(S).prototype.String=function(){return this.$get().String();};T=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n;e=CK.nil;f=$ifaceNil;if(d.$length===0){f=(g=new J.ptr(\"zero length OBJECT IDENTIFIER\"),new g.constructor.elem(g));return[e,f];}e=$makeSlice(CK,(d.$length+1>>0));h=W(d,0);i=h[0];j=h[1];f=h[2];if(!($interfaceIsEqual(f,$ifaceNil))){return[e,f];}if(i<80){(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=(k=i/40,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]=(l=i%40,l===l?l:$throwRuntimeError(\"integer divide by zero\")));}else{(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=2);(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]=(i-80>>0));}m=2;while(true){if(!(j<d.$length)){break;}n=W(d,j);i=n[0];j=n[1];f=n[2];if(!($interfaceIsEqual(f,$ifaceNil))){return[e,f];}((m<0||m>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+m]=i);m=m+(1)>>0;}e=$subslice(e,0,m);return[e,f];};W=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m;f=0;g=0;h=$ifaceNil;g=e;i=0;while(true){if(!(g<d.$length)){break;}if(i===4){h=(j=new I.ptr(\"base 128 integer too large\"),new j.constructor.elem(j));return[f,g,h];}f=(k=(7),k<32?(f<<k):0)>>0;l=((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]);f=f|(((((l&127)>>>0)>>0)));g=g+(1)>>0;if(((l&128)>>>0)===0){return[f,g,h];}i=i+(1)>>0;}h=(m=new J.ptr(\"truncated base 128 integer\"),new m.constructor.elem(m));return[f,g,h];};X=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=new F.Time.ptr(new $Int64(0,0),0,CI.nil);f=$ifaceNil;g=($bytesToString(d));h=\"0601021504Z0700\";j=F.Parse(h,g);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;F.Time.copy(e,i[0]);f=i[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:h=\"060102150405Z0700\";l=F.Parse(h,g);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;F.Time.copy(e,k[0]);f=k[1];case 3:if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[e,f];}m=$clone(e,F.Time).Format(h);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!(n===g)){$s=6;continue;}$s=7;continue;case 6:o=B.Errorf(\"asn1: time did not serialize back to the original value and may be invalid: given %q, but serialized as %q\",new CL([new $String(g),new $String(n)]));$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}f=o;$s=-1;return[e,f];case 7:p=$clone(e,F.Time).Year();$s=11;case 11:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(p>=2050){$s=9;continue;}$s=10;continue;case 9:q=$clone(e,F.Time).AddDate(-100,0,0);$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}F.Time.copy(e,q);case 10:$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:X};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};Y=function(d){var $ptr,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=new F.Time.ptr(new $Int64(0,0),0,CI.nil);f=$ifaceNil;g=($bytesToString(d));i=F.Parse(\"20060102150405Z0700\",g);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;F.Time.copy(e,h[0]);f=h[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[e,f];}j=$clone(e,F.Time).Format(\"20060102150405Z0700\");$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(k===g)){$s=3;continue;}$s=4;continue;case 3:l=B.Errorf(\"asn1: time did not serialize back to the original value and may be invalid: given %q, but serialized as %q\",new CL([new $String(g),new $String(k)]));$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}f=l;case 4:$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};Z=function(d){var $ptr,d,e,f,g,h,i,j;e=\"\";f=$ifaceNil;g=d;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(!AA(i)){f=(j=new J.ptr(\"PrintableString contains invalid character\"),new j.constructor.elem(j));return[e,f];}h++;}e=($bytesToString(d));return[e,f];};AA=function(d){var $ptr,d;return 97<=d&&d<=122||65<=d&&d<=90||48<=d&&d<=57||39<=d&&d<=41||43<=d&&d<=47||(d===32)||(d===58)||(d===61)||(d===63)||(d===42);};AB=function(d){var $ptr,d,e,f,g,h,i,j;e=\"\";f=$ifaceNil;g=d;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(i>=128){f=(j=new J.ptr(\"IA5String contains invalid character\"),new j.constructor.elem(j));return[e,f];}h++;}e=($bytesToString(d));return[e,f];};AC=function(d){var $ptr,d,e,f,g,h;e=\"\";f=$ifaceNil;g=($bytesToString(d));h=$ifaceNil;e=g;f=h;return[e,f];};AD=function(d){var $ptr,d,e,f,g,h,i,j;e=\"\";f=$ifaceNil;if(!G.Valid(d)){g=\"\";h=A.New(\"asn1: invalid UTF-8 string\");e=g;f=h;return[e,f];}i=($bytesToString(d));j=$ifaceNil;e=i;f=j;return[e,f];};AG=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;f=new AW.ptr(0,0,0,false);g=0;h=$ifaceNil;g=e;if(g>=d.$length){h=A.New(\"asn1: internal error in parseTagAndLength\");return[f,g,h];}i=((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]);g=g+(1)>>0;f.class$0=(((i>>>6<<24>>>24)>>0));f.isCompound=((i&32)>>>0)===32;f.tag=((((i&31)>>>0)>>0));if(f.tag===31){j=W(d,g);f.tag=j[0];g=j[1];h=j[2];if(!($interfaceIsEqual(h,$ifaceNil))){return[f,g,h];}if(f.tag<31){h=(k=new J.ptr(\"non-minimal tag\"),new k.constructor.elem(k));return[f,g,h];}}if(g>=d.$length){h=(l=new J.ptr(\"truncated tag or length\"),new l.constructor.elem(l));return[f,g,h];}i=((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]);g=g+(1)>>0;if(((i&128)>>>0)===0){f.length=((((i&127)>>>0)>>0));}else{m=((((i&127)>>>0)>>0));if(m===0){h=(n=new J.ptr(\"indefinite length found (not DER)\"),new n.constructor.elem(n));return[f,g,h];}f.length=0;o=0;while(true){if(!(o<m)){break;}if(g>=d.$length){h=(p=new J.ptr(\"truncated tag or length\"),new p.constructor.elem(p));return[f,g,h];}i=((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]);g=g+(1)>>0;if(f.length>=8388608){h=(q=new I.ptr(\"length too large\"),new q.constructor.elem(q));return[f,g,h];}f.length=(r=(8),r<32?(f.length<<r):0)>>0;f.length=f.length|(((i>>0)));if(f.length===0){h=(s=new I.ptr(\"superfluous leading zeros in length\"),new s.constructor.elem(s));return[f,g,h];}o=o+(1)>>0;}if(f.length<128){h=(t=new I.ptr(\"non-minimal length\"),new t.constructor.elem(t));return[f,g,h];}}return[f,g,h];};AH=function(d,e,f){var $ptr,aa,ab,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=new D.Value.ptr(CM.nil,0,0);h=$ifaceNil;j=AZ(f);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];m=i[2];if(!m){h=(n=new I.ptr(\"unknown Go type for slice\"),new n.constructor.elem(n));$s=-1;return[g,h];}o=0;p=0;while(true){if(!(p<d.$length)){break;}q=new AW.ptr(0,0,0,false);r=AG(d,p);AW.copy(q,r[0]);p=r[1];h=r[2];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}s=q.tag;if((s===(22))||(s===(27))||(s===(20))||(s===(12))){q.tag=19;}else if((s===(24))||(s===(23))){q.tag=23;}if(!((q.class$0===0))||!(q.isCompound===l)||!((q.tag===k))){h=(t=new I.ptr(\"sequence tag mismatch\"),new t.constructor.elem(t));$s=-1;return[g,h];}if(AQ(p,q.length,d.$length)){h=(u=new J.ptr(\"truncated sequence\"),new u.constructor.elem(u));$s=-1;return[g,h];}p=p+(q.length)>>0;o=o+(1)>>0;}v=D.MakeSlice(e,o,o);$s=2;case 2:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}g=v;w=new AX.ptr(false,false,false,CN.nil,CO.nil,0,0,false,false);x=0;y=0;case 3:if(!(y<o)){$s=4;continue;}aa=$clone(g,D.Value).Index(y);$s=5;case 5:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=AR($clone(aa,D.Value),d,x,$clone(w,AX));$s=6;case 6:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}z=ab;x=z[0];h=z[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}y=y+(1)>>0;$s=3;continue;case 4:$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(d,e,f){var $ptr,d,e,f;return(d+e>>0)<d||(d+e>>0)>f;};AR=function(d,e,f,g){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,ei,ej,ek,el,em,en,eo,ep,eq,er,es,et,eu,ev,ew,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;d=$f.d;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;e=$f.e;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;eh=$f.eh;ei=$f.ei;ej=$f.ej;ek=$f.ek;el=$f.el;em=$f.em;en=$f.en;eo=$f.eo;ep=$f.ep;eq=$f.eq;er=$f.er;es=$f.es;et=$f.et;eu=$f.eu;ev=$f.ev;ew=$f.ew;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;i=$ifaceNil;h=f;j=$clone(d,D.Value).Type();if(h===e.$length){if(!AT($clone(d,D.Value),$clone(g,AX))){i=(k=new J.ptr(\"sequence truncated\"),new k.constructor.elem(k));}$s=-1;return[h,i];}if($interfaceIsEqual(j,AN)){$s=1;continue;}$s=2;continue;case 1:l=new AW.ptr(0,0,0,false);m=AG(e,h);AW.copy(l,m[0]);h=m[1];i=m[2];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[h,i];}if(AQ(h,l.length,e.$length)){i=(n=new J.ptr(\"data truncated\"),new n.constructor.elem(n));$s=-1;return[h,i];}o=new AE.ptr(l.class$0,l.tag,l.isCompound,$subslice(e,h,(h+l.length>>0)),$subslice(e,f,(h+l.length>>0)));h=h+(l.length)>>0;p=D.ValueOf(new o.constructor.elem(o));$s=3;case 3:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=$clone(d,D.Value).Set($clone(p,D.Value));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[h,i];case 2:q=j;s=q.Kind();$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(!(s===20)){r=false;$s=7;continue s;}t=q.NumMethod();$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t===0;case 7:if(r){$s=5;continue;}$s=6;continue;case 5:u=new AW.ptr(0,0,0,false);v=AG(e,h);AW.copy(u,v[0]);h=v[1];i=v[2];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[h,i];}if(AQ(h,u.length,e.$length)){i=(w=new J.ptr(\"data truncated\"),new w.constructor.elem(w));$s=-1;return[h,i];}x=$ifaceNil;if(!u.isCompound&&(u.class$0===0)){$s=10;continue;}$s=11;continue;case 10:y=$subslice(e,h,(h+u.length>>0));z=u.tag;if(z===(19)){$s=13;continue;}if(z===(22)){$s=14;continue;}if(z===(20)){$s=15;continue;}if(z===(12)){$s=16;continue;}if(z===(2)){$s=17;continue;}if(z===(3)){$s=18;continue;}if(z===(6)){$s=19;continue;}if(z===(23)){$s=20;continue;}if(z===(24)){$s=21;continue;}if(z===(4)){$s=22;continue;}$s=23;continue;case 13:aa=Z(y);x=new $String(aa[0]);i=aa[1];$s=23;continue;case 14:ab=AB(y);x=new $String(ab[0]);i=ab[1];$s=23;continue;case 15:ac=AC(y);x=new $String(ac[0]);i=ac[1];$s=23;continue;case 16:ad=AD(y);x=new $String(ad[0]);i=ad[1];$s=23;continue;case 17:ae=M(y);x=ae[0];i=ae[1];$s=23;continue;case 18:af=R(y);x=new af[0].constructor.elem(af[0]);i=af[1];$s=23;continue;case 19:ag=T(y);x=ag[0];i=ag[1];$s=23;continue;case 20:ai=X(y);$s=24;case 24:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;x=new ah[0].constructor.elem(ah[0]);i=ah[1];$s=23;continue;case 21:ak=Y(y);$s=25;case 25:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;x=new aj[0].constructor.elem(aj[0]);i=aj[1];$s=23;continue;case 22:x=y;case 23:case 12:case 11:h=h+(u.length)>>0;if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[h,i];}if(!($interfaceIsEqual(x,$ifaceNil))){$s=26;continue;}$s=27;continue;case 26:al=D.ValueOf(x);$s=28;case 28:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}$r=$clone(d,D.Value).Set($clone(al,D.Value));$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 27:$s=-1;return[h,i];case 6:an=AZ(j);$s=30;case 30:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}am=an;ao=am[0];ap=am[1];aq=am[2];if(!aq){$s=31;continue;}$s=32;continue;case 31:as=B.Sprintf(\"unknown Go type: %v\",new CL([j]));$s=33;case 33:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}i=(ar=new I.ptr(as),new ar.constructor.elem(ar));$s=-1;return[h,i];case 32:at=AG(e,h);au=$clone(at[0],AW);h=at[1];i=at[2];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[h,i];}if(g.explicit){av=2;if(g.application){av=1;}if(h===e.$length){i=(aw=new I.ptr(\"explicit tag has no child\"),new aw.constructor.elem(aw));$s=-1;return[h,i];}if((au.class$0===av)&&(au.tag===g.tag.$get())&&((au.length===0)||au.isCompound)){if(au.length>0){ax=AG(e,h);AW.copy(au,ax[0]);h=ax[1];i=ax[2];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[h,i];}}else{if(!($interfaceIsEqual(j,AL))){i=(ay=new I.ptr(\"zero length explicit tag was not an asn1.Flag\"),new ay.constructor.elem(ay));$s=-1;return[h,i];}$clone(d,D.Value).SetBool(true);$s=-1;return[h,i];}}else{az=AT($clone(d,D.Value),$clone(g,AX));if(az){h=f;}else{i=(ba=new I.ptr(\"explicitly tagged member didn't match\"),new ba.constructor.elem(ba));}$s=-1;return[h,i];}}if(ao===19){if(au.class$0===0){bb=au.tag;if((bb===(22))||(bb===(27))||(bb===(20))||(bb===(12))){ao=au.tag;}}else if(!((g.stringType===0))){ao=g.stringType;}}if((ao===23)&&(au.tag===24)&&(au.class$0===0)){ao=24;}if(g.set){ao=17;}bc=0;bd=ao;if(!g.explicit&&!(g.tag===CO.nil)){bc=2;bd=g.tag.$get();}if(!g.explicit&&g.application&&!(g.tag===CO.nil)){bc=1;bd=g.tag.$get();}if(!((au.class$0===bc))||!((au.tag===bd))||!(au.isCompound===ap)){$s=34;continue;}$s=35;continue;case 34:be=AT($clone(d,D.Value),$clone(g,AX));if(be){$s=36;continue;}$s=37;continue;case 36:h=f;$s=38;continue;case 37:bg=new $Int(bd);bh=new au.constructor.elem(au);bi=new g.constructor.elem(g);bj=j.Name();$s=39;case 39:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=new $String(bj);bl=new $Int(h);bm=B.Sprintf(\"tags don't match (%d vs %+v) %+v %s @%d\",new CL([bg,bh,bi,bk,bl]));$s=40;case 40:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}i=(bf=new I.ptr(bm),new bf.constructor.elem(bf));case 38:$s=-1;return[h,i];case 35:if(AQ(h,au.length,e.$length)){i=(bn=new J.ptr(\"data truncated\"),new bn.constructor.elem(bn));$s=-1;return[h,i];}bo=$subslice(e,h,(h+au.length>>0));h=h+(au.length)>>0;bp=j;if($interfaceIsEqual(bp,(AJ))){$s=42;continue;}if($interfaceIsEqual(bp,(AI))){$s=43;continue;}if($interfaceIsEqual(bp,(AM))){$s=44;continue;}if($interfaceIsEqual(bp,(AK))){$s=45;continue;}if($interfaceIsEqual(bp,(AL))){$s=46;continue;}if($interfaceIsEqual(bp,(AP))){$s=47;continue;}$s=48;continue;case 42:bq=T(bo);br=bq[0];bs=bq[1];bt=D.MakeSlice($clone(d,D.Value).Type(),br.$length,br.$length);$s=49;case 49:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}$r=$clone(d,D.Value).Set($clone(bt,D.Value));$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($interfaceIsEqual(bs,$ifaceNil)){$s=51;continue;}$s=52;continue;case 51:bu=$clone(d,D.Value);bv=D.ValueOf(br);$s=53;case 53:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=$clone(bv,D.Value);bx=D.Copy(bu,bw);$s=54;case 54:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}bx;case 52:i=bs;$s=-1;return[h,i];case 43:by=R(bo);bz=$clone(by[0],Q);ca=by[1];if($interfaceIsEqual(ca,$ifaceNil)){$s=55;continue;}$s=56;continue;case 55:cb=D.ValueOf(new bz.constructor.elem(bz));$s=57;case 57:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}$r=$clone(d,D.Value).Set($clone(cb,D.Value));$s=58;case 58:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 56:i=ca;$s=-1;return[h,i];case 44:cc=new F.Time.ptr(new $Int64(0,0),0,CI.nil);cd=$ifaceNil;if(ao===23){$s=59;continue;}$s=60;continue;case 59:cf=X(bo);$s=62;case 62:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}ce=cf;F.Time.copy(cc,ce[0]);cd=ce[1];$s=61;continue;case 60:ch=Y(bo);$s=63;case 63:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}cg=ch;F.Time.copy(cc,cg[0]);cd=cg[1];case 61:if($interfaceIsEqual(cd,$ifaceNil)){$s=64;continue;}$s=65;continue;case 64:ci=D.ValueOf(new cc.constructor.elem(cc));$s=66;case 66:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$r=$clone(d,D.Value).Set($clone(ci,D.Value));$s=67;case 67:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 65:i=cd;$s=-1;return[h,i];case 45:cj=N(bo);ck=cj[0];cl=cj[1];if($interfaceIsEqual(cl,$ifaceNil)){$clone(d,D.Value).SetInt((new $Int64(0,ck)));}i=cl;$s=-1;return[h,i];case 46:$clone(d,D.Value).SetBool(true);$s=-1;return[h,i];case 47:cm=P(bo);cn=cm[0];co=cm[1];if($interfaceIsEqual(co,$ifaceNil)){$s=68;continue;}$s=69;continue;case 68:cp=D.ValueOf(cn);$s=70;case 70:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}$r=$clone(d,D.Value).Set($clone(cp,D.Value));$s=71;case 71:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 69:i=co;$s=-1;return[h,i];case 48:case 41:cq=d;cr=$clone(cq,D.Value).Kind();if(cr===(1)){$s=73;continue;}if((cr===(2))||(cr===(5))||(cr===(6))){$s=74;continue;}if(cr===(25)){$s=75;continue;}if(cr===(23)){$s=76;continue;}if(cr===(24)){$s=77;continue;}$s=78;continue;case 73:cs=K(bo);ct=cs[0];cu=cs[1];if($interfaceIsEqual(cu,$ifaceNil)){$clone(cq,D.Value).SetBool(ct);}i=cu;$s=-1;return[h,i];case 74:cv=$clone(cq,D.Value).Type().Size();$s=82;case 82:if($c){$c=false;cv=cv.$blk();}if(cv&&cv.$blk!==undefined){break s;}if(cv===4){$s=79;continue;}$s=80;continue;case 79:cw=N(bo);cx=cw[0];cy=cw[1];if($interfaceIsEqual(cy,$ifaceNil)){$clone(cq,D.Value).SetInt((new $Int64(0,cx)));}i=cy;$s=81;continue;case 80:cz=M(bo);da=cz[0];db=cz[1];if($interfaceIsEqual(db,$ifaceNil)){$clone(cq,D.Value).SetInt(da);}i=db;case 81:$s=-1;return[h,i];case 75:dc=j;dd=0;case 83:de=dc.NumField();$s=85;case 85:if($c){$c=false;de=de.$blk();}if(de&&de.$blk!==undefined){break s;}if(!(dd<de)){$s=84;continue;}df=dc.Field(dd);$s=88;case 88:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}if(!(df.PkgPath===\"\")){$s=86;continue;}$s=87;continue;case 86:i=(dg=new I.ptr(\"struct contains unexported fields\"),new dg.constructor.elem(dg));$s=-1;return[h,i];case 87:dd=dd+(1)>>0;$s=83;continue;case 84:di=dc.NumField();$s=92;case 92:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}if(!(di>0)){dh=false;$s=91;continue s;}dj=dc.Field(0);$s=93;case 93:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}dh=$interfaceIsEqual(dj.Type,AO);case 91:if(dh){$s=89;continue;}$s=90;continue;case 89:dk=$subslice(e,f,h);dl=$clone(cq,D.Value).Field(0);$s=94;case 94:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}dm=D.ValueOf(($subslice(new AF(dk.$array),dk.$offset,dk.$offset+dk.$length)));$s=95;case 95:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}$r=$clone(dl,D.Value).Set($clone(dm,D.Value));$s=96;case 96:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 90:dn=0;dp=0;case 97:dq=dc.NumField();$s=99;case 99:if($c){$c=false;dq=dq.$blk();}if(dq&&dq.$blk!==undefined){break s;}if(!(dp<dq)){$s=98;continue;}dr=dc.Field(dp);$s=100;case 100:if($c){$c=false;dr=dr.$blk();}if(dr&&dr.$blk!==undefined){break s;}ds=$clone(dr,D.StructField);if((dp===0)&&$interfaceIsEqual(ds.Type,AO)){$s=101;continue;}$s=102;continue;case 101:dp=dp+(1)>>0;$s=97;continue;case 102:du=$clone(cq,D.Value).Field(dp);$s=103;case 103:if($c){$c=false;du=du.$blk();}if(du&&du.$blk!==undefined){break s;}dv=AR($clone(du,D.Value),bo,dn,$clone(AY(new D.StructTag(ds.Tag).Get(\"asn1\")),AX));$s=104;case 104:if($c){$c=false;dv=dv.$blk();}if(dv&&dv.$blk!==undefined){break s;}dt=dv;dn=dt[0];i=dt[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[h,i];}dp=dp+(1)>>0;$s=97;continue;case 98:$s=-1;return[h,i];case 76:dw=j;dx=dw.Elem();$s=107;case 107:if($c){$c=false;dx=dx.$blk();}if(dx&&dx.$blk!==undefined){break s;}dy=dx.Kind();$s=108;case 108:if($c){$c=false;dy=dy.$blk();}if(dy&&dy.$blk!==undefined){break s;}if(dy===8){$s=105;continue;}$s=106;continue;case 105:dz=D.MakeSlice(dw,bo.$length,bo.$length);$s=109;case 109:if($c){$c=false;dz=dz.$blk();}if(dz&&dz.$blk!==undefined){break s;}$r=$clone(cq,D.Value).Set($clone(dz,D.Value));$s=110;case 110:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ea=$clone(cq,D.Value);eb=D.ValueOf(bo);$s=111;case 111:if($c){$c=false;eb=eb.$blk();}if(eb&&eb.$blk!==undefined){break s;}ec=$clone(eb,D.Value);ed=D.Copy(ea,ec);$s=112;case 112:if($c){$c=false;ed=ed.$blk();}if(ed&&ed.$blk!==undefined){break s;}ed;$s=-1;return[h,i];case 106:ef=bo;eg=dw;eh=dw.Elem();$s=113;case 113:if($c){$c=false;eh=eh.$blk();}if(eh&&eh.$blk!==undefined){break s;}ei=eh;ej=AH(ef,eg,ei);$s=114;case 114:if($c){$c=false;ej=ej.$blk();}if(ej&&ej.$blk!==undefined){break s;}ee=ej;ek=ee[0];el=ee[1];if($interfaceIsEqual(el,$ifaceNil)){$s=115;continue;}$s=116;continue;case 115:$r=$clone(cq,D.Value).Set($clone(ek,D.Value));$s=117;case 117:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 116:i=el;$s=-1;return[h,i];case 77:em=\"\";en=ao;if(en===(19)){$s=119;continue;}if(en===(22)){$s=120;continue;}if(en===(20)){$s=121;continue;}if(en===(12)){$s=122;continue;}if(en===(27)){$s=123;continue;}$s=124;continue;case 119:eo=Z(bo);em=eo[0];i=eo[1];$s=125;continue;case 120:ep=AB(bo);em=ep[0];i=ep[1];$s=125;continue;case 121:eq=AC(bo);em=eq[0];i=eq[1];$s=125;continue;case 122:er=AD(bo);em=er[0];i=er[1];$s=125;continue;case 123:es=AC(bo);em=es[0];i=es[1];$s=125;continue;case 124:eu=B.Sprintf(\"internal error: unknown string type %d\",new CL([new $Int(ao)]));$s=126;case 126:if($c){$c=false;eu=eu.$blk();}if(eu&&eu.$blk!==undefined){break s;}i=(et=new J.ptr(eu),new et.constructor.elem(et));case 125:case 118:if($interfaceIsEqual(i,$ifaceNil)){$clone(cq,D.Value).SetString(em);}$s=-1;return[h,i];case 78:case 72:ew=$clone(d,D.Value).Type().String();$s=127;case 127:if($c){$c=false;ew=ew.$blk();}if(ew&&ew.$blk!==undefined){break s;}i=(ev=new I.ptr(\"unsupported: \"+ew),new ev.constructor.elem(ev));$s=-1;return[h,i];}return;}if($f===undefined){$f={$blk:AR};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.d=d;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.e=e;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.eh=eh;$f.ei=ei;$f.ej=ej;$f.ek=ek;$f.el=el;$f.em=em;$f.en=en;$f.eo=eo;$f.ep=ep;$f.eq=eq;$f.er=er;$f.es=es;$f.et=et;$f.eu=eu;$f.ev=ev;$f.ew=ew;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AS=function(d){var $ptr,d,e;e=d;if((e===(2))||(e===(3))||(e===(4))||(e===(5))||(e===(6))){return true;}return false;};AT=function(d,e){var $ptr,d,e,f;f=false;if(!e.optional){return f;}f=true;if(e.defaultValue===CN.nil){return f;}if(AS($clone(d,D.Value).Kind())){$clone(d,D.Value).SetInt(e.defaultValue.$get());}return f;};AU=function(d,e){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=CH.nil;g=$ifaceNil;i=AV(d,e,\"\");$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;f=h[0];g=h[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Unmarshal=AU;AV=function(d,e,f){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=CH.nil;h=$ifaceNil;i=D.ValueOf(e);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$clone(i,D.Value).Elem();$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;m=AR($clone(k,D.Value),d,0,$clone(AY(f),AX));$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];h=l[1];if(!($interfaceIsEqual(h,$ifaceNil))){o=CH.nil;p=h;g=o;h=p;$s=-1;return[g,h];}q=$subslice(d,n);r=$ifaceNil;g=q;h=r;$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:AV};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$pkg.UnmarshalWithParams=AV;AY=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n;e=new AX.ptr(false,false,false,CN.nil,CO.nil,0,0,false,false);f=H.Split(d,\",\");g=0;while(true){if(!(g<f.$length)){break;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h===\"optional\"){e.optional=true;}else if(h===\"explicit\"){e.explicit=true;if(e.tag===CO.nil){e.tag=$newDataPointer(0,CO);}}else if(h===\"generalized\"){e.timeType=24;}else if(h===\"utc\"){e.timeType=23;}else if(h===\"ia5\"){e.stringType=22;}else if(h===\"printable\"){e.stringType=19;}else if(h===\"utf8\"){e.stringType=12;}else if(H.HasPrefix(h,\"default:\")){i=E.ParseInt($substring(h,8),10,64);j=i[0];k=i[1];if($interfaceIsEqual(k,$ifaceNil)){e.defaultValue=$newDataPointer(new $Int64(0,0),CN);e.defaultValue.$set(j);}}else if(H.HasPrefix(h,\"tag:\")){l=E.Atoi($substring(h,4));m=l[0];n=l[1];if($interfaceIsEqual(n,$ifaceNil)){e.tag=$newDataPointer(0,CO);e.tag.$set(m);}}else if(h===\"set\"){e.set=true;}else if(h===\"application\"){e.application=true;if(e.tag===CO.nil){e.tag=$newDataPointer(0,CO);}}else if(h===\"omitempty\"){e.omitEmpty=true;}g++;}return e;};AZ=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=0;f=false;g=false;h=d;if($interfaceIsEqual(h,(AJ))){i=6;j=false;k=true;e=i;f=j;g=k;$s=-1;return[e,f,g];}else if($interfaceIsEqual(h,(AI))){l=3;m=false;n=true;e=l;f=m;g=n;$s=-1;return[e,f,g];}else if($interfaceIsEqual(h,(AM))){o=23;p=false;q=true;e=o;f=p;g=q;$s=-1;return[e,f,g];}else if($interfaceIsEqual(h,(AK))){r=10;s=false;t=true;e=r;f=s;g=t;$s=-1;return[e,f,g];}else if($interfaceIsEqual(h,(AP))){u=2;v=false;w=true;e=u;f=v;g=w;$s=-1;return[e,f,g];}x=d.Kind();$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(y===(1)){$s=3;continue;}if((y===(2))||(y===(3))||(y===(4))||(y===(5))||(y===(6))){$s=4;continue;}if(y===(25)){$s=5;continue;}if(y===(23)){$s=6;continue;}if(y===(24)){$s=7;continue;}$s=8;continue;case 3:z=1;aa=false;ab=true;e=z;f=aa;g=ab;$s=-1;return[e,f,g];case 4:ac=2;ad=false;ae=true;e=ac;f=ad;g=ae;$s=-1;return[e,f,g];case 5:af=16;ag=true;ah=true;e=af;f=ag;g=ah;$s=-1;return[e,f,g];case 6:ai=d.Elem();$s=11;case 11:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=ai.Kind();$s=12;case 12:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}if(aj===8){$s=9;continue;}$s=10;continue;case 9:ak=4;al=false;am=true;e=ak;f=al;g=am;$s=-1;return[e,f,g];case 10:an=d.Name();$s=15;case 15:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}ao=H.HasSuffix(an,\"SET\");$s=16;case 16:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(ao){$s=13;continue;}$s=14;continue;case 13:ap=17;aq=true;ar=true;e=ap;f=aq;g=ar;$s=-1;return[e,f,g];case 14:as=16;at=true;au=true;e=as;f=at;g=au;$s=-1;return[e,f,g];case 7:av=19;aw=false;ax=true;e=av;f=aw;g=ax;$s=-1;return[e,f,g];case 8:case 1:ay=0;az=false;ba=false;e=ay;f=az;g=ba;$s=-1;return[e,f,g];}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BD.prototype.Len=function(){var $ptr,d;d=this.$val;return 1;};$ptrType(BD).prototype.Len=function(){return new BD(this.$get()).Len();};BD.prototype.Encode=function(d){var $ptr,d,e;e=this.$val;(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]=((e<<24>>>24)));};$ptrType(BD).prototype.Encode=function(d){return new BD(this.$get()).Encode(d);};BE.prototype.Len=function(){var $ptr,d;d=this;return d.$length;};$ptrType(BE).prototype.Len=function(){return this.$get().Len();};BE.prototype.Encode=function(d){var $ptr,d,e;e=this;if(!(($copySlice(d,e)===e.$length))){$panic(new $String(\"internal error\"));}};$ptrType(BE).prototype.Encode=function(d){return this.$get().Encode(d);};BF.prototype.Len=function(){var $ptr,d;d=this.$val;return d.length;};$ptrType(BF).prototype.Len=function(){return new BF(this.$get()).Len();};BF.prototype.Encode=function(d){var $ptr,d,e;e=this.$val;if(!(($copyString(d,e)===e.length))){$panic(new $String(\"internal error\"));}};$ptrType(BF).prototype.Encode=function(d){return new BF(this.$get()).Encode(d);};BG.prototype.Len=function(){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=0;f=d;g=0;case 1:if(!(g<f.$length)){$s=2;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Len();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=e+(i)>>0;g++;$s=1;continue;case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:BG.prototype.Len};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BG).prototype.Len=function(){return this.$get().Len();};BG.prototype.Encode=function(d){var $ptr,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=0;g=e;h=0;case 1:if(!(h<g.$length)){$s=2;continue;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);$r=i.Encode($subslice(d,f));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=i.Len();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}f=f+(j)>>0;h++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BG.prototype.Encode};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BG).prototype.Encode=function(d){return this.$get().Encode(d);};BH.ptr.prototype.Len=function(){var $ptr,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=d.tag.Len();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=d.body.Len();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return e+f>>0;}return;}if($f===undefined){$f={$blk:BH.ptr.prototype.Len};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BH.prototype.Len=function(){return this.$val.Len();};BH.ptr.prototype.Encode=function(d){var $ptr,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.tag.Encode(d);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.tag.Len();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=e.body.Encode($subslice(d,f));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BH.ptr.prototype.Encode};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BH.prototype.Encode=function(d){return this.$val.Encode(d);};BI.prototype.Len=function(){var $ptr,d,e;d=this;e=1;while(true){if(!((d.$high>0||(d.$high===0&&d.$low>127)))){break;}e=e+(1)>>0;d=$shiftRightInt64(d,(8));}while(true){if(!((d.$high<-1||(d.$high===-1&&d.$low<4294967168)))){break;}e=e+(1)>>0;d=$shiftRightInt64(d,(8));}return e;};$ptrType(BI).prototype.Len=function(){return this.$get().Len();};BI.prototype.Encode=function(d){var $ptr,d,e,f,g;e=this;f=e.Len();g=0;while(true){if(!(g<f)){break;}((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]=(($shiftRightInt64(e,((($imul((((f-1>>0)-g>>0)),8))>>>0))).$low<<24>>>24)));g=g+(1)>>0;}};$ptrType(BI).prototype.Encode=function(d){return this.$get().Encode(d);};BJ=function(d){var $ptr,d,e,f;if((d.$high===0&&d.$low===0)){return 1;}e=0;f=d;while(true){if(!((f.$high>0||(f.$high===0&&f.$low>0)))){break;}e=e+(1)>>0;f=$shiftRightInt64(f,(7));}return e;};BK=function(d,e){var $ptr,d,e,f,g,h;f=BJ(e);g=f-1>>0;while(true){if(!(g>=0)){break;}h=(($shiftRightInt64(e,((($imul(g,7))>>>0))).$low<<24>>>24));h=(h&(127))>>>0;if(!((g===0))){h=(h|(128))>>>0;}d=$append(d,h);g=g-(1)>>0;}return d;};BL=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m;if(d===CJ.nil){return[$ifaceNil,(e=new I.ptr(\"empty integer\"),new e.constructor.elem(e))];}if(d.Sign()<0){f=new C.Int.ptr(false,C.nat.nil).Neg(d);f.Sub(f,O);g=f.Bytes();h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=((((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j])^(255))<<24>>>24));i++;}if((g.$length===0)||((((0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0])&128)>>>0)===0)){return[((k=new CP([BB,($subslice(new BE(g.$array),g.$offset,g.$offset+g.$length))]),$subslice(new BG(k.$array),k.$offset,k.$offset+k.$length))),$ifaceNil];}return[($subslice(new BE(g.$array),g.$offset,g.$offset+g.$length)),$ifaceNil];}else if(d.Sign()===0){return[BA,$ifaceNil];}else{l=d.Bytes();if(l.$length>0&&!(((((0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])&128)>>>0)===0))){return[((m=new CP([BA,($subslice(new BE(l.$array),l.$offset,l.$offset+l.$length))]),$subslice(new BG(m.$array),m.$offset,m.$offset+m.$length))),$ifaceNil];}return[($subslice(new BE(l.$array),l.$offset,l.$offset+l.$length)),$ifaceNil];}};BM=function(d,e){var $ptr,d,e,f;f=BN(e);while(true){if(!(f>0)){break;}d=$append(d,((((e>>$min(((($imul(((f-1>>0)),8))>>>0)),31))>>0)<<24>>>24)));f=f-(1)>>0;}return d;};BN=function(d){var $ptr,d,e;e=0;e=1;while(true){if(!(d>255)){break;}e=e+(1)>>0;d=(d>>$min((8),31))>>0;}return e;};BO=function(d,e){var $ptr,d,e,f,g;f=((e.class$0<<24>>>24))<<6<<24>>>24;if(e.isCompound){f=(f|(32))>>>0;}if(e.tag>=31){f=(f|(31))>>>0;d=$append(d,f);d=BK(d,(new $Int64(0,e.tag)));}else{f=(f|(((e.tag<<24>>>24))))>>>0;d=$append(d,f);}if(e.length>=128){g=BN(e.length);d=$append(d,(128|((g<<24>>>24)))>>>0);d=BM(d,e.length);}else{d=$append(d,((e.length<<24>>>24)));}return d;};BP.ptr.prototype.Len=function(){var $ptr,d;d=this;return d.Bytes.$length+1>>0;};BP.prototype.Len=function(){return this.$val.Len();};BP.ptr.prototype.Encode=function(d){var $ptr,d,e,f,g;e=this;(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]=(((f=((8-(g=e.BitLength%8,g===g?g:$throwRuntimeError(\"integer divide by zero\"))>>0))%8,f===f?f:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24)));if(!(($copySlice($subslice(d,1),e.Bytes)===e.Bytes.$length))){$panic(new $String(\"internal error\"));}};BP.prototype.Encode=function(d){return this.$val.Encode(d);};BQ.prototype.Len=function(){var $ptr,d,e,f;d=this;e=BJ((new $Int64(0,(($imul((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]),40))+(1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1])>>0))));f=2;while(true){if(!(f<d.$length)){break;}e=e+(BJ((new $Int64(0,((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])))))>>0;f=f+(1)>>0;}return e;};$ptrType(BQ).prototype.Len=function(){return this.$get().Len();};BQ.prototype.Encode=function(d){var $ptr,d,e,f;e=this;d=BK($subslice(d,0,0),(new $Int64(0,(($imul((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]),40))+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])>>0))));f=2;while(true){if(!(f<e.$length)){break;}d=BK(d,(new $Int64(0,((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]))));f=f+(1)>>0;}};$ptrType(BQ).prototype.Encode=function(d){return this.$get().Encode(d);};BR=function(d){var $ptr,d,e,f,g,h,i,j,k;e=$ifaceNil;f=$ifaceNil;if(d.$length<2||(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])>2||((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])<2&&(1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1])>=40)){g=$ifaceNil;h=(i=new I.ptr(\"invalid object identifier\"),new i.constructor.elem(i));e=g;f=h;return[e,f];}j=($subslice(new BQ(d.$array),d.$offset,d.$offset+d.$length));k=$ifaceNil;e=j;f=k;return[e,f];};BS=function(d){var $ptr,d,e,f,g,h,i,j,k,l;e=$ifaceNil;f=$ifaceNil;g=0;while(true){if(!(g<d.length)){break;}if(!AA(d.charCodeAt(g))){h=$ifaceNil;i=(j=new I.ptr(\"PrintableString contains invalid character\"),new j.constructor.elem(j));e=h;f=i;return[e,f];}g=g+(1)>>0;}k=new BF((d));l=$ifaceNil;e=k;f=l;return[e,f];};BT=function(d){var $ptr,d,e,f,g,h,i,j,k,l;e=$ifaceNil;f=$ifaceNil;g=0;while(true){if(!(g<d.length)){break;}if(d.charCodeAt(g)>127){h=$ifaceNil;i=(j=new I.ptr(\"IA5String contains invalid character\"),new j.constructor.elem(j));e=h;f=i;return[e,f];}g=g+(1)>>0;}k=new BF((d));l=$ifaceNil;e=k;f=l;return[e,f];};BU=function(d){var $ptr,d;return new BF((d));};BV=function(d,e){var $ptr,d,e,f,g,h;return $append(d,(((48+(f=((g=e/10,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")))%10,f===f?f:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(h=e%10,h===h?h:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)));};BW=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l;f=CQ.zero();g=f;h=0;while(true){if(!(h<4)){break;}i=h;(k=3-i>>0,((k<0||k>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[k]=(48+(((j=e%10,j===j?j:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))<<24>>>24)));e=(l=e/(10),(l===l&&l!==1/0&&l!==-1/0)?l>>0:$throwRuntimeError(\"integer divide by zero\"));h++;}return $appendSlice(d,new CH(f));};BX=function(d){var $ptr,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$clone(d,F.Time).Year();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return f<1950||f>=2050;}return;}if($f===undefined){$f={$blk:BX};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BY=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$ifaceNil;f=$ifaceNil;g=$makeSlice(CH,0,18);i=CA(g,$clone(d,F.Time));$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;g=h[0];f=h[1];if(!($interfaceIsEqual(f,$ifaceNil))){j=$ifaceNil;k=f;e=j;f=k;$s=-1;return[e,f];}l=($subslice(new BE(g.$array),g.$offset,g.$offset+g.$length));m=$ifaceNil;e=l;f=m;$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:BY};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BZ=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$ifaceNil;f=$ifaceNil;g=$makeSlice(CH,0,20);i=CB(g,$clone(d,F.Time));$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;g=h[0];f=h[1];if(!($interfaceIsEqual(f,$ifaceNil))){j=$ifaceNil;k=f;e=j;f=k;$s=-1;return[e,f];}l=($subslice(new BE(g.$array),g.$offset,g.$offset+g.$length));m=$ifaceNil;e=l;f=m;$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:BZ};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};CA=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=CH.nil;g=$ifaceNil;h=$clone(e,F.Time).Year();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(1950<=i&&i<2000){d=BV(d,i-1900>>0);}else if(2000<=i&&i<2050){d=BV(d,i-2000>>0);}else{j=CH.nil;k=(l=new I.ptr(\"cannot represent time as UTCTime\"),new l.constructor.elem(l));f=j;g=k;$s=-1;return[f,g];}n=CC(d,$clone(e,F.Time));$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=$ifaceNil;f=m;g=o;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:CA};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};CB=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=CH.nil;g=$ifaceNil;h=$clone(e,F.Time).Year();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(i<0||i>9999){j=CH.nil;k=(l=new I.ptr(\"cannot represent time as GeneralizedTime\"),new l.constructor.elem(l));f=j;g=k;$s=-1;return[f,g];}d=BW(d,i);n=CC(d,$clone(e,F.Time));$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=$ifaceNil;f=m;g=o;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};CC=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=$clone(e,F.Time).Date();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];i=f[2];d=BV(d,((h>>0)));d=BV(d,i);k=$clone(e,F.Time).Clock();$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];n=j[2];d=BV(d,l);d=BV(d,m);d=BV(d,n);p=$clone(e,F.Time).Zone();$s=3;case 3:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[1];if(((r=q/60,(r===r&&r!==1/0&&r!==-1/0)?r>>0:$throwRuntimeError(\"integer divide by zero\"))===0)){$s=-1;return $append(d,90);}else if(q>0){d=$append(d,43);}else if(q<0){d=$append(d,45);}t=(s=q/60,(s===s&&s!==1/0&&s!==-1/0)?s>>0:$throwRuntimeError(\"integer divide by zero\"));if(t<0){t=-t;}d=BV(d,(u=t/60,(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\")));d=BV(d,(v=t%60,v===v?v:$throwRuntimeError(\"integer divide by zero\")));$s=-1;return d;}return;}if($f===undefined){$f={$blk:CC};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};CD=function(d){var $ptr,d,e,f,g;e=AG(d,0);f=e[1];g=e[2];if(!($interfaceIsEqual(g,$ifaceNil))){return d;}return $subslice(d,f);};CE=function(d,e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;d=$f.d;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$ifaceNil;g=$ifaceNil;h=$clone(d,D.Value).Type();if($interfaceIsEqual(h,(AL))){$s=2;continue;}if($interfaceIsEqual(h,(AM))){$s=3;continue;}if($interfaceIsEqual(h,(AI))){$s=4;continue;}if($interfaceIsEqual(h,(AJ))){$s=5;continue;}if($interfaceIsEqual(h,(AP))){$s=6;continue;}$s=7;continue;case 2:i=(BE.nil);j=$ifaceNil;f=i;g=j;$s=-1;return[f,g];case 3:k=$clone(d,D.Value).Interface();$s=8;case 8:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=$clone($assertType(k,F.Time),F.Time);if(e.timeType===24){m=true;$s=11;continue s;}n=BX($clone(l,F.Time));$s=12;case 12:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 11:if(m){$s=9;continue;}$s=10;continue;case 9:p=BZ($clone(l,F.Time));$s=13;case 13:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;f=o[0];g=o[1];$s=-1;return[f,g];case 10:r=BY($clone(l,F.Time));$s=14;case 14:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;f=q[0];g=q[1];$s=-1;return[f,g];case 4:u=$clone(d,D.Value).Interface();$s=15;case 15:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=(t=($clone($assertType(u,Q),BP)),new t.constructor.elem(t));v=$ifaceNil;f=s;g=v;$s=-1;return[f,g];case 5:y=$clone(d,D.Value).Interface();$s=16;case 16:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=BR((x=$assertType(y,S),$subslice(new CK(x.$array),x.$offset,x.$offset+x.$length)));$s=17;case 17:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}w=z;f=w[0];g=w[1];$s=-1;return[f,g];case 6:ab=$clone(d,D.Value).Interface();$s=18;case 18:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=BL($assertType(ab,CJ));$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;f=aa[0];g=aa[1];$s=-1;return[f,g];case 7:case 1:ad=d;ae=$clone(ad,D.Value).Kind();if(ae===(1)){$s=21;continue;}if((ae===(2))||(ae===(3))||(ae===(4))||(ae===(5))||(ae===(6))){$s=22;continue;}if(ae===(25)){$s=23;continue;}if(ae===(23)){$s=24;continue;}if(ae===(24)){$s=25;continue;}$s=26;continue;case 21:if($clone(ad,D.Value).Bool()){af=BB;ag=$ifaceNil;f=af;g=ag;$s=-1;return[f,g];}ah=BA;ai=$ifaceNil;f=ah;g=ai;$s=-1;return[f,g];case 22:aj=((ak=$clone(ad,D.Value).Int(),new BI(ak.$high,ak.$low)));al=$ifaceNil;f=aj;g=al;$s=-1;return[f,g];case 23:am=$clone(ad,D.Value).Type();an=0;case 27:ao=am.NumField();$s=29;case 29:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!(an<ao)){$s=28;continue;}ap=am.Field(an);$s=32;case 32:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!(ap.PkgPath===\"\")){$s=30;continue;}$s=31;continue;case 30:aq=$ifaceNil;ar=(as=new I.ptr(\"struct contains unexported fields\"),new as.constructor.elem(as));f=aq;g=ar;$s=-1;return[f,g];case 31:an=an+(1)>>0;$s=27;continue;case 28:at=0;au=am.NumField();$s=33;case 33:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;if(av===0){aw=(BE.nil);ax=$ifaceNil;f=aw;g=ax;$s=-1;return[f,g];}ay=am.Field(0);$s=36;case 36:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}if($interfaceIsEqual(ay.Type,AO)){$s=34;continue;}$s=35;continue;case 34:az=$clone(ad,D.Value).Field(0);$s=37;case 37:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if($clone(ba,D.Value).Len()>0){$s=38;continue;}$s=39;continue;case 38:bb=$clone(ba,D.Value).Bytes();$s=40;case 40:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=bb;bd=((be=CD(bc),$subslice(new BE(be.$array),be.$offset,be.$offset+be.$length)));bf=$ifaceNil;f=bd;g=bf;$s=-1;return[f,g];case 39:at=1;case 35:bg=av-at>>0;bh=bg;if(bh===(0)){$s=42;continue;}if(bh===(1)){$s=43;continue;}$s=44;continue;case 42:bi=(BE.nil);bj=$ifaceNil;f=bi;g=bj;$s=-1;return[f,g];case 43:bl=$clone(ad,D.Value).Field(at);$s=46;case 46:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=$clone(bl,D.Value);bn=am.Field(at);$s=47;case 47:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bo=new D.StructTag(bn.Tag).Get(\"asn1\");$s=48;case 48:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bp=AY(bo);$s=49;case 49:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=$clone(bp,AX);br=CF(bm,bq);$s=50;case 50:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bk=br;f=bk[0];g=bk[1];$s=-1;return[f,g];case 44:bs=$makeSlice(CP,bg);bt=0;case 51:if(!(bt<bg)){$s=52;continue;}bv=$clone(ad,D.Value).Field(bt+at>>0);$s=53;case 53:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bw=$clone(bv,D.Value);bx=am.Field(bt+at>>0);$s=54;case 54:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}by=new D.StructTag(bx.Tag).Get(\"asn1\");$s=55;case 55:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bz=AY(by);$s=56;case 56:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}ca=$clone(bz,AX);cb=CF(bw,ca);$s=57;case 57:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}bu=cb;((bt<0||bt>=bs.$length)?($throwRuntimeError(\"index out of range\"),undefined):bs.$array[bs.$offset+bt]=bu[0]);g=bu[1];if(!($interfaceIsEqual(g,$ifaceNil))){cc=$ifaceNil;cd=g;f=cc;g=cd;$s=-1;return[f,g];}bt=bt+(1)>>0;$s=51;continue;case 52:ce=($subslice(new BG(bs.$array),bs.$offset,bs.$offset+bs.$length));cf=$ifaceNil;f=ce;g=cf;$s=-1;return[f,g];case 45:case 41:$s=26;continue;case 24:cg=$clone(ad,D.Value).Type();ch=cg.Elem();$s=60;case 60:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=ch.Kind();$s=61;case 61:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}if(ci===8){$s=58;continue;}$s=59;continue;case 58:cl=$clone(ad,D.Value).Bytes();$s=62;case 62:if($c){$c=false;cl=cl.$blk();}if(cl&&cl.$blk!==undefined){break s;}cj=((ck=cl,$subslice(new BE(ck.$array),ck.$offset,ck.$offset+ck.$length)));cm=$ifaceNil;f=cj;g=cm;$s=-1;return[f,g];case 59:cn=new AX.ptr(false,false,false,CN.nil,CO.nil,0,0,false,false);co=$clone(ad,D.Value).Len();cp=co;if(cp===(0)){$s=64;continue;}if(cp===(1)){$s=65;continue;}$s=66;continue;case 64:cq=(BE.nil);cr=$ifaceNil;f=cq;g=cr;$s=-1;return[f,g];case 65:ct=$clone(ad,D.Value).Index(0);$s=68;case 68:if($c){$c=false;ct=ct.$blk();}if(ct&&ct.$blk!==undefined){break s;}cu=CF($clone(ct,D.Value),$clone(cn,AX));$s=69;case 69:if($c){$c=false;cu=cu.$blk();}if(cu&&cu.$blk!==undefined){break s;}cs=cu;f=cs[0];g=cs[1];$s=-1;return[f,g];case 66:cv=$makeSlice(CP,co);cw=0;case 70:if(!(cw<co)){$s=71;continue;}cy=$clone(ad,D.Value).Index(cw);$s=72;case 72:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cz=CF($clone(cy,D.Value),$clone(cn,AX));$s=73;case 73:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cx=cz;((cw<0||cw>=cv.$length)?($throwRuntimeError(\"index out of range\"),undefined):cv.$array[cv.$offset+cw]=cx[0]);g=cx[1];if(!($interfaceIsEqual(g,$ifaceNil))){da=$ifaceNil;db=g;f=da;g=db;$s=-1;return[f,g];}cw=cw+(1)>>0;$s=70;continue;case 71:dc=($subslice(new BG(cv.$array),cv.$offset,cv.$offset+cv.$length));dd=$ifaceNil;f=dc;g=dd;$s=-1;return[f,g];case 67:case 63:$s=26;continue;case 25:de=e.stringType;if(de===(22)){$s=75;continue;}if(de===(19)){$s=76;continue;}$s=77;continue;case 75:dg=$clone(ad,D.Value).String();$s=79;case 79:if($c){$c=false;dg=dg.$blk();}if(dg&&dg.$blk!==undefined){break s;}dh=BT(dg);$s=80;case 80:if($c){$c=false;dh=dh.$blk();}if(dh&&dh.$blk!==undefined){break s;}df=dh;f=df[0];g=df[1];$s=-1;return[f,g];case 76:dj=$clone(ad,D.Value).String();$s=81;case 81:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}dk=BS(dj);$s=82;case 82:if($c){$c=false;dk=dk.$blk();}if(dk&&dk.$blk!==undefined){break s;}di=dk;f=di[0];g=di[1];$s=-1;return[f,g];case 77:dm=$clone(ad,D.Value).String();$s=83;case 83:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=BU(dm);$s=84;case 84:if($c){$c=false;dn=dn.$blk();}if(dn&&dn.$blk!==undefined){break s;}dl=dn;dp=$ifaceNil;f=dl;g=dp;$s=-1;return[f,g];case 78:case 74:case 26:case 20:dq=$ifaceNil;dr=(ds=new I.ptr(\"unknown Go type\"),new ds.constructor.elem(ds));f=dq;g=dr;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:CE};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.d=d;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CF=function(d,e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$ifaceNil;g=$ifaceNil;if(!$clone(d,D.Value).IsValid()){$s=1;continue;}$s=2;continue;case 1:h=$ifaceNil;j=B.Errorf(\"asn1: cannot marshal nil value\",new CL([]));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=h;g=i;$s=-1;return[f,g];case 2:if(!($clone(d,D.Value).Kind()===20)){k=false;$s=6;continue s;}l=$clone(d,D.Value).Type().NumMethod();$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l===0;case 6:if(k){$s=4;continue;}$s=5;continue;case 4:n=$clone(d,D.Value).Elem();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=CF($clone(n,D.Value),$clone(e,AX));$s=9;case 9:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;f=m[0];g=m[1];$s=-1;return[f,g];case 5:if(($clone(d,D.Value).Kind()===23)&&($clone(d,D.Value).Len()===0)&&e.omitEmpty){p=(BE.nil);q=$ifaceNil;f=p;g=q;$s=-1;return[f,g];}if(e.optional&&!(e.defaultValue===CN.nil)&&AS($clone(d,D.Value).Kind())){$s=10;continue;}$s=11;continue;case 10:r=D.New($clone(d,D.Value).Type());$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=$clone(r,D.Value).Elem();$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;$clone(t,D.Value).SetInt(e.defaultValue.$get());u=$clone(d,D.Value).Interface();$s=16;case 16:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;w=$clone(t,D.Value).Interface();$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=D.DeepEqual(v,x);$s=18;case 18:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}if(y){$s=14;continue;}$s=15;continue;case 14:z=(BE.nil);aa=$ifaceNil;f=z;g=aa;$s=-1;return[f,g];case 15:case 11:if(e.optional&&e.defaultValue===CN.nil){$s=19;continue;}$s=20;continue;case 19:ab=$clone(d,D.Value).Interface();$s=23;case 23:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;ad=D.Zero($clone(d,D.Value).Type());$s=24;case 24:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=$clone(ad,D.Value).Interface();$s=25;case 25:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=D.DeepEqual(ac,af);$s=26;case 26:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}if(ag){$s=21;continue;}$s=22;continue;case 21:ah=(BE.nil);ai=$ifaceNil;f=ah;g=ai;$s=-1;return[f,g];case 22:case 20:if($interfaceIsEqual($clone(d,D.Value).Type(),AN)){$s=27;continue;}$s=28;continue;case 27:aj=$clone(d,D.Value).Interface();$s=29;case 29:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ak=$clone($assertType(aj,AE),AE);if(!((ak.FullBytes.$length===0))){al=((am=ak.FullBytes,$subslice(new BE(am.$array),am.$offset,am.$offset+am.$length)));an=$ifaceNil;f=al;g=an;$s=-1;return[f,g];}ao=new BH.ptr(CR.zero(),$ifaceNil,$ifaceNil);ao.tag=((ap=BO($subslice(new CH(ao.scratch),0,0),new AW.ptr(ak.Class,ak.Tag,ak.Bytes.$length,ak.IsCompound)),$subslice(new BE(ap.$array),ap.$offset,ap.$offset+ap.$length)));ao.body=((aq=ak.Bytes,$subslice(new BE(aq.$array),aq.$offset,aq.$offset+aq.$length)));ar=ao;as=$ifaceNil;f=ar;g=as;$s=-1;return[f,g];case 28:au=AZ($clone(d,D.Value).Type());$s=30;case 30:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];aw=at[1];ax=at[2];if(!ax){$s=31;continue;}$s=32;continue;case 31:ay=$ifaceNil;bb=B.Sprintf(\"unknown Go type: %v\",new CL([$clone(d,D.Value).Type()]));$s=33;case 33:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}az=(ba=new I.ptr(bb),new ba.constructor.elem(ba));f=ay;g=az;$s=-1;return[f,g];case 32:bc=0;if(!((e.timeType===0))&&!((av===23))){bd=$ifaceNil;be=(bf=new I.ptr(\"explicit time type given to non-time member\"),new bf.constructor.elem(bf));f=bd;g=be;$s=-1;return[f,g];}if(!((e.stringType===0))&&!((av===19))){bg=$ifaceNil;bh=(bi=new I.ptr(\"explicit string type given to non-string member\"),new bi.constructor.elem(bi));f=bg;g=bh;$s=-1;return[f,g];}bj=av;if(bj===(19)){$s=35;continue;}if(bj===(23)){$s=36;continue;}$s=37;continue;case 35:if(e.stringType===0){$s=38;continue;}$s=39;continue;case 38:bl=$clone(d,D.Value).String();$s=41;case 41:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bk=bl;bm=0;case 42:if(!(bm<bk.length)){$s=43;continue;}bn=$decodeRune(bk,bm);bo=bn[0];if(bo>=128||!AA(((bo<<24>>>24)))){$s=44;continue;}$s=45;continue;case 44:bp=$clone(d,D.Value).String();$s=48;case 48:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=G.ValidString(bp);$s=49;case 49:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}if(!bq){$s=46;continue;}$s=47;continue;case 46:br=$ifaceNil;bs=A.New(\"asn1: string not valid UTF-8\");f=br;g=bs;$s=-1;return[f,g];case 47:av=12;$s=43;continue;case 45:bm+=bn[1];$s=42;continue;case 43:$s=40;continue;case 39:av=e.stringType;case 40:$s=37;continue;case 36:if(e.timeType===24){bt=true;$s=52;continue s;}bu=$clone(d,D.Value).Interface();$s=53;case 53:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}bv=BX($clone($assertType(bu,F.Time),F.Time));$s=54;case 54:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bt=bv;case 52:if(bt){$s=50;continue;}$s=51;continue;case 50:av=24;case 51:case 37:case 34:if(e.set){if(!((av===16))){bw=$ifaceNil;bx=(by=new I.ptr(\"non sequence tagged as set\"),new by.constructor.elem(by));f=bw;g=bx;$s=-1;return[f,g];}av=17;}bz=new BH.ptr(CR.zero(),$ifaceNil,$ifaceNil);cb=CE($clone(d,D.Value),$clone(e,AX));$s=55;case 55:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}ca=cb;bz.body=ca[0];g=ca[1];if(!($interfaceIsEqual(g,$ifaceNil))){cc=$ifaceNil;cd=g;f=cc;g=cd;$s=-1;return[f,g];}ce=bz.body.Len();$s=56;case 56:if($c){$c=false;ce=ce.$blk();}if(ce&&ce.$blk!==undefined){break s;}cf=ce;if(e.explicit){$s=57;continue;}$s=58;continue;case 57:bz.tag=((cg=BO($subslice(new CH(bz.scratch),0,0),new AW.ptr(bc,av,cf,aw)),$subslice(new BE(cg.$array),cg.$offset,cg.$offset+cg.$length)));ch=new BH.ptr(CR.zero(),$ifaceNil,$ifaceNil);ch.body=bz;cj=$subslice(new CH(ch.scratch),0,0);ck=bz.tag.Len();$s=59;case 59:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}cl=new AW.ptr(2,e.tag.$get(),cf+ck>>0,true);cm=BO(cj,cl);$s=60;case 60:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}ch.tag=((ci=cm,$subslice(new BE(ci.$array),ci.$offset,ci.$offset+ci.$length)));cn=ch;co=$ifaceNil;f=cn;g=co;$s=-1;return[f,g];case 58:if(!(e.tag===CO.nil)){av=e.tag.$get();bc=2;}bz.tag=((cp=BO($subslice(new CH(bz.scratch),0,0),new AW.ptr(bc,av,cf,aw)),$subslice(new BE(cp.$array),cp.$offset,cp.$offset+cp.$length)));cq=bz;cr=$ifaceNil;f=cq;g=cr;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CG=function(d){var $ptr,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=D.ValueOf(d);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=CF($clone(f,D.Value),new AX.ptr(false,false,false,CN.nil,CO.nil,0,0,false,false));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;h=e[0];i=e[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[CH.nil,i];}j=h.Len();$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=$makeSlice(CH,j);$r=h.Encode(k);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[k,$ifaceNil];}return;}if($f===undefined){$f={$blk:CG};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Marshal=CG;I.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];J.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];Q.methods=[{prop:\"At\",name:\"At\",pkg:\"\",typ:$funcType([$Int],[$Int],false)},{prop:\"RightAlign\",name:\"RightAlign\",pkg:\"\",typ:$funcType([],[CH],false)}];S.methods=[{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([S],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BD.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];BE.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];BF.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];BG.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];CS.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];BI.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];BP.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];BQ.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)}];I.init(\"\",[{prop:\"Msg\",name:\"Msg\",exported:true,typ:$String,tag:\"\"}]);J.init(\"\",[{prop:\"Msg\",name:\"Msg\",exported:true,typ:$String,tag:\"\"}]);Q.init(\"\",[{prop:\"Bytes\",name:\"Bytes\",exported:true,typ:CH,tag:\"\"},{prop:\"BitLength\",name:\"BitLength\",exported:true,typ:$Int,tag:\"\"}]);S.init($Int);AE.init(\"\",[{prop:\"Class\",name:\"Class\",exported:true,typ:$Int,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:$Int,tag:\"\"},{prop:\"IsCompound\",name:\"IsCompound\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Bytes\",name:\"Bytes\",exported:true,typ:CH,tag:\"\"},{prop:\"FullBytes\",name:\"FullBytes\",exported:true,typ:CH,tag:\"\"}]);AF.init($Uint8);AW.init(\"encoding/asn1\",[{prop:\"class$0\",name:\"class\",exported:false,typ:$Int,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$Int,tag:\"\"},{prop:\"length\",name:\"length\",exported:false,typ:$Int,tag:\"\"},{prop:\"isCompound\",name:\"isCompound\",exported:false,typ:$Bool,tag:\"\"}]);AX.init(\"encoding/asn1\",[{prop:\"optional\",name:\"optional\",exported:false,typ:$Bool,tag:\"\"},{prop:\"explicit\",name:\"explicit\",exported:false,typ:$Bool,tag:\"\"},{prop:\"application\",name:\"application\",exported:false,typ:$Bool,tag:\"\"},{prop:\"defaultValue\",name:\"defaultValue\",exported:false,typ:CN,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:CO,tag:\"\"},{prop:\"stringType\",name:\"stringType\",exported:false,typ:$Int,tag:\"\"},{prop:\"timeType\",name:\"timeType\",exported:false,typ:$Int,tag:\"\"},{prop:\"set\",name:\"set\",exported:false,typ:$Bool,tag:\"\"},{prop:\"omitEmpty\",name:\"omitEmpty\",exported:false,typ:$Bool,tag:\"\"}]);BC.init([{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([CH],[],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)}]);BE.init($Uint8);BG.init(BC);BH.init(\"encoding/asn1\",[{prop:\"scratch\",name:\"scratch\",exported:false,typ:CR,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:BC,tag:\"\"},{prop:\"body\",name:\"body\",exported:false,typ:BC,tag:\"\"}]);BP.init(\"\",[{prop:\"Bytes\",name:\"Bytes\",exported:true,typ:CH,tag:\"\"},{prop:\"BitLength\",name:\"BitLength\",exported:true,typ:$Int,tag:\"\"}]);BQ.init($Int);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}O=C.NewInt(new $Int64(0,1));AI=D.TypeOf((a=new Q.ptr(CH.nil,0),new a.constructor.elem(a)));AJ=D.TypeOf(new S([]));AK=D.TypeOf(new U(0));AL=D.TypeOf(new V(false));AM=D.TypeOf((b=new F.Time.ptr(new $Int64(0,0),0,CI.nil),new b.constructor.elem(b)));AN=D.TypeOf((c=new AE.ptr(0,0,false,CH.nil,CH.nil),new c.constructor.elem(c)));AO=D.TypeOf((AF.nil));AP=D.TypeOf(new C.Int.ptr(false,C.nat.nil));BA=new BD(0);BB=new BD(255);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/ecdsa\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,H,I,J,K,L,M,N,W,Y,Z,AA,AB,O,T,X,P,R,S,U,V;A=$packages[\"crypto\"];B=$packages[\"crypto/aes\"];C=$packages[\"crypto/cipher\"];D=$packages[\"crypto/elliptic\"];E=$packages[\"crypto/sha512\"];F=$packages[\"encoding/asn1\"];G=$packages[\"errors\"];H=$packages[\"io\"];I=$packages[\"math/big\"];J=$pkg.invertible=$newType(8,$kindInterface,\"ecdsa.invertible\",true,\"crypto/ecdsa\",false,null);K=$pkg.combinedMult=$newType(8,$kindInterface,\"ecdsa.combinedMult\",true,\"crypto/ecdsa\",false,null);L=$pkg.PublicKey=$newType(0,$kindStruct,\"ecdsa.PublicKey\",true,\"crypto/ecdsa\",true,function(Curve_,X_,Y_){this.$val=this;if(arguments.length===0){this.Curve=$ifaceNil;this.X=Z.nil;this.Y=Z.nil;return;}this.Curve=Curve_;this.X=X_;this.Y=Y_;});M=$pkg.PrivateKey=$newType(0,$kindStruct,\"ecdsa.PrivateKey\",true,\"crypto/ecdsa\",true,function(PublicKey_,D_){this.$val=this;if(arguments.length===0){this.PublicKey=new L.ptr($ifaceNil,Z.nil,Z.nil);this.D=Z.nil;return;}this.PublicKey=PublicKey_;this.D=D_;});N=$pkg.ecdsaSignature=$newType(0,$kindStruct,\"ecdsa.ecdsaSignature\",true,\"crypto/ecdsa\",false,function(R_,S_){this.$val=this;if(arguments.length===0){this.R=Z.nil;this.S=Z.nil;return;}this.R=R_;this.S=S_;});W=$pkg.zr=$newType(0,$kindStruct,\"ecdsa.zr\",true,\"crypto/ecdsa\",false,function(Reader_){this.$val=this;if(arguments.length===0){this.Reader=$ifaceNil;return;}this.Reader=Reader_;});Y=$sliceType($Uint8);Z=$ptrType(I.Int);AA=$ptrType(M);AB=$ptrType(W);M.ptr.prototype.Public=function(){var $ptr,a;a=this;return a.PublicKey;};M.prototype.Public=function(){return this.$val.Public();};M.ptr.prototype.Sign=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;f=U(a,d,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];i=e[2];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[Y.nil,i];}k=F.Marshal((j=new N.ptr(g,h),new j.constructor.elem(j)));$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Sign};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Sign=function(a,b,c){return this.$val.Sign(a,b,c);};P=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=Z.nil;d=$ifaceNil;e=a.Params();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;h=$makeSlice(Y,((g=f.BitSize/8,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))+8>>0));j=H.ReadFull(b,h);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;d=i[1];if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[c,d];}c=new I.Int.ptr(false,I.nat.nil).SetBytes(h);k=new I.Int.ptr(false,I.nat.nil).Sub(f.N,O);l=c.Mod(c,k);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;c.Add(c,O);$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:P};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=b.Params();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c.N.BitLen();$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;g=(f=((e+7>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));if(a.$length>g){a=$subslice(a,0,g);}h=new I.Int.ptr(false,I.nat.nil).SetBytes(a);i=($imul(a.$length,8))-e>>0;if(i>0){h.Rsh(h,((i>>>0)));}$s=-1;return h;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};S=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=I.NewInt(new $Int64(0,2));d=new I.Int.ptr(false,I.nat.nil).Sub(b,c);e=new I.Int.ptr(false,I.nat.nil).Exp(a,d,b);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:S};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};U=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=Z.nil;e=Z.nil;f=$ifaceNil;h=b.PublicKey.Curve.Params();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=(g=((h.BitSize+7>>0))/16,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"));if(i>32){i=32;}j=$makeSlice(Y,i);l=H.ReadFull(a,j);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[d,e,f];}m=E.New();n=m.Write(b.D.Bytes());$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=m.Write(j);$s=4;case 4:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=m.Write(c);$s=5;case 5:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=m.Sum(Y.nil);$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=$subslice(q,0,32);s=B.NewCipher(r);t=s[0];f=s[1];if(!($interfaceIsEqual(f,$ifaceNil))){u=Z.nil;v=Z.nil;w=f;d=u;e=v;f=w;$s=-1;return[d,e,f];}x=C.NewCTR(t,(new Y($stringToBytes(\"IV for ECDSA CTR\"))));$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=new C.StreamReader.ptr(x,X);z=b.PublicKey.Curve;aa=z.Params();$s=8;case 8:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=aa.N;if(ab.Sign()===0){ac=Z.nil;ad=Z.nil;ae=T;d=ac;e=ad;f=ae;$s=-1;return[d,e,f];}af=Z.nil;ag=Z.nil;ah=af;ai=ag;case 9:case 11:ak=P(z,new y.constructor.elem(y));$s=13;case 13:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;ah=aj[0];f=aj[1];if(!($interfaceIsEqual(f,$ifaceNil))){d=Z.nil;$s=-1;return[d,e,f];}al=$assertType(b.PublicKey.Curve,J,true);am=al[0];an=al[1];if(an){$s=14;continue;}$s=15;continue;case 14:ao=am.Inverse(ah);$s=17;case 17:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ai=ao;$s=16;continue;case 15:ap=S(ah,ab);$s=18;case 18:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ai=ap;case 16:ar=b.PublicKey.Curve.ScalarBaseMult(ah.Bytes());$s=19;case 19:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;d=aq[0];as=d.Mod(d,ab);$s=20;case 20:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}as;if(!((d.Sign()===0))){$s=12;continue;}$s=11;continue;case 12:at=R(c,z);$s=21;case 21:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;e=new I.Int.ptr(false,I.nat.nil).Mul(b.D,d);e.Add(e,au);e.Mul(e,ai);av=e.Mod(e,ab);$s=22;case 22:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}av;if(!((e.Sign()===0))){$s=10;continue;}$s=9;continue;case 10:$s=-1;return[d,e,f];}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sign=U;V=function(a,b,c,d){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=a.Curve;f=e.Params();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f.N;if(c.Sign()<=0||d.Sign()<=0){$s=-1;return false;}if(c.Cmp(g)>=0||d.Cmp(g)>=0){$s=-1;return false;}h=R(b,e);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=Z.nil;k=$assertType(e,J,true);l=k[0];m=k[1];if(m){$s=3;continue;}$s=4;continue;case 3:n=l.Inverse(d);$s=6;case 6:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}j=n;$s=5;continue;case 4:o=new I.Int.ptr(false,I.nat.nil).ModInverse(d,g);$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}j=o;case 5:p=i.Mul(i,j);q=p.Mod(p,g);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=j.Mul(c,j);s=r.Mod(r,g);$s=9;case 9:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=Z.nil;u=Z.nil;v=t;w=u;x=$assertType(e,K,true);y=x[0];z=x[1];if(z){$s=10;continue;}$s=11;continue;case 10:ab=y.CombinedMult(a.X,a.Y,p.Bytes(),r.Bytes());$s=13;case 13:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;v=aa[0];w=aa[1];$s=12;continue;case 11:ad=e.ScalarBaseMult(p.Bytes());$s=14;case 14:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];af=ac[1];ah=e.ScalarMult(a.X,a.Y,r.Bytes());$s=15;case 15:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ag=ah;ai=ag[0];aj=ag[1];al=e.Add(ae,af,ai,aj);$s=16;case 16:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;v=ak[0];w=ak[1];case 12:if((v.Sign()===0)&&(w.Sign()===0)){$s=-1;return false;}am=v.Mod(v,g);$s=17;case 17:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;$s=-1;return v.Cmp(c)===0;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Verify=V;W.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i;b=0;c=$ifaceNil;d=this;e=a;f=0;while(true){if(!(f<e.$length)){break;}g=f;((g<0||g>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+g]=0);f++;}h=a.$length;i=$ifaceNil;b=h;c=i;return[b,c];};W.prototype.Read=function(a){return this.$val.Read(a);};AA.methods=[{prop:\"Public\",name:\"Public\",pkg:\"\",typ:$funcType([],[A.PublicKey],false)},{prop:\"Sign\",name:\"Sign\",pkg:\"\",typ:$funcType([H.Reader,Y,A.SignerOpts],[Y,$error],false)}];AB.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([Y],[$Int,$error],false)}];J.init([{prop:\"Inverse\",name:\"Inverse\",pkg:\"\",typ:$funcType([Z],[Z],false)}]);K.init([{prop:\"CombinedMult\",name:\"CombinedMult\",pkg:\"\",typ:$funcType([Z,Z,Y,Y],[Z,Z],false)}]);L.init(\"\",[{prop:\"Curve\",name:\"\",exported:true,typ:D.Curve,tag:\"\"},{prop:\"X\",name:\"X\",exported:true,typ:Z,tag:\"\"},{prop:\"Y\",name:\"Y\",exported:true,typ:Z,tag:\"\"}]);M.init(\"\",[{prop:\"PublicKey\",name:\"\",exported:true,typ:L,tag:\"\"},{prop:\"D\",name:\"D\",exported:true,typ:Z,tag:\"\"}]);N.init(\"\",[{prop:\"R\",name:\"R\",exported:true,typ:Z,tag:\"\"},{prop:\"S\",name:\"S\",exported:true,typ:Z,tag:\"\"}]);W.init(\"\",[{prop:\"Reader\",name:\"\",exported:true,typ:H.Reader,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}O=new I.Int.ptr(false,I.nat.nil).SetInt64(new $Int64(0,1));T=G.New(\"zero parameter\");X=new W.ptr($ifaceNil);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/hmac\"]=(function(){var $pkg={},$init,A,B,C,F,G,D;A=$packages[\"crypto/subtle\"];B=$packages[\"hash\"];C=$pkg.hmac=$newType(0,$kindStruct,\"hmac.hmac\",true,\"crypto/hmac\",false,function(size_,blocksize_,opad_,ipad_,outer_,inner_){this.$val=this;if(arguments.length===0){this.size=0;this.blocksize=0;this.opad=F.nil;this.ipad=F.nil;this.outer=$ifaceNil;this.inner=$ifaceNil;return;}this.size=size_;this.blocksize=blocksize_;this.opad=opad_;this.ipad=ipad_;this.outer=outer_;this.inner=inner_;});F=$sliceType($Uint8);G=$ptrType(C);C.ptr.prototype.Sum=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a.$length;d=b.inner.Sum(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a=d;$r=b.outer.Reset();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=b.outer.Write(b.opad);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=b.outer.Write($subslice(a,c));$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;g=b.outer.Sum($subslice(a,0,c));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:C.ptr.prototype.Sum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};C.prototype.Sum=function(a){return this.$val.Sum(a);};C.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;f=d.inner.Write(a);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;b=e[0];c=e[1];$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:C.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};C.prototype.Write=function(a){return this.$val.Write(a);};C.ptr.prototype.Size=function(){var $ptr,a;a=this;return a.size;};C.prototype.Size=function(){return this.$val.Size();};C.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return a.blocksize;};C.prototype.BlockSize=function(){return this.$val.BlockSize();};C.ptr.prototype.Reset=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.inner.Reset();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=a.inner.Write(a.ipad);$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;$s=-1;return;}return;}if($f===undefined){$f={$blk:C.ptr.prototype.Reset};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};C.prototype.Reset=function(){return this.$val.Reset();};D=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=new C.ptr(0,0,F.nil,F.nil,$ifaceNil,$ifaceNil);d=a();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c.outer=d;e=a();$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}c.inner=e;f=c.inner.Size();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}c.size=f;g=c.inner.BlockSize();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c.blocksize=g;c.ipad=$makeSlice(F,c.blocksize);c.opad=$makeSlice(F,c.blocksize);if(b.$length>c.blocksize){$s=5;continue;}$s=6;continue;case 5:h=c.outer.Write(b);$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=c.outer.Sum(F.nil);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}b=i;case 6:$copySlice(c.ipad,b);$copySlice(c.opad,b);j=c.ipad;k=0;while(true){if(!(k<j.$length)){break;}l=k;(n=c.ipad,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(((m=c.ipad,((l<0||l>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+l]))^(54))<<24>>>24)));k++;}o=c.opad;p=0;while(true){if(!(p<o.$length)){break;}q=p;(s=c.opad,((q<0||q>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+q]=(((r=c.opad,((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]))^(92))<<24>>>24)));p++;}t=c.inner.Write(c.ipad);$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;$s=-1;return c;}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=D;G.methods=[{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([F],[F],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([F],[$Int,$error],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)}];C.init(\"crypto/hmac\",[{prop:\"size\",name:\"size\",exported:false,typ:$Int,tag:\"\"},{prop:\"blocksize\",name:\"blocksize\",exported:false,typ:$Int,tag:\"\"},{prop:\"opad\",name:\"opad\",exported:false,typ:F,tag:\"\"},{prop:\"ipad\",name:\"ipad\",exported:false,typ:F,tag:\"\"},{prop:\"outer\",name:\"outer\",exported:false,typ:B.Hash,tag:\"\"},{prop:\"inner\",name:\"inner\",exported:false,typ:B.Hash,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/internal/cipherhw\"]=(function(){var $pkg={},$init,A;A=function(){var $ptr;return false;};$pkg.AESGCMSupport=A;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/md5\"]=(function(){var $pkg={},$init,A,B,C,E,L,M,N,O,P,Q,R,S,H,K,D,F,I,J;A=$packages[\"crypto\"];B=$packages[\"hash\"];C=$packages[\"runtime\"];E=$pkg.digest=$newType(0,$kindStruct,\"md5.digest\",true,\"crypto/md5\",false,function(s_,x_,nx_,len_){this.$val=this;if(arguments.length===0){this.s=L.zero();this.x=M.zero();this.nx=0;this.len=new $Uint64(0,0);return;}this.s=s_;this.x=x_;this.nx=nx_;this.len=len_;});L=$arrayType($Uint32,4);M=$arrayType($Uint8,64);N=$sliceType($Uint8);O=$arrayType($Uint8,16);P=$arrayType($Uint8,4);Q=$arrayType($Uint32,16);R=$ptrType(Q);S=$ptrType(E);D=function(){var $ptr;A.RegisterHash(2,F);};E.ptr.prototype.Reset=function(){var $ptr,a;a=this;a.s[0]=1732584193;a.s[1]=4023233417;a.s[2]=2562383102;a.s[3]=271733878;a.nx=0;a.len=new $Uint64(0,0);};E.prototype.Reset=function(){return this.$val.Reset();};F=function(){var $ptr,a;a=new E.ptr(L.zero(),M.zero(),0,new $Uint64(0,0));a.Reset();return a;};$pkg.New=F;E.ptr.prototype.Size=function(){var $ptr,a;a=this;return 16;};E.prototype.Size=function(){return this.$val.Size();};E.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return 64;};E.prototype.BlockSize=function(){return this.$val.BlockSize();};E.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;b=a.$length;d.len=(e=d.len,f=(new $Uint64(0,b)),new $Uint64(e.$high+f.$high,e.$low+f.$low));if(d.nx>0){$s=1;continue;}$s=2;continue;case 1:g=$copySlice($subslice(new N(d.x),d.nx),a);d.nx=d.nx+(g)>>0;if(d.nx===64){$s=3;continue;}$s=4;continue;case 3:$r=K(d,new N(d.x));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nx=0;case 4:a=$subslice(a,g);case 2:if(a.$length>=64){$s=6;continue;}$s=7;continue;case 6:h=(a.$length&~63)>>0;$r=K(d,$subslice(a,0,h));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=$subslice(a,h);case 7:if(a.$length>0){d.nx=$copySlice(new N(d.x),a);}$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Write=function(a){return this.$val.Write(a);};E.ptr.prototype.Sum=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=$clone(b,E);d=c.checkSum();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,O);$s=-1;return $appendSlice(a,new N(e));}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Sum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Sum=function(a){return this.$val.Sum(a);};E.ptr.prototype.checkSum=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.len;c=M.zero();c[0]=128;if((d=$div64(b,new $Uint64(0,64),true),(d.$high<0||(d.$high===0&&d.$low<56)))){$s=1;continue;}$s=2;continue;case 1:f=a.Write($subslice(new N(c),0,$flatten64((e=$div64(b,new $Uint64(0,64),true),new $Uint64(0-e.$high,56-e.$low)))));$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=3;continue;case 2:h=a.Write($subslice(new N(c),0,$flatten64((g=$div64(b,new $Uint64(0,64),true),new $Uint64(0-g.$high,120-g.$low)))));$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 3:b=$shiftLeft64(b,(3));i=0;while(true){if(!(i<8)){break;}((i<0||i>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[i]=(($shiftRightUint64(b,((8*i>>>0))).$low<<24>>>24)));i=i+(1)>>>0;}j=a.Write($subslice(new N(c),0,8));$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;if(!((a.nx===0))){$panic(new $String(\"d.nx != 0\"));}k=O.zero();l=a.s;m=0;while(true){if(!(m<4)){break;}n=m;o=((m<0||m>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[m]);(p=$imul(n,4),((p<0||p>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[p]=((o<<24>>>24))));(q=($imul(n,4))+1>>0,((q<0||q>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[q]=(((o>>>8>>>0)<<24>>>24))));(r=($imul(n,4))+2>>0,((r<0||r>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[r]=(((o>>>16>>>0)<<24>>>24))));(s=($imul(n,4))+3>>0,((s<0||s>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[s]=(((o>>>24>>>0)<<24>>>24))));m++;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.checkSum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.checkSum=function(){return this.$val.checkSum();};I=function(){var $ptr,a,b;a=67305985;b=$toNativeArray($kindUint8,[1,2,3,4]);H=$equal(a,b,P);};J=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;c=a.s[0];d=a.s[1];e=a.s[2];f=a.s[3];g=R.nil;h=Q.zero();while(true){if(!(b.$length>=64)){break;}i=c;j=d;k=e;l=f;m=i;n=j;o=k;p=l;if(false){g=(($sliceToArray(b)));}else if(H&&((((($sliceToArray(b)))&3)>>>0)===0)){g=(($sliceToArray(b)));}else{g=h;q=0;r=0;while(true){if(!(r<16)){break;}(v=r&15,g.nilCheck,((v<0||v>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[v]=((((((((((q<0||q>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+q])>>>0))|((((s=q+1>>0,((s<0||s>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+s]))>>>0))<<8>>>0))>>>0)|((((t=q+2>>0,((t<0||t>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+t]))>>>0))<<16>>>0))>>>0)|((((u=q+3>>0,((u<0||u>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+u]))>>>0))<<24>>>0))>>>0)));q=q+(4)>>0;r=r+(1)>>0;}}c=c+((((((((((((e^f)>>>0))&d)>>>0))^f)>>>0))+(g.nilCheck,g[0])>>>0)+3614090360>>>0))>>>0;c=(((c<<7>>>0)|(c>>>25>>>0))>>>0)+d>>>0;f=f+((((((((((((d^e)>>>0))&c)>>>0))^e)>>>0))+(g.nilCheck,g[1])>>>0)+3905402710>>>0))>>>0;f=(((f<<12>>>0)|(f>>>20>>>0))>>>0)+c>>>0;e=e+((((((((((((c^d)>>>0))&f)>>>0))^d)>>>0))+(g.nilCheck,g[2])>>>0)+606105819>>>0))>>>0;e=(((e<<17>>>0)|(e>>>15>>>0))>>>0)+f>>>0;d=d+((((((((((((f^c)>>>0))&e)>>>0))^c)>>>0))+(g.nilCheck,g[3])>>>0)+3250441966>>>0))>>>0;d=(((d<<22>>>0)|(d>>>10>>>0))>>>0)+e>>>0;c=c+((((((((((((e^f)>>>0))&d)>>>0))^f)>>>0))+(g.nilCheck,g[4])>>>0)+4118548399>>>0))>>>0;c=(((c<<7>>>0)|(c>>>25>>>0))>>>0)+d>>>0;f=f+((((((((((((d^e)>>>0))&c)>>>0))^e)>>>0))+(g.nilCheck,g[5])>>>0)+1200080426>>>0))>>>0;f=(((f<<12>>>0)|(f>>>20>>>0))>>>0)+c>>>0;e=e+((((((((((((c^d)>>>0))&f)>>>0))^d)>>>0))+(g.nilCheck,g[6])>>>0)+2821735955>>>0))>>>0;e=(((e<<17>>>0)|(e>>>15>>>0))>>>0)+f>>>0;d=d+((((((((((((f^c)>>>0))&e)>>>0))^c)>>>0))+(g.nilCheck,g[7])>>>0)+4249261313>>>0))>>>0;d=(((d<<22>>>0)|(d>>>10>>>0))>>>0)+e>>>0;c=c+((((((((((((e^f)>>>0))&d)>>>0))^f)>>>0))+(g.nilCheck,g[8])>>>0)+1770035416>>>0))>>>0;c=(((c<<7>>>0)|(c>>>25>>>0))>>>0)+d>>>0;f=f+((((((((((((d^e)>>>0))&c)>>>0))^e)>>>0))+(g.nilCheck,g[9])>>>0)+2336552879>>>0))>>>0;f=(((f<<12>>>0)|(f>>>20>>>0))>>>0)+c>>>0;e=e+((((((((((((c^d)>>>0))&f)>>>0))^d)>>>0))+(g.nilCheck,g[10])>>>0)+4294925233>>>0))>>>0;e=(((e<<17>>>0)|(e>>>15>>>0))>>>0)+f>>>0;d=d+((((((((((((f^c)>>>0))&e)>>>0))^c)>>>0))+(g.nilCheck,g[11])>>>0)+2304563134>>>0))>>>0;d=(((d<<22>>>0)|(d>>>10>>>0))>>>0)+e>>>0;c=c+((((((((((((e^f)>>>0))&d)>>>0))^f)>>>0))+(g.nilCheck,g[12])>>>0)+1804603682>>>0))>>>0;c=(((c<<7>>>0)|(c>>>25>>>0))>>>0)+d>>>0;f=f+((((((((((((d^e)>>>0))&c)>>>0))^e)>>>0))+(g.nilCheck,g[13])>>>0)+4254626195>>>0))>>>0;f=(((f<<12>>>0)|(f>>>20>>>0))>>>0)+c>>>0;e=e+((((((((((((c^d)>>>0))&f)>>>0))^d)>>>0))+(g.nilCheck,g[14])>>>0)+2792965006>>>0))>>>0;e=(((e<<17>>>0)|(e>>>15>>>0))>>>0)+f>>>0;d=d+((((((((((((f^c)>>>0))&e)>>>0))^c)>>>0))+(g.nilCheck,g[15])>>>0)+1236535329>>>0))>>>0;d=(((d<<22>>>0)|(d>>>10>>>0))>>>0)+e>>>0;c=c+((((((((((((d^e)>>>0))&f)>>>0))^e)>>>0))+(g.nilCheck,g[1])>>>0)+4129170786>>>0))>>>0;c=(((c<<5>>>0)|(c>>>27>>>0))>>>0)+d>>>0;f=f+((((((((((((c^d)>>>0))&e)>>>0))^d)>>>0))+(g.nilCheck,g[6])>>>0)+3225465664>>>0))>>>0;f=(((f<<9>>>0)|(f>>>23>>>0))>>>0)+c>>>0;e=e+((((((((((((f^c)>>>0))&d)>>>0))^c)>>>0))+(g.nilCheck,g[11])>>>0)+643717713>>>0))>>>0;e=(((e<<14>>>0)|(e>>>18>>>0))>>>0)+f>>>0;d=d+((((((((((((e^f)>>>0))&c)>>>0))^f)>>>0))+(g.nilCheck,g[0])>>>0)+3921069994>>>0))>>>0;d=(((d<<20>>>0)|(d>>>12>>>0))>>>0)+e>>>0;c=c+((((((((((((d^e)>>>0))&f)>>>0))^e)>>>0))+(g.nilCheck,g[5])>>>0)+3593408605>>>0))>>>0;c=(((c<<5>>>0)|(c>>>27>>>0))>>>0)+d>>>0;f=f+((((((((((((c^d)>>>0))&e)>>>0))^d)>>>0))+(g.nilCheck,g[10])>>>0)+38016083>>>0))>>>0;f=(((f<<9>>>0)|(f>>>23>>>0))>>>0)+c>>>0;e=e+((((((((((((f^c)>>>0))&d)>>>0))^c)>>>0))+(g.nilCheck,g[15])>>>0)+3634488961>>>0))>>>0;e=(((e<<14>>>0)|(e>>>18>>>0))>>>0)+f>>>0;d=d+((((((((((((e^f)>>>0))&c)>>>0))^f)>>>0))+(g.nilCheck,g[4])>>>0)+3889429448>>>0))>>>0;d=(((d<<20>>>0)|(d>>>12>>>0))>>>0)+e>>>0;c=c+((((((((((((d^e)>>>0))&f)>>>0))^e)>>>0))+(g.nilCheck,g[9])>>>0)+568446438>>>0))>>>0;c=(((c<<5>>>0)|(c>>>27>>>0))>>>0)+d>>>0;f=f+((((((((((((c^d)>>>0))&e)>>>0))^d)>>>0))+(g.nilCheck,g[14])>>>0)+3275163606>>>0))>>>0;f=(((f<<9>>>0)|(f>>>23>>>0))>>>0)+c>>>0;e=e+((((((((((((f^c)>>>0))&d)>>>0))^c)>>>0))+(g.nilCheck,g[3])>>>0)+4107603335>>>0))>>>0;e=(((e<<14>>>0)|(e>>>18>>>0))>>>0)+f>>>0;d=d+((((((((((((e^f)>>>0))&c)>>>0))^f)>>>0))+(g.nilCheck,g[8])>>>0)+1163531501>>>0))>>>0;d=(((d<<20>>>0)|(d>>>12>>>0))>>>0)+e>>>0;c=c+((((((((((((d^e)>>>0))&f)>>>0))^e)>>>0))+(g.nilCheck,g[13])>>>0)+2850285829>>>0))>>>0;c=(((c<<5>>>0)|(c>>>27>>>0))>>>0)+d>>>0;f=f+((((((((((((c^d)>>>0))&e)>>>0))^d)>>>0))+(g.nilCheck,g[2])>>>0)+4243563512>>>0))>>>0;f=(((f<<9>>>0)|(f>>>23>>>0))>>>0)+c>>>0;e=e+((((((((((((f^c)>>>0))&d)>>>0))^c)>>>0))+(g.nilCheck,g[7])>>>0)+1735328473>>>0))>>>0;e=(((e<<14>>>0)|(e>>>18>>>0))>>>0)+f>>>0;d=d+((((((((((((e^f)>>>0))&c)>>>0))^f)>>>0))+(g.nilCheck,g[12])>>>0)+2368359562>>>0))>>>0;d=(((d<<20>>>0)|(d>>>12>>>0))>>>0)+e>>>0;c=c+((((((((d^e)>>>0)^f)>>>0))+(g.nilCheck,g[5])>>>0)+4294588738>>>0))>>>0;c=(((c<<4>>>0)|(c>>>28>>>0))>>>0)+d>>>0;f=f+((((((((c^d)>>>0)^e)>>>0))+(g.nilCheck,g[8])>>>0)+2272392833>>>0))>>>0;f=(((f<<11>>>0)|(f>>>21>>>0))>>>0)+c>>>0;e=e+((((((((f^c)>>>0)^d)>>>0))+(g.nilCheck,g[11])>>>0)+1839030562>>>0))>>>0;e=(((e<<16>>>0)|(e>>>16>>>0))>>>0)+f>>>0;d=d+((((((((e^f)>>>0)^c)>>>0))+(g.nilCheck,g[14])>>>0)+4259657740>>>0))>>>0;d=(((d<<23>>>0)|(d>>>9>>>0))>>>0)+e>>>0;c=c+((((((((d^e)>>>0)^f)>>>0))+(g.nilCheck,g[1])>>>0)+2763975236>>>0))>>>0;c=(((c<<4>>>0)|(c>>>28>>>0))>>>0)+d>>>0;f=f+((((((((c^d)>>>0)^e)>>>0))+(g.nilCheck,g[4])>>>0)+1272893353>>>0))>>>0;f=(((f<<11>>>0)|(f>>>21>>>0))>>>0)+c>>>0;e=e+((((((((f^c)>>>0)^d)>>>0))+(g.nilCheck,g[7])>>>0)+4139469664>>>0))>>>0;e=(((e<<16>>>0)|(e>>>16>>>0))>>>0)+f>>>0;d=d+((((((((e^f)>>>0)^c)>>>0))+(g.nilCheck,g[10])>>>0)+3200236656>>>0))>>>0;d=(((d<<23>>>0)|(d>>>9>>>0))>>>0)+e>>>0;c=c+((((((((d^e)>>>0)^f)>>>0))+(g.nilCheck,g[13])>>>0)+681279174>>>0))>>>0;c=(((c<<4>>>0)|(c>>>28>>>0))>>>0)+d>>>0;f=f+((((((((c^d)>>>0)^e)>>>0))+(g.nilCheck,g[0])>>>0)+3936430074>>>0))>>>0;f=(((f<<11>>>0)|(f>>>21>>>0))>>>0)+c>>>0;e=e+((((((((f^c)>>>0)^d)>>>0))+(g.nilCheck,g[3])>>>0)+3572445317>>>0))>>>0;e=(((e<<16>>>0)|(e>>>16>>>0))>>>0)+f>>>0;d=d+((((((((e^f)>>>0)^c)>>>0))+(g.nilCheck,g[6])>>>0)+76029189>>>0))>>>0;d=(((d<<23>>>0)|(d>>>9>>>0))>>>0)+e>>>0;c=c+((((((((d^e)>>>0)^f)>>>0))+(g.nilCheck,g[9])>>>0)+3654602809>>>0))>>>0;c=(((c<<4>>>0)|(c>>>28>>>0))>>>0)+d>>>0;f=f+((((((((c^d)>>>0)^e)>>>0))+(g.nilCheck,g[12])>>>0)+3873151461>>>0))>>>0;f=(((f<<11>>>0)|(f>>>21>>>0))>>>0)+c>>>0;e=e+((((((((f^c)>>>0)^d)>>>0))+(g.nilCheck,g[15])>>>0)+530742520>>>0))>>>0;e=(((e<<16>>>0)|(e>>>16>>>0))>>>0)+f>>>0;d=d+((((((((e^f)>>>0)^c)>>>0))+(g.nilCheck,g[2])>>>0)+3299628645>>>0))>>>0;d=(((d<<23>>>0)|(d>>>9>>>0))>>>0)+e>>>0;c=c+((((((e^(((d|(~f>>>0))>>>0)))>>>0))+(g.nilCheck,g[0])>>>0)+4096336452>>>0))>>>0;c=(((c<<6>>>0)|(c>>>26>>>0))>>>0)+d>>>0;f=f+((((((d^(((c|(~e>>>0))>>>0)))>>>0))+(g.nilCheck,g[7])>>>0)+1126891415>>>0))>>>0;f=(((f<<10>>>0)|(f>>>22>>>0))>>>0)+c>>>0;e=e+((((((c^(((f|(~d>>>0))>>>0)))>>>0))+(g.nilCheck,g[14])>>>0)+2878612391>>>0))>>>0;e=(((e<<15>>>0)|(e>>>17>>>0))>>>0)+f>>>0;d=d+((((((f^(((e|(~c>>>0))>>>0)))>>>0))+(g.nilCheck,g[5])>>>0)+4237533241>>>0))>>>0;d=(((d<<21>>>0)|(d>>>11>>>0))>>>0)+e>>>0;c=c+((((((e^(((d|(~f>>>0))>>>0)))>>>0))+(g.nilCheck,g[12])>>>0)+1700485571>>>0))>>>0;c=(((c<<6>>>0)|(c>>>26>>>0))>>>0)+d>>>0;f=f+((((((d^(((c|(~e>>>0))>>>0)))>>>0))+(g.nilCheck,g[3])>>>0)+2399980690>>>0))>>>0;f=(((f<<10>>>0)|(f>>>22>>>0))>>>0)+c>>>0;e=e+((((((c^(((f|(~d>>>0))>>>0)))>>>0))+(g.nilCheck,g[10])>>>0)+4293915773>>>0))>>>0;e=(((e<<15>>>0)|(e>>>17>>>0))>>>0)+f>>>0;d=d+((((((f^(((e|(~c>>>0))>>>0)))>>>0))+(g.nilCheck,g[1])>>>0)+2240044497>>>0))>>>0;d=(((d<<21>>>0)|(d>>>11>>>0))>>>0)+e>>>0;c=c+((((((e^(((d|(~f>>>0))>>>0)))>>>0))+(g.nilCheck,g[8])>>>0)+1873313359>>>0))>>>0;c=(((c<<6>>>0)|(c>>>26>>>0))>>>0)+d>>>0;f=f+((((((d^(((c|(~e>>>0))>>>0)))>>>0))+(g.nilCheck,g[15])>>>0)+4264355552>>>0))>>>0;f=(((f<<10>>>0)|(f>>>22>>>0))>>>0)+c>>>0;e=e+((((((c^(((f|(~d>>>0))>>>0)))>>>0))+(g.nilCheck,g[6])>>>0)+2734768916>>>0))>>>0;e=(((e<<15>>>0)|(e>>>17>>>0))>>>0)+f>>>0;d=d+((((((f^(((e|(~c>>>0))>>>0)))>>>0))+(g.nilCheck,g[13])>>>0)+1309151649>>>0))>>>0;d=(((d<<21>>>0)|(d>>>11>>>0))>>>0)+e>>>0;c=c+((((((e^(((d|(~f>>>0))>>>0)))>>>0))+(g.nilCheck,g[4])>>>0)+4149444226>>>0))>>>0;c=(((c<<6>>>0)|(c>>>26>>>0))>>>0)+d>>>0;f=f+((((((d^(((c|(~e>>>0))>>>0)))>>>0))+(g.nilCheck,g[11])>>>0)+3174756917>>>0))>>>0;f=(((f<<10>>>0)|(f>>>22>>>0))>>>0)+c>>>0;e=e+((((((c^(((f|(~d>>>0))>>>0)))>>>0))+(g.nilCheck,g[2])>>>0)+718787259>>>0))>>>0;e=(((e<<15>>>0)|(e>>>17>>>0))>>>0)+f>>>0;d=d+((((((f^(((e|(~c>>>0))>>>0)))>>>0))+(g.nilCheck,g[9])>>>0)+3951481745>>>0))>>>0;d=(((d<<21>>>0)|(d>>>11>>>0))>>>0)+e>>>0;c=c+(m)>>>0;d=d+(n)>>>0;e=e+(o)>>>0;f=f+(p)>>>0;b=$subslice(b,64);}a.s[0]=c;a.s[1]=d;a.s[2]=e;a.s[3]=f;};S.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([N],[$Int,$error],false)},{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([N],[N],false)},{prop:\"checkSum\",name:\"checkSum\",pkg:\"crypto/md5\",typ:$funcType([],[O],false)}];E.init(\"crypto/md5\",[{prop:\"s\",name:\"s\",exported:false,typ:L,tag:\"\"},{prop:\"x\",name:\"x\",exported:false,typ:M,tag:\"\"},{prop:\"nx\",name:\"nx\",exported:false,typ:$Int,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uint64,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}H=false;K=J;D();I();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/rc4\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D;A=$packages[\"strconv\"];B=$pkg.Cipher=$newType(0,$kindStruct,\"rc4.Cipher\",true,\"crypto/rc4\",true,function(s_,i_,j_){this.$val=this;if(arguments.length===0){this.s=F.zero();this.i=0;this.j=0;return;}this.s=s_;this.i=i_;this.j=j_;});C=$pkg.KeySizeError=$newType(4,$kindInt,\"rc4.KeySizeError\",true,\"crypto/rc4\",true,null);E=$ptrType(B);F=$arrayType($Uint32,256);G=$sliceType($Uint8);C.prototype.Error=function(){var $ptr,a;a=this.$val;return\"crypto/rc4: invalid key size \"+A.Itoa(((a>>0)));};$ptrType(C).prototype.Error=function(){return new C(this.$get()).Error();};D=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;b=a.$length;if(b<1||b>256){return[E.nil,new C(((b>>0)))];}c=new B.ptr(F.zero(),0,0);d=0;while(true){if(!(d<256)){break;}(e=c.s,((d<0||d>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[d]=((d>>>0))));d=d+(1)>>0;}f=0;g=0;while(true){if(!(g<256)){break;}f=f+(((((h=c.s,((g<0||g>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[g]))<<24>>>24))+(i=(j=g%b,j===j?j:$throwRuntimeError(\"integer divide by zero\")),((i<0||i>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+i]))<<24>>>24))<<24>>>24;k=(l=c.s,((f<0||f>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[f]));m=(n=c.s,((g<0||g>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[g]));(o=c.s,((g<0||g>=o.length)?($throwRuntimeError(\"index out of range\"),undefined):o[g]=k));(p=c.s,((f<0||f>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[f]=m));g=g+(1)>>0;}return[c,$ifaceNil];};$pkg.NewCipher=D;B.ptr.prototype.Reset=function(){var $ptr,a,b,c,d,e,f,g;a=this;b=a.s;c=0;while(true){if(!(c<256)){break;}d=c;(e=a.s,((d<0||d>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[d]=0));c++;}f=0;g=0;a.i=f;a.j=g;};B.prototype.Reset=function(){return this.$val.Reset();};B.ptr.prototype.xorKeyStreamGeneric=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;c=this;d=c.i;e=c.j;f=d;g=e;h=b;i=0;while(true){if(!(i<h.$length)){break;}j=i;k=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);f=f+(1)<<24>>>24;g=g+((((l=c.s,((f<0||f>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[f]))<<24>>>24)))<<24>>>24;m=(n=c.s,((g<0||g>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[g]));o=(p=c.s,((f<0||f>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[f]));(q=c.s,((f<0||f>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[f]=m));(r=c.s,((g<0||g>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[g]=o));((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]=((k^(((s=c.s,t=((((u=c.s,((f<0||f>=u.length)?($throwRuntimeError(\"index out of range\"),undefined):u[f]))+(v=c.s,((g<0||g>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[g]))>>>0)<<24>>>24)),((t<0||t>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[t]))<<24>>>24)))<<24>>>24));i++;}w=f;x=g;c.i=w;c.j=x;};B.prototype.xorKeyStreamGeneric=function(a,b){return this.$val.xorKeyStreamGeneric(a,b);};B.ptr.prototype.XORKeyStream=function(a,b){var $ptr,a,b,c;c=this;c.xorKeyStreamGeneric(a,b);};B.prototype.XORKeyStream=function(a,b){return this.$val.XORKeyStream(a,b);};E.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"xorKeyStreamGeneric\",name:\"xorKeyStreamGeneric\",pkg:\"crypto/rc4\",typ:$funcType([G,G],[],false)},{prop:\"XORKeyStream\",name:\"XORKeyStream\",pkg:\"\",typ:$funcType([G,G],[],false)}];C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"crypto/rc4\",[{prop:\"s\",name:\"s\",exported:false,typ:F,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"j\",name:\"j\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/rsa\"]=(function(){var $pkg={},$init,F,A,H,B,C,G,D,I,E,J,X,AD,AE,AJ,AK,AL,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,P,AB,AC,AF,AG,AH,K,L,M,N,O,Q,R,S,T,U,V,W,Y,Z,AA,AI,AO,AP,AQ,AS,AT,AU,AV,AW;F=$packages[\"bytes\"];A=$packages[\"crypto\"];H=$packages[\"crypto/rand\"];B=$packages[\"crypto/subtle\"];C=$packages[\"errors\"];G=$packages[\"hash\"];D=$packages[\"io\"];I=$packages[\"math\"];E=$packages[\"math/big\"];J=$pkg.PKCS1v15DecryptOptions=$newType(0,$kindStruct,\"rsa.PKCS1v15DecryptOptions\",true,\"crypto/rsa\",true,function(SessionKeyLen_){this.$val=this;if(arguments.length===0){this.SessionKeyLen=0;return;}this.SessionKeyLen=SessionKeyLen_;});X=$pkg.PSSOptions=$newType(0,$kindStruct,\"rsa.PSSOptions\",true,\"crypto/rsa\",true,function(SaltLength_,Hash_){this.$val=this;if(arguments.length===0){this.SaltLength=0;this.Hash=0;return;}this.SaltLength=SaltLength_;this.Hash=Hash_;});AD=$pkg.PublicKey=$newType(0,$kindStruct,\"rsa.PublicKey\",true,\"crypto/rsa\",true,function(N_,E_){this.$val=this;if(arguments.length===0){this.N=BA.nil;this.E=0;return;}this.N=N_;this.E=E_;});AE=$pkg.OAEPOptions=$newType(0,$kindStruct,\"rsa.OAEPOptions\",true,\"crypto/rsa\",true,function(Hash_,Label_){this.$val=this;if(arguments.length===0){this.Hash=0;this.Label=AX.nil;return;}this.Hash=Hash_;this.Label=Label_;});AJ=$pkg.PrivateKey=$newType(0,$kindStruct,\"rsa.PrivateKey\",true,\"crypto/rsa\",true,function(PublicKey_,D_,Primes_,Precomputed_){this.$val=this;if(arguments.length===0){this.PublicKey=new AD.ptr(BA.nil,0);this.D=BA.nil;this.Primes=BD.nil;this.Precomputed=new AK.ptr(BA.nil,BA.nil,BA.nil,BE.nil);return;}this.PublicKey=PublicKey_;this.D=D_;this.Primes=Primes_;this.Precomputed=Precomputed_;});AK=$pkg.PrecomputedValues=$newType(0,$kindStruct,\"rsa.PrecomputedValues\",true,\"crypto/rsa\",true,function(Dp_,Dq_,Qinv_,CRTValues_){this.$val=this;if(arguments.length===0){this.Dp=BA.nil;this.Dq=BA.nil;this.Qinv=BA.nil;this.CRTValues=BE.nil;return;}this.Dp=Dp_;this.Dq=Dq_;this.Qinv=Qinv_;this.CRTValues=CRTValues_;});AL=$pkg.CRTValue=$newType(0,$kindStruct,\"rsa.CRTValue\",true,\"crypto/rsa\",true,function(Exp_,Coeff_,R_){this.$val=this;if(arguments.length===0){this.Exp=BA.nil;this.Coeff=BA.nil;this.R=BA.nil;return;}this.Exp=Exp_;this.Coeff=Coeff_;this.R=R_;});AX=$sliceType($Uint8);AY=$arrayType($Uint8,8);AZ=$ptrType(X);BA=$ptrType(E.Int);BB=$ptrType(AE);BC=$ptrType(J);BD=$sliceType(BA);BE=$sliceType(AL);BF=$ptrType(AJ);BG=$arrayType($Uint8,4);K=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=AI(b);if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[AX.nil,d];}f=(e=((b.N.BitLen()+7>>0))/8,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"));if(c.$length>(f-11>>0)){$s=-1;return[AX.nil,$pkg.ErrMessageTooLong];}g=$makeSlice(AX,f);(1>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+1]=2);h=$subslice(g,2,((g.$length-c.$length>>0)-1>>0));i=$subslice(g,(g.$length-c.$length>>0));j=h;k=i;l=O(j,a);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[AX.nil,m];}(n=(g.$length-c.$length>>0)-1>>0,((n<0||n>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+n]=0));$copySlice(k,c);o=new E.Int.ptr(false,E.nat.nil).SetBytes(g);p=AQ(new E.Int.ptr(false,E.nat.nil),b,o);$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;T(g,q.Bytes());$s=-1;return[g,$ifaceNil];}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};$pkg.EncryptPKCS1v15=K;L=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=AI(b.PublicKey);if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[AX.nil,d];}f=N(a,b,c);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];i=e[2];j=e[3];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[AX.nil,j];}if(g===0){$s=-1;return[AX.nil,$pkg.ErrDecryption];}$s=-1;return[$subslice(h,i),$ifaceNil];}return;}if($f===undefined){$f={$blk:L};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DecryptPKCS1v15=L;M=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=AI(b.PublicKey);if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return e;}g=(f=((b.PublicKey.N.BitLen()+7>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));if((g-(((d.$length+3>>0)+8>>0))>>0)<0){$s=-1;return $pkg.ErrDecryption;}i=N(a,b,c);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];l=h[2];m=h[3];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return m;}if(!((k.$length===g))){$s=-1;return $pkg.ErrDecryption;}j=j&(B.ConstantTimeEq((((k.$length-l>>0)>>0)),((d.$length>>0))));B.ConstantTimeCopy(j,d,$subslice(k,(k.$length-d.$length>>0)));$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:M};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DecryptPKCS1v15SessionKey=M;N=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=0;e=AX.nil;f=0;g=$ifaceNil;i=(h=((b.PublicKey.N.BitLen()+7>>0))/8,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"));if(i<11){g=$pkg.ErrDecryption;$s=-1;return[d,e,f,g];}j=new E.Int.ptr(false,E.nat.nil).SetBytes(c);l=AT(a,b,j);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];g=k[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return[d,e,f,g];}e=AW(m.Bytes(),i);n=B.ConstantTimeByteEq((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]),0);o=B.ConstantTimeByteEq((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]),2);p=1;q=2;while(true){if(!(q<e.$length)){break;}r=B.ConstantTimeByteEq(((q<0||q>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+q]),0);f=B.ConstantTimeSelect(p&r,q,f);p=B.ConstantTimeSelect(r,0,p);q=q+(1)>>0;}s=B.ConstantTimeLessOrEq(10,f);d=((n&o)&(((~p>>0)&1)))&s;f=B.ConstantTimeSelect(d,f+1>>0,0);t=d;u=e;v=f;w=$ifaceNil;d=t;e=u;f=v;g=w;$s=-1;return[d,e,f,g];}return;}if($f===undefined){$f={$blk:N};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};O=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$ifaceNil;e=D.ReadFull(b,a);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;c=d[1];if(!($interfaceIsEqual(c,$ifaceNil))){$s=-1;return c;}f=0;case 2:if(!(f<a.$length)){$s=3;continue;}case 4:if(!(((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f])===0)){$s=5;continue;}h=D.ReadFull(b,$subslice(a,f,(f+1>>0)));$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;c=g[1];if(!($interfaceIsEqual(c,$ifaceNil))){$s=-1;return c;}((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f]=((((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f])^(66))<<24>>>24));$s=4;continue;case 5:f=f+(1)>>0;$s=2;continue;case 3:$s=-1;return c;}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};Q=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=S(c,d.$length);f=e[0];g=e[1];h=e[2];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[AX.nil,h];}i=g.$length+f>>0;k=(j=((b.PublicKey.N.BitLen()+7>>0))/8,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));if(k<(i+11>>0)){$s=-1;return[AX.nil,$pkg.ErrMessageTooLong];}l=$makeSlice(AX,k);(1>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+1]=1);m=2;while(true){if(!(m<((k-i>>0)-1>>0))){break;}((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=255);m=m+(1)>>0;}$copySlice($subslice(l,(k-i>>0),(k-f>>0)),g);$copySlice($subslice(l,(k-f>>0),k),d);n=new E.Int.ptr(false,E.nat.nil).SetBytes(l);p=AU(a,b,n);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];h=o[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[AX.nil,h];}T(l,q.Bytes());$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:Q};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};$pkg.SignPKCS1v15=Q;R=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=S(b,c.$length);f=e[0];g=e[1];h=e[2];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}i=g.$length+f>>0;k=(j=((a.N.BitLen()+7>>0))/8,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));if(k<(i+11>>0)){$s=-1;return $pkg.ErrVerification;}l=new E.Int.ptr(false,E.nat.nil).SetBytes(d);m=AQ(new E.Int.ptr(false,E.nat.nil),a,l);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=AW(n.Bytes(),k);p=B.ConstantTimeByteEq((0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]),0);p=p&(B.ConstantTimeByteEq((1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]),1));p=p&(B.ConstantTimeCompare($subslice(o,(k-f>>0),k),c));p=p&(B.ConstantTimeCompare($subslice(o,(k-i>>0),(k-f>>0)),g));p=p&(B.ConstantTimeByteEq((q=(k-i>>0)-1>>0,((q<0||q>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+q])),0));r=2;while(true){if(!(r<((k-i>>0)-1>>0))){break;}p=p&(B.ConstantTimeByteEq(((r<0||r>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+r]),255));r=r+(1)>>0;}if(!((p===1))){$s=-1;return $pkg.ErrVerification;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$pkg.VerifyPKCS1v15=R;S=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=0;d=AX.nil;e=$ifaceNil;if(a===0){f=b;g=AX.nil;h=$ifaceNil;c=f;d=g;e=h;return[c,d,e];}c=new A.Hash(a).Size();if(!((b===c))){i=0;j=AX.nil;k=C.New(\"crypto/rsa: input must be hashed message\");c=i;d=j;e=k;return[c,d,e];}l=(m=P[A.Hash.keyFor(a)],m!==undefined?[m.v,true]:[AX.nil,false]);d=l[0];n=l[1];if(!n){o=0;p=AX.nil;q=C.New(\"crypto/rsa: unsupported hash function\");c=o;d=p;e=q;return[c,d,e];}return[c,d,e];};T=function(a,b){var $ptr,a,b,c,d;c=a.$length-b.$length>>0;d=0;while(true){if(!(d<c)){break;}((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=0);d=d+(1)>>0;}$copySlice($subslice(a,c),b);};U=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=d.Size();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=c.$length;i=(h=((b+7>>0))/8,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"));if(!((a.$length===f))){$s=-1;return[AX.nil,C.New(\"crypto/rsa: input must be hashed message\")];}if(i<((f+g>>0)+2>>0)){$s=-1;return[AX.nil,C.New(\"crypto/rsa: encoding error\")];}j=$makeSlice(AX,i);k=$subslice(j,0,(((((i-g>>0)-f>>0)-2>>0)+1>>0)+g>>0));l=$subslice(j,(((((i-g>>0)-f>>0)-2>>0)+1>>0)+g>>0),(i-1>>0));m=AY.zero();n=d.Write(new AX(m));$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=d.Write(a);$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=d.Write(c);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=d.Sum($subslice(l,0,0));$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}l=q;$r=d.Reset();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(r=((i-g>>0)-f>>0)-2>>0,((r<0||r>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+r]=1));$copySlice($subslice(k,(((i-g>>0)-f>>0)-1>>0)),c);$r=AP(k,d,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]=(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])&((((s=(((($imul(8,i))-b>>0)>>>0)),s<32?(255>>>s):0)<<24>>>24))))>>>0));(t=i-1>>0,((t<0||t>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+t]=188));$s=-1;return[j,$ifaceNil];}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};V=function(a,b,c,d,e){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=e.Size();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!((g===a.$length))){$s=-1;return $pkg.ErrVerification;}i=(h=((c+7>>0))/8,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"));if(i<((g+d>>0)+2>>0)){$s=-1;return $pkg.ErrVerification;}if(!(((j=b.$length-1>>0,((j<0||j>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+j]))===188))){$s=-1;return $pkg.ErrVerification;}k=$subslice(b,0,((i-g>>0)-1>>0));l=$subslice(b,((i-g>>0)-1>>0),(b.$length-1>>0));if(!(((((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])&(((m=(((8-((($imul(8,i))-c>>0))>>0)>>>0)),m<32?(255<<m):0)<<24>>>24)))>>>0)===0))){$s=-1;return $pkg.ErrVerification;}$r=AP(k,e,l);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]=(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])&((((n=(((($imul(8,i))-c>>0)>>>0)),n<32?(255>>>n):0)<<24>>>24))))>>>0));if(d===0){$s=3;continue;}$s=4;continue;case 3:d=i-((g+2>>0))>>0;FindSaltLength:while(true){if(!(d>=0)){break;}p=(o=((i-g>>0)-d>>0)-2>>0,((o<0||o>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+o]));if(p===(1)){break FindSaltLength;}else if(p===(0)){d=d-(1)>>0;continue;}else{$s=-1;return $pkg.ErrVerification;}d=d-(1)>>0;}if(d<0){$s=-1;return $pkg.ErrVerification;}$s=5;continue;case 4:q=$subslice(k,0,(((i-g>>0)-d>>0)-2>>0));r=0;while(true){if(!(r<q.$length)){break;}s=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);if(!((s===0))){$s=-1;return $pkg.ErrVerification;}r++;}if(!(((t=((i-g>>0)-d>>0)-2>>0,((t<0||t>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+t]))===1))){$s=-1;return $pkg.ErrVerification;}case 5:u=$subslice(k,(k.$length-d>>0));v=AY.zero();w=e.Write(new AX(v));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;x=e.Write(a);$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;y=e.Write(u);$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}y;z=e.Sum(AX.nil);$s=9;case 9:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;if(!F.Equal(aa,l)){$s=-1;return $pkg.ErrVerification;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};W=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AX.nil;g=$ifaceNil;h=b.PublicKey.N.BitLen();j=d;k=h-1>>0;l=e;m=new A.Hash(c).New();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=U(j,k,l,n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}i=o;p=i[0];g=i[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return[f,g];}q=new E.Int.ptr(false,E.nat.nil).SetBytes(p);s=AU(a,b,q);$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];g=r[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return[f,g];}f=$makeSlice(AX,(u=((h+7>>0))/8,(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\")));T(f,t.Bytes());$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:W};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};X.ptr.prototype.HashFunc=function(){var $ptr,a;a=this;return a.Hash;};X.prototype.HashFunc=function(){return this.$val.HashFunc();};X.ptr.prototype.saltLength=function(){var $ptr,a;a=this;if(a===AZ.nil){return 0;}return a.SaltLength;};X.prototype.saltLength=function(){return this.$val.saltLength();};Y=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=e.saltLength();g=f;if(g===(0)){f=((h=((b.PublicKey.N.BitLen()+7>>0))/8,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"))-2>>0)-new A.Hash(c).Size()>>0;}else if(g===(-1)){f=new A.Hash(c).Size();}if(!(e===AZ.nil)&&!((e.Hash===0))){c=e.Hash;}i=$makeSlice(AX,f);k=D.ReadFull(a,i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[AX.nil,l];}m=W(a,b,c,d,i);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return m;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};$pkg.SignPSS=Y;Z=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AA(a,b,c,d,e.saltLength());$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.VerifyPSS=Z;AA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=a.N.BitLen();if(!((d.$length===(g=((f+7>>0))/8,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))))){$s=-1;return $pkg.ErrVerification;}h=new E.Int.ptr(false,E.nat.nil).SetBytes(d);i=AQ(new E.Int.ptr(false,E.nat.nil),a,h);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=f-1>>0;m=(l=((k+7>>0))/8,(l===l&&l!==1/0&&l!==-1/0)?l>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<j.Bytes().$length){$s=-1;return $pkg.ErrVerification;}n=$makeSlice(AX,m);T(n,j.Bytes());if(e===-1){e=new A.Hash(b).Size();}o=c;p=n;q=k;r=e;s=new A.Hash(b).New();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=V(o,p,q,r,t);$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return u;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a;if(a.N===BA.nil){return AF;}if(a.E<2){return AG;}if(a.E>2147483647){return AH;}return $ifaceNil;};AJ.ptr.prototype.Public=function(){var $ptr,a;a=this;return a.PublicKey;};AJ.prototype.Public=function(){return this.$val.Public();};AJ.ptr.prototype.Sign=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=$assertType(c,AZ,true);f=e[0];g=e[1];if(g){$s=1;continue;}$s=2;continue;case 1:h=Y(a,d,f.Hash,b,f);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;case 2:i=a;j=d;k=c.HashFunc();$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=b;n=Q(i,j,l,m);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;}return;}if($f===undefined){$f={$blk:AJ.ptr.prototype.Sign};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AJ.prototype.Sign=function(a,b,c){return this.$val.Sign(a,b,c);};AJ.ptr.prototype.Decrypt=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=AX.nil;e=$ifaceNil;f=this;if($interfaceIsEqual(c,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:h=L(a,f,b);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;d=g[0];e=g[1];$s=-1;return[d,e];case 2:i=c;if($assertType(i,BB,true)[1]){$s=4;continue;}if($assertType(i,BC,true)[1]){$s=5;continue;}$s=6;continue;case 4:j=i.$val;n=new A.Hash(j.Hash).New();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=AV(n,a,f,b,j.Label);$s=9;case 9:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;d=m[0];e=m[1];$s=-1;return[d,e];case 5:k=i.$val;p=k.SessionKeyLen;if(p>0){$s=10;continue;}$s=11;continue;case 10:d=$makeSlice(AX,p);r=D.ReadFull(a,d);$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];if(!($interfaceIsEqual(s,$ifaceNil))){t=AX.nil;u=s;d=t;e=u;$s=-1;return[d,e];}v=M(a,f,b,d);$s=14;case 14:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;if(!($interfaceIsEqual(w,$ifaceNil))){x=AX.nil;y=w;d=x;e=y;$s=-1;return[d,e];}z=d;aa=$ifaceNil;d=z;e=aa;$s=-1;return[d,e];case 11:ac=L(a,f,b);$s=15;case 15:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;d=ab[0];e=ab[1];$s=-1;return[d,e];case 12:$s=7;continue;case 6:l=i;ad=AX.nil;ae=C.New(\"crypto/rsa: invalid options for Decrypt\");d=ad;e=ae;$s=-1;return[d,e];case 7:$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AJ.ptr.prototype.Decrypt};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AJ.prototype.Decrypt=function(a,b,c){return this.$val.Decrypt(a,b,c);};AJ.ptr.prototype.Validate=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=AI(a.PublicKey);if(!($interfaceIsEqual(b,$ifaceNil))){$s=-1;return b;}c=new E.Int.ptr(false,E.nat.nil).Set(AC);d=a.Primes;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(f.Cmp(AC)<=0){$s=-1;return C.New(\"crypto/rsa: invalid prime value\");}c.Mul(c,f);e++;}if(!((c.Cmp(a.PublicKey.N)===0))){$s=-1;return C.New(\"crypto/rsa: invalid modulus\");}g=new E.Int.ptr(false,E.nat.nil);h=new E.Int.ptr(false,E.nat.nil).SetInt64((new $Int64(0,a.PublicKey.E)));h.Mul(h,a.D);i=a.Primes;j=0;case 1:if(!(j<i.$length)){$s=2;continue;}k=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);l=new E.Int.ptr(false,E.nat.nil).Sub(k,AC);m=g.Mod(h,l);$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;if(!((g.Cmp(AC)===0))){$s=-1;return C.New(\"crypto/rsa: invalid exponents\");}j++;$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AJ.ptr.prototype.Validate};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};AJ.prototype.Validate=function(){return this.$val.Validate();};AO=function(a){var $ptr,a;a.nilCheck,a[3]=((a.nilCheck,a[3])+(1)<<24>>>24);if(!(((a.nilCheck,a[3])===0))){return;}a.nilCheck,a[2]=((a.nilCheck,a[2])+(1)<<24>>>24);if(!(((a.nilCheck,a[2])===0))){return;}a.nilCheck,a[1]=((a.nilCheck,a[1])+(1)<<24>>>24);if(!(((a.nilCheck,a[1])===0))){return;}a.nilCheck,a[0]=((a.nilCheck,a[0])+(1)<<24>>>24);};AP=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=[d];d[0]=BG.zero();e=AX.nil;f=0;case 1:if(!(f<a.$length)){$s=2;continue;}g=b.Write(c);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=b.Write($subslice(new AX(d[0]),0,4));$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=b.Sum($subslice(e,0,0));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=i;$r=b.Reset();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=0;while(true){if(!(j<e.$length&&f<a.$length)){break;}((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f]=((((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f])^(((j<0||j>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+j])))<<24>>>24));f=f+(1)>>0;j=j+(1)>>0;}AO(d[0]);$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=E.NewInt((new $Int64(0,b.E)));e=a.Exp(c,d,b.N);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return a;}return;}if($f===undefined){$f={$blk:AQ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AS=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=BA.nil;d=false;e=new E.Int.ptr(false,E.nat.nil);f=new E.Int.ptr(false,E.nat.nil);g=new E.Int.ptr(false,E.nat.nil);h=e.GCD(f,g,a,b);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;if(!((e.Cmp(AC)===0))){$s=-1;return[c,d];}if(f.Cmp(AC)<0){f.Add(f,b);}i=f;j=true;c=i;d=j;$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AJ.ptr.prototype.Precompute=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(!(a.Precomputed.Dp===BA.nil)){$s=-1;return;}a.Precomputed.Dp=new E.Int.ptr(false,E.nat.nil).Sub((b=a.Primes,(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])),AC);c=a.Precomputed.Dp.Mod(a.D,a.Precomputed.Dp);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;a.Precomputed.Dq=new E.Int.ptr(false,E.nat.nil).Sub((d=a.Primes,(1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1])),AC);e=a.Precomputed.Dq.Mod(a.D,a.Precomputed.Dq);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;h=new E.Int.ptr(false,E.nat.nil).ModInverse((f=a.Primes,(1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])),(g=a.Primes,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0])));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}a.Precomputed.Qinv=h;k=new E.Int.ptr(false,E.nat.nil).Mul((i=a.Primes,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])),(j=a.Primes,(1>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+1])));a.Precomputed.CRTValues=$makeSlice(BE,(a.Primes.$length-2>>0));l=2;case 4:if(!(l<a.Primes.$length)){$s=5;continue;}n=(m=a.Primes,((l<0||l>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+l]));q=(o=a.Precomputed.CRTValues,p=l-2>>0,((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]));q.Exp=new E.Int.ptr(false,E.nat.nil).Sub(n,AC);r=q.Exp.Mod(a.D,q.Exp);$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;q.R=new E.Int.ptr(false,E.nat.nil).Set(k);s=new E.Int.ptr(false,E.nat.nil).ModInverse(k,n);$s=7;case 7:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q.Coeff=s;k.Mul(k,n);l=l+(1)>>0;$s=4;continue;case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:AJ.ptr.prototype.Precompute};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};AJ.prototype.Precompute=function(){return this.$val.Precompute();};AT=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=BA.nil;e=$ifaceNil;if(c.Cmp(b.PublicKey.N)>0){e=$pkg.ErrDecryption;$s=-1;return[d,e];}if(b.PublicKey.N.Sign()===0){f=BA.nil;g=$pkg.ErrDecryption;d=f;e=g;$s=-1;return[d,e];}h=BA.nil;if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:i=BA.nil;case 3:k=H.Int(a,b.PublicKey.N);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;i=j[0];e=j[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[d,e];}if(i.Cmp(AB)===0){i=AC;}l=false;n=AS(i,b.PublicKey.N);$s=6;case 6:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;h=m[0];l=m[1];if(l){$s=4;continue;}$s=3;continue;case 4:o=E.NewInt((new $Int64(0,b.PublicKey.E)));p=new E.Int.ptr(false,E.nat.nil).Exp(i,o,b.PublicKey.N);$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=new E.Int.ptr(false,E.nat.nil).Set(c);r.Mul(r,q);s=r.Mod(r,b.PublicKey.N);$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;c=r;case 2:if(b.Precomputed.Dp===BA.nil){$s=9;continue;}$s=10;continue;case 9:t=new E.Int.ptr(false,E.nat.nil).Exp(c,b.D,b.PublicKey.N);$s=12;case 12:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;$s=11;continue;case 10:v=new E.Int.ptr(false,E.nat.nil).Exp(c,b.Precomputed.Dp,(u=b.Primes,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])));$s=13;case 13:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}d=v;x=new E.Int.ptr(false,E.nat.nil).Exp(c,b.Precomputed.Dq,(w=b.Primes,(1>=w.$length?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+1])));$s=14;case 14:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;d.Sub(d,y);if(d.Sign()<0){d.Add(d,(z=b.Primes,(0>=z.$length?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+0])));}d.Mul(d,b.Precomputed.Qinv);ab=d.Mod(d,(aa=b.Primes,(0>=aa.$length?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+0])));$s=15;case 15:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ab;d.Mul(d,(ac=b.Primes,(1>=ac.$length?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+1])));d.Add(d,y);ad=b.Precomputed.CRTValues;ae=0;case 16:if(!(ae<ad.$length)){$s=17;continue;}af=ae;ag=$clone(((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]),AL);aj=(ah=b.Primes,ai=2+af>>0,((ai<0||ai>=ah.$length)?($throwRuntimeError(\"index out of range\"),undefined):ah.$array[ah.$offset+ai]));ak=y.Exp(c,ag.Exp,aj);$s=18;case 18:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;y.Sub(y,d);y.Mul(y,ag.Coeff);al=y.Mod(y,aj);$s=19;case 19:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}al;if(y.Sign()<0){y.Add(y,aj);}y.Mul(y,ag.R);d.Add(d,y);ae++;$s=16;continue;case 17:case 11:if(!(h===BA.nil)){$s=20;continue;}$s=21;continue;case 20:d.Mul(d,h);am=d.Mod(d,b.PublicKey.N);$s=22;case 22:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;case 21:$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AT};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=BA.nil;e=$ifaceNil;g=AT(a,b,c);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;d=f[0];e=f[1];if(!($interfaceIsEqual(e,$ifaceNil))){h=BA.nil;i=e;d=h;e=i;$s=-1;return[d,e];}j=AQ(new E.Int.ptr(false,E.nat.nil),b.PublicKey,d);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!((c.Cmp(k)===0))){l=BA.nil;m=C.New(\"rsa: internal error\");d=l;e=m;$s=-1;return[d,e];}n=d;o=$ifaceNil;d=n;e=o;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AV=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AI(c.PublicKey);if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[AX.nil,f];}h=(g=((c.PublicKey.N.BitLen()+7>>0))/8,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"));if(d.$length>h){i=true;$s=3;continue s;}j=a.Size();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=h<(($imul(j,2))+2>>0);case 3:if(i){$s=1;continue;}$s=2;continue;case 1:$s=-1;return[AX.nil,$pkg.ErrDecryption];case 2:k=new E.Int.ptr(false,E.nat.nil).SetBytes(d);m=AT(b,c,k);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=-1;return[AX.nil,o];}p=a.Write(e);$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=a.Sum(AX.nil);$s=7;case 7:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;$r=a.Reset();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=AW(n.Bytes(),h);t=B.ConstantTimeByteEq((0>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+0]),0);u=a.Size();$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=$subslice(s,1,(u+1>>0));w=a.Size();$s=10;case 10:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=$subslice(s,(w+1>>0));$r=AP(v,a,x);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AP(x,a,v);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}y=a.Size();$s=13;case 13:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=$subslice(x,0,y);aa=B.ConstantTimeCompare(r,z);ab=0;ac=0;ad=0;ae=ab;af=ac;ag=ad;ae=1;ah=a.Size();$s=14;case 14:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$subslice(x,ah);aj=0;while(true){if(!(aj<ai.$length)){break;}ak=B.ConstantTimeByteEq(((aj<0||aj>=ai.$length)?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+aj]),0);al=B.ConstantTimeByteEq(((aj<0||aj>=ai.$length)?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+aj]),1);af=B.ConstantTimeSelect(ae&al,aj,af);ae=B.ConstantTimeSelect(al,0,ae);ag=B.ConstantTimeSelect((ae&~ak)>>0,1,ag);aj=aj+(1)>>0;}if(!(((((((t&aa)&~ag)>>0)&~ae)>>0)===1))){$s=-1;return[AX.nil,$pkg.ErrDecryption];}$s=-1;return[$subslice(ai,(af+1>>0)),$ifaceNil];}return;}if($f===undefined){$f={$blk:AV};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DecryptOAEP=AV;AW=function(a,b){var $ptr,a,b,c,d;c=AX.nil;d=a.$length;if(d>b){d=b;}c=$makeSlice(AX,b);$copySlice($subslice(c,(c.$length-d>>0)),a);return c;};AZ.methods=[{prop:\"HashFunc\",name:\"HashFunc\",pkg:\"\",typ:$funcType([],[A.Hash],false)},{prop:\"saltLength\",name:\"saltLength\",pkg:\"crypto/rsa\",typ:$funcType([],[$Int],false)}];BF.methods=[{prop:\"Public\",name:\"Public\",pkg:\"\",typ:$funcType([],[A.PublicKey],false)},{prop:\"Sign\",name:\"Sign\",pkg:\"\",typ:$funcType([D.Reader,AX,A.SignerOpts],[AX,$error],false)},{prop:\"Decrypt\",name:\"Decrypt\",pkg:\"\",typ:$funcType([D.Reader,AX,A.DecrypterOpts],[AX,$error],false)},{prop:\"Validate\",name:\"Validate\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Precompute\",name:\"Precompute\",pkg:\"\",typ:$funcType([],[],false)}];J.init(\"\",[{prop:\"SessionKeyLen\",name:\"SessionKeyLen\",exported:true,typ:$Int,tag:\"\"}]);X.init(\"\",[{prop:\"SaltLength\",name:\"SaltLength\",exported:true,typ:$Int,tag:\"\"},{prop:\"Hash\",name:\"Hash\",exported:true,typ:A.Hash,tag:\"\"}]);AD.init(\"\",[{prop:\"N\",name:\"N\",exported:true,typ:BA,tag:\"\"},{prop:\"E\",name:\"E\",exported:true,typ:$Int,tag:\"\"}]);AE.init(\"\",[{prop:\"Hash\",name:\"Hash\",exported:true,typ:A.Hash,tag:\"\"},{prop:\"Label\",name:\"Label\",exported:true,typ:AX,tag:\"\"}]);AJ.init(\"\",[{prop:\"PublicKey\",name:\"\",exported:true,typ:AD,tag:\"\"},{prop:\"D\",name:\"D\",exported:true,typ:BA,tag:\"\"},{prop:\"Primes\",name:\"Primes\",exported:true,typ:BD,tag:\"\"},{prop:\"Precomputed\",name:\"Precomputed\",exported:true,typ:AK,tag:\"\"}]);AK.init(\"\",[{prop:\"Dp\",name:\"Dp\",exported:true,typ:BA,tag:\"\"},{prop:\"Dq\",name:\"Dq\",exported:true,typ:BA,tag:\"\"},{prop:\"Qinv\",name:\"Qinv\",exported:true,typ:BA,tag:\"\"},{prop:\"CRTValues\",name:\"CRTValues\",exported:true,typ:BE,tag:\"\"}]);AL.init(\"\",[{prop:\"Exp\",name:\"Exp\",exported:true,typ:BA,tag:\"\"},{prop:\"Coeff\",name:\"Coeff\",exported:true,typ:BA,tag:\"\"},{prop:\"R\",name:\"R\",exported:true,typ:BA,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=F.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}P=$makeMap(A.Hash.keyFor,[{k:2,v:new AX([48,32,48,12,6,8,42,134,72,134,247,13,2,5,5,0,4,16])},{k:3,v:new AX([48,33,48,9,6,5,43,14,3,2,26,5,0,4,20])},{k:4,v:new AX([48,45,48,13,6,9,96,134,72,1,101,3,4,2,4,5,0,4,28])},{k:5,v:new AX([48,49,48,13,6,9,96,134,72,1,101,3,4,2,1,5,0,4,32])},{k:6,v:new AX([48,65,48,13,6,9,96,134,72,1,101,3,4,2,2,5,0,4,48])},{k:7,v:new AX([48,81,48,13,6,9,96,134,72,1,101,3,4,2,3,5,0,4,64])},{k:8,v:new AX([])},{k:9,v:new AX([48,32,48,8,6,6,40,207,6,3,0,49,4,20])}]);AB=E.NewInt(new $Int64(0,0));AC=E.NewInt(new $Int64(0,1));AF=C.New(\"crypto/rsa: missing public modulus\");AG=C.New(\"crypto/rsa: public exponent too small\");AH=C.New(\"crypto/rsa: public exponent too large\");$pkg.ErrMessageTooLong=C.New(\"crypto/rsa: message too long for RSA public key size\");$pkg.ErrDecryption=C.New(\"crypto/rsa: decryption error\");$pkg.ErrVerification=C.New(\"crypto/rsa: verification error\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/sha1\"]=(function(){var $pkg={},$init,A,B,D,I,J,K,L,M,N,O,H,C,E,G;A=$packages[\"crypto\"];B=$packages[\"hash\"];D=$pkg.digest=$newType(0,$kindStruct,\"sha1.digest\",true,\"crypto/sha1\",false,function(h_,x_,nx_,len_){this.$val=this;if(arguments.length===0){this.h=I.zero();this.x=J.zero();this.nx=0;this.len=new $Uint64(0,0);return;}this.h=h_;this.x=x_;this.nx=nx_;this.len=len_;});I=$arrayType($Uint32,5);J=$arrayType($Uint8,64);K=$sliceType($Uint8);L=$arrayType($Uint8,20);M=$arrayType($Uint8,8);N=$arrayType($Uint32,16);O=$ptrType(D);C=function(){var $ptr;A.RegisterHash(3,E);};D.ptr.prototype.Reset=function(){var $ptr,a;a=this;a.h[0]=1732584193;a.h[1]=4023233417;a.h[2]=2562383102;a.h[3]=271733878;a.h[4]=3285377520;a.nx=0;a.len=new $Uint64(0,0);};D.prototype.Reset=function(){return this.$val.Reset();};E=function(){var $ptr,a;a=new D.ptr(I.zero(),J.zero(),0,new $Uint64(0,0));a.Reset();return a;};$pkg.New=E;D.ptr.prototype.Size=function(){var $ptr,a;a=this;return 20;};D.prototype.Size=function(){return this.$val.Size();};D.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return 64;};D.prototype.BlockSize=function(){return this.$val.BlockSize();};D.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;b=a.$length;d.len=(e=d.len,f=(new $Uint64(0,b)),new $Uint64(e.$high+f.$high,e.$low+f.$low));if(d.nx>0){$s=1;continue;}$s=2;continue;case 1:g=$copySlice($subslice(new K(d.x),d.nx),a);d.nx=d.nx+(g)>>0;if(d.nx===64){$s=3;continue;}$s=4;continue;case 3:$r=H(d,new K(d.x));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nx=0;case 4:a=$subslice(a,g);case 2:if(a.$length>=64){$s=6;continue;}$s=7;continue;case 6:h=(a.$length&~63)>>0;$r=H(d,$subslice(a,0,h));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=$subslice(a,h);case 7:if(a.$length>0){d.nx=$copySlice(new K(d.x),a);}$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Write=function(a){return this.$val.Write(a);};D.ptr.prototype.Sum=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=$clone(b,D);d=c.checkSum();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,L);$s=-1;return $appendSlice(a,new K(e));}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Sum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Sum=function(a){return this.$val.Sum(a);};D.ptr.prototype.checkSum=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.len;c=J.zero();c[0]=128;if((d=$div64(b,new $Uint64(0,64),true),(d.$high<0||(d.$high===0&&d.$low<56)))){$s=1;continue;}$s=2;continue;case 1:f=a.Write($subslice(new K(c),0,$flatten64((e=$div64(b,new $Uint64(0,64),true),new $Uint64(0-e.$high,56-e.$low)))));$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=3;continue;case 2:h=a.Write($subslice(new K(c),0,$flatten64((g=$div64(b,new $Uint64(0,64),true),new $Uint64(0-g.$high,120-g.$low)))));$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 3:b=$shiftLeft64(b,(3));i=0;while(true){if(!(i<8)){break;}((i<0||i>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[i]=(($shiftRightUint64(b,((56-(8*i>>>0)>>>0))).$low<<24>>>24)));i=i+(1)>>>0;}j=a.Write($subslice(new K(c),0,8));$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;if(!((a.nx===0))){$panic(new $String(\"d.nx != 0\"));}k=L.zero();l=a.h;m=0;while(true){if(!(m<5)){break;}n=m;o=((m<0||m>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[m]);(p=$imul(n,4),((p<0||p>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[p]=(((o>>>24>>>0)<<24>>>24))));(q=($imul(n,4))+1>>0,((q<0||q>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[q]=(((o>>>16>>>0)<<24>>>24))));(r=($imul(n,4))+2>>0,((r<0||r>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[r]=(((o>>>8>>>0)<<24>>>24))));(s=($imul(n,4))+3>>0,((s<0||s>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[s]=((o<<24>>>24))));m++;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.checkSum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.checkSum=function(){return this.$val.checkSum();};D.ptr.prototype.ConstantTimeSum=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=$clone(b,D);d=c.constSum();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,L);$s=-1;return $appendSlice(a,new K(e));}return;}if($f===undefined){$f={$blk:D.ptr.prototype.ConstantTimeSum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.ConstantTimeSum=function(a){return this.$val.ConstantTimeSum(a);};D.ptr.prototype.constSum=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=M.zero();c=$shiftLeft64(a.len,3);d=0;while(true){if(!(d<8)){break;}((d<0||d>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[d]=(($shiftRightUint64(c,((56-(8*d>>>0)>>>0))).$low<<24>>>24)));d=d+(1)>>>0;}e=((a.nx<<24>>>24));f=e-56<<24>>>24;g=(((((f<<24>>24))>>7<<24>>24)<<24>>>24));h=128;i=0;while(true){if(!(i<64)){break;}j=((((((i-e<<24>>>24)<<24>>24))>>7<<24>>24)<<24>>>24));(l=a.x,((i<0||i>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[i]=((((((~j<<24>>>24)&h)>>>0))|(((j&(k=a.x,((i<0||i>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[i])))>>>0)))>>>0)));h=(h&(j))>>>0;if(i>=56){(o=a.x,((i<0||i>=o.length)?($throwRuntimeError(\"index out of range\"),undefined):o[i]=(((m=a.x,((i<0||i>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[i]))|(((g&(n=i-56<<24>>>24,((n<0||n>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[n])))>>>0)))>>>0)));}i=i+(1)<<24>>>24;}$r=H(a,new K(a.x));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=L.zero();q=a.h;r=0;while(true){if(!(r<5)){break;}s=r;t=((r<0||r>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[r]);(u=$imul(s,4),((u<0||u>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[u]=((g&(((t>>>24>>>0)<<24>>>24)))>>>0)));(v=($imul(s,4))+1>>0,((v<0||v>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[v]=((g&(((t>>>16>>>0)<<24>>>24)))>>>0)));(w=($imul(s,4))+2>>0,((w<0||w>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[w]=((g&(((t>>>8>>>0)<<24>>>24)))>>>0)));(x=($imul(s,4))+3>>0,((x<0||x>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[x]=((g&((t<<24>>>24)))>>>0)));r++;}y=0;while(true){if(!(y<64)){break;}if(y<56){(z=a.x,((y<0||y>=z.length)?($throwRuntimeError(\"index out of range\"),undefined):z[y]=h));h=0;}else{(ab=a.x,((y<0||y>=ab.length)?($throwRuntimeError(\"index out of range\"),undefined):ab[y]=(aa=y-56<<24>>>24,((aa<0||aa>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[aa]))));}y=y+(1)<<24>>>24;}$r=H(a,new K(a.x));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ac=a.h;ad=0;while(true){if(!(ad<5)){break;}ae=ad;af=((ad<0||ad>=ac.length)?($throwRuntimeError(\"index out of range\"),undefined):ac[ad]);ag=$imul(ae,4);((ag<0||ag>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[ag]=((((ag<0||ag>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[ag])|((((~g<<24>>>24)&(((af>>>24>>>0)<<24>>>24)))>>>0)))>>>0));ah=($imul(ae,4))+1>>0;((ah<0||ah>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[ah]=((((ah<0||ah>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[ah])|((((~g<<24>>>24)&(((af>>>16>>>0)<<24>>>24)))>>>0)))>>>0));ai=($imul(ae,4))+2>>0;((ai<0||ai>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[ai]=((((ai<0||ai>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[ai])|((((~g<<24>>>24)&(((af>>>8>>>0)<<24>>>24)))>>>0)))>>>0));aj=($imul(ae,4))+3>>0;((aj<0||aj>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[aj]=((((aj<0||aj>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[aj])|((((~g<<24>>>24)&((af<<24>>>24)))>>>0)))>>>0));ad++;}$s=-1;return p;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.constSum};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.constSum=function(){return this.$val.constSum();};G=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=N.zero();d=a.h[0];e=a.h[1];f=a.h[2];g=a.h[3];h=a.h[4];i=d;j=e;k=f;l=g;m=h;while(true){if(!(b.$length>=64)){break;}n=0;while(true){if(!(n<16)){break;}o=$imul(n,4);((n<0||n>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[n]=(((((((((((o<0||o>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+o])>>>0))<<24>>>0)|((((p=o+1>>0,((p<0||p>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+p]))>>>0))<<16>>>0))>>>0)|((((q=o+2>>0,((q<0||q>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+q]))>>>0))<<8>>>0))>>>0)|(((r=o+3>>0,((r<0||r>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+r]))>>>0)))>>>0));n=n+(1)>>0;}s=i;t=j;u=k;v=l;w=m;x=s;y=t;z=u;aa=v;ab=w;ac=0;while(true){if(!(ac<16)){break;}ad=(((y&z)>>>0)|((((~y>>>0))&aa)>>>0))>>>0;ae=((x<<5>>>0)|(x>>>27>>>0))>>>0;af=((y<<30>>>0)|(y>>>2>>>0))>>>0;ah=(((ae+ad>>>0)+ab>>>0)+(ag=ac&15,((ag<0||ag>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ag]))>>>0)+1518500249>>>0;ai=ah;aj=x;ak=af;al=z;am=aa;x=ai;y=aj;z=ak;aa=al;ab=am;ac=ac+(1)>>0;}while(true){if(!(ac<20)){break;}ar=((((((an=((ac-3>>0))&15,((an<0||an>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[an]))^(ao=((ac-8>>0))&15,((ao<0||ao>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ao])))>>>0)^(ap=((ac-14>>0))&15,((ap<0||ap>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ap])))>>>0)^(aq=(ac)&15,((aq<0||aq>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aq])))>>>0;(as=ac&15,((as<0||as>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[as]=(((ar<<1>>>0)|(ar>>>31>>>0))>>>0)));at=(((y&z)>>>0)|((((~y>>>0))&aa)>>>0))>>>0;au=((x<<5>>>0)|(x>>>27>>>0))>>>0;av=((y<<30>>>0)|(y>>>2>>>0))>>>0;ax=(((au+at>>>0)+ab>>>0)+(aw=ac&15,((aw<0||aw>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[aw]))>>>0)+1518500249>>>0;ay=ax;az=x;ba=av;bb=z;bc=aa;x=ay;y=az;z=ba;aa=bb;ab=bc;ac=ac+(1)>>0;}while(true){if(!(ac<40)){break;}bh=((((((bd=((ac-3>>0))&15,((bd<0||bd>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bd]))^(be=((ac-8>>0))&15,((be<0||be>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[be])))>>>0)^(bf=((ac-14>>0))&15,((bf<0||bf>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bf])))>>>0)^(bg=(ac)&15,((bg<0||bg>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bg])))>>>0;(bi=ac&15,((bi<0||bi>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bi]=(((bh<<1>>>0)|(bh>>>31>>>0))>>>0)));bj=(((y^z)>>>0)^aa)>>>0;bk=((x<<5>>>0)|(x>>>27>>>0))>>>0;bl=((y<<30>>>0)|(y>>>2>>>0))>>>0;bn=(((bk+bj>>>0)+ab>>>0)+(bm=ac&15,((bm<0||bm>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bm]))>>>0)+1859775393>>>0;bo=bn;bp=x;bq=bl;br=z;bs=aa;x=bo;y=bp;z=bq;aa=br;ab=bs;ac=ac+(1)>>0;}while(true){if(!(ac<60)){break;}bx=((((((bt=((ac-3>>0))&15,((bt<0||bt>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bt]))^(bu=((ac-8>>0))&15,((bu<0||bu>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bu])))>>>0)^(bv=((ac-14>>0))&15,((bv<0||bv>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bv])))>>>0)^(bw=(ac)&15,((bw<0||bw>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[bw])))>>>0;(by=ac&15,((by<0||by>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[by]=(((bx<<1>>>0)|(bx>>>31>>>0))>>>0)));bz=(((((((y|z)>>>0))&aa)>>>0))|(((y&z)>>>0)))>>>0;ca=((x<<5>>>0)|(x>>>27>>>0))>>>0;cb=((y<<30>>>0)|(y>>>2>>>0))>>>0;cd=(((ca+bz>>>0)+ab>>>0)+(cc=ac&15,((cc<0||cc>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[cc]))>>>0)+2400959708>>>0;ce=cd;cf=x;cg=cb;ch=z;ci=aa;x=ce;y=cf;z=cg;aa=ch;ab=ci;ac=ac+(1)>>0;}while(true){if(!(ac<80)){break;}cn=((((((cj=((ac-3>>0))&15,((cj<0||cj>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[cj]))^(ck=((ac-8>>0))&15,((ck<0||ck>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ck])))>>>0)^(cl=((ac-14>>0))&15,((cl<0||cl>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[cl])))>>>0)^(cm=(ac)&15,((cm<0||cm>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[cm])))>>>0;(co=ac&15,((co<0||co>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[co]=(((cn<<1>>>0)|(cn>>>31>>>0))>>>0)));cp=(((y^z)>>>0)^aa)>>>0;cq=((x<<5>>>0)|(x>>>27>>>0))>>>0;cr=((y<<30>>>0)|(y>>>2>>>0))>>>0;ct=(((cq+cp>>>0)+ab>>>0)+(cs=ac&15,((cs<0||cs>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[cs]))>>>0)+3395469782>>>0;cu=ct;cv=x;cw=cr;cx=z;cy=aa;x=cu;y=cv;z=cw;aa=cx;ab=cy;ac=ac+(1)>>0;}i=i+(x)>>>0;j=j+(y)>>>0;k=k+(z)>>>0;l=l+(aa)>>>0;m=m+(ab)>>>0;b=$subslice(b,64);}cz=i;da=j;db=k;dc=l;dd=m;a.h[0]=cz;a.h[1]=da;a.h[2]=db;a.h[3]=dc;a.h[4]=dd;};O.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([K],[$Int,$error],false)},{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([K],[K],false)},{prop:\"checkSum\",name:\"checkSum\",pkg:\"crypto/sha1\",typ:$funcType([],[L],false)},{prop:\"ConstantTimeSum\",name:\"ConstantTimeSum\",pkg:\"\",typ:$funcType([K],[K],false)},{prop:\"constSum\",name:\"constSum\",pkg:\"crypto/sha1\",typ:$funcType([],[L],false)}];D.init(\"crypto/sha1\",[{prop:\"h\",name:\"h\",exported:false,typ:I,tag:\"\"},{prop:\"x\",name:\"x\",exported:false,typ:J,tag:\"\"},{prop:\"nx\",name:\"nx\",exported:false,typ:$Int,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uint64,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}H=G;C();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/sha256\"]=(function(){var $pkg={},$init,A,B,D,L,M,N,O,P,R,S,I,K,C,E,F,J;A=$packages[\"crypto\"];B=$packages[\"hash\"];D=$pkg.digest=$newType(0,$kindStruct,\"sha256.digest\",true,\"crypto/sha256\",false,function(h_,x_,nx_,len_,is224_){this.$val=this;if(arguments.length===0){this.h=M.zero();this.x=N.zero();this.nx=0;this.len=new $Uint64(0,0);this.is224=false;return;}this.h=h_;this.x=x_;this.nx=nx_;this.len=len_;this.is224=is224_;});L=$sliceType($Uint32);M=$arrayType($Uint32,8);N=$arrayType($Uint8,64);O=$sliceType($Uint8);P=$arrayType($Uint8,32);R=$arrayType($Uint32,64);S=$ptrType(D);C=function(){var $ptr;A.RegisterHash(4,F);A.RegisterHash(5,E);};D.ptr.prototype.Reset=function(){var $ptr,a;a=this;if(!a.is224){a.h[0]=1779033703;a.h[1]=3144134277;a.h[2]=1013904242;a.h[3]=2773480762;a.h[4]=1359893119;a.h[5]=2600822924;a.h[6]=528734635;a.h[7]=1541459225;}else{a.h[0]=3238371032;a.h[1]=914150663;a.h[2]=812702999;a.h[3]=4144912697;a.h[4]=4290775857;a.h[5]=1750603025;a.h[6]=1694076839;a.h[7]=3204075428;}a.nx=0;a.len=new $Uint64(0,0);};D.prototype.Reset=function(){return this.$val.Reset();};E=function(){var $ptr,a;a=new D.ptr(M.zero(),N.zero(),0,new $Uint64(0,0),false);a.Reset();return a;};$pkg.New=E;F=function(){var $ptr,a;a=new D.ptr(M.zero(),N.zero(),0,new $Uint64(0,0),false);a.is224=true;a.Reset();return a;};$pkg.New224=F;D.ptr.prototype.Size=function(){var $ptr,a;a=this;if(!a.is224){return 32;}return 28;};D.prototype.Size=function(){return this.$val.Size();};D.ptr.prototype.BlockSize=function(){var $ptr,a;a=this;return 64;};D.prototype.BlockSize=function(){return this.$val.BlockSize();};D.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;b=a.$length;d.len=(e=d.len,f=(new $Uint64(0,b)),new $Uint64(e.$high+f.$high,e.$low+f.$low));if(d.nx>0){$s=1;continue;}$s=2;continue;case 1:g=$copySlice($subslice(new O(d.x),d.nx),a);d.nx=d.nx+(g)>>0;if(d.nx===64){$s=3;continue;}$s=4;continue;case 3:$r=K(d,new O(d.x));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.nx=0;case 4:a=$subslice(a,g);case 2:if(a.$length>=64){$s=6;continue;}$s=7;continue;case 6:h=(a.$length&~63)>>0;$r=K(d,$subslice(a,0,h));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=$subslice(a,h);case 7:if(a.$length>0){d.nx=$copySlice(new O(d.x),a);}$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Write=function(a){return this.$val.Write(a);};D.ptr.prototype.Sum=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=$clone(b,D);d=c.checkSum();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,P);if(c.is224){$s=-1;return $appendSlice(a,$subslice(new O(e),0,28));}$s=-1;return $appendSlice(a,new O(e));}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Sum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Sum=function(a){return this.$val.Sum(a);};D.ptr.prototype.checkSum=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.len;c=N.zero();c[0]=128;if((d=$div64(b,new $Uint64(0,64),true),(d.$high<0||(d.$high===0&&d.$low<56)))){$s=1;continue;}$s=2;continue;case 1:f=a.Write($subslice(new O(c),0,$flatten64((e=$div64(b,new $Uint64(0,64),true),new $Uint64(0-e.$high,56-e.$low)))));$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=3;continue;case 2:h=a.Write($subslice(new O(c),0,$flatten64((g=$div64(b,new $Uint64(0,64),true),new $Uint64(0-g.$high,120-g.$low)))));$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 3:b=$shiftLeft64(b,(3));i=0;while(true){if(!(i<8)){break;}((i<0||i>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[i]=(($shiftRightUint64(b,((56-(8*i>>>0)>>>0))).$low<<24>>>24)));i=i+(1)>>>0;}j=a.Write($subslice(new O(c),0,8));$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;if(!((a.nx===0))){$panic(new $String(\"d.nx != 0\"));}k=new L(a.h);if(a.is224){k=$subslice(new L(a.h),0,7);}l=P.zero();m=k;n=0;while(true){if(!(n<m.$length)){break;}o=n;p=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);(q=$imul(o,4),((q<0||q>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[q]=(((p>>>24>>>0)<<24>>>24))));(r=($imul(o,4))+1>>0,((r<0||r>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[r]=(((p>>>16>>>0)<<24>>>24))));(s=($imul(o,4))+2>>0,((s<0||s>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[s]=(((p>>>8>>>0)<<24>>>24))));(t=($imul(o,4))+3>>0,((t<0||t>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[t]=((p<<24>>>24))));n++;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.checkSum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.checkSum=function(){return this.$val.checkSum();};J=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=R.zero();d=a.h[0];e=a.h[1];f=a.h[2];g=a.h[3];h=a.h[4];i=a.h[5];j=a.h[6];k=a.h[7];l=d;m=e;n=f;o=g;p=h;q=i;r=j;s=k;while(true){if(!(b.$length>=64)){break;}t=0;while(true){if(!(t<16)){break;}u=$imul(t,4);((t<0||t>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[t]=(((((((((((u<0||u>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+u])>>>0))<<24>>>0)|((((v=u+1>>0,((v<0||v>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+v]))>>>0))<<16>>>0))>>>0)|((((w=u+2>>0,((w<0||w>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+w]))>>>0))<<8>>>0))>>>0)|(((x=u+3>>0,((x<0||x>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+x]))>>>0)))>>>0));t=t+(1)>>0;}y=16;while(true){if(!(y<64)){break;}aa=(z=y-2>>0,((z<0||z>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[z]));ab=(((((((aa>>>17>>>0)|(aa<<15>>>0))>>>0))^((((aa>>>19>>>0)|(aa<<13>>>0))>>>0)))>>>0)^((aa>>>10>>>0)))>>>0;ad=(ac=y-15>>0,((ac<0||ac>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ac]));ae=(((((((ad>>>7>>>0)|(ad<<25>>>0))>>>0))^((((ad>>>18>>>0)|(ad<<14>>>0))>>>0)))>>>0)^((ad>>>3>>>0)))>>>0;((y<0||y>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[y]=(((ab+(af=y-7>>0,((af<0||af>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[af]))>>>0)+ae>>>0)+(ag=y-16>>0,((ag<0||ag>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ag]))>>>0));y=y+(1)>>0;}ah=l;ai=m;aj=n;ak=o;al=p;am=q;an=r;ao=s;ap=ah;aq=ai;ar=aj;as=ak;at=al;au=am;av=an;aw=ao;ax=0;while(true){if(!(ax<64)){break;}ay=(((aw+(((((((((at>>>6>>>0)|(at<<26>>>0))>>>0))^((((at>>>11>>>0)|(at<<21>>>0))>>>0)))>>>0)^((((at>>>25>>>0)|(at<<7>>>0))>>>0)))>>>0))>>>0)+((((((at&au)>>>0))^((((~at>>>0)&av)>>>0)))>>>0))>>>0)+((ax<0||ax>=I.$length)?($throwRuntimeError(\"index out of range\"),undefined):I.$array[I.$offset+ax])>>>0)+((ax<0||ax>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[ax])>>>0;az=(((((((((ap>>>2>>>0)|(ap<<30>>>0))>>>0))^((((ap>>>13>>>0)|(ap<<19>>>0))>>>0)))>>>0)^((((ap>>>22>>>0)|(ap<<10>>>0))>>>0)))>>>0))+((((((((ap&aq)>>>0))^(((ap&ar)>>>0)))>>>0)^(((aq&ar)>>>0)))>>>0))>>>0;aw=av;av=au;au=at;at=as+ay>>>0;as=ar;ar=aq;aq=ap;ap=ay+az>>>0;ax=ax+(1)>>0;}l=l+(ap)>>>0;m=m+(aq)>>>0;n=n+(ar)>>>0;o=o+(as)>>>0;p=p+(at)>>>0;q=q+(au)>>>0;r=r+(av)>>>0;s=s+(aw)>>>0;b=$subslice(b,64);}ba=l;bb=m;bc=n;bd=o;be=p;bf=q;bg=r;bh=s;a.h[0]=ba;a.h[1]=bb;a.h[2]=bc;a.h[3]=bd;a.h[4]=be;a.h[5]=bf;a.h[6]=bg;a.h[7]=bh;};S.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([O],[$Int,$error],false)},{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([O],[O],false)},{prop:\"checkSum\",name:\"checkSum\",pkg:\"crypto/sha256\",typ:$funcType([],[P],false)}];D.init(\"crypto/sha256\",[{prop:\"h\",name:\"h\",exported:false,typ:M,tag:\"\"},{prop:\"x\",name:\"x\",exported:false,typ:N,tag:\"\"},{prop:\"nx\",name:\"nx\",exported:false,typ:$Int,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"is224\",name:\"is224\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=new L([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);K=J;C();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/dsa\"]=(function(){var $pkg={},$init,A,B,C,D,E,N,L;A=$packages[\"errors\"];B=$packages[\"io\"];C=$packages[\"math/big\"];D=$pkg.Parameters=$newType(0,$kindStruct,\"dsa.Parameters\",true,\"crypto/dsa\",true,function(P_,Q_,G_){this.$val=this;if(arguments.length===0){this.P=N.nil;this.Q=N.nil;this.G=N.nil;return;}this.P=P_;this.Q=Q_;this.G=G_;});E=$pkg.PublicKey=$newType(0,$kindStruct,\"dsa.PublicKey\",true,\"crypto/dsa\",true,function(Parameters_,Y_){this.$val=this;if(arguments.length===0){this.Parameters=new D.ptr(N.nil,N.nil,N.nil);this.Y=N.nil;return;}this.Parameters=Parameters_;this.Y=Y_;});N=$ptrType(C.Int);L=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.Parameters.P.Sign()===0){$s=-1;return false;}if(c.Sign()<1||c.Cmp(a.Parameters.Q)>=0){$s=-1;return false;}if(d.Sign()<1||d.Cmp(a.Parameters.Q)>=0){$s=-1;return false;}e=new C.Int.ptr(false,C.nat.nil).ModInverse(d,a.Parameters.Q);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=a.Parameters.Q.BitLen();if(!(((g&7)===0))){$s=-1;return false;}h=new C.Int.ptr(false,C.nat.nil).SetBytes(b);i=new C.Int.ptr(false,C.nat.nil).Mul(h,f);j=i.Mod(i,a.Parameters.Q);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=f.Mul(c,f);l=k.Mod(k,a.Parameters.Q);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=i.Exp(a.Parameters.G,i,a.Parameters.P);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=k.Exp(a.Y,k,a.Parameters.P);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;n.Mul(n,k);p=n.Mod(n,a.Parameters.P);$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=n.Mod(n,a.Parameters.Q);$s=7;case 7:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$s=-1;return n.Cmp(c)===0;}return;}if($f===undefined){$f={$blk:L};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Verify=L;D.init(\"\",[{prop:\"P\",name:\"P\",exported:true,typ:N,tag:\"\"},{prop:\"Q\",name:\"Q\",exported:true,typ:N,tag:\"\"},{prop:\"G\",name:\"G\",exported:true,typ:N,tag:\"\"}]);E.init(\"\",[{prop:\"Parameters\",name:\"\",exported:true,typ:D,tag:\"\"},{prop:\"Y\",name:\"Y\",exported:true,typ:N,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrInvalidPublicKey=A.New(\"crypto/dsa: invalid public key\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/x509/pkix\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,I,J,U,V,W,X,Y,Z,AA,AC,AD,AE,AF,AG,AH,AI,K,L,M,N,O,P,Q,R,S,T;A=$packages[\"encoding/asn1\"];B=$packages[\"math/big\"];C=$packages[\"time\"];D=$pkg.AlgorithmIdentifier=$newType(0,$kindStruct,\"pkix.AlgorithmIdentifier\",true,\"crypto/x509/pkix\",true,function(Algorithm_,Parameters_){this.$val=this;if(arguments.length===0){this.Algorithm=A.ObjectIdentifier.nil;this.Parameters=new A.RawValue.ptr(0,0,false,AA.nil,AA.nil);return;}this.Algorithm=Algorithm_;this.Parameters=Parameters_;});E=$pkg.RDNSequence=$newType(12,$kindSlice,\"pkix.RDNSequence\",true,\"crypto/x509/pkix\",true,null);F=$pkg.RelativeDistinguishedNameSET=$newType(12,$kindSlice,\"pkix.RelativeDistinguishedNameSET\",true,\"crypto/x509/pkix\",true,null);G=$pkg.AttributeTypeAndValue=$newType(0,$kindStruct,\"pkix.AttributeTypeAndValue\",true,\"crypto/x509/pkix\",true,function(Type_,Value_){this.$val=this;if(arguments.length===0){this.Type=A.ObjectIdentifier.nil;this.Value=$ifaceNil;return;}this.Type=Type_;this.Value=Value_;});I=$pkg.Extension=$newType(0,$kindStruct,\"pkix.Extension\",true,\"crypto/x509/pkix\",true,function(Id_,Critical_,Value_){this.$val=this;if(arguments.length===0){this.Id=A.ObjectIdentifier.nil;this.Critical=false;this.Value=AA.nil;return;}this.Id=Id_;this.Critical=Critical_;this.Value=Value_;});J=$pkg.Name=$newType(0,$kindStruct,\"pkix.Name\",true,\"crypto/x509/pkix\",true,function(Country_,Organization_,OrganizationalUnit_,Locality_,Province_,StreetAddress_,PostalCode_,SerialNumber_,CommonName_,Names_,ExtraNames_){this.$val=this;if(arguments.length===0){this.Country=Z.nil;this.Organization=Z.nil;this.OrganizationalUnit=Z.nil;this.Locality=Z.nil;this.Province=Z.nil;this.StreetAddress=Z.nil;this.PostalCode=Z.nil;this.SerialNumber=\"\";this.CommonName=\"\";this.Names=Y.nil;this.ExtraNames=Y.nil;return;}this.Country=Country_;this.Organization=Organization_;this.OrganizationalUnit=OrganizationalUnit_;this.Locality=Locality_;this.Province=Province_;this.StreetAddress=StreetAddress_;this.PostalCode=PostalCode_;this.SerialNumber=SerialNumber_;this.CommonName=CommonName_;this.Names=Names_;this.ExtraNames=ExtraNames_;});U=$pkg.CertificateList=$newType(0,$kindStruct,\"pkix.CertificateList\",true,\"crypto/x509/pkix\",true,function(TBSCertList_,SignatureAlgorithm_,SignatureValue_){this.$val=this;if(arguments.length===0){this.TBSCertList=new V.ptr(A.RawContent.nil,0,new D.ptr(A.ObjectIdentifier.nil,new A.RawValue.ptr(0,0,false,AA.nil,AA.nil)),E.nil,new C.Time.ptr(new $Int64(0,0),0,AE.nil),new C.Time.ptr(new $Int64(0,0),0,AE.nil),AF.nil,AG.nil);this.SignatureAlgorithm=new D.ptr(A.ObjectIdentifier.nil,new A.RawValue.ptr(0,0,false,AA.nil,AA.nil));this.SignatureValue=new A.BitString.ptr(AA.nil,0);return;}this.TBSCertList=TBSCertList_;this.SignatureAlgorithm=SignatureAlgorithm_;this.SignatureValue=SignatureValue_;});V=$pkg.TBSCertificateList=$newType(0,$kindStruct,\"pkix.TBSCertificateList\",true,\"crypto/x509/pkix\",true,function(Raw_,Version_,Signature_,Issuer_,ThisUpdate_,NextUpdate_,RevokedCertificates_,Extensions_){this.$val=this;if(arguments.length===0){this.Raw=A.RawContent.nil;this.Version=0;this.Signature=new D.ptr(A.ObjectIdentifier.nil,new A.RawValue.ptr(0,0,false,AA.nil,AA.nil));this.Issuer=E.nil;this.ThisUpdate=new C.Time.ptr(new $Int64(0,0),0,AE.nil);this.NextUpdate=new C.Time.ptr(new $Int64(0,0),0,AE.nil);this.RevokedCertificates=AF.nil;this.Extensions=AG.nil;return;}this.Raw=Raw_;this.Version=Version_;this.Signature=Signature_;this.Issuer=Issuer_;this.ThisUpdate=ThisUpdate_;this.NextUpdate=NextUpdate_;this.RevokedCertificates=RevokedCertificates_;this.Extensions=Extensions_;});W=$pkg.RevokedCertificate=$newType(0,$kindStruct,\"pkix.RevokedCertificate\",true,\"crypto/x509/pkix\",true,function(SerialNumber_,RevocationTime_,Extensions_){this.$val=this;if(arguments.length===0){this.SerialNumber=AI.nil;this.RevocationTime=new C.Time.ptr(new $Int64(0,0),0,AE.nil);this.Extensions=AG.nil;return;}this.SerialNumber=SerialNumber_;this.RevocationTime=RevocationTime_;this.Extensions=Extensions_;});X=$sliceType($Int);Y=$sliceType(G);Z=$sliceType($String);AA=$sliceType($Uint8);AC=$ptrType(E);AD=$ptrType(J);AE=$ptrType(C.Location);AF=$sliceType(W);AG=$sliceType(I);AH=$ptrType(U);AI=$ptrType(B.Int);J.ptr.prototype.FillFromRDNSequence=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;b=this;c=a.$get();d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(e.$length===0){d++;continue;}f=e;g=0;while(true){if(!(g<f.$length)){break;}h=$clone(((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]),G);b.Names=$append(b.Names,h);i=$assertType(h.Value,$String,true);j=i[0];k=i[1];if(!k){g++;continue;}l=h.Type;if((l.$length===4)&&((0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])===2)&&((1>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+1])===5)&&((2>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+2])===4)){m=(3>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+3]);if(m===(3)){b.CommonName=j;}else if(m===(5)){b.SerialNumber=j;}else if(m===(6)){b.Country=$append(b.Country,j);}else if(m===(7)){b.Locality=$append(b.Locality,j);}else if(m===(8)){b.Province=$append(b.Province,j);}else if(m===(9)){b.StreetAddress=$append(b.StreetAddress,j);}else if(m===(10)){b.Organization=$append(b.Organization,j);}else if(m===(11)){b.OrganizationalUnit=$append(b.OrganizationalUnit,j);}else if(m===(17)){b.PostalCode=$append(b.PostalCode,j);}}g++;}d++;}};J.prototype.FillFromRDNSequence=function(a){return this.$val.FillFromRDNSequence(a);};J.ptr.prototype.appendRDNs=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;if((b.$length===0)||T(c,d.ExtraNames)){return a;}e=$makeSlice(Y,b.$length);f=b;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h]).Type=c;((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h]).Value=new $String(i);g++;}return $append(a,$subslice(new F(e.$array),e.$offset,e.$offset+e.$length));};J.prototype.appendRDNs=function(a,b,c){return this.$val.appendRDNs(a,b,c);};J.ptr.prototype.ToRDNSequence=function(){var $ptr,a,b,c,d,e,f;a=E.nil;b=this;a=$clone(b,J).appendRDNs(a,b.Country,$subslice(new A.ObjectIdentifier(K.$array),K.$offset,K.$offset+K.$length));a=$clone(b,J).appendRDNs(a,b.Province,$subslice(new A.ObjectIdentifier(Q.$array),Q.$offset,Q.$offset+Q.$length));a=$clone(b,J).appendRDNs(a,b.Locality,$subslice(new A.ObjectIdentifier(P.$array),P.$offset,P.$offset+P.$length));a=$clone(b,J).appendRDNs(a,b.StreetAddress,$subslice(new A.ObjectIdentifier(R.$array),R.$offset,R.$offset+R.$length));a=$clone(b,J).appendRDNs(a,b.PostalCode,$subslice(new A.ObjectIdentifier(S.$array),S.$offset,S.$offset+S.$length));a=$clone(b,J).appendRDNs(a,b.Organization,$subslice(new A.ObjectIdentifier(L.$array),L.$offset,L.$offset+L.$length));a=$clone(b,J).appendRDNs(a,b.OrganizationalUnit,$subslice(new A.ObjectIdentifier(M.$array),M.$offset,M.$offset+M.$length));if(b.CommonName.length>0){a=$clone(b,J).appendRDNs(a,new Z([b.CommonName]),$subslice(new A.ObjectIdentifier(N.$array),N.$offset,N.$offset+N.$length));}if(b.SerialNumber.length>0){a=$clone(b,J).appendRDNs(a,new Z([b.SerialNumber]),$subslice(new A.ObjectIdentifier(O.$array),O.$offset,O.$offset+O.$length));}c=b.ExtraNames;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),G);a=$append(a,(f=new Y([$clone(e,G)]),$subslice(new F(f.$array),f.$offset,f.$offset+f.$length)));d++;}a=a;return a;};J.prototype.ToRDNSequence=function(){return this.$val.ToRDNSequence();};T=function(a,b){var $ptr,a,b,c,d,e;c=b;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),G);if(e.Type.Equal(a)){return true;}d++;}return false;};U.ptr.prototype.HasExpired=function(a){var $ptr,a,b;b=this;return $clone(a,C.Time).After($clone(b.TBSCertList.NextUpdate,C.Time));};U.prototype.HasExpired=function(a){return this.$val.HasExpired(a);};J.methods=[{prop:\"appendRDNs\",name:\"appendRDNs\",pkg:\"crypto/x509/pkix\",typ:$funcType([E,Z,A.ObjectIdentifier],[E],false)},{prop:\"ToRDNSequence\",name:\"ToRDNSequence\",pkg:\"\",typ:$funcType([],[E],false)}];AD.methods=[{prop:\"FillFromRDNSequence\",name:\"FillFromRDNSequence\",pkg:\"\",typ:$funcType([AC],[],false)}];AH.methods=[{prop:\"HasExpired\",name:\"HasExpired\",pkg:\"\",typ:$funcType([C.Time],[$Bool],false)}];D.init(\"\",[{prop:\"Algorithm\",name:\"Algorithm\",exported:true,typ:A.ObjectIdentifier,tag:\"\"},{prop:\"Parameters\",name:\"Parameters\",exported:true,typ:A.RawValue,tag:\"asn1:\\\"optional\\\"\"}]);E.init(F);F.init(G);G.init(\"\",[{prop:\"Type\",name:\"Type\",exported:true,typ:A.ObjectIdentifier,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$emptyInterface,tag:\"\"}]);I.init(\"\",[{prop:\"Id\",name:\"Id\",exported:true,typ:A.ObjectIdentifier,tag:\"\"},{prop:\"Critical\",name:\"Critical\",exported:true,typ:$Bool,tag:\"asn1:\\\"optional\\\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:AA,tag:\"\"}]);J.init(\"\",[{prop:\"Country\",name:\"Country\",exported:true,typ:Z,tag:\"\"},{prop:\"Organization\",name:\"Organization\",exported:true,typ:Z,tag:\"\"},{prop:\"OrganizationalUnit\",name:\"OrganizationalUnit\",exported:true,typ:Z,tag:\"\"},{prop:\"Locality\",name:\"Locality\",exported:true,typ:Z,tag:\"\"},{prop:\"Province\",name:\"Province\",exported:true,typ:Z,tag:\"\"},{prop:\"StreetAddress\",name:\"StreetAddress\",exported:true,typ:Z,tag:\"\"},{prop:\"PostalCode\",name:\"PostalCode\",exported:true,typ:Z,tag:\"\"},{prop:\"SerialNumber\",name:\"SerialNumber\",exported:true,typ:$String,tag:\"\"},{prop:\"CommonName\",name:\"CommonName\",exported:true,typ:$String,tag:\"\"},{prop:\"Names\",name:\"Names\",exported:true,typ:Y,tag:\"\"},{prop:\"ExtraNames\",name:\"ExtraNames\",exported:true,typ:Y,tag:\"\"}]);U.init(\"\",[{prop:\"TBSCertList\",name:\"TBSCertList\",exported:true,typ:V,tag:\"\"},{prop:\"SignatureAlgorithm\",name:\"SignatureAlgorithm\",exported:true,typ:D,tag:\"\"},{prop:\"SignatureValue\",name:\"SignatureValue\",exported:true,typ:A.BitString,tag:\"\"}]);V.init(\"\",[{prop:\"Raw\",name:\"Raw\",exported:true,typ:A.RawContent,tag:\"\"},{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"asn1:\\\"optional,default:0\\\"\"},{prop:\"Signature\",name:\"Signature\",exported:true,typ:D,tag:\"\"},{prop:\"Issuer\",name:\"Issuer\",exported:true,typ:E,tag:\"\"},{prop:\"ThisUpdate\",name:\"ThisUpdate\",exported:true,typ:C.Time,tag:\"\"},{prop:\"NextUpdate\",name:\"NextUpdate\",exported:true,typ:C.Time,tag:\"asn1:\\\"optional\\\"\"},{prop:\"RevokedCertificates\",name:\"RevokedCertificates\",exported:true,typ:AF,tag:\"asn1:\\\"optional\\\"\"},{prop:\"Extensions\",name:\"Extensions\",exported:true,typ:AG,tag:\"asn1:\\\"tag:0,optional,explicit\\\"\"}]);W.init(\"\",[{prop:\"SerialNumber\",name:\"SerialNumber\",exported:true,typ:AI,tag:\"\"},{prop:\"RevocationTime\",name:\"RevocationTime\",exported:true,typ:C.Time,tag:\"\"},{prop:\"Extensions\",name:\"Extensions\",exported:true,typ:AG,tag:\"asn1:\\\"optional\\\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}K=new X([2,5,4,6]);L=new X([2,5,4,10]);M=new X([2,5,4,11]);N=new X([2,5,4,3]);O=new X([2,5,4,5]);P=new X([2,5,4,7]);Q=new X([2,5,4,8]);R=new X([2,5,4,9]);S=new X([2,5,4,17]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"encoding/hex\"]=(function(){var $pkg={},$init,A,B,C,D;A=$packages[\"bytes\"];B=$packages[\"errors\"];C=$packages[\"fmt\"];D=$packages[\"io\"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrLength=B.New(\"encoding/hex: odd length hex string\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"encoding/pem\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,T,U,X,J,K,L,H,I,M,N;A=$packages[\"bytes\"];B=$packages[\"encoding/base64\"];C=$packages[\"errors\"];D=$packages[\"io\"];E=$packages[\"sort\"];F=$packages[\"strings\"];G=$pkg.Block=$newType(0,$kindStruct,\"pem.Block\",true,\"encoding/pem\",true,function(Type_,Headers_,Bytes_){this.$val=this;if(arguments.length===0){this.Type=\"\";this.Headers=false;this.Bytes=T.nil;return;}this.Type=Type_;this.Headers=Headers_;this.Bytes=Bytes_;});T=$sliceType($Uint8);U=$ptrType(G);X=$mapType($String,$String);H=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=T.nil;c=T.nil;d=A.Index(a,new T([10]));e=0;if(d<0){d=a.$length;e=d;}else{e=d+1>>0;if(d>0&&((f=d-1>>0,((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f]))===13)){d=d-(1)>>0;}}h=A.TrimRight($subslice(a,0,d),\" \\t\");$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=$subslice(a,e);b=g;c=i;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};I=function(a){var $ptr,a,b,c,d,e,f;b=$makeSlice(T,a.$length);c=0;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if((f===32)||(f===9)||(f===13)||(f===10)){e++;continue;}((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]=f);c=c+(1)>>0;e++;}return $subslice(b,0,c);};M=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=U.nil;c=T.nil;c=a;if(A.HasPrefix(a,$subslice(J,1))){c=$subslice(c,(J.$length-1>>0),a.$length);}else{d=A.Index(a,J);if(d>=0){c=$subslice(c,(d+J.$length>>0),a.$length);}else{e=U.nil;f=a;b=e;c=f;$s=-1;return[b,c];}}h=H(c);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];c=g[1];if(!A.HasSuffix(i,L)){$s=2;continue;}$s=3;continue;case 2:k=N(a,c);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;b=j[0];c=j[1];$s=-1;return[b,c];case 3:i=$subslice(i,0,(i.$length-L.$length>>0));b=new G.ptr(($bytesToString(i)),{},T.nil);case 5:if(c.$length===0){l=U.nil;m=a;b=l;c=m;$s=-1;return[b,c];}o=H(c);$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];r=A.Index(p,new T([58]));if(r===-1){$s=6;continue;}s=$subslice(p,0,r);t=$subslice(p,(r+1>>0));u=s;v=t;w=A.TrimSpace(u);$s=8;case 8:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=A.TrimSpace(v);$s=9;case 9:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}v=x;y=($bytesToString(u));(b.Headers||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(y)]={k:y,v:($bytesToString(v))};c=q;$s=5;continue;case 6:z=0;aa=0;ab=z;ac=aa;if(($keys(b.Headers).length===0)&&A.HasPrefix(c,$subslice(K,1))){ab=0;ac=K.$length-1>>0;}else{ab=A.Index(c,K);ac=ab+K.$length>>0;}if(ab<0){$s=10;continue;}$s=11;continue;case 10:ae=N(a,c);$s=12;case 12:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;b=ad[0];c=ad[1];$s=-1;return[b,c];case 11:af=$subslice(c,ac);ag=i.$length+L.$length>>0;if(af.$length<ag){$s=13;continue;}$s=14;continue;case 13:ai=N(a,c);$s=15;case 15:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;b=ah[0];c=ah[1];$s=-1;return[b,c];case 14:af=$subslice(af,0,ag);if(!A.HasPrefix(af,i)||!A.HasSuffix(af,L)){$s=16;continue;}$s=17;continue;case 16:ak=N(a,c);$s=18;case 18:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;b=aj[0];c=aj[1];$s=-1;return[b,c];case 17:al=I($subslice(c,0,ab));b.Bytes=$makeSlice(T,B.StdEncoding.DecodedLen(al.$length));am=B.StdEncoding.Decode(b.Bytes,al);an=am[0];ao=am[1];if(!($interfaceIsEqual(ao,$ifaceNil))){$s=19;continue;}$s=20;continue;case 19:aq=N(a,c);$s=21;case 21:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;b=ap[0];c=ap[1];$s=-1;return[b,c];case 20:b.Bytes=$subslice(b.Bytes,0,an);as=H($subslice(c,((ab+K.$length>>0)-1>>0)));$s=22;case 22:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;c=ar[1];$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:M};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Decode=M;N=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=M(b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];b=c[1];if(e===U.nil){b=a;}$s=-1;return[e,b];}return;}if($f===undefined){$f={$blk:N};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.init(\"\",[{prop:\"Type\",name:\"Type\",exported:true,typ:$String,tag:\"\"},{prop:\"Headers\",name:\"Headers\",exported:true,typ:X,tag:\"\"},{prop:\"Bytes\",name:\"Bytes\",exported:true,typ:T,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}J=(new T($stringToBytes(\"\\n-----BEGIN \")));K=(new T($stringToBytes(\"\\n-----END \")));L=(new T($stringToBytes(\"-----\")));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"path/filepath\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,P,AX,AZ,Q,S,V,AK,AO;A=$packages[\"errors\"];B=$packages[\"os\"];C=$packages[\"runtime\"];D=$packages[\"sort\"];E=$packages[\"strings\"];F=$packages[\"unicode/utf8\"];P=$pkg.lazybuf=$newType(0,$kindStruct,\"filepath.lazybuf\",true,\"path/filepath\",false,function(path_,buf_,w_,volAndPath_,volLen_){this.$val=this;if(arguments.length===0){this.path=\"\";this.buf=AX.nil;this.w=0;this.volAndPath=\"\";this.volLen=0;return;}this.path=path_;this.buf=buf_;this.w=w_;this.volAndPath=volAndPath_;this.volLen=volLen_;});AX=$sliceType($Uint8);AZ=$ptrType(P);P.ptr.prototype.index=function(a){var $ptr,a,b,c;b=this;if(!(b.buf===AX.nil)){return(c=b.buf,((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]));}return b.path.charCodeAt(a);};P.prototype.index=function(a){return this.$val.index(a);};P.ptr.prototype.append=function(a){var $ptr,a,b,c,d;b=this;if(b.buf===AX.nil){if(b.w<b.path.length&&(b.path.charCodeAt(b.w)===a)){b.w=b.w+(1)>>0;return;}b.buf=$makeSlice(AX,b.path.length);$copyString(b.buf,$substring(b.path,0,b.w));}(c=b.buf,d=b.w,((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=a));b.w=b.w+(1)>>0;};P.prototype.append=function(a){return this.$val.append(a);};P.ptr.prototype.string=function(){var $ptr,a;a=this;if(a.buf===AX.nil){return $substring(a.volAndPath,0,(a.volLen+a.w>>0));}return $substring(a.volAndPath,0,a.volLen)+($bytesToString($subslice(a.buf,0,a.w)));};P.prototype.string=function(){return this.$val.string();};Q=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=a;c=AK(a);a=$substring(a,c);if(a===\"\"){if(c>1&&!((b.charCodeAt(1)===58))){return S(b);}return b+\".\";}d=B.IsPathSeparator(a.charCodeAt(0));e=a.length;f=new P.ptr(a,AX.nil,0,b,c);g=0;h=0;i=g;j=h;if(d){f.append(47);k=1;l=1;i=k;j=l;}while(true){if(!(i<e)){break;}if(B.IsPathSeparator(a.charCodeAt(i))){i=i+(1)>>0;}else if((a.charCodeAt(i)===46)&&(((i+1>>0)===e)||B.IsPathSeparator(a.charCodeAt((i+1>>0))))){i=i+(1)>>0;}else if((a.charCodeAt(i)===46)&&(a.charCodeAt((i+1>>0))===46)&&(((i+2>>0)===e)||B.IsPathSeparator(a.charCodeAt((i+2>>0))))){i=i+(2)>>0;if(f.w>j){f.w=f.w-(1)>>0;while(true){if(!(f.w>j&&!B.IsPathSeparator(f.index(f.w)))){break;}f.w=f.w-(1)>>0;}}else if(!d){if(f.w>0){f.append(47);}f.append(46);f.append(46);j=f.w;}}else{if(d&&!((f.w===1))||!d&&!((f.w===0))){f.append(47);}while(true){if(!(i<e&&!B.IsPathSeparator(a.charCodeAt(i)))){break;}f.append(a.charCodeAt(i));i=i+(1)>>0;}}}if(f.w===0){f.append(46);}return S(f.string());};$pkg.Clean=Q;S=function(a){var $ptr,a;if(true){return a;}return E.Replace(a,\"/\",\"/\",-1);};$pkg.FromSlash=S;V=function(a){var $ptr,a;return AO(a);};$pkg.Join=V;AK=function(a){var $ptr,a;return 0;};AO=function(a){var $ptr,a,b,c,d,e;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;e=((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]);if(!(e===\"\")){return Q(E.Join($subslice(a,d),\"/\"));}c++;}return\"\";};AZ.methods=[{prop:\"index\",name:\"index\",pkg:\"path/filepath\",typ:$funcType([$Int],[$Uint8],false)},{prop:\"append\",name:\"append\",pkg:\"path/filepath\",typ:$funcType([$Uint8],[],false)},{prop:\"string\",name:\"string\",pkg:\"path/filepath\",typ:$funcType([],[$String],false)}];P.init(\"path/filepath\",[{prop:\"path\",name:\"path\",exported:false,typ:$String,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:AX,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:$Int,tag:\"\"},{prop:\"volAndPath\",name:\"volAndPath\",exported:false,typ:$String,tag:\"\"},{prop:\"volLen\",name:\"volLen\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrBadPattern=A.New(\"syntax error in pattern\");$pkg.SkipDir=A.New(\"skip this directory\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io/ioutil\"]=(function(){var $pkg={},$init,A,B,C,F,D,G,E,H,N,P,X,Y,Z,AB,AC,Q,R,S,I,J,K,O,T,U,V;A=$packages[\"bytes\"];B=$packages[\"io\"];C=$packages[\"os\"];F=$packages[\"path/filepath\"];D=$packages[\"sort\"];G=$packages[\"strconv\"];E=$packages[\"sync\"];H=$packages[\"time\"];N=$pkg.nopCloser=$newType(0,$kindStruct,\"ioutil.nopCloser\",true,\"io/ioutil\",false,function(Reader_){this.$val=this;if(arguments.length===0){this.Reader=$ifaceNil;return;}this.Reader=Reader_;});P=$pkg.devNull=$newType(4,$kindInt,\"ioutil.devNull\",true,\"io/ioutil\",false,null);X=$sliceType($emptyInterface);Y=$sliceType($Uint8);Z=$ptrType(Y);AB=$ptrType(C.File);AC=$sliceType($String);I=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=Y.nil;c[0]=$ifaceNil;e=A.NewBuffer($makeSlice(Y,0,$flatten64(b)));$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if($interfaceIsEqual(f,$ifaceNil)){return;}g=$assertType(f,$error,true);h=g[0];i=g[1];if(i&&$interfaceIsEqual(h,A.ErrTooLarge)){c[0]=h;}else{$panic(f);}};})(c),[]]);g=e.ReadFrom(a);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;c[0]=f[1];h=e.Bytes();i=c[0];d=h;c[0]=i;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:I};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};J=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=I(a,new $Int64(0,512));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ReadAll=J;K=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=C.Open(a);c=b[0];d=b[1];if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[Y.nil,d];}$deferred.push([$methodVal(c,\"Close\"),[]]);e=new $Int64(0,0);f=c.Stat();g=f[0];h=f[1];if($interfaceIsEqual(h,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:i=g.Size();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if((j.$high<0||(j.$high===0&&j.$low<1000000000))){e=j;}case 2:k=I(c,new $Int64(e.$high+0,e.$low+512));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}}catch(err){$err=err;$s=-1;return[Y.nil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.ReadFile=K;N.ptr.prototype.Close=function(){var $ptr;return $ifaceNil;};N.prototype.Close=function(){return this.$val.Close();};O=function(a){var $ptr,a,b;return(b=new N.ptr(a),new b.constructor.elem(b));};$pkg.NopCloser=O;P.prototype.Write=function(a){var $ptr,a;return[a.$length,$ifaceNil];};$ptrType(P).prototype.Write=function(a){return new P(this.$get()).Write(a);};P.prototype.WriteString=function(a){var $ptr,a;return[a.length,$ifaceNil];};$ptrType(P).prototype.WriteString=function(a){return new P(this.$get()).WriteString(a);};P.prototype.ReadFrom=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new $Int64(0,0);c=$ifaceNil;d=Q.Get();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$assertType(d,Z);f=0;case 2:h=a.Read(e.$get());$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;f=g[0];c=g[1];b=(i=(new $Int64(0,f)),new $Int64(b.$high+i.$high,b.$low+i.$low));if(!($interfaceIsEqual(c,$ifaceNil))){Q.Put(e);if($interfaceIsEqual(c,B.EOF)){j=b;k=$ifaceNil;b=j;c=k;$s=-1;return[b,c];}$s=-1;return[b,c];}$s=2;continue;case 3:$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:P.prototype.ReadFrom};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(P).prototype.ReadFrom=function(a){return new P(this.$get()).ReadFrom(a);};T=function(){var $ptr,a,b;return(((a=$clone(H.Now(),H.Time).UnixNano(),b=(new $Int64(0,C.Getpid())),new $Int64(a.$high+b.$high,a.$low+b.$low)).$low>>>0));};U=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=S.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=R;if(a===0){a=T();}a=($imul(a,1664525)>>>0)+1013904223>>>0;R=a;$r=S.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $substring(G.Itoa((((1000000000+(b=a%1000000000,b===b?b:$throwRuntimeError(\"integer divide by zero\"))>>>0)>>0))),1);}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};V=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AB.nil;d=$ifaceNil;if(a===\"\"){$s=1;continue;}$s=2;continue;case 1:e=C.TempDir();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}a=e;case 2:f=0;g=0;case 4:if(!(g<10000)){$s=5;continue;}h=a;i=U();$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=b+i;k=F.Join(new AC([h,j]));$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=C.OpenFile(l,2562,384);c=m[0];d=m[1];if(C.IsExist(d)){$s=8;continue;}$s=9;continue;case 8:f=f+(1)>>0;if(f>10){$s=10;continue;}$s=11;continue;case 10:$r=S.Lock();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}R=T();$r=S.Unlock();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:g=g+(1)>>0;$s=4;continue;case 9:$s=5;continue;$s=4;continue;case 5:$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TempFile=V;N.methods=[{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];P.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([Y],[$Int,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([B.Reader],[$Int64,$error],false)}];N.init(\"\",[{prop:\"Reader\",name:\"\",exported:true,typ:B.Reader,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}R=0;S=new E.Mutex.ptr(0,0);Q=new E.Pool.ptr(0,0,X.nil,(function(){var $ptr,a,b;a=$makeSlice(Y,8192);return(b||(b=new Z(function(){return a;},function($v){a=$subslice(new Y($v.$array),$v.$offset,$v.$offset+$v.$length);})));}));$pkg.Discard=new P(0);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/nettrace\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,H;A=$pkg.TraceKey=$newType(0,$kindStruct,\"nettrace.TraceKey\",true,\"internal/nettrace\",true,function(){this.$val=this;if(arguments.length===0){return;}});B=$pkg.LookupIPAltResolverKey=$newType(0,$kindStruct,\"nettrace.LookupIPAltResolverKey\",true,\"internal/nettrace\",true,function(){this.$val=this;if(arguments.length===0){return;}});C=$pkg.Trace=$newType(0,$kindStruct,\"nettrace.Trace\",true,\"internal/nettrace\",true,function(DNSStart_,DNSDone_,ConnectStart_,ConnectDone_){this.$val=this;if(arguments.length===0){this.DNSStart=$throwNilPointerError;this.DNSDone=$throwNilPointerError;this.ConnectStart=$throwNilPointerError;this.ConnectDone=$throwNilPointerError;return;}this.DNSStart=DNSStart_;this.DNSDone=DNSDone_;this.ConnectStart=ConnectStart_;this.ConnectDone=ConnectDone_;});D=$funcType([$String],[],false);E=$sliceType($emptyInterface);F=$funcType([E,$Bool,$error],[],false);G=$funcType([$String,$String],[],false);H=$funcType([$String,$String,$error],[],false);A.init(\"\",[]);B.init(\"\",[]);C.init(\"\",[{prop:\"DNSStart\",name:\"DNSStart\",exported:true,typ:D,tag:\"\"},{prop:\"DNSDone\",name:\"DNSDone\",exported:true,typ:F,tag:\"\"},{prop:\"ConnectStart\",name:\"ConnectStart\",exported:true,typ:G,tag:\"\"},{prop:\"ConnectDone\",name:\"ConnectDone\",exported:true,typ:H,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/singleflight\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,H,I,J,K,L;A=$packages[\"sync\"];B=$pkg.call=$newType(0,$kindStruct,\"singleflight.call\",true,\"internal/singleflight\",false,function(wg_,val_,err_,dups_,chans_){this.$val=this;if(arguments.length===0){this.wg=new A.WaitGroup.ptr(0,$chanNil,F.zero(),0);this.val=$ifaceNil;this.err=$ifaceNil;this.dups=0;this.chans=H.nil;return;}this.wg=wg_;this.val=val_;this.err=err_;this.dups=dups_;this.chans=chans_;});C=$pkg.Group=$newType(0,$kindStruct,\"singleflight.Group\",true,\"internal/singleflight\",true,function(mu_,m_){this.$val=this;if(arguments.length===0){this.mu=new A.Mutex.ptr(0,0);this.m=false;return;}this.mu=mu_;this.m=m_;});D=$pkg.Result=$newType(0,$kindStruct,\"singleflight.Result\",true,\"internal/singleflight\",true,function(Val_,Err_,Shared_){this.$val=this;if(arguments.length===0){this.Val=$ifaceNil;this.Err=$ifaceNil;this.Shared=false;return;}this.Val=Val_;this.Err=Err_;this.Shared=Shared_;});E=$ptrType(B);F=$arrayType($Uint8,12);G=$chanType(D,true,false);H=$sliceType(G);I=$funcType([],[$emptyInterface,$error],false);J=$chanType(D,false,true);K=$ptrType(C);L=$mapType($String,E);C.ptr.prototype.Do=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$ifaceNil;d=$ifaceNil;e=false;f=this;$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f.m===false){f.m={};}g=(h=f.m[$String.keyFor(a)],h!==undefined?[h.v,true]:[E.nil,false]);i=g[0];j=g[1];if(j){$s=2;continue;}$s=3;continue;case 2:i.dups=i.dups+(1)>>0;$r=f.mu.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=i.wg.Wait();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=i.val;l=i.err;m=true;c=k;d=l;e=m;$s=-1;return[c,d,e];case 3:n=new B.ptr(new A.WaitGroup.ptr(0,$chanNil,F.zero(),0),$ifaceNil,$ifaceNil,0,H.nil);n.wg.Add(1);o=a;(f.m||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(o)]={k:o,v:n};$r=f.mu.Unlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.doCall(n,a,b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=n.val;q=n.err;r=n.dups>0;c=p;d=q;e=r;$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:C.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};C.prototype.Do=function(a,b){return this.$val.Do(a,b);};C.ptr.prototype.DoChan=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=new $Chan(D,1);$r=c.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(c.m===false){c.m={};}e=(f=c.m[$String.keyFor(a)],f!==undefined?[f.v,true]:[E.nil,false]);g=e[0];h=e[1];if(h){$s=2;continue;}$s=3;continue;case 2:g.dups=g.dups+(1)>>0;g.chans=$append(g.chans,d);$r=c.mu.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return d;case 3:i=new B.ptr(new A.WaitGroup.ptr(0,$chanNil,F.zero(),0),$ifaceNil,$ifaceNil,0,new H([d]));i.wg.Add(1);j=a;(c.m||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:i};$r=c.mu.Unlock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$go($methodVal(c,\"doCall\"),[i,a,b]);$s=-1;return d;}return;}if($f===undefined){$f={$blk:C.ptr.prototype.DoChan};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};C.prototype.DoChan=function(a,b){return this.$val.DoChan(a,b);};C.ptr.prototype.doCall=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;f=c();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a.val=e[0];a.err=e[1];a.wg.Done();$r=d.mu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}delete d.m[$String.keyFor(b)];g=a.chans;h=0;case 3:if(!(h<g.$length)){$s=4;continue;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);$r=$send(i,$clone(new D.ptr(a.val,a.err,a.dups>0),D));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h++;$s=3;continue;case 4:$r=d.mu.Unlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:C.ptr.prototype.doCall};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};C.prototype.doCall=function(a,b,c){return this.$val.doCall(a,b,c);};C.ptr.prototype.Forget=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;$r=b.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}delete b.m[$String.keyFor(a)];$r=b.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:C.ptr.prototype.Forget};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};C.prototype.Forget=function(a){return this.$val.Forget(a);};K.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([$String,I],[$emptyInterface,$error,$Bool],false)},{prop:\"DoChan\",name:\"DoChan\",pkg:\"\",typ:$funcType([$String,I],[J],false)},{prop:\"doCall\",name:\"doCall\",pkg:\"internal/singleflight\",typ:$funcType([E,$String,I],[],false)},{prop:\"Forget\",name:\"Forget\",pkg:\"\",typ:$funcType([$String],[],false)}];B.init(\"internal/singleflight\",[{prop:\"wg\",name:\"wg\",exported:false,typ:A.WaitGroup,tag:\"\"},{prop:\"val\",name:\"val\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"dups\",name:\"dups\",exported:false,typ:$Int,tag:\"\"},{prop:\"chans\",name:\"chans\",exported:false,typ:H,tag:\"\"}]);C.init(\"internal/singleflight\",[{prop:\"mu\",name:\"mu\",exported:false,typ:A.Mutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:L,tag:\"\"}]);D.init(\"\",[{prop:\"Val\",name:\"Val\",exported:true,typ:$emptyInterface,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"},{prop:\"Shared\",name:\"Shared\",exported:true,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/net/route\"]=(function(){var $pkg={},$init,B,C,A,D,E,F,I,J,M,S,T,U,V,W,Y,Z,AA,AH,AI,AQ,AR,AS,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BK,BL,BM,BN,BO,BP,BR,BS,BT,BU,P,Q,AC,AD,AE,AF,AG,AK,AL,AM,AV,AX,G,H,K,L,N,O,AB,AJ,AN,AO,AT,AU,AW;B=$packages[\"errors\"];C=$packages[\"os\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];E=$pkg.Addr=$newType(8,$kindInterface,\"route.Addr\",true,\"vendor/golang_org/x/net/route\",true,null);F=$pkg.LinkAddr=$newType(0,$kindStruct,\"route.LinkAddr\",true,\"vendor/golang_org/x/net/route\",true,function(Index_,Name_,Addr_){this.$val=this;if(arguments.length===0){this.Index=0;this.Name=\"\";this.Addr=AZ.nil;return;}this.Index=Index_;this.Name=Name_;this.Addr=Addr_;});I=$pkg.Inet4Addr=$newType(0,$kindStruct,\"route.Inet4Addr\",true,\"vendor/golang_org/x/net/route\",true,function(IP_){this.$val=this;if(arguments.length===0){this.IP=BA.zero();return;}this.IP=IP_;});J=$pkg.Inet6Addr=$newType(0,$kindStruct,\"route.Inet6Addr\",true,\"vendor/golang_org/x/net/route\",true,function(IP_,ZoneID_){this.$val=this;if(arguments.length===0){this.IP=BB.zero();this.ZoneID=0;return;}this.IP=IP_;this.ZoneID=ZoneID_;});M=$pkg.DefaultAddr=$newType(0,$kindStruct,\"route.DefaultAddr\",true,\"vendor/golang_org/x/net/route\",true,function(af_,Raw_){this.$val=this;if(arguments.length===0){this.af=0;this.Raw=AZ.nil;return;}this.af=af_;this.Raw=Raw_;});S=$pkg.binaryLittleEndian=$newType(0,$kindStruct,\"route.binaryLittleEndian\",true,\"vendor/golang_org/x/net/route\",false,function(){this.$val=this;if(arguments.length===0){return;}});T=$pkg.binaryBigEndian=$newType(0,$kindStruct,\"route.binaryBigEndian\",true,\"vendor/golang_org/x/net/route\",false,function(){this.$val=this;if(arguments.length===0){return;}});U=$pkg.InterfaceMessage=$newType(0,$kindStruct,\"route.InterfaceMessage\",true,\"vendor/golang_org/x/net/route\",true,function(Version_,Type_,Flags_,Index_,Name_,Addrs_,extOff_,raw_){this.$val=this;if(arguments.length===0){this.Version=0;this.Type=0;this.Flags=0;this.Index=0;this.Name=\"\";this.Addrs=BD.nil;this.extOff=0;this.raw=AZ.nil;return;}this.Version=Version_;this.Type=Type_;this.Flags=Flags_;this.Index=Index_;this.Name=Name_;this.Addrs=Addrs_;this.extOff=extOff_;this.raw=raw_;});V=$pkg.InterfaceAddrMessage=$newType(0,$kindStruct,\"route.InterfaceAddrMessage\",true,\"vendor/golang_org/x/net/route\",true,function(Version_,Type_,Flags_,Index_,Addrs_,raw_){this.$val=this;if(arguments.length===0){this.Version=0;this.Type=0;this.Flags=0;this.Index=0;this.Addrs=BD.nil;this.raw=AZ.nil;return;}this.Version=Version_;this.Type=Type_;this.Flags=Flags_;this.Index=Index_;this.Addrs=Addrs_;this.raw=raw_;});W=$pkg.InterfaceMulticastAddrMessage=$newType(0,$kindStruct,\"route.InterfaceMulticastAddrMessage\",true,\"vendor/golang_org/x/net/route\",true,function(Version_,Type_,Flags_,Index_,Addrs_,raw_){this.$val=this;if(arguments.length===0){this.Version=0;this.Type=0;this.Flags=0;this.Index=0;this.Addrs=BD.nil;this.raw=AZ.nil;return;}this.Version=Version_;this.Type=Type_;this.Flags=Flags_;this.Index=Index_;this.Addrs=Addrs_;this.raw=raw_;});Y=$pkg.Message=$newType(8,$kindInterface,\"route.Message\",true,\"vendor/golang_org/x/net/route\",true,null);Z=$pkg.Sys=$newType(8,$kindInterface,\"route.Sys\",true,\"vendor/golang_org/x/net/route\",true,null);AA=$pkg.SysType=$newType(4,$kindInt,\"route.SysType\",true,\"vendor/golang_org/x/net/route\",true,null);AH=$pkg.RouteMessage=$newType(0,$kindStruct,\"route.RouteMessage\",true,\"vendor/golang_org/x/net/route\",true,function(Version_,Type_,Flags_,Index_,Addrs_,extOff_,raw_){this.$val=this;if(arguments.length===0){this.Version=0;this.Type=0;this.Flags=0;this.Index=0;this.Addrs=BD.nil;this.extOff=0;this.raw=AZ.nil;return;}this.Version=Version_;this.Type=Type_;this.Flags=Flags_;this.Index=Index_;this.Addrs=Addrs_;this.extOff=extOff_;this.raw=raw_;});AI=$pkg.RIBType=$newType(4,$kindInt,\"route.RIBType\",true,\"vendor/golang_org/x/net/route\",true,null);AQ=$pkg.wireFormat=$newType(0,$kindStruct,\"route.wireFormat\",true,\"vendor/golang_org/x/net/route\",false,function(extOff_,bodyOff_){this.$val=this;if(arguments.length===0){this.extOff=0;this.bodyOff=0;return;}this.extOff=extOff_;this.bodyOff=bodyOff_;});AR=$pkg.RouteMetrics=$newType(0,$kindStruct,\"route.RouteMetrics\",true,\"vendor/golang_org/x/net/route\",true,function(PathMTU_){this.$val=this;if(arguments.length===0){this.PathMTU=0;return;}this.PathMTU=PathMTU_;});AS=$pkg.InterfaceMetrics=$newType(0,$kindStruct,\"route.InterfaceMetrics\",true,\"vendor/golang_org/x/net/route\",true,function(Type_,MTU_){this.$val=this;if(arguments.length===0){this.Type=0;this.MTU=0;return;}this.Type=Type_;this.MTU=MTU_;});AY=$ptrType(F);AZ=$sliceType($Uint8);BA=$arrayType($Uint8,4);BB=$arrayType($Uint8,16);BC=$arrayType(E,8);BD=$sliceType(E);BE=$sliceType(Z);BF=$sliceType(Y);BG=$sliceType($Int32);BH=$ptrType($Uint8);BI=$ptrType($Uintptr);BJ=$ptrType($Uint32);BK=$ptrType(I);BL=$ptrType(J);BM=$ptrType(M);BN=$ptrType(U);BO=$ptrType(V);BP=$ptrType(W);BR=$ptrType(AH);BS=$ptrType(AQ);BT=$ptrType(AR);BU=$ptrType(AS);F.ptr.prototype.Family=function(){var $ptr,a;a=this;return 18;};F.prototype.Family=function(){return this.$val.Family();};G=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.$length<8){$s=-1;return[$ifaceNil,AG];}b=H(18,$subslice(a,4));c=b[1];d=b[2];if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[$ifaceNil,d];}e=AK.Uint16($subslice(a,2,4));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$assertType(c,AY).Index=((e>>0));$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};H=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;c=(((1>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+1])>>0));d=(((2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2])>>0));e=(((3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3])>>0));f=c;g=d;h=e;if(f===255){f=0;}if(g===255){g=0;}if(h===255){h=0;}i=((4+f>>0)+g>>0)+h>>0;if(b.$length<i){return[0,$ifaceNil,AG];}j=$subslice(b,4);k=\"\";l=AZ.nil;if(f>0){k=($bytesToString($subslice(j,0,f)));j=$subslice(j,f);}if(g>0){l=$subslice(j,0,g);j=$subslice(j,g);}return[i,new F.ptr(0,k,l),$ifaceNil];};I.ptr.prototype.Family=function(){var $ptr,a;a=this;return 2;};I.prototype.Family=function(){return this.$val.Family();};J.ptr.prototype.Family=function(){var $ptr,a;a=this;return 30;};J.prototype.Family=function(){return this.$val.Family();};K=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=a;if(c===(2)){$s=2;continue;}if(c===(30)){$s=3;continue;}$s=4;continue;case 2:if(b.$length<16){$s=-1;return[$ifaceNil,AG];}d=new I.ptr(BA.zero());$copySlice(new AZ(d.IP),$subslice(b,4,8));$s=-1;return[d,$ifaceNil];case 3:if(b.$length<28){$s=-1;return[$ifaceNil,AG];}e=AK.Uint32($subslice(b,24,28));$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=new J.ptr(BB.zero(),((e>>0)));$copySlice(new AZ(f.IP),$subslice(b,8,24));if((f.IP[0]===254)&&(((f.IP[1]&192)>>>0)===128)||(f.IP[0]===255)&&((((f.IP[1]&15)>>>0)===1)||(((f.IP[1]&15)>>>0)===2))){g=(($clone(Q,T).Uint16($subslice(new AZ(f.IP),2,4))>>0));if(!((g===0))){f.ZoneID=g;h=0;i=0;f.IP[2]=h;f.IP[3]=i;}}$s=-1;return[f,$ifaceNil];case 4:$s=-1;return[$ifaceNil,AG];case 5:case 1:$s=-1;return[$ifaceNil,$ifaceNil];}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};L=function(a,b){var $ptr,a,b,c,d,e,f,g;c=(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])>>0));if(true){if((c===0)||b.$length>AO(c)){c=AO(c);}}else{c=AO(c);}if(b.$length<c){return[0,$ifaceNil,AG];}if(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])===28)){d=new J.ptr(BB.zero(),0);$copySlice(new AZ(d.IP),$subslice(b,8,24));return[(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])>>0)),d,$ifaceNil];}else if((a===30)){e=new J.ptr(BB.zero(),0);if((c-1>>0)<8){$copySlice(new AZ(e.IP),$subslice(b,1,c));}else{$copySlice(new AZ(e.IP),$subslice(b,(c-8>>0),c));}return[(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])>>0)),e,$ifaceNil];}else if(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])===16)){f=new I.ptr(BA.zero());$copySlice(new AZ(f.IP),$subslice(b,4,8));return[(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])>>0)),f,$ifaceNil];}else{g=new I.ptr(BA.zero());if((c-1>>0)<4){$copySlice(new AZ(g.IP),$subslice(b,1,c));}else{$copySlice(new AZ(g.IP),$subslice(b,(c-4>>0),c));}return[(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])>>0)),g,$ifaceNil];}};M.ptr.prototype.Family=function(){var $ptr,a;a=this;return a.af;};M.prototype.Family=function(){return this.$val.Family();};N=function(a){var $ptr,a,b;if(a.$length<2||a.$length<(((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))){return[$ifaceNil,AG];}b=new M.ptr((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0)),$subslice(a,0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])));return[b,$ifaceNil];};O=function(a,b,c){var $ptr,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=BC.zero();e=0;f=0;case 1:if(!(f<8&&c.$length>=AO(0))){$s=2;continue;}if(((a&(((g=f,g<32?(1<<g):0)>>>0)))>>>0)===0){$s=3;continue;}$s=4;continue;case 3:f=f+(1)>>>0;$s=1;continue;case 4:if(f<=7){$s=5;continue;}$s=6;continue;case 5:h=(1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1]);if(h===(18)){$s=9;continue;}if((h===(2))||(h===(30))){$s=10;continue;}$s=11;continue;case 9:j=G(c);$s=13;case 13:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[BD.nil,l];}((f<0||f>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[f]=k);m=AO((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])>>0)));if(c.$length<m){$s=-1;return[BD.nil,AE];}c=$subslice(c,m);$s=12;continue;case 10:e=(((1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1])>>0));o=K(e,c);$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];if(!($interfaceIsEqual(q,$ifaceNil))){$s=-1;return[BD.nil,q];}((f<0||f>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[f]=p);r=AO((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])>>0)));if(c.$length<r){$s=-1;return[BD.nil,AE];}c=$subslice(c,r);$s=12;continue;case 11:t=b(e,c);$s=15;case 15:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];w=s[2];if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return[BD.nil,w];}((f<0||f>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[f]=v);x=AO(u);if(c.$length<x){c=$subslice(c,u);}else{c=$subslice(c,x);}case 12:case 8:$s=7;continue;case 6:y=N(c);z=y[0];aa=y[1];if(!($interfaceIsEqual(aa,$ifaceNil))){$s=-1;return[BD.nil,aa];}((f<0||f>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[f]=z);ab=AO((((0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])>>0)));if(c.$length<ab){$s=-1;return[BD.nil,AE];}c=$subslice(c,ab);case 7:f=f+(1)>>>0;$s=1;continue;case 2:$s=-1;return[new BD(d),$ifaceNil];}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};S.ptr.prototype.Uint16=function(a){var $ptr,a;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));return((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))|((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16))<<8<<16>>>16))>>>0;};S.prototype.Uint16=function(a){return this.$val.Uint16(a);};S.ptr.prototype.PutUint16=function(a,b){var $ptr,a,b;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((b>>>8<<16>>>16)<<24>>>24)));};S.prototype.PutUint16=function(a,b){return this.$val.PutUint16(a,b);};S.ptr.prototype.Uint32=function(a){var $ptr,a;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));return((((((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>>0))|((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>>0))<<8>>>0))>>>0)|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>>0))<<16>>>0))>>>0)|((((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>>0))<<24>>>0))>>>0;};S.prototype.Uint32=function(a){return this.$val.Uint32(a);};S.ptr.prototype.PutUint32=function(a,b){var $ptr,a,b;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((b>>>8>>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((b>>>16>>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=(((b>>>24>>>0)<<24>>>24)));};S.prototype.PutUint32=function(a,b){return this.$val.PutUint32(a,b);};S.ptr.prototype.Uint64=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;$unused((7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]));return(b=(c=(d=(e=(f=(g=(h=(new $Uint64(0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]))),i=$shiftLeft64((new $Uint64(0,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]))),8),new $Uint64(h.$high|i.$high,(h.$low|i.$low)>>>0)),j=$shiftLeft64((new $Uint64(0,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))),16),new $Uint64(g.$high|j.$high,(g.$low|j.$low)>>>0)),k=$shiftLeft64((new $Uint64(0,(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]))),24),new $Uint64(f.$high|k.$high,(f.$low|k.$low)>>>0)),l=$shiftLeft64((new $Uint64(0,(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]))),32),new $Uint64(e.$high|l.$high,(e.$low|l.$low)>>>0)),m=$shiftLeft64((new $Uint64(0,(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]))),40),new $Uint64(d.$high|m.$high,(d.$low|m.$low)>>>0)),n=$shiftLeft64((new $Uint64(0,(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]))),48),new $Uint64(c.$high|n.$high,(c.$low|n.$low)>>>0)),o=$shiftLeft64((new $Uint64(0,(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]))),56),new $Uint64(b.$high|o.$high,(b.$low|o.$low)>>>0));};S.prototype.Uint64=function(a){return this.$val.Uint64(a);};T.ptr.prototype.Uint16=function(a){var $ptr,a;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));return((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16))|((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16))>>>0;};T.prototype.Uint16=function(a){return this.$val.Uint16(a);};T.ptr.prototype.PutUint16=function(a,b){var $ptr,a,b;$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=(((b>>>8<<16>>>16)<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((b<<24>>>24)));};T.prototype.PutUint16=function(a,b){return this.$val.PutUint16(a,b);};T.ptr.prototype.Uint32=function(a){var $ptr,a;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));return((((((((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>>0))|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>>0))<<8>>>0))>>>0)|((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>>0))<<16>>>0))>>>0)|((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>>0))<<24>>>0))>>>0;};T.prototype.Uint32=function(a){return this.$val.Uint32(a);};T.ptr.prototype.PutUint32=function(a,b){var $ptr,a,b;$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=(((b>>>24>>>0)<<24>>>24)));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((b>>>16>>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((b>>>8>>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((b<<24>>>24)));};T.prototype.PutUint32=function(a,b){return this.$val.PutUint32(a,b);};T.ptr.prototype.Uint64=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;$unused((7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]));return(b=(c=(d=(e=(f=(g=(h=(new $Uint64(0,(7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7]))),i=$shiftLeft64((new $Uint64(0,(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]))),8),new $Uint64(h.$high|i.$high,(h.$low|i.$low)>>>0)),j=$shiftLeft64((new $Uint64(0,(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]))),16),new $Uint64(g.$high|j.$high,(g.$low|j.$low)>>>0)),k=$shiftLeft64((new $Uint64(0,(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]))),24),new $Uint64(f.$high|k.$high,(f.$low|k.$low)>>>0)),l=$shiftLeft64((new $Uint64(0,(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]))),32),new $Uint64(e.$high|l.$high,(e.$low|l.$low)>>>0)),m=$shiftLeft64((new $Uint64(0,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))),40),new $Uint64(d.$high|m.$high,(d.$low|m.$low)>>>0)),n=$shiftLeft64((new $Uint64(0,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]))),48),new $Uint64(c.$high|n.$high,(c.$low|n.$low)>>>0)),o=$shiftLeft64((new $Uint64(0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]))),56),new $Uint64(b.$high|o.$high,(b.$low|o.$low)>>>0));};T.prototype.Uint64=function(a){return this.$val.Uint64(a);};V.ptr.prototype.Sys=function(){var $ptr,a;a=this;return BE.nil;};V.prototype.Sys=function(){return this.$val.Sys();};W.ptr.prototype.Sys=function(){var $ptr,a;a=this;return BE.nil;};W.prototype.Sys=function(){return this.$val.Sys();};AQ.ptr.prototype.parseInterfaceMessage=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b.$length<c.bodyOff){$s=-1;return[$ifaceNil,AE];}d=AK.Uint16($subslice(b,0,2));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=((d>>0));if(b.$length<e){$s=-1;return[$ifaceNil,AF];}f=AK.Uint32($subslice(b,4,8));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=((f>>>0));if(((g&16)>>>0)===0){$s=-1;return[$ifaceNil,$ifaceNil];}h=AK.Uint32($subslice(b,8,12));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=AK.Uint16($subslice(b,12,14));$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new U.ptr((((2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2])>>0)),(((3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3])>>0)),((h>>0)),((i>>0)),\"\",$makeSlice(BD,8),c.extOff,$subslice(b,0,e));l=G($subslice(b,c.bodyOff));$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return[$ifaceNil,n];}(o=j.Addrs,(4>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+4]=m));j.Name=$assertType(m,AY).Name;$s=-1;return[j,$ifaceNil];}return;}if($f===undefined){$f={$blk:AQ.ptr.prototype.parseInterfaceMessage};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AQ.prototype.parseInterfaceMessage=function(a,b){return this.$val.parseInterfaceMessage(a,b);};AQ.ptr.prototype.parseInterfaceAddrMessage=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b.$length<c.bodyOff){$s=-1;return[$ifaceNil,AE];}d=AK.Uint16($subslice(b,0,2));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=((d>>0));if(b.$length<e){$s=-1;return[$ifaceNil,AF];}f=AK.Uint32($subslice(b,8,12));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=new V.ptr((((2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2])>>0)),(((3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3])>>0)),((f>>0)),0,BD.nil,$subslice(b,0,e));if(false){$s=3;continue;}$s=4;continue;case 3:h=AK.Uint16($subslice(b,16,18));$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g.Index=((h>>0));$s=5;continue;case 4:i=AK.Uint16($subslice(b,12,14));$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g.Index=((i>>0));case 5:j=$ifaceNil;l=AK.Uint32($subslice(b,4,8));$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=O(((l>>>0)),L,$subslice(b,c.bodyOff));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}k=m;g.Addrs=k[0];j=k[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[$ifaceNil,j];}$s=-1;return[g,$ifaceNil];}return;}if($f===undefined){$f={$blk:AQ.ptr.prototype.parseInterfaceAddrMessage};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};AQ.prototype.parseInterfaceAddrMessage=function(a,b){return this.$val.parseInterfaceAddrMessage(a,b);};AQ.ptr.prototype.parseInterfaceMulticastAddrMessage=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b.$length<c.bodyOff){$s=-1;return[$ifaceNil,AE];}d=AK.Uint16($subslice(b,0,2));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=((d>>0));if(b.$length<e){$s=-1;return[$ifaceNil,AF];}f=AK.Uint32($subslice(b,8,12));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=AK.Uint16($subslice(b,12,14));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new W.ptr((((2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2])>>0)),(((3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3])>>0)),((f>>0)),((g>>0)),BD.nil,$subslice(b,0,e));i=$ifaceNil;k=AK.Uint32($subslice(b,4,8));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=O(((k>>>0)),L,$subslice(b,c.bodyOff));$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=l;h.Addrs=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[$ifaceNil,i];}$s=-1;return[h,$ifaceNil];}return;}if($f===undefined){$f={$blk:AQ.ptr.prototype.parseInterfaceMulticastAddrMessage};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AQ.prototype.parseInterfaceMulticastAddrMessage=function(a,b){return this.$val.parseInterfaceMulticastAddrMessage(a,b);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!new AI(a).parseable()){$s=-1;return[BF.nil,AC];}c=BF.nil;d=0;e=0;f=d;g=e;case 1:if(!(b.$length>4)){$s=2;continue;}f=f+(1)>>0;h=AK.Uint16($subslice(b,0,2));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=((h>>0));if(i===0){$s=-1;return[BF.nil,AF];}if(b.$length<i){$s=-1;return[BF.nil,AE];}if(!(((2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2])===5))){$s=4;continue;}$s=5;continue;case 4:b=$subslice(b,i);$s=1;continue;case 5:j=(((3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3])>>0));k=(l=AM[$Int.keyFor(j)],l!==undefined?[l.v,true]:[$throwNilPointerError,false]);m=k[0];n=k[1];if(!n){$s=6;continue;}$s=7;continue;case 6:g=g+(1)>>0;$s=8;continue;case 7:p=m(a,b);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];r=o[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return[BF.nil,r];}if($interfaceIsEqual(q,$ifaceNil)){g=g+(1)>>0;}else{c=$append(c,q);}case 8:b=$subslice(b,i);$s=1;continue;case 2:if(!((f===(c.$length+g>>0)))){$s=-1;return[BF.nil,AD];}$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:AB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ParseRIB=AB;AJ=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=$toNativeArray($kindInt32,[4,17,0,((a>>0)),((b>>0)),((c>>0))]);e=0;g=AW(new BG(d),BH.nil,(f||(f=new BI(function(){return e;},function($v){e=$v;}))),BH.nil,0);if(!($interfaceIsEqual(g,$ifaceNil))){return[AZ.nil,C.NewSyscallError(\"sysctl\",g)];}if(e===0){return[AZ.nil,$ifaceNil];}h=$makeSlice(AZ,e);i=AW(new BG(d),$indexPtr(h.$array,h.$offset+0,BH),(f||(f=new BI(function(){return e;},function($v){e=$v;}))),BH.nil,0);if(!($interfaceIsEqual(i,$ifaceNil))){return[AZ.nil,C.NewSyscallError(\"sysctl\",i)];}return[$subslice(h,0,e),$ifaceNil];};$pkg.FetchRIB=AJ;AQ.ptr.prototype.parseRouteMessage=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b.$length<c.bodyOff){$s=-1;return[$ifaceNil,AE];}d=AK.Uint16($subslice(b,0,2));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=((d>>0));if(b.$length<e){$s=-1;return[$ifaceNil,AF];}f=AK.Uint32($subslice(b,8,12));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=AK.Uint16($subslice(b,4,6));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new AH.ptr((((2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2])>>0)),(((3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3])>>0)),((f>>0)),((g>>0)),BD.nil,c.extOff,$subslice(b,0,e));i=$ifaceNil;k=AK.Uint32($subslice(b,12,16));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=O(((k>>>0)),L,$subslice(b,c.bodyOff));$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=l;h.Addrs=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[$ifaceNil,i];}$s=-1;return[h,$ifaceNil];}return;}if($f===undefined){$f={$blk:AQ.ptr.prototype.parseRouteMessage};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AQ.prototype.parseRouteMessage=function(a,b){return this.$val.parseRouteMessage(a,b);};AN=function(){var $ptr,a,b,c,d;a=1;c=(((b||(b=new BJ(function(){return a;},function($v){a=$v;})))));if((c.nilCheck,c[0])===1){AK=new P.constructor.elem(P);}else{AK=new Q.constructor.elem(Q);}d=AT();AL=d[0];AM=d[1];};AO=function(a){var $ptr,a;if(a===0){return AL;}return(((a+AL>>0)-1>>0))&(~((AL-1>>0))>>0);};AI.prototype.parseable=function(){var $ptr,a,b;a=this.$val;b=a;if((b===(4))||(b===(5))){return false;}else{return true;}};$ptrType(AI).prototype.parseable=function(){return new AI(this.$get()).parseable();};AR.ptr.prototype.SysType=function(){var $ptr,a;a=this;return 0;};AR.prototype.SysType=function(){return this.$val.SysType();};AH.ptr.prototype.Sys=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=AK.Uint32($subslice(a.raw,(a.extOff+4>>0),(a.extOff+8>>0)));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return new BE([new AR.ptr(((b>>0)))]);}return;}if($f===undefined){$f={$blk:AH.ptr.prototype.Sys};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AH.prototype.Sys=function(){return this.$val.Sys();};AS.ptr.prototype.SysType=function(){var $ptr,a;a=this;return 0;};AS.prototype.SysType=function(){return this.$val.SysType();};U.ptr.prototype.Sys=function(){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;d=AK.Uint32($subslice(a.raw,(a.extOff+8>>0),(a.extOff+12>>0)));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return new BE([new AS.ptr((((b=a.raw,c=a.extOff,((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]))>>0)),((d>>0)))]);}return;}if($f===undefined){$f={$blk:U.ptr.prototype.Sys};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};U.prototype.Sys=function(){return this.$val.Sys();};AT=function(){var $ptr,a,b,c,d,e,f,g;a=new AQ.ptr(36,92);b=new AQ.ptr(36,92);c=new AQ.ptr(16,112);d=new AQ.ptr(32,160);e=new AQ.ptr(20,20);f=new AQ.ptr(16,16);g=new AQ.ptr(20,20);return[4,$makeMap($Int.keyFor,[{k:1,v:$methodVal(a,\"parseRouteMessage\")},{k:2,v:$methodVal(a,\"parseRouteMessage\")},{k:3,v:$methodVal(a,\"parseRouteMessage\")},{k:4,v:$methodVal(a,\"parseRouteMessage\")},{k:5,v:$methodVal(a,\"parseRouteMessage\")},{k:6,v:$methodVal(a,\"parseRouteMessage\")},{k:7,v:$methodVal(a,\"parseRouteMessage\")},{k:8,v:$methodVal(a,\"parseRouteMessage\")},{k:11,v:$methodVal(a,\"parseRouteMessage\")},{k:12,v:$methodVal(e,\"parseInterfaceAddrMessage\")},{k:13,v:$methodVal(e,\"parseInterfaceAddrMessage\")},{k:14,v:$methodVal(c,\"parseInterfaceMessage\")},{k:15,v:$methodVal(f,\"parseInterfaceMulticastAddrMessage\")},{k:16,v:$methodVal(f,\"parseInterfaceMulticastAddrMessage\")},{k:18,v:$methodVal(d,\"parseInterfaceMessage\")},{k:19,v:$methodVal(g,\"parseInterfaceMulticastAddrMessage\")},{k:20,v:$methodVal(b,\"parseRouteMessage\")}])];};AU=function(){$throwRuntimeError(\"native function not implemented: vendor/golang_org/x/net/route.keepAlive\");};AW=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;f=0;if(a.$length>0){f=($sliceToArray(a));}else{f=((AX||(AX=new BI(function(){return AV;},function($v){AV=$v;}))));}g=D.Syscall6(202,(f),((a.$length>>>0)),((b)),((c)),((d)),(e));h=g[2];AU(f);if(!((h===0))){return(new D.Errno(h));}return $ifaceNil;};AY.methods=[{prop:\"Family\",name:\"Family\",pkg:\"\",typ:$funcType([],[$Int],false)}];BK.methods=[{prop:\"Family\",name:\"Family\",pkg:\"\",typ:$funcType([],[$Int],false)}];BL.methods=[{prop:\"Family\",name:\"Family\",pkg:\"\",typ:$funcType([],[$Int],false)}];BM.methods=[{prop:\"Family\",name:\"Family\",pkg:\"\",typ:$funcType([],[$Int],false)}];S.methods=[{prop:\"Uint16\",name:\"Uint16\",pkg:\"\",typ:$funcType([AZ],[$Uint16],false)},{prop:\"PutUint16\",name:\"PutUint16\",pkg:\"\",typ:$funcType([AZ,$Uint16],[],false)},{prop:\"Uint32\",name:\"Uint32\",pkg:\"\",typ:$funcType([AZ],[$Uint32],false)},{prop:\"PutUint32\",name:\"PutUint32\",pkg:\"\",typ:$funcType([AZ,$Uint32],[],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([AZ],[$Uint64],false)}];T.methods=[{prop:\"Uint16\",name:\"Uint16\",pkg:\"\",typ:$funcType([AZ],[$Uint16],false)},{prop:\"PutUint16\",name:\"PutUint16\",pkg:\"\",typ:$funcType([AZ,$Uint16],[],false)},{prop:\"Uint32\",name:\"Uint32\",pkg:\"\",typ:$funcType([AZ],[$Uint32],false)},{prop:\"PutUint32\",name:\"PutUint32\",pkg:\"\",typ:$funcType([AZ,$Uint32],[],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([AZ],[$Uint64],false)}];BN.methods=[{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[BE],false)}];BO.methods=[{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[BE],false)}];BP.methods=[{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[BE],false)}];BR.methods=[{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[BE],false)}];AI.methods=[{prop:\"parseable\",name:\"parseable\",pkg:\"vendor/golang_org/x/net/route\",typ:$funcType([],[$Bool],false)}];BS.methods=[{prop:\"parseInterfaceMessage\",name:\"parseInterfaceMessage\",pkg:\"vendor/golang_org/x/net/route\",typ:$funcType([AI,AZ],[Y,$error],false)},{prop:\"parseInterfaceAddrMessage\",name:\"parseInterfaceAddrMessage\",pkg:\"vendor/golang_org/x/net/route\",typ:$funcType([AI,AZ],[Y,$error],false)},{prop:\"parseInterfaceMulticastAddrMessage\",name:\"parseInterfaceMulticastAddrMessage\",pkg:\"vendor/golang_org/x/net/route\",typ:$funcType([AI,AZ],[Y,$error],false)},{prop:\"parseRouteMessage\",name:\"parseRouteMessage\",pkg:\"vendor/golang_org/x/net/route\",typ:$funcType([AI,AZ],[Y,$error],false)}];BT.methods=[{prop:\"SysType\",name:\"SysType\",pkg:\"\",typ:$funcType([],[AA],false)}];BU.methods=[{prop:\"SysType\",name:\"SysType\",pkg:\"\",typ:$funcType([],[AA],false)}];E.init([{prop:\"Family\",name:\"Family\",pkg:\"\",typ:$funcType([],[$Int],false)}]);F.init(\"\",[{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"},{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Addr\",name:\"Addr\",exported:true,typ:AZ,tag:\"\"}]);I.init(\"\",[{prop:\"IP\",name:\"IP\",exported:true,typ:BA,tag:\"\"}]);J.init(\"\",[{prop:\"IP\",name:\"IP\",exported:true,typ:BB,tag:\"\"},{prop:\"ZoneID\",name:\"ZoneID\",exported:true,typ:$Int,tag:\"\"}]);M.init(\"vendor/golang_org/x/net/route\",[{prop:\"af\",name:\"af\",exported:false,typ:$Int,tag:\"\"},{prop:\"Raw\",name:\"Raw\",exported:true,typ:AZ,tag:\"\"}]);S.init(\"\",[]);T.init(\"\",[]);U.init(\"vendor/golang_org/x/net/route\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:$Int,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Int,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"},{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Addrs\",name:\"Addrs\",exported:true,typ:BD,tag:\"\"},{prop:\"extOff\",name:\"extOff\",exported:false,typ:$Int,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:AZ,tag:\"\"}]);V.init(\"vendor/golang_org/x/net/route\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:$Int,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Int,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"},{prop:\"Addrs\",name:\"Addrs\",exported:true,typ:BD,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:AZ,tag:\"\"}]);W.init(\"vendor/golang_org/x/net/route\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:$Int,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Int,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"},{prop:\"Addrs\",name:\"Addrs\",exported:true,typ:BD,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:AZ,tag:\"\"}]);Y.init([{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[BE],false)}]);Z.init([{prop:\"SysType\",name:\"SysType\",pkg:\"\",typ:$funcType([],[AA],false)}]);AH.init(\"vendor/golang_org/x/net/route\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:$Int,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Int,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"},{prop:\"Addrs\",name:\"Addrs\",exported:true,typ:BD,tag:\"\"},{prop:\"extOff\",name:\"extOff\",exported:false,typ:$Int,tag:\"\"},{prop:\"raw\",name:\"raw\",exported:false,typ:AZ,tag:\"\"}]);AQ.init(\"vendor/golang_org/x/net/route\",[{prop:\"extOff\",name:\"extOff\",exported:false,typ:$Int,tag:\"\"},{prop:\"bodyOff\",name:\"bodyOff\",exported:false,typ:$Int,tag:\"\"}]);AR.init(\"\",[{prop:\"PathMTU\",name:\"PathMTU\",exported:true,typ:$Int,tag:\"\"}]);AS.init(\"\",[{prop:\"Type\",name:\"Type\",exported:true,typ:$Int,tag:\"\"},{prop:\"MTU\",name:\"MTU\",exported:true,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}P=new S.ptr();Q=new T.ptr();AK=$ifaceNil;AL=0;AM=false;AV=0;AC=B.New(\"unsupported message\");AD=B.New(\"message mismatch\");AE=B.New(\"message too short\");AF=B.New(\"invalid message\");AG=B.New(\"invalid address\");AN();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"net\"]=(function(){var $pkg={},$init,E,A,C,I,O,L,K,F,G,D,H,M,B,J,N,Z,AB,AC,AD,AG,AI,AS,BA,BG,BQ,BR,BS,BT,BU,BX,CD,CH,CS,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DT,DU,DV,EH,EL,FV,FW,GD,GM,GN,GO,HH,HJ,HU,IK,JA,JF,JG,JH,JK,JL,JS,JW,JX,JY,JZ,KA,KB,KF,KG,KL,KN,KO,KP,KQ,KU,ME,MZ,NB,NE,NO,NQ,OB,OD,PN,PY,OR,OS,OU,OV,OW,OX,OY,OZ,PA,PB,PC,PD,PE,PF,PG,PH,PI,PJ,PK,PL,PM,PO,PP,PQ,PR,PS,PT,PU,PV,PW,PX,PZ,QA,QB,QC,QD,QE,QF,QG,QH,QI,QJ,QK,QL,QM,QN,QO,QP,QQ,QR,QS,QT,QU,QV,QW,QX,QY,QZ,RA,RB,RC,RD,RE,RF,RG,RH,RI,RJ,RK,RL,RM,RN,RO,RP,RQ,RR,RS,RT,RU,RV,RW,RX,RY,RZ,SA,SB,SD,SE,SF,SG,SH,SI,SJ,SK,SL,SM,SN,SO,SP,SQ,SR,SS,ST,SU,SV,SW,SX,SY,TA,AE,AT,AU,BW,CE,CI,CQ,CR,DL,EI,EN,OT,EZ,FA,FB,FC,FE,FF,FG,FH,FI,FJ,FK,FM,FQ,FR,FS,FT,FU,FX,GE,GQ,GU,GV,GW,HR,HS,HT,IG,IH,IN,IX,JC,JD,JJ,JM,JN,JO,JP,JQ,JT,JU,KE,KI,KM,MA,g,h,i,j,k,l,m,n,o,P,Q,R,S,T,V,W,X,Y,AA,AF,AH,AJ,AK,AL,AN,AO,AP,AQ,AR,AV,AW,AX,AY,AZ,BB,BC,BD,BH,BI,BJ,BL,BM,BN,BO,BP,BY,BZ,CA,CB,CC,CF,CG,CK,CL,CM,CN,CO,CP,CT,CU,CV,CW,DM,DN,DO,DP,DQ,DR,DS,DW,DX,DY,DZ,EA,EB,EC,EE,EF,EG,EJ,EK,EM,EO,EP,FL,FN,FO,FP,GF,GG,GH,GI,GJ,GK,GL,GP,GR,GS,GT,GX,GY,GZ,HA,HB,HC,HD,HE,HF,HG,HK,HN,HO,HP,HV,HW,HX,HY,HZ,IA,IB,IC,ID,IE,IF,II,IJ,IO,IP,IY,IZ,JE,JR,KH,KR,KS,KT,KV,KW,KX,KY,KZ,LA,LB,LD,LE,LF,LG,LH,LI,LJ,LK,LL,LM,LN,LO,LP,LQ,LR,LS,LT,LU,LV,LZ,MB,MC,MD,MF,MG,MH,MI,MJ,MN,MO,MP,MQ,MX,MY,NC,NG,NH,NI,NJ,NK,NM,NN,NR,NS,NV,NW,OC,OE,OJ,OK,OL,OM,ON,OO;E=$packages[\"context\"];A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];I=$packages[\"internal/nettrace\"];O=$packages[\"internal/singleflight\"];L=$packages[\"io\"];K=$packages[\"math/rand\"];F=$packages[\"os\"];G=$packages[\"runtime\"];D=$packages[\"sort\"];H=$packages[\"sync\"];M=$packages[\"sync/atomic\"];B=$packages[\"syscall\"];J=$packages[\"time\"];N=$packages[\"vendor/golang_org/x/net/route\"];Z=$pkg.ipAttr=$newType(0,$kindStruct,\"net.ipAttr\",true,\"net\",false,function(Scope_,Precedence_,Label_){this.$val=this;if(arguments.length===0){this.Scope=0;this.Precedence=0;this.Label=0;return;}this.Scope=Scope_;this.Precedence=Precedence_;this.Label=Label_;});AB=$pkg.byRFC6724=$newType(0,$kindStruct,\"net.byRFC6724\",true,\"net\",false,function(addrs_,addrAttr_,srcs_,srcAttr_){this.$val=this;if(arguments.length===0){this.addrs=PF.nil;this.addrAttr=PE.nil;this.srcs=PG.nil;this.srcAttr=PE.nil;return;}this.addrs=addrs_;this.addrAttr=addrAttr_;this.srcs=srcs_;this.srcAttr=srcAttr_;});AC=$pkg.policyTableEntry=$newType(0,$kindStruct,\"net.policyTableEntry\",true,\"net\",false,function(Prefix_,Precedence_,Label_){this.$val=this;if(arguments.length===0){this.Prefix=PD.nil;this.Precedence=0;this.Label=0;return;}this.Prefix=Prefix_;this.Precedence=Precedence_;this.Label=Label_;});AD=$pkg.policyTable=$newType(12,$kindSlice,\"net.policyTable\",true,\"net\",false,null);AG=$pkg.byMaskLength=$newType(12,$kindSlice,\"net.byMaskLength\",true,\"net\",false,null);AI=$pkg.scope=$newType(1,$kindUint8,\"net.scope\",true,\"net\",false,null);AS=$pkg.conf=$newType(0,$kindStruct,\"net.conf\",true,\"net\",false,function(forceCgoLookupHost_,netGo_,netCgo_,hasMDNSAllow_,goos_,dnsDebugLevel_,nss_,resolv_){this.$val=this;if(arguments.length===0){this.forceCgoLookupHost=false;this.netGo=false;this.netCgo=false;this.hasMDNSAllow=false;this.goos=\"\";this.dnsDebugLevel=0;this.nss=OX.nil;this.resolv=OS.nil;return;}this.forceCgoLookupHost=forceCgoLookupHost_;this.netGo=netGo_;this.netCgo=netCgo_;this.hasMDNSAllow=hasMDNSAllow_;this.goos=goos_;this.dnsDebugLevel=dnsDebugLevel_;this.nss=nss_;this.resolv=resolv_;});BA=$pkg.Dialer=$newType(0,$kindStruct,\"net.Dialer\",true,\"net\",true,function(Timeout_,Deadline_,LocalAddr_,DualStack_,FallbackDelay_,KeepAlive_,Resolver_,Cancel_){this.$val=this;if(arguments.length===0){this.Timeout=new J.Duration(0,0);this.Deadline=new J.Time.ptr(new $Int64(0,0),0,OR.nil);this.LocalAddr=$ifaceNil;this.DualStack=false;this.FallbackDelay=new J.Duration(0,0);this.KeepAlive=new J.Duration(0,0);this.Resolver=OY.nil;this.Cancel=$chanNil;return;}this.Timeout=Timeout_;this.Deadline=Deadline_;this.LocalAddr=LocalAddr_;this.DualStack=DualStack_;this.FallbackDelay=FallbackDelay_;this.KeepAlive=KeepAlive_;this.Resolver=Resolver_;this.Cancel=Cancel_;});BG=$pkg.dialParam=$newType(0,$kindStruct,\"net.dialParam\",true,\"net\",false,function(Dialer_,network_,address_){this.$val=this;if(arguments.length===0){this.Dialer=new BA.ptr(new J.Duration(0,0),new J.Time.ptr(new $Int64(0,0),0,OR.nil),$ifaceNil,false,new J.Duration(0,0),new J.Duration(0,0),OY.nil,$chanNil);this.network=\"\";this.address=\"\";return;}this.Dialer=Dialer_;this.network=network_;this.address=address_;});BQ=$pkg.SRV=$newType(0,$kindStruct,\"net.SRV\",true,\"net\",true,function(Target_,Port_,Priority_,Weight_){this.$val=this;if(arguments.length===0){this.Target=\"\";this.Port=0;this.Priority=0;this.Weight=0;return;}this.Target=Target_;this.Port=Port_;this.Priority=Priority_;this.Weight=Weight_;});BR=$pkg.byPriorityWeight=$newType(12,$kindSlice,\"net.byPriorityWeight\",true,\"net\",false,null);BS=$pkg.MX=$newType(0,$kindStruct,\"net.MX\",true,\"net\",true,function(Host_,Pref_){this.$val=this;if(arguments.length===0){this.Host=\"\";this.Pref=0;return;}this.Host=Host_;this.Pref=Pref_;});BT=$pkg.byPref=$newType(12,$kindSlice,\"net.byPref\",true,\"net\",false,null);BU=$pkg.NS=$newType(0,$kindStruct,\"net.NS\",true,\"net\",true,function(Host_){this.$val=this;if(arguments.length===0){this.Host=\"\";return;}this.Host=Host_;});BX=$pkg.dnsConn=$newType(8,$kindInterface,\"net.dnsConn\",true,\"net\",false,null);CD=$pkg.resolverConfig=$newType(0,$kindStruct,\"net.resolverConfig\",true,\"net\",false,function(initOnce_,ch_,lastChecked_,mu_,dnsConfig_){this.$val=this;if(arguments.length===0){this.initOnce=new H.Once.ptr(new H.Mutex.ptr(0,0),0);this.ch=$chanNil;this.lastChecked=new J.Time.ptr(new $Int64(0,0),0,OR.nil);this.mu=new H.RWMutex.ptr(new H.Mutex.ptr(0,0),0,0,0,0);this.dnsConfig=OS.nil;return;}this.initOnce=initOnce_;this.ch=ch_;this.lastChecked=lastChecked_;this.mu=mu_;this.dnsConfig=dnsConfig_;});CH=$pkg.hostLookupOrder=$newType(4,$kindInt,\"net.hostLookupOrder\",true,\"net\",false,null);CS=$pkg.dnsConfig=$newType(0,$kindStruct,\"net.dnsConfig\",true,\"net\",false,function(servers_,search_,ndots_,timeout_,attempts_,rotate_,unknownOpt_,lookup_,err_,mtime_,soffset_){this.$val=this;if(arguments.length===0){this.servers=OU.nil;this.search=OU.nil;this.ndots=0;this.timeout=new J.Duration(0,0);this.attempts=0;this.rotate=false;this.unknownOpt=false;this.lookup=OU.nil;this.err=$ifaceNil;this.mtime=new J.Time.ptr(new $Int64(0,0),0,OR.nil);this.soffset=0;return;}this.servers=servers_;this.search=search_;this.ndots=ndots_;this.timeout=timeout_;this.attempts=attempts_;this.rotate=rotate_;this.unknownOpt=unknownOpt_;this.lookup=lookup_;this.err=err_;this.mtime=mtime_;this.soffset=soffset_;});CY=$pkg.dnsHeader=$newType(0,$kindStruct,\"net.dnsHeader\",true,\"net\",false,function(Id_,Bits_,Qdcount_,Ancount_,Nscount_,Arcount_){this.$val=this;if(arguments.length===0){this.Id=0;this.Bits=0;this.Qdcount=0;this.Ancount=0;this.Nscount=0;this.Arcount=0;return;}this.Id=Id_;this.Bits=Bits_;this.Qdcount=Qdcount_;this.Ancount=Ancount_;this.Nscount=Nscount_;this.Arcount=Arcount_;});CZ=$pkg.dnsQuestion=$newType(0,$kindStruct,\"net.dnsQuestion\",true,\"net\",false,function(Name_,Qtype_,Qclass_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.Qtype=0;this.Qclass=0;return;}this.Name=Name_;this.Qtype=Qtype_;this.Qclass=Qclass_;});DA=$pkg.dnsRR_Header=$newType(0,$kindStruct,\"net.dnsRR_Header\",true,\"net\",false,function(Name_,Rrtype_,Class_,Ttl_,Rdlength_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.Rrtype=0;this.Class=0;this.Ttl=0;this.Rdlength=0;return;}this.Name=Name_;this.Rrtype=Rrtype_;this.Class=Class_;this.Ttl=Ttl_;this.Rdlength=Rdlength_;});DB=$pkg.dnsRR=$newType(8,$kindInterface,\"net.dnsRR\",true,\"net\",false,null);DC=$pkg.dnsRR_CNAME=$newType(0,$kindStruct,\"net.dnsRR_CNAME\",true,\"net\",false,function(Hdr_,Cname_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.Cname=\"\";return;}this.Hdr=Hdr_;this.Cname=Cname_;});DD=$pkg.dnsRR_MX=$newType(0,$kindStruct,\"net.dnsRR_MX\",true,\"net\",false,function(Hdr_,Pref_,Mx_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.Pref=0;this.Mx=\"\";return;}this.Hdr=Hdr_;this.Pref=Pref_;this.Mx=Mx_;});DE=$pkg.dnsRR_NS=$newType(0,$kindStruct,\"net.dnsRR_NS\",true,\"net\",false,function(Hdr_,Ns_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.Ns=\"\";return;}this.Hdr=Hdr_;this.Ns=Ns_;});DF=$pkg.dnsRR_PTR=$newType(0,$kindStruct,\"net.dnsRR_PTR\",true,\"net\",false,function(Hdr_,Ptr_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.Ptr=\"\";return;}this.Hdr=Hdr_;this.Ptr=Ptr_;});DG=$pkg.dnsRR_SOA=$newType(0,$kindStruct,\"net.dnsRR_SOA\",true,\"net\",false,function(Hdr_,Ns_,Mbox_,Serial_,Refresh_,Retry_,Expire_,Minttl_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.Ns=\"\";this.Mbox=\"\";this.Serial=0;this.Refresh=0;this.Retry=0;this.Expire=0;this.Minttl=0;return;}this.Hdr=Hdr_;this.Ns=Ns_;this.Mbox=Mbox_;this.Serial=Serial_;this.Refresh=Refresh_;this.Retry=Retry_;this.Expire=Expire_;this.Minttl=Minttl_;});DH=$pkg.dnsRR_TXT=$newType(0,$kindStruct,\"net.dnsRR_TXT\",true,\"net\",false,function(Hdr_,Txt_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.Txt=\"\";return;}this.Hdr=Hdr_;this.Txt=Txt_;});DI=$pkg.dnsRR_SRV=$newType(0,$kindStruct,\"net.dnsRR_SRV\",true,\"net\",false,function(Hdr_,Priority_,Weight_,Port_,Target_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.Priority=0;this.Weight=0;this.Port=0;this.Target=\"\";return;}this.Hdr=Hdr_;this.Priority=Priority_;this.Weight=Weight_;this.Port=Port_;this.Target=Target_;});DJ=$pkg.dnsRR_A=$newType(0,$kindStruct,\"net.dnsRR_A\",true,\"net\",false,function(Hdr_,A_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.A=0;return;}this.Hdr=Hdr_;this.A=A_;});DK=$pkg.dnsRR_AAAA=$newType(0,$kindStruct,\"net.dnsRR_AAAA\",true,\"net\",false,function(Hdr_,AAAA_){this.$val=this;if(arguments.length===0){this.Hdr=new DA.ptr(\"\",0,0,0,0);this.AAAA=OZ.zero();return;}this.Hdr=Hdr_;this.AAAA=AAAA_;});DT=$pkg.dnsMsgHdr=$newType(0,$kindStruct,\"net.dnsMsgHdr\",true,\"net\",false,function(id_,response_,opcode_,authoritative_,truncated_,recursion_desired_,recursion_available_,rcode_){this.$val=this;if(arguments.length===0){this.id=0;this.response=false;this.opcode=0;this.authoritative=false;this.truncated=false;this.recursion_desired=false;this.recursion_available=false;this.rcode=0;return;}this.id=id_;this.response=response_;this.opcode=opcode_;this.authoritative=authoritative_;this.truncated=truncated_;this.recursion_desired=recursion_desired_;this.recursion_available=recursion_available_;this.rcode=rcode_;});DU=$pkg.dnsMsg=$newType(0,$kindStruct,\"net.dnsMsg\",true,\"net\",false,function(dnsMsgHdr_,question_,answer_,ns_,extra_){this.$val=this;if(arguments.length===0){this.dnsMsgHdr=new DT.ptr(0,false,0,false,false,false,false,0);this.question=PT.nil;this.answer=PP.nil;this.ns=PP.nil;this.extra=PP.nil;return;}this.dnsMsgHdr=dnsMsgHdr_;this.question=question_;this.answer=answer_;this.ns=ns_;this.extra=extra_;});DV=$pkg.fdMutex=$newType(0,$kindStruct,\"net.fdMutex\",true,\"net\",false,function(state_,rsema_,wsema_){this.$val=this;if(arguments.length===0){this.state=new $Uint64(0,0);this.rsema=0;this.wsema=0;return;}this.state=state_;this.rsema=rsema_;this.wsema=wsema_;});EH=$pkg.pollDesc=$newType(0,$kindStruct,\"net.pollDesc\",true,\"net\",false,function(runtimeCtx_){this.$val=this;if(arguments.length===0){this.runtimeCtx=0;return;}this.runtimeCtx=runtimeCtx_;});EL=$pkg.netFD=$newType(0,$kindStruct,\"net.netFD\",true,\"net\",false,function(fdmu_,sysfd_,family_,sotype_,isStream_,isConnected_,net_,laddr_,raddr_,iovecs_,pd_){this.$val=this;if(arguments.length===0){this.fdmu=new DV.ptr(new $Uint64(0,0),0,0);this.sysfd=0;this.family=0;this.sotype=0;this.isStream=false;this.isConnected=false;this.net=\"\";this.laddr=$ifaceNil;this.raddr=$ifaceNil;this.iovecs=QK.nil;this.pd=new EH.ptr(0);return;}this.fdmu=fdmu_;this.sysfd=sysfd_;this.family=family_;this.sotype=sotype_;this.isStream=isStream_;this.isConnected=isConnected_;this.net=net_;this.laddr=laddr_;this.raddr=raddr_;this.iovecs=iovecs_;this.pd=pd_;});FV=$pkg.Interface=$newType(0,$kindStruct,\"net.Interface\",true,\"net\",true,function(Index_,MTU_,Name_,HardwareAddr_,Flags_){this.$val=this;if(arguments.length===0){this.Index=0;this.MTU=0;this.Name=\"\";this.HardwareAddr=JA.nil;this.Flags=0;return;}this.Index=Index_;this.MTU=MTU_;this.Name=Name_;this.HardwareAddr=HardwareAddr_;this.Flags=Flags_;});FW=$pkg.Flags=$newType(4,$kindUint,\"net.Flags\",true,\"net\",true,null);GD=$pkg.ipv6ZoneCache=$newType(0,$kindStruct,\"net.ipv6ZoneCache\",true,\"net\",false,function(RWMutex_,lastFetched_,toIndex_,toName_){this.$val=this;if(arguments.length===0){this.RWMutex=new H.RWMutex.ptr(new H.Mutex.ptr(0,0),0,0,0,0);this.lastFetched=new J.Time.ptr(new $Int64(0,0),0,OR.nil);this.toIndex=false;this.toName=false;return;}this.RWMutex=RWMutex_;this.lastFetched=lastFetched_;this.toIndex=toIndex_;this.toName=toName_;});GM=$pkg.IP=$newType(12,$kindSlice,\"net.IP\",true,\"net\",true,null);GN=$pkg.IPMask=$newType(12,$kindSlice,\"net.IPMask\",true,\"net\",true,null);GO=$pkg.IPNet=$newType(0,$kindStruct,\"net.IPNet\",true,\"net\",true,function(IP_,Mask_){this.$val=this;if(arguments.length===0){this.IP=GM.nil;this.Mask=GN.nil;return;}this.IP=IP_;this.Mask=Mask_;});HH=$pkg.IPAddr=$newType(0,$kindStruct,\"net.IPAddr\",true,\"net\",true,function(IP_,Zone_){this.$val=this;if(arguments.length===0){this.IP=GM.nil;this.Zone=\"\";return;}this.IP=IP_;this.Zone=Zone_;});HJ=$pkg.IPConn=$newType(0,$kindStruct,\"net.IPConn\",true,\"net\",true,function(conn_){this.$val=this;if(arguments.length===0){this.conn=new JH.ptr(QL.nil);return;}this.conn=conn_;});HU=$pkg.addrList=$newType(12,$kindSlice,\"net.addrList\",true,\"net\",false,null);IK=$pkg.Resolver=$newType(0,$kindStruct,\"net.Resolver\",true,\"net\",true,function(PreferGo_){this.$val=this;if(arguments.length===0){this.PreferGo=false;return;}this.PreferGo=PreferGo_;});JA=$pkg.HardwareAddr=$newType(12,$kindSlice,\"net.HardwareAddr\",true,\"net\",true,null);JF=$pkg.Addr=$newType(8,$kindInterface,\"net.Addr\",true,\"net\",true,null);JG=$pkg.Conn=$newType(8,$kindInterface,\"net.Conn\",true,\"net\",true,null);JH=$pkg.conn=$newType(0,$kindStruct,\"net.conn\",true,\"net\",false,function(fd_){this.$val=this;if(arguments.length===0){this.fd=QL.nil;return;}this.fd=fd_;});JK=$pkg.Listener=$newType(8,$kindInterface,\"net.Listener\",true,\"net\",true,null);JL=$pkg.Error=$newType(8,$kindInterface,\"net.Error\",true,\"net\",true,null);JS=$pkg.OpError=$newType(0,$kindStruct,\"net.OpError\",true,\"net\",true,function(Op_,Net_,Source_,Addr_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Net=\"\";this.Source=$ifaceNil;this.Addr=$ifaceNil;this.Err=$ifaceNil;return;}this.Op=Op_;this.Net=Net_;this.Source=Source_;this.Addr=Addr_;this.Err=Err_;});JW=$pkg.timeout=$newType(8,$kindInterface,\"net.timeout\",true,\"net\",false,null);JX=$pkg.temporary=$newType(8,$kindInterface,\"net.temporary\",true,\"net\",false,null);JY=$pkg.timeoutError=$newType(0,$kindStruct,\"net.timeoutError\",true,\"net\",false,function(){this.$val=this;if(arguments.length===0){return;}});JZ=$pkg.ParseError=$newType(0,$kindStruct,\"net.ParseError\",true,\"net\",true,function(Type_,Text_){this.$val=this;if(arguments.length===0){this.Type=\"\";this.Text=\"\";return;}this.Type=Type_;this.Text=Text_;});KA=$pkg.AddrError=$newType(0,$kindStruct,\"net.AddrError\",true,\"net\",true,function(Err_,Addr_){this.$val=this;if(arguments.length===0){this.Err=\"\";this.Addr=\"\";return;}this.Err=Err_;this.Addr=Addr_;});KB=$pkg.UnknownNetworkError=$newType(8,$kindString,\"net.UnknownNetworkError\",true,\"net\",true,null);KF=$pkg.DNSError=$newType(0,$kindStruct,\"net.DNSError\",true,\"net\",true,function(Err_,Name_,Server_,IsTimeout_,IsTemporary_){this.$val=this;if(arguments.length===0){this.Err=\"\";this.Name=\"\";this.Server=\"\";this.IsTimeout=false;this.IsTemporary=false;return;}this.Err=Err_;this.Name=Name_;this.Server=Server_;this.IsTimeout=IsTimeout_;this.IsTemporary=IsTemporary_;});KG=$pkg.writerOnly=$newType(0,$kindStruct,\"net.writerOnly\",true,\"net\",false,function(Writer_){this.$val=this;if(arguments.length===0){this.Writer=$ifaceNil;return;}this.Writer=Writer_;});KL=$pkg.buffersWriter=$newType(8,$kindInterface,\"net.buffersWriter\",true,\"net\",false,null);KN=$pkg.Buffers=$newType(12,$kindSlice,\"net.Buffers\",true,\"net\",true,null);KO=$pkg.nssConf=$newType(0,$kindStruct,\"net.nssConf\",true,\"net\",false,function(err_,sources_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;this.sources=false;return;}this.err=err_;this.sources=sources_;});KP=$pkg.nssSource=$newType(0,$kindStruct,\"net.nssSource\",true,\"net\",false,function(source_,criteria_){this.$val=this;if(arguments.length===0){this.source=\"\";this.criteria=RY.nil;return;}this.source=source_;this.criteria=criteria_;});KQ=$pkg.nssCriterion=$newType(0,$kindStruct,\"net.nssCriterion\",true,\"net\",false,function(negate_,status_,action_){this.$val=this;if(arguments.length===0){this.negate=false;this.status=\"\";this.action=\"\";return;}this.negate=negate_;this.status=status_;this.action=action_;});KU=$pkg.file=$newType(0,$kindStruct,\"net.file\",true,\"net\",false,function(file_,data_,atEOF_){this.$val=this;if(arguments.length===0){this.file=QP.nil;this.data=PA.nil;this.atEOF=false;return;}this.file=file_;this.data=data_;this.atEOF=atEOF_;});ME=$pkg.sockaddr=$newType(8,$kindInterface,\"net.sockaddr\",true,\"net\",false,null);MZ=$pkg.TCPAddr=$newType(0,$kindStruct,\"net.TCPAddr\",true,\"net\",true,function(IP_,Port_,Zone_){this.$val=this;if(arguments.length===0){this.IP=GM.nil;this.Port=0;this.Zone=\"\";return;}this.IP=IP_;this.Port=Port_;this.Zone=Zone_;});NB=$pkg.TCPConn=$newType(0,$kindStruct,\"net.TCPConn\",true,\"net\",true,function(conn_){this.$val=this;if(arguments.length===0){this.conn=new JH.ptr(QL.nil);return;}this.conn=conn_;});NE=$pkg.TCPListener=$newType(0,$kindStruct,\"net.TCPListener\",true,\"net\",true,function(fd_){this.$val=this;if(arguments.length===0){this.fd=QL.nil;return;}this.fd=fd_;});NO=$pkg.UDPAddr=$newType(0,$kindStruct,\"net.UDPAddr\",true,\"net\",true,function(IP_,Port_,Zone_){this.$val=this;if(arguments.length===0){this.IP=GM.nil;this.Port=0;this.Zone=\"\";return;}this.IP=IP_;this.Port=Port_;this.Zone=Zone_;});NQ=$pkg.UDPConn=$newType(0,$kindStruct,\"net.UDPConn\",true,\"net\",true,function(conn_){this.$val=this;if(arguments.length===0){this.conn=new JH.ptr(QL.nil);return;}this.conn=conn_;});OB=$pkg.UnixAddr=$newType(0,$kindStruct,\"net.UnixAddr\",true,\"net\",true,function(Name_,Net_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.Net=\"\";return;}this.Name=Name_;this.Net=Net_;});OD=$pkg.UnixConn=$newType(0,$kindStruct,\"net.UnixConn\",true,\"net\",true,function(conn_){this.$val=this;if(arguments.length===0){this.conn=new JH.ptr(QL.nil);return;}this.conn=conn_;});PN=$newType(0,$kindStruct,\"net.dialResult\",true,\"net\",false,function(Conn_,error_,primary_,done_){this.$val=this;if(arguments.length===0){this.Conn=$ifaceNil;this.error=$ifaceNil;this.primary=false;this.done=false;return;}this.Conn=Conn_;this.error=error_;this.primary=primary_;this.done=done_;});PY=$newType(0,$kindStruct,\"net.racer\",true,\"net\",false,function(cname_,rrs_,error_){this.$val=this;if(arguments.length===0){this.cname=\"\";this.rrs=PP.nil;this.error=$ifaceNil;return;}this.cname=cname_;this.rrs=rrs_;this.error=error_;});OR=$ptrType(J.Location);OS=$ptrType(CS);OU=$sliceType($String);OV=$mapType($String,OU);OW=$structType(\"net\",[{prop:\"Mutex\",name:\"\",exported:true,typ:H.Mutex,tag:\"\"},{prop:\"byName\",name:\"byName\",exported:false,typ:OV,tag:\"\"},{prop:\"byAddr\",name:\"byAddr\",exported:false,typ:OV,tag:\"\"},{prop:\"expire\",name:\"expire\",exported:false,typ:J.Time,tag:\"\"},{prop:\"path\",name:\"path\",exported:false,typ:$String,tag:\"\"},{prop:\"mtime\",name:\"mtime\",exported:false,typ:J.Time,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"}]);OX=$ptrType(KO);OY=$ptrType(IK);OZ=$arrayType($Uint8,16);PA=$sliceType($Uint8);PB=$structType(\"\",[]);PC=$ptrType(KN);PD=$ptrType(GO);PE=$sliceType(Z);PF=$sliceType(HH);PG=$sliceType(GM);PH=$ptrType(NO);PI=$sliceType(KP);PJ=$ptrType(MZ);PK=$ptrType(HH);PL=$ptrType(I.Trace);PM=$ptrType(NB);PO=$ptrType(OB);PP=$sliceType(DB);PQ=$ptrType(DA);PR=$ptrType(DC);PS=$ptrType(DU);PT=$sliceType(CZ);PU=$ptrType(NQ);PV=$ptrType(KF);PW=$ptrType(DJ);PX=$ptrType(DK);PZ=$ptrType(DF);QA=$ptrType($Uint32);QB=$ptrType($Uint16);QC=$ptrType($String);QD=$ptrType($Bool);QE=$ptrType($Int);QF=$ptrType($Uint);QG=$ptrType($Uint8);QH=$ptrType($Uint64);QI=$ptrType($Uintptr);QJ=$sliceType(B.Iovec);QK=$ptrType(QJ);QL=$ptrType(EL);QM=$funcType([QL],[$error],false);QN=$ptrType(F.SyscallError);QO=$ptrType($Int32);QP=$ptrType(F.File);QQ=$ptrType(B.SockaddrInet4);QR=$ptrType(B.SockaddrInet6);QS=$ptrType(B.SockaddrUnix);QT=$ptrType(KU);QU=$ptrType(FV);QV=$sliceType(JF);QW=$sliceType(FV);QX=$ptrType(N.InterfaceMessage);QY=$ptrType(N.LinkAddr);QZ=$ptrType(N.InterfaceMetrics);RA=$ptrType(N.InterfaceAddrMessage);RB=$ptrType(N.Inet4Addr);RC=$ptrType(N.Inet6Addr);RD=$sliceType(N.Message);RE=$ptrType(N.InterfaceMulticastAddrMessage);RF=$arrayType($Uint8,4);RG=$ptrType(HJ);RH=$arrayType($Int8,8);RI=$arrayType($Uint8,25);RJ=$funcType([E.Context,$String],[PF,$error],false);RK=$sliceType($emptyInterface);RL=$ptrType(BQ);RM=$sliceType(RL);RN=$ptrType(DI);RO=$ptrType(BS);RP=$sliceType(RO);RQ=$ptrType(DD);RR=$ptrType(BU);RS=$sliceType(RR);RT=$ptrType(DE);RU=$ptrType(DH);RV=$ptrType(JH);RW=$ptrType(JS);RX=$ptrType(KA);RY=$sliceType(KQ);RZ=$arrayType($Uint8,20);SA=$ptrType(NE);SB=$ptrType(OD);SD=$arrayType($Int8,104);SE=$ptrType(AB);SF=$ptrType(AS);SG=$ptrType(BA);SH=$chanType(PB,false,true);SI=$ptrType(CD);SJ=$chanType(PB,false,false);SK=$funcType([$emptyInterface,$String,$String],[$Bool],false);SL=$ptrType(CY);SM=$ptrType(CZ);SN=$ptrType(DG);SO=$ptrType(DT);SP=$ptrType(DV);SQ=$ptrType(EH);SR=$funcType([B.Sockaddr],[JF],false);SS=$ptrType(GD);ST=$mapType($String,$Int);SU=$mapType($Int,$String);SV=$ptrType(GM);SW=$funcType([JF],[$Bool],false);SX=$ptrType(JY);SY=$ptrType(JZ);TA=$mapType($String,PI);P=function(p,q){var $ptr,p,q;return $parseInt(p.indexOf($global.String.fromCharCode(q)))>>0;};Q=function(p,q){var $ptr,p,q;$panic(A.New(\"network access is not supported by GopherJS\"));};$pkg.Listen=Q;BA.ptr.prototype.Dial=function(p,q){var $ptr,p,q,r;r=this;$panic(A.New(\"network access is not supported by GopherJS\"));};BA.prototype.Dial=function(p,q){return this.$val.Dial(p,q);};R=function(){var $ptr;};S=function(){var $ptr;return false;};T=function(){var $ptr,p,q,r,s;p=false;q=false;r=false;s=false;p=r;q=s;return[p,q];};V=function(){var $ptr;return 128;};W=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p.$length<2){$s=-1;return;}q=p;r=Y(p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=X(q,s);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:W};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};X=function(p,q){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!((p.$length===q.$length))){$panic(new $String(\"internal error\"));}r=$makeSlice(PE,p.$length);s=$makeSlice(PE,q.$length);t=p;u=0;while(true){if(!(u<t.$length)){break;}v=u;w=$clone(((u<0||u>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+u]),HH);Z.copy(((v<0||v>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+v]),AA(w.IP));Z.copy(((v<0||v>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+v]),AA(((v<0||v>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+v])));u++;}$r=D.Stable(new AB.ptr(p,r,q,s));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:X};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};Y=function(p){var $ptr,aa,ab,ac,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=$makeSlice(PG,p.$length);q[0]=new NO.ptr(GM.nil,9,\"\");s=p;t=0;case 1:if(!(t<s.$length)){$s=2;continue;}u=t;q[0].IP=((u<0||u>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+u]).IP;q[0].Zone=((u<0||u>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+u]).Zone;w=NS(\"udp\",PH.nil,q[0]);$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];y=v[1];if($interfaceIsEqual(y,$ifaceNil)){$s=4;continue;}$s=5;continue;case 4:z=$assertType(x.conn.LocalAddr(),PH,true);aa=z[0];ab=z[1];if(ab){((u<0||u>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+u]=aa.IP);}ac=x.conn.Close();$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;case 5:t++;$s=1;continue;case 2:$s=-1;return r;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AA=function(p){var $ptr,p,q;if(p===GM.nil){return new Z.ptr(0,0,0);}q=$clone(AE.Classify(p),AC);return new Z.ptr(AJ(p),q.Precedence,q.Label);};AB.ptr.prototype.Len=function(){var $ptr,p;p=this;return p.addrs.$length;};AB.prototype.Len=function(){return this.$val.Len();};AB.ptr.prototype.Swap=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,p,q,r,s,t,u,v,w,x,y,z;r=this;s=$clone((t=r.addrs,((q<0||q>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+q])),HH);u=$clone((v=r.addrs,((p<0||p>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+p])),HH);HH.copy((w=r.addrs,((p<0||p>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+p])),s);HH.copy((x=r.addrs,((q<0||q>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+q])),u);y=(z=r.srcs,((q<0||q>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+q]));aa=(ab=r.srcs,((p<0||p>=ab.$length)?($throwRuntimeError(\"index out of range\"),undefined):ab.$array[ab.$offset+p]));(ac=r.srcs,((p<0||p>=ac.$length)?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+p]=y));(ad=r.srcs,((q<0||q>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+q]=aa));ae=$clone((af=r.addrAttr,((q<0||q>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+q])),Z);ag=$clone((ah=r.addrAttr,((p<0||p>=ah.$length)?($throwRuntimeError(\"index out of range\"),undefined):ah.$array[ah.$offset+p])),Z);Z.copy((ai=r.addrAttr,((p<0||p>=ai.$length)?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+p])),ae);Z.copy((aj=r.addrAttr,((q<0||q>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+q])),ag);ak=$clone((al=r.srcAttr,((q<0||q>=al.$length)?($throwRuntimeError(\"index out of range\"),undefined):al.$array[al.$offset+q])),Z);am=$clone((an=r.srcAttr,((p<0||p>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+p])),Z);Z.copy((ao=r.srcAttr,((p<0||p>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+p])),ak);Z.copy((ap=r.srcAttr,((q<0||q>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+q])),am);};AB.prototype.Swap=function(p,q){return this.$val.Swap(p,q);};AB.ptr.prototype.Less=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,p,q,r,s,t,u,v,w,x,y,z;r=this;t=(s=r.addrs,((p<0||p>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+p])).IP;v=(u=r.addrs,((q<0||q>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+q])).IP;x=(w=r.srcs,((p<0||p>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+p]));z=(y=r.srcs,((q<0||q>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+q]));ab=(aa=r.addrAttr,((p<0||p>=aa.$length)?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+p]));ad=(ac=r.addrAttr,((q<0||q>=ac.$length)?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+q]));af=(ae=r.srcAttr,((p<0||p>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+p]));ah=(ag=r.srcAttr,((q<0||q>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+q]));if(x===GM.nil&&z===GM.nil){return false;}if(z===GM.nil){return true;}if(x===GM.nil){return false;}if((ab.Scope===af.Scope)&&!((ad.Scope===ah.Scope))){return true;}if(!((ab.Scope===af.Scope))&&(ad.Scope===ah.Scope)){return false;}if((af.Label===ab.Label)&&!((ah.Label===ad.Label))){return true;}if(!((af.Label===ab.Label))&&(ah.Label===ad.Label)){return false;}if(ab.Precedence>ad.Precedence){return true;}if(ab.Precedence<ad.Precedence){return false;}if(ab.Scope<ad.Scope){return true;}if(ab.Scope>ad.Scope){return false;}if(t.To4()===GM.nil&&v.To4()===GM.nil){ai=AK(x,t);aj=AK(z,v);if(ai>aj){return true;}if(ai<aj){return false;}}return false;};AB.prototype.Less=function(p,q){return this.$val.Less(p,q);};AF=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.Sort(D.Reverse(($subslice(new AG(AE.$array),AE.$offset,AE.$offset+AE.$length))));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};AG.prototype.Len=function(){var $ptr,p;p=this;return p.$length;};$ptrType(AG).prototype.Len=function(){return this.$get().Len();};AG.prototype.Swap=function(p,q){var $ptr,p,q,r,s,t;r=this;s=$clone(((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]),AC);t=$clone(((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]),AC);AC.copy(((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]),s);AC.copy(((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]),t);};$ptrType(AG).prototype.Swap=function(p,q){return this.$get().Swap(p,q);};AG.prototype.Less=function(p,q){var $ptr,p,q,r,s,t,u,v;r=this;s=((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]).Prefix.Mask.Size();t=s[0];u=((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]).Prefix.Mask.Size();v=u[0];return t<v;};$ptrType(AG).prototype.Less=function(p,q){return this.$get().Less(p,q);};AH=function(p){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=HG(p);r=q[0];s=q[1];t=q[2];if(!($interfaceIsEqual(t,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:u=t.Error();$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$panic(new $String(u));case 2:if(!((r.$length===16))){$panic(new $String(\"unexpected IP length\"));}$s=-1;return s;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};AD.prototype.Classify=function(p){var $ptr,p,q,r,s,t;q=this;r=q;s=0;while(true){if(!(s<r.$length)){break;}t=$clone(((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]),AC);if(t.Prefix.Contains(p)){return t;}s++;}return new AC.ptr(PD.nil,0,0);};$ptrType(AD).prototype.Classify=function(p){return this.$get().Classify(p);};AJ=function(p){var $ptr,p,q;if(p.IsLoopback()||p.IsLinkLocalUnicast()){return 2;}q=(p.$length===16)&&p.To4()===GM.nil;if(q&&p.IsMulticast()){return(((((1>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+1])&15)>>>0)<<24>>>24));}if(q&&((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])===254)&&((((1>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+1])&192)>>>0)===192)){return 5;}return 14;};AK=function(p,q){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z;r=0;s=p.To4();if(!(s===GM.nil)){p=s;}t=q.To4();if(!(t===GM.nil)){q=t;}if(!((p.$length===q.$length))){r=0;return r;}if(p.$length>8){p=$subslice(p,0,8);q=$subslice(q,0,8);}while(true){if(!(p.$length>0)){break;}if((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])===(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])){r=r+(8)>>0;p=$subslice(p,1);q=$subslice(q,1);continue;}u=8;v=(0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0]);w=(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]);x=v;y=w;while(true){x=(z=(1),z<32?(x>>>z):0)<<24>>>24;y=(aa=(1),aa<32?(y>>>aa):0)<<24>>>24;u=u-(1)>>0;if(x===y){r=r+(u)>>0;return r;}}}return r;};AL=function(){var $ptr;JC=true;};AN=function(p,q){var $ptr,p,q,r,s,t,u,v,w;r=OU.nil;s=$ifaceNil;t=false;u=OU.nil;v=$ifaceNil;w=false;r=u;s=v;t=w;return[r,s,t];};AO=function(p,q,r){var $ptr,p,q,r,s,t,u,v,w,x;s=0;t=$ifaceNil;u=false;v=0;w=$ifaceNil;x=false;s=v;t=w;u=x;return[s,t,u];};AP=function(p,q){var $ptr,p,q,r,s,t,u,v,w;r=PF.nil;s=$ifaceNil;t=false;u=PF.nil;v=$ifaceNil;w=false;r=u;s=v;t=w;return[r,s,t];};AQ=function(p,q){var $ptr,p,q,r,s,t,u,v,w;r=\"\";s=$ifaceNil;t=false;u=\"\";v=$ifaceNil;w=false;r=u;s=v;t=w;return[r,s,t];};AR=function(p,q){var $ptr,p,q,r,s,t,u,v,w;r=OU.nil;s=$ifaceNil;t=false;u=OU.nil;v=$ifaceNil;w=false;r=u;s=v;t=w;return[r,s,t];};AV=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=AT.Do(AW);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return AU;}return;}if($f===undefined){$f={$blk:AV};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};AW=function(){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=AX();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];AU.dnsDebugLevel=s;AU.netGo=JC||r===\"go\";AU.netCgo=JD||r===\"cgo\";if(AU.dnsDebugLevel>0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([(function(){var $ptr;if(AU.netGo){if(JC){console.log(\"go package net: built with netgo build tag; using Go's DNS resolver\");}else{console.log(\"go package net: GODEBUG setting forcing use of Go's resolver\");}}else if(AU.forceCgoLookupHost){console.log(\"go package net: using cgo DNS resolver\");}else{console.log(\"go package net: dynamic selection of DNS resolver\");}}),[]]);case 3:if(true){AU.forceCgoLookupHost=true;$s=-1;return;}u=B.Getenv(\"LOCALDOMAIN\");$s=4;case 4:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[1];x=F.Getenv(\"RES_OPTIONS\");$s=8;case 8:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}if(!(x===\"\")){w=true;$s=7;continue s;}y=F.Getenv(\"HOSTALIASES\");$s=9;case 9:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}w=!(y===\"\");case 7:if(w||AU.netCgo||v){$s=5;continue;}$s=6;continue;case 5:AU.forceCgoLookupHost=true;$s=-1;return;case 6:if(!(false)){z=false;$s=12;continue s;}aa=F.Getenv(\"ASR_CONFIG\");$s=13;case 13:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=!(aa===\"\");case 12:if(z){$s=10;continue;}$s=11;continue;case 10:AU.forceCgoLookupHost=true;$s=-1;return;case 11:if(true){$s=14;continue;}$s=15;continue;case 14:ab=KR(\"/etc/nsswitch.conf\");$s=16;case 16:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}AU.nss=ab;case 15:ac=CT(\"/etc/resolv.conf\");$s=17;case 17:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}AU.resolv=ac;if(!($interfaceIsEqual(AU.resolv.err,$ifaceNil))&&!F.IsNotExist(AU.resolv.err)&&!F.IsPermission(AU.resolv.err)){AU.forceCgoLookupHost=true;}ad=F.Stat(\"/etc/mdns.allow\");ae=ad[1];if($interfaceIsEqual(ae,$ifaceNil)){AU.hasMDNSAllow=true;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AS.ptr.prototype.canUseCgo=function(){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=p.hostLookupOrder(\"\");$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q===0;}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.canUseCgo};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.canUseCgo=function(){return this.$val.canUseCgo();};AS.ptr.prototype.hostLookupOrder=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);p=[p];q=[q];q[0]=0;r=this;if(r.dnsDebugLevel>1){$s=1;continue;}$s=2;continue;case 1:$deferred.push([(function(p,q){return function(){var $ptr;console.log(\"go package net: hostLookupOrder(\",p[0],\") = \",new CH(q[0]).String(),\"\\n\");};})(p,q),[]]);case 2:s=0;if(r.netGo){s=1;}if(r.forceCgoLookupHost||r.resolv.unknownOpt||r.goos===\"android\"){q[0]=s;$s=-1;return q[0];}if(!((P(p[0],92)===-1))||!((P(p[0],37)===-1))){q[0]=s;$s=-1;return q[0];}if(r.goos===\"openbsd\"){if(F.IsNotExist(r.resolv.err)){q[0]=3;$s=-1;return q[0];}t=r.resolv.lookup;if(t.$length===0){q[0]=2;$s=-1;return q[0];}if(t.$length<1||t.$length>2){q[0]=s;$s=-1;return q[0];}u=(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]);if(u===(\"bind\")){if(t.$length===2){if((1>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+1])===\"file\"){q[0]=2;$s=-1;return q[0];}q[0]=s;$s=-1;return q[0];}q[0]=4;$s=-1;return q[0];}else if(u===(\"file\")){if(t.$length===2){if((1>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+1])===\"bind\"){q[0]=1;$s=-1;return q[0];}q[0]=s;$s=-1;return q[0];}q[0]=3;$s=-1;return q[0];}else{q[0]=s;$s=-1;return q[0];}}if(LQ(p[0],\".\")){p[0]=$substring(p[0],0,(p[0].length-1>>0));}if(LR(p[0],\".local\")){q[0]=s;$s=-1;return q[0];}v=r.nss;x=(w=v.sources[$String.keyFor(\"hosts\")],w!==undefined?w.v:PI.nil);if(F.IsNotExist(v.err)||($interfaceIsEqual(v.err,$ifaceNil)&&(x.$length===0))){if(r.goos===\"solaris\"){q[0]=s;$s=-1;return q[0];}if(r.goos===\"linux\"){q[0]=2;$s=-1;return q[0];}q[0]=1;$s=-1;return q[0];}if(!($interfaceIsEqual(v.err,$ifaceNil))){q[0]=s;$s=-1;return q[0];}y=false;z=false;aa=false;ab=y;ac=z;ad=aa;ae=\"\";af=x;ag=0;case 3:if(!(ag<af.$length)){$s=4;continue;}ah=$clone(((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]),KP);if(ah.source===\"myhostname\"){$s=5;continue;}$s=6;continue;case 5:if(AY(p[0])||AZ(p[0])){q[0]=s;$s=-1;return q[0];}aj=CR();$s=7;case 7:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;ak=ai[0];al=ai[1];if(!($interfaceIsEqual(al,$ifaceNil))||LT(p[0],ak)){q[0]=s;$s=-1;return q[0];}ag++;$s=3;continue;case 6:if(ah.source===\"files\"||ah.source===\"dns\"){if(!$clone(ah,KP).standardCriteria()){q[0]=s;$s=-1;return q[0];}if(ah.source===\"files\"){ac=true;}else if(ah.source===\"dns\"){ad=true;}if(ae===\"\"){ae=ah.source;}ag++;$s=3;continue;}if(LS(ah.source,\"mdns\")){ab=true;ag++;$s=3;continue;}q[0]=s;$s=-1;return q[0];$s=3;continue;case 4:if(ab&&r.hasMDNSAllow){q[0]=s;$s=-1;return q[0];}if(ac&&ad){if(ae===\"files\"){q[0]=1;$s=-1;return q[0];}else{q[0]=2;$s=-1;return q[0];}}else if(ac){q[0]=3;$s=-1;return q[0];}else if(ad){q[0]=4;$s=-1;return q[0];}q[0]=s;$s=-1;return q[0];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return q[0];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AS.ptr.prototype.hostLookupOrder};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AS.prototype.hostLookupOrder=function(p){return this.$val.hostLookupOrder(p);};AX=function(){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];q=[q];q[0]=\"\";p[0]=0;r=LV(\"netdns\");$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=(function(p,q){return function(t){var $ptr,t,u;if(t===\"\"){return;}if(48<=t.charCodeAt(0)&&t.charCodeAt(0)<=57){u=LA(t);p[0]=u[0];}else{q[0]=t;}};})(p,q);u=P(s,43);if(!((u===-1))){$s=2;continue;}$s=3;continue;case 2:$r=t($substring(s,0,u));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=t($substring(s,(u+1>>0)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[q[0],p[0]];case 3:$r=t(s);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[q[0],p[0]];}return;}if($f===undefined){$f={$blk:AX};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};AY=function(p){var $ptr,p;return LT(p,\"localhost\")||LT(p,\"localhost.localdomain\")||LR(p,\".localhost\")||LR(p,\".localhost.localdomain\");};AZ=function(p){var $ptr,p;return LT(p,\"gateway\");};BB=function(p,q){var $ptr,p,q;if($clone(p,J.Time).IsZero()){return q;}if($clone(q,J.Time).IsZero()||$clone(p,J.Time).Before($clone(q,J.Time))){return p;}return q;};BA.ptr.prototype.deadline=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=new J.Time.ptr(new $Int64(0,0),0,OR.nil);s=this;if(!((t=s.Timeout,(t.$high===0&&t.$low===0)))){J.Time.copy(r,$clone(q,J.Time).Add(s.Timeout));}v=p.Deadline();$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=$clone(u[0],J.Time);x=u[1];if(x){J.Time.copy(r,BB($clone(r,J.Time),$clone(w,J.Time)));}J.Time.copy(r,BB($clone(r,J.Time),$clone(s.Deadline,J.Time)));$s=-1;return r;}return;}if($f===undefined){$f={$blk:BA.ptr.prototype.deadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BA.prototype.deadline=function(p,q){return this.$val.deadline(p,q);};BA.ptr.prototype.resolver=function(){var $ptr,p;p=this;if(!(p.Resolver===OY.nil)){return p.Resolver;}return $pkg.DefaultResolver;};BA.prototype.resolver=function(){return this.$val.resolver();};BC=function(p,q,r){var $ptr,p,q,r,s,t;if($clone(q,J.Time).IsZero()){return[q,$ifaceNil];}s=$clone(q,J.Time).Sub($clone(p,J.Time));if((s.$high<0||(s.$high===0&&s.$low<=0))){return[new J.Time.ptr(new $Int64(0,0),0,OR.nil),JO];}t=$div64(s,(new J.Duration(0,r)),false);if((t.$high<0||(t.$high===0&&t.$low<2000000000))){if((s.$high<0||(s.$high===0&&s.$low<2000000000))){t=s;}else{t=new J.Duration(0,2000000000);}}return[$clone(p,J.Time).Add(t),$ifaceNil];};BA.ptr.prototype.fallbackDelay=function(){var $ptr,p,q;p=this;if((q=p.FallbackDelay,(q.$high>0||(q.$high===0&&q.$low>0)))){return p.FallbackDelay;}else{return new J.Duration(0,300000000);}};BA.prototype.fallbackDelay=function(){return this.$val.fallbackDelay();};BD=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=\"\";s=0;t=$ifaceNil;u=LH(q,58);if(u<0){v=q;if(v===(\"tcp\")||v===(\"tcp4\")||v===(\"tcp6\")){}else if(v===(\"udp\")||v===(\"udp4\")||v===(\"udp6\")){}else if(v===(\"ip\")||v===(\"ip4\")||v===(\"ip6\")){}else if(v===(\"unix\")||v===(\"unixgram\")||v===(\"unixpacket\")){}else{w=\"\";x=0;y=new KB((q));r=w;s=x;t=y;$s=-1;return[r,s,t];}z=q;aa=0;ab=$ifaceNil;r=z;s=aa;t=ab;$s=-1;return[r,s,t];}r=$substring(q,0,u);ac=r;if(ac===(\"ip\")||ac===(\"ip4\")||ac===(\"ip6\")){$s=2;continue;}$s=3;continue;case 2:ad=$substring(q,(u+1>>0));ae=LA(ad);af=ae[0];ag=ae[1];ah=ae[2];if(!ah||!((ag===ad.length))){$s=4;continue;}$s=5;continue;case 4:aj=IZ(p,ad);$s=6;case 6:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;af=ai[0];t=ai[1];if(!($interfaceIsEqual(t,$ifaceNil))){ak=\"\";al=0;am=t;r=ak;s=al;t=am;$s=-1;return[r,s,t];}case 5:an=r;ao=af;ap=$ifaceNil;r=an;s=ao;t=ap;$s=-1;return[r,s,t];case 3:case 1:aq=\"\";ar=0;as=new KB((q));r=aq;s=ar;t=as;$s=-1;return[r,s,t];}return;}if($f===undefined){$f={$blk:BD};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.ptr.prototype.resolveAddrList=function(p,q,r,s,t){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:u=this;w=BD(p,r);$s=1;case 1:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];y=v[2];if(!($interfaceIsEqual(y,$ifaceNil))){$s=-1;return[HU.nil,y];}if(q===\"dial\"&&s===\"\"){$s=-1;return[HU.nil,JN];}z=x;if(z===(\"unix\")||z===(\"unixgram\")||z===(\"unixpacket\")){$s=3;continue;}$s=4;continue;case 3:aa=OC(x,s);ab=aa[0];ac=aa[1];if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return[HU.nil,ac];}if(!(q===\"dial\"&&!($interfaceIsEqual(t,$ifaceNil)))){ad=false;$s=7;continue s;}ae=t.Network();$s=8;case 8:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=!(ab.Network()===ae);case 7:if(ad){$s=5;continue;}$s=6;continue;case 5:af=t.String();$s=9;case 9:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$s=-1;return[HU.nil,new KA.ptr(\"mismatched local address type\",af)];case 6:$s=-1;return[new HU([ab]),$ifaceNil];case 4:case 2:ah=u.internetAddrList(p,x,s);$s=10;case 10:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ag=ah;ai=ag[0];y=ag[1];if(!($interfaceIsEqual(y,$ifaceNil))||!(q===\"dial\")||$interfaceIsEqual(t,$ifaceNil)){$s=-1;return[ai,y];}aj=PJ.nil;ak=PH.nil;al=PK.nil;am=false;an=t;if($assertType(an,PJ,true)[1]){ao=an.$val;aj=ao;am=aj.isWildcard();}else if($assertType(an,PH,true)[1]){ap=an.$val;ak=ap;am=ak.isWildcard();}else if($assertType(an,PK,true)[1]){aq=an.$val;al=aq;am=al.isWildcard();}ar=$subslice(ai,0,0);as=ai;at=0;case 11:if(!(at<as.$length)){$s=12;continue;}au=((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]);av=au.Network();$s=15;case 15:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=t.Network();$s=16;case 16:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(!(av===aw)){$s=13;continue;}$s=14;continue;case 13:ax=t.String();$s=17;case 17:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return[HU.nil,new KA.ptr(\"mismatched local address type\",ax)];case 14:ay=au;if($assertType(ay,PJ,true)[1]){$s=18;continue;}if($assertType(ay,PH,true)[1]){$s=19;continue;}if($assertType(ay,PK,true)[1]){$s=20;continue;}$s=21;continue;case 18:az=ay.$val;if(!am&&!az.isWildcard()&&!az.IP.matchAddrFamily(aj.IP)){at++;$s=11;continue;}ar=$append(ar,az);$s=21;continue;case 19:ba=ay.$val;if(!am&&!ba.isWildcard()&&!ba.IP.matchAddrFamily(ak.IP)){at++;$s=11;continue;}ar=$append(ar,ba);$s=21;continue;case 20:bb=ay.$val;if(!am&&!bb.isWildcard()&&!bb.IP.matchAddrFamily(al.IP)){at++;$s=11;continue;}ar=$append(ar,bb);case 21:at++;$s=11;continue;case 12:if(ar.$length===0){$s=22;continue;}$s=23;continue;case 22:bc=JM.Error();$s=24;case 24:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=t.String();$s=25;case 25:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return[HU.nil,new KA.ptr(bc,bd)];case 23:$s=-1;return[ar,$ifaceNil];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.resolveAddrList};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.resolveAddrList=function(p,q,r,s,t){return this.$val.resolveAddrList(p,q,r,s,t);};BA.ptr.prototype.DialContext=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);s=[s];t=[t];u=[u];v=[v];w=this;if($interfaceIsEqual(p,$ifaceNil)){$panic(new $String(\"nil context\"));}x=w.deadline(p,$clone(J.Now(),J.Time));$s=1;case 1:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=$clone(x,J.Time);if(!$clone(y,J.Time).IsZero()){$s=2;continue;}$s=3;continue;case 2:aa=p.Deadline();$s=4;case 4:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=$clone(z[0],J.Time);ac=z[1];if(!ac||$clone(y,J.Time).Before($clone(ab,J.Time))){$s=5;continue;}$s=6;continue;case 5:ae=E.WithDeadline(p,$clone(y,J.Time));$s=7;case 7:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;af=ad[0];ag=ad[1];$deferred.push([ag,[]]);p=af;case 6:case 3:t[0]=w.Cancel;if(!(t[0]===$chanNil)){$s=8;continue;}$s=9;continue;case 8:ai=E.WithCancel(p);$s=10;case 10:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;v[0]=ah[0];s[0]=ah[1];$deferred.push([s[0],[]]);$go((function(s,t,u,v){return function $b(){var $ptr,aj,ak,al,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aj=$f.aj;ak=$f.ak;al=$f.al;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ak=v[0].Done();$s=1;case 1:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}al=$select([[t[0]],[ak]]);$s=2;case 2:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}aj=al;if(aj[0]===0){$s=3;continue;}if(aj[0]===1){$s=4;continue;}$s=5;continue;case 3:$r=s[0]();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aj=aj;$f.ak=ak;$f.al=al;$f.$s=$s;$f.$r=$r;return $f;};})(s,t,u,v),[]);p=v[0];case 9:aj=p;am=p.Value((al=new I.TraceKey.ptr(),new al.constructor.elem(al)));$s=11;case 11:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}ak=$assertType(am,PL,true);an=ak[0];if(!(an===PL.nil)){$s=12;continue;}$s=13;continue;case 12:u[0]=$clone(an,I.Trace);u[0].ConnectStart=$throwNilPointerError;u[0].ConnectDone=$throwNilPointerError;ap=E.WithValue(aj,(ao=new I.TraceKey.ptr(),new ao.constructor.elem(ao)),u[0]);$s=14;case 14:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aj=ap;case 13:ar=w.resolver().resolveAddrList(aj,\"dial\",q,r,w.LocalAddr);$s=15;case 15:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;as=aq[0];at=aq[1];if(!($interfaceIsEqual(at,$ifaceNil))){$s=-1;return[$ifaceNil,new JS.ptr(\"dial\",q,$ifaceNil,$ifaceNil,at)];}au=new BG.ptr($clone(w,BA),q,r);av=HU.nil;aw=HU.nil;ax=av;ay=aw;if(w.DualStack&&q===\"tcp\"){$s=16;continue;}$s=17;continue;case 16:ba=as.partition(HV);$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=ba;ax=az[0];ay=az[1];$s=18;continue;case 17:ax=as;case 18:bb=$ifaceNil;if(ay.$length>0){$s=20;continue;}$s=21;continue;case 20:bd=BH(p,au,ax,ay);$s=23;case 23:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}bc=bd;bb=bc[0];at=bc[1];$s=22;continue;case 21:bf=BI(p,au,ax);$s=24;case 24:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}be=bf;bb=be[0];at=be[1];case 22:if(!($interfaceIsEqual(at,$ifaceNil))){$s=-1;return[$ifaceNil,at];}bg=$assertType(bb,PM,true);bh=bg[0];bi=bg[1];if(bi&&(bj=w.KeepAlive,(bj.$high>0||(bj.$high===0&&bj.$low>0)))){$s=25;continue;}$s=26;continue;case 25:bk=MP(bh.conn.fd,true);$s=27;case 27:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bk;bl=NM(bh.conn.fd,w.KeepAlive);$s=28;case 28:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bl;$r=FC();$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 26:$s=-1;return[bb,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[$ifaceNil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:BA.ptr.prototype.DialContext};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};BA.prototype.DialContext=function(p,q,r){return this.$val.DialContext(p,q,r);};BH=function(p,q,r,s){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=[q];r=[r];s=[s];t=[t];u=[u];if(s[0].$length===0){$s=1;continue;}$s=2;continue;case 1:v=BI(p,q[0],r[0]);$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return v;case 2:u[0]=new $Chan(PB,0);$deferred.push([function(w){$close(w);},[u[0]]]);t[0]=new $Chan(PN,0);x=(function(q,r,s,t,u){return function $b(x,y){var $ptr,aa,ab,ac,ad,ae,af,ag,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:z=r[0];if(!y){z=s[0];}ab=BI(x,q[0],z);$s=1;case 1:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[0];ad=aa[1];af=$select([[t[0],new PN.ptr(ac,ad,y,true)],[u[0]]]);$s=2;case 2:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;if(ae[0]===0){$s=3;continue;}if(ae[0]===1){$s=4;continue;}$s=5;continue;case 3:$s=5;continue;case 4:if(!($interfaceIsEqual(ac,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:ag=ac.Close();$s=8;case 8:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;case 7:case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};})(q,r,s,t,u);y=new PN.ptr($ifaceNil,$ifaceNil,false,false);z=new PN.ptr($ifaceNil,$ifaceNil,false,false);aa=$clone(y,PN);ab=$clone(z,PN);ad=E.WithCancel(p);$s=4;case 4:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];af=ac[1];$deferred.push([af,[]]);$go(x,[ae,true]);ag=J.NewTimer(q[0].Dialer.fallbackDelay());$deferred.push([$methodVal(ag,\"Stop\"),[]]);case 5:ai=$select([[ag.C],[t[0]]]);$s=7;case 7:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;if(ah[0]===0){$s=8;continue;}if(ah[0]===1){$s=9;continue;}$s=10;continue;case 8:ak=E.WithCancel(p);$s=11;case 11:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;al=aj[0];am=aj[1];$deferred.push([am,[]]);$go(x,[al,false]);$s=10;continue;case 9:an=$clone(ah[1][0],PN);if($interfaceIsEqual(an.error,$ifaceNil)){$s=-1;return[an.Conn,$ifaceNil];}if(an.primary){PN.copy(aa,an);}else{PN.copy(ab,an);}if(aa.done&&ab.done){$s=-1;return[$ifaceNil,aa.error];}if(an.primary&&ag.Stop()){ag.Reset(new J.Duration(0,0));}case 10:$s=5;continue;case 6:$s=-1;return[$ifaceNil,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[$ifaceNil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:BH};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};BI=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);s=$ifaceNil;t=r;u=0;case 1:if(!(u<t.$length)){$s=2;continue;}v=u;w=((u<0||u>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+u]);y=p.Done();$s=3;case 3:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=$select([[y],[]]);if(x[0]===0){$s=4;continue;}if(x[0]===1){$s=5;continue;}$s=6;continue;case 4:z=p.Err();$s=7;case 7:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=JR(z);$s=8;case 8:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,new JS.ptr(\"dial\",q.network,q.Dialer.LocalAddr,w,aa)];case 5:case 6:ac=p.Deadline();$s=9;case 9:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;ad=$clone(ab[0],J.Time);ae=BC($clone(J.Now(),J.Time),$clone(ad,J.Time),r.$length-v>>0);af=$clone(ae[0],J.Time);ag=ae[1];if(!($interfaceIsEqual(ag,$ifaceNil))){if($interfaceIsEqual(s,$ifaceNil)){s=new JS.ptr(\"dial\",q.network,q.Dialer.LocalAddr,w,ag);}$s=2;continue;}ah=p;if($clone(af,J.Time).Before($clone(ad,J.Time))){$s=10;continue;}$s=11;continue;case 10:ai=$throwNilPointerError;ak=E.WithDeadline(p,$clone(af,J.Time));$s=12;case 12:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;ah=aj[0];ai=aj[1];$deferred.push([ai,[]]);case 11:am=BJ(ah,q,w);$s=13;case 13:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}al=am;an=al[0];ag=al[1];if($interfaceIsEqual(ag,$ifaceNil)){$s=-1;return[an,$ifaceNil];}if($interfaceIsEqual(s,$ifaceNil)){s=ag;}u++;$s=1;continue;case 2:if($interfaceIsEqual(s,$ifaceNil)){s=new JS.ptr(\"dial\",q.network,$ifaceNil,$ifaceNil,JN);}$s=-1;return[$ifaceNil,s];}return;}}catch(err){$err=err;$s=-1;return[$ifaceNil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};BJ=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=[q];s=[s];t=[t];u=[u];v=$ifaceNil;s[0]=$ifaceNil;y=p.Value((x=new I.TraceKey.ptr(),new x.constructor.elem(x)));$s=1;case 1:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}w=$assertType(y,PL,true);u[0]=w[0];if(!(u[0]===PL.nil)){$s=2;continue;}$s=3;continue;case 2:z=r.String();$s=4;case 4:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}t[0]=z;if(!(u[0].ConnectStart===$throwNilPointerError)){$s=5;continue;}$s=6;continue;case 5:$r=u[0].ConnectStart(q[0].network,t[0]);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:if(!(u[0].ConnectDone===$throwNilPointerError)){$s=8;continue;}$s=9;continue;case 8:$deferred.push([(function(q,s,t,u){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=u[0].ConnectDone(q[0].network,t[0],s[0]);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(q,s,t,u),[]]);case 9:case 3:aa=q[0].Dialer.LocalAddr;ab=r;if($assertType(ab,PJ,true)[1]){$s=10;continue;}if($assertType(ab,PH,true)[1]){$s=11;continue;}if($assertType(ab,PK,true)[1]){$s=12;continue;}if($assertType(ab,PO,true)[1]){$s=13;continue;}$s=14;continue;case 10:ac=ab.$val;ah=$assertType(aa,PJ,true);ai=ah[0];ak=NH(p,q[0].network,ai,ac);$s=16;case 16:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;v=aj[0];s[0]=aj[1];$s=15;continue;case 11:ad=ab.$val;al=$assertType(aa,PH,true);am=al[0];ao=NW(p,q[0].network,am,ad);$s=17;case 17:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;v=an[0];s[0]=an[1];$s=15;continue;case 12:ae=ab.$val;ap=$assertType(aa,PK,true);aq=ap[0];as=HP(p,q[0].network,aq,ae);$s=18;case 18:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;v=ar[0];s[0]=ar[1];$s=15;continue;case 13:af=ab.$val;at=$assertType(aa,PO,true);au=at[0];aw=OO(p,q[0].network,au,af);$s=19;case 19:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;v=av[0];s[0]=av[1];$s=15;continue;case 14:ag=ab;ax=$ifaceNil;ay=new JS.ptr(\"dial\",q[0].network,aa,ag,new KA.ptr(\"unexpected address type\",q[0].address));v=ax;s[0]=ay;$s=-1;return[v,s[0]];case 15:if(!($interfaceIsEqual(s[0],$ifaceNil))){az=$ifaceNil;ba=new JS.ptr(\"dial\",q[0].network,aa,r,s[0]);v=az;s[0]=ba;$s=-1;return[v,s[0]];}bb=v;bc=$ifaceNil;v=bb;s[0]=bc;$s=-1;return[v,s[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[v,s[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};BL=function(p){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z;q=\"\";r=$ifaceNil;s=HF(p);if(s===GM.nil){t=\"\";u=new KF.ptr(\"unrecognized address\",p,\"\",false,false);q=t;r=u;return[q,r];}if(!(s.To4()===GM.nil)){v=LE((((15>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+15])>>>0)))+\".\"+LE((((14>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+14])>>>0)))+\".\"+LE((((13>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+13])>>>0)))+\".\"+LE((((12>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+12])>>>0)))+\".in-addr.arpa.\";w=$ifaceNil;q=v;r=w;return[q,r];}x=$makeSlice(PA,0,(($imul(s.$length,4))+9>>0));y=s.$length-1>>0;while(true){if(!(y>=0)){break;}z=((y<0||y>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+y]);x=$append(x,\"0123456789abcdef\".charCodeAt(((z&15)>>>0)));x=$append(x,46);x=$append(x,\"0123456789abcdef\".charCodeAt((z>>>4<<24>>>24)));x=$append(x,46);y=y-(1)>>0;}x=$appendSlice(x,\"ip6.arpa.\");aa=($bytesToString(x));ab=$ifaceNil;q=aa;r=ab;return[q,r];};BM=function(p,q,r,s){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=\"\";u=PP.nil;v=$ifaceNil;u=$makeSlice(PP,0,r.answer.$length);if(r.dnsMsgHdr.rcode===3){$s=1;continue;}$s=2;continue;case 1:w=\"\";x=PP.nil;z=KE.Error();$s=3;case 3:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=new KF.ptr(z,p,q,false,false);t=w;u=x;v=y;$s=-1;return[t,u,v];case 2:if(!((r.dnsMsgHdr.rcode===0))){aa=new KF.ptr(\"server misbehaving\",p,q,false,false);if(r.dnsMsgHdr.rcode===2){aa.IsTemporary=true;}ab=\"\";ac=PP.nil;ad=aa;t=ab;u=ac;v=ad;$s=-1;return[t,u,v];}ae=0;case 4:if(!(ae<10)){$s=5;continue;}u=$subslice(u,0,0);af=r.answer;ag=0;case 6:if(!(ag<af.$length)){$s=7;continue;}ah=((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]);ai=$assertType(ah,PQ,true);aj=ai[1];if(aj){ag++;$s=6;continue;}ak=ah.Header();$s=8;case 8:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}al=ak;if((al.Class===1)&&BN(al.Name,p)){am=al.Rrtype;if(am===(s)){u=$append(u,ah);}else if(am===(5)){p=$assertType(ah,PR).Cname;ae=ae+(1)>>0;$s=4;continue s;}}ag++;$s=6;continue;case 7:if(u.$length===0){$s=9;continue;}$s=10;continue;case 9:an=\"\";ao=PP.nil;aq=KE.Error();$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=new KF.ptr(aq,p,q,false,false);t=an;u=ao;v=ap;$s=-1;return[t,u,v];case 10:ar=p;as=u;at=$ifaceNil;t=ar;u=as;v=at;$s=-1;return[t,u,v];$s=4;continue;case 5:au=\"\";av=PP.nil;aw=new KF.ptr(\"too many redirects\",p,q,false,false);t=au;u=av;v=aw;$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BN=function(p,q){var $ptr,p,q,r,s,t;if(!((p.length===q.length))){return false;}r=0;while(true){if(!(r<p.length)){break;}s=p.charCodeAt(r);t=q.charCodeAt(r);if(65<=s&&s<=90){s=s+(32)<<24>>>24;}if(65<=t&&t<=90){t=t+(32)<<24>>>24;}if(!((s===t))){return false;}r=r+(1)>>0;}return true;};BO=function(p){var $ptr,p,q,r,s,t,u,v;q=p.length;if((q===0)||q>254||(q===254)&&!((p.charCodeAt((q-1>>0))===46))){return false;}r=46;s=false;t=0;u=0;while(true){if(!(u<p.length)){break;}v=p.charCodeAt(u);if(97<=v&&v<=122||65<=v&&v<=90||(v===95)){s=true;t=t+(1)>>0;}else if(48<=v&&v<=57){t=t+(1)>>0;}else if((v===45)){if(r===46){return false;}t=t+(1)>>0;}else if((v===46)){if((r===46)||(r===45)){return false;}if(t>63||(t===0)){return false;}t=0;}else{return false;}r=v;u=u+(1)>>0;}if((r===45)||t>63){return false;}return s;};BP=function(p){var $ptr,p,q,r,s,t,u;q=false;r=p;s=0;while(true){if(!(s<r.$length)){break;}t=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);if(t===46){q=true;break;}s++;}if(q&&!(((u=p.$length-1>>0,((u<0||u>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+u]))===46))){p=$append(p,46);}return($bytesToString(p));};BR.prototype.Len=function(){var $ptr,p;p=this;return p.$length;};$ptrType(BR).prototype.Len=function(){return this.$get().Len();};BR.prototype.Less=function(p,q){var $ptr,p,q,r;r=this;return((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]).Priority<((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]).Priority||((((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]).Priority===((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]).Priority)&&((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]).Weight<((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]).Weight);};$ptrType(BR).prototype.Less=function(p,q){return this.$get().Less(p,q);};BR.prototype.Swap=function(p,q){var $ptr,p,q,r,s,t;r=this;s=((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]);t=((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]);((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]=s);((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]=t);};$ptrType(BR).prototype.Swap=function(p,q){return this.$get().Swap(p,q);};BR.prototype.shuffleByWeight=function(){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=0;r=p;s=0;while(true){if(!(s<r.$length)){break;}t=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);q=q+(((t.Weight>>0)))>>0;s++;}case 1:if(!(q>0&&p.$length>1)){$s=2;continue;}u=0;v=K.Intn(q);$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;x=p;y=0;while(true){if(!(y<x.$length)){break;}z=y;u=u+(((((z<0||z>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+z]).Weight>>0)))>>0;if(u>w){if(z>0){aa=((z<0||z>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+z]);ab=(0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0]);(0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0]=aa);((z<0||z>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+z]=ab);}break;}y++;}q=q-((((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0]).Weight>>0)))>>0;p=$subslice(p,1);$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BR.prototype.shuffleByWeight};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BR).prototype.shuffleByWeight=function(){return this.$get().shuffleByWeight();};BR.prototype.sort=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;$r=D.Sort(p);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=0;r=1;case 2:if(!(r<p.$length)){$s=3;continue;}if(!((((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]).Priority===((r<0||r>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+r]).Priority))){$s=4;continue;}$s=5;continue;case 4:$r=$subslice(p,q,r).shuffleByWeight();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=r;case 5:r=r+(1)>>0;$s=2;continue;case 3:$r=$subslice(p,q).shuffleByWeight();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BR.prototype.sort};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BR).prototype.sort=function(){return this.$get().sort();};BT.prototype.Len=function(){var $ptr,p;p=this;return p.$length;};$ptrType(BT).prototype.Len=function(){return this.$get().Len();};BT.prototype.Less=function(p,q){var $ptr,p,q,r;r=this;return((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]).Pref<((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]).Pref;};$ptrType(BT).prototype.Less=function(p,q){return this.$get().Less(p,q);};BT.prototype.Swap=function(p,q){var $ptr,p,q,r,s,t;r=this;s=((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]);t=((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]);((p<0||p>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+p]=s);((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]=t);};$ptrType(BT).prototype.Swap=function(p,q){return this.$get().Swap(p,q);};BT.prototype.sort=function(){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=p;r=0;case 1:if(!(r<q.$length)){$s=2;continue;}s=r;t=K.Intn(s+1>>0);$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=((u<0||u>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+u]);w=((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]);((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]=v);((u<0||u>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+u]=w);r++;$s=1;continue;case 2:$r=D.Sort(p);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BT.prototype.sort};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BT).prototype.sort=function(){return this.$get().sort();};NQ.ptr.prototype.dnsRoundTrip=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=BY(q,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.dnsRoundTrip};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.dnsRoundTrip=function(p){return this.$val.dnsRoundTrip(p);};BY=function(p,q){var $ptr,aa,ab,ac,ad,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=q.Pack();$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!u){$s=-1;return[PS.nil,A.New(\"cannot marshal DNS message\")];}w=p.Write(t);$s=2;case 2:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return[PS.nil,x];}t=$makeSlice(PA,512);case 3:z=p.Read(t);$s=5;case 5:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;aa=y[0];ab=y[1];if(!($interfaceIsEqual(ab,$ifaceNil))){$s=-1;return[PS.nil,ab];}ac=new DU.ptr(new DT.ptr(0,false,0,false,false,false,false,0),PT.nil,PP.nil,PP.nil,PP.nil);ad=ac.Unpack($subslice(t,0,aa));$s=8;case 8:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(!ad||!ac.IsResponseTo(q)){$s=6;continue;}$s=7;continue;case 6:$s=3;continue;case 7:$s=-1;return[ac,$ifaceNil];$s=3;continue;case 4:$s=-1;return[PS.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:BY};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};NB.ptr.prototype.dnsRoundTrip=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=BZ(q,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.dnsRoundTrip};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.dnsRoundTrip=function(p){return this.$val.dnsRoundTrip(p);};BZ=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=q.Pack();$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!u){$s=-1;return[PS.nil,A.New(\"cannot marshal DNS message\")];}v=t.$length;t=$appendSlice(new PA([(((v>>8>>0)<<24>>>24)),((v<<24>>>24))]),t);x=p.Write(t);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[1];if(!($interfaceIsEqual(y,$ifaceNil))){$s=-1;return[PS.nil,y];}t=$makeSlice(PA,1280);aa=L.ReadFull(p,$subslice(t,0,2));$s=3;case 3:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[1];if(!($interfaceIsEqual(ab,$ifaceNil))){$s=-1;return[PS.nil,ab];}v=((((0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0])>>0))<<8>>0)|(((1>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+1])>>0));if(v>t.$length){t=$makeSlice(PA,v);}ad=L.ReadFull(p,$subslice(t,0,v));$s=4;case 4:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];af=ac[1];if(!($interfaceIsEqual(af,$ifaceNil))){$s=-1;return[PS.nil,af];}ag=new DU.ptr(new DT.ptr(0,false,0,false,false,false,false,0),PT.nil,PP.nil,PP.nil,PP.nil);ah=ag.Unpack($subslice(t,0,ae));$s=7;case 7:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}if(!ah){$s=5;continue;}$s=6;continue;case 5:$s=-1;return[PS.nil,A.New(\"cannot unmarshal DNS message\")];case 6:if(!ag.IsResponseTo(q)){$s=-1;return[PS.nil,A.New(\"invalid DNS response\")];}$s=-1;return[ag,$ifaceNil];}return;}if($f===undefined){$f={$blk:BZ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BA.ptr.prototype.dialDNS=function(p,q,r){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=this;t=q;if(t===(\"tcp\")||t===(\"tcp4\")||t===(\"tcp6\")||t===(\"udp\")||t===(\"udp4\")||t===(\"udp6\")){}else{$s=-1;return[$ifaceNil,new KB((q))];}v=s.DialContext(p,q,r);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=u[0];x=u[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return[$ifaceNil,JR(x)];}y=q;if(y===(\"tcp\")||y===(\"tcp4\")||y===(\"tcp6\")){$s=-1;return[$assertType(w,PM),$ifaceNil];}else if(y===(\"udp\")||y===(\"udp4\")||y===(\"udp6\")){$s=-1;return[$assertType(w,PU),$ifaceNil];}$panic(new $String(\"unreachable\"));$s=-1;return[$ifaceNil,$ifaceNil];}return;}if($f===undefined){$f={$blk:BA.ptr.prototype.dialDNS};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};BA.prototype.dialDNS=function(p,q,r){return this.$val.dialDNS(p,q,r);};CA=function(p,q,r,s,t){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);u=[u];v=BW();$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;u[0]=new DU.ptr(new DT.ptr(0,false,0,false,false,true,false,0),new PT([new CZ.ptr(r,s,1)]),PP.nil,PP.nil,PP.nil);x=new OU([\"udp\",\"tcp\"]);y=0;case 2:if(!(y<x.$length)){$s=3;continue;}z=((y<0||y>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+y]);ab=E.WithDeadline(p,$clone($clone(J.Now(),J.Time).Add(t),J.Time));$s=4;case 4:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[0];ad=aa[1];$deferred.push([ad,[]]);af=w.dialDNS(ac,z,q);$s=5;case 5:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;ag=ae[0];ah=ae[1];if(!($interfaceIsEqual(ah,$ifaceNil))){$s=-1;return[PS.nil,ah];}$deferred.push([$methodVal(ag,\"Close\"),[]]);aj=ac.Deadline();$s=6;case 6:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;ak=$clone(ai[0],J.Time);al=ai[1];if(al&&!$clone(ak,J.Time).IsZero()){$s=7;continue;}$s=8;continue;case 7:am=ag.SetDeadline($clone(ak,J.Time));$s=9;case 9:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;case 8:an=K.Int();$s=10;case 10:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}u[0].dnsMsgHdr.id=(((an<<16>>>16))^(($clone(J.Now(),J.Time).UnixNano().$low<<16>>>16)))<<16>>>16;ap=ag.dnsRoundTrip(u[0]);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=ao[0];ah=ao[1];if(!($interfaceIsEqual(ah,$ifaceNil))){$s=-1;return[PS.nil,JR(ah)];}if(aq.dnsMsgHdr.truncated){y++;$s=2;continue;}$s=-1;return[aq,$ifaceNil];$s=2;continue;case 3:$s=-1;return[PS.nil,A.New(\"no answer from DNS server\")];}return;}}catch(err){$err=err;$s=-1;return[PS.nil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CA};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CB=function(p,q,r,s){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=$ifaceNil;u=q.serverOffset();v=((q.servers.$length>>>0));w=0;case 1:if(!(w<q.attempts)){$s=2;continue;}x=0;case 3:if(!(x<v)){$s=4;continue;}ab=(y=q.servers,z=(aa=((u+x>>>0))%v,aa===aa?aa:$throwRuntimeError(\"integer divide by zero\")),((z<0||z>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+z]));ad=CA(p,ab,r,s,q.timeout);$s=5;case 5:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];af=ac[1];if(!($interfaceIsEqual(af,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:ag=af.Error();$s=8;case 8:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}t=new KF.ptr(ag,r,ab,false,false);ah=$assertType(af,JL,true);ai=ah[0];aj=ah[1];if(!(aj)){ak=false;$s=11;continue s;}al=ai.Timeout();$s=12;case 12:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;case 11:if(ak){$s=9;continue;}$s=10;continue;case 9:$assertType(t,PV).IsTimeout=true;case 10:x=x+(1)>>>0;$s=3;continue;case 7:if((ae.dnsMsgHdr.rcode===0)&&!ae.dnsMsgHdr.authoritative&&!ae.dnsMsgHdr.recursion_available&&(ae.answer.$length===0)&&(ae.extra.$length===0)){$s=13;continue;}$s=14;continue;case 13:t=new KF.ptr(\"lame referral\",r,ab,false,false);x=x+(1)>>>0;$s=3;continue;case 14:an=BM(r,ab,ae,s);$s=15;case 15:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}am=an;ao=am[0];ap=am[1];af=am[2];if($interfaceIsEqual(af,$ifaceNil)||(ae.dnsMsgHdr.rcode===0)||(ae.dnsMsgHdr.rcode===3)){$s=-1;return[ao,ap,af];}t=af;x=x+(1)>>>0;$s=3;continue;case 4:w=w+(1)>>0;$s=1;continue;case 2:$s=-1;return[\"\",PP.nil,t];}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CC=function(p){var $ptr,p,q,r,s,t,u,v,w,x;q=$makeSlice(PF,0,4);r=p;s=0;while(true){if(!(s<r.$length)){break;}t=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);u=t;if($assertType(u,PW,true)[1]){v=u.$val;q=$append(q,new HH.ptr(GP((((v.A>>>24>>>0)<<24>>>24)),(((v.A>>>16>>>0)<<24>>>24)),(((v.A>>>8>>>0)<<24>>>24)),((v.A<<24>>>24))),\"\"));}else if($assertType(u,PX,true)[1]){w=u.$val;x=$makeSlice(GM,16);$copySlice(x,new PA(w.AAAA));q=$append(q,new HH.ptr(x,\"\"));}s++;}return q;};CD.ptr.prototype.init=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=AV();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p.dnsConfig=q.resolv;if(p.dnsConfig===OS.nil){$s=2;continue;}$s=3;continue;case 2:r=CT(\"/etc/resolv.conf\");$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}p.dnsConfig=r;case 3:J.Time.copy(p.lastChecked,J.Now());p.ch=new $Chan(PB,1);$s=-1;return;}return;}if($f===undefined){$f={$blk:CD.ptr.prototype.init};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};CD.prototype.init=function(){return this.$val.init();};CD.ptr.prototype.tryUpdate=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=this;$r=q.initOnce.Do($methodVal(q,\"init\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!q.tryAcquireSema()){$s=-1;return;}$deferred.push([$methodVal(q,\"releaseSema\"),[]]);r=$clone(J.Now(),J.Time);if($clone(q.lastChecked,J.Time).After($clone($clone(r,J.Time).Add(new J.Duration(-2,3589934592)),J.Time))){$s=-1;return;}J.Time.copy(q.lastChecked,r);s=new J.Time.ptr(new $Int64(0,0),0,OR.nil);t=F.Stat(p);u=t[0];v=t[1];if($interfaceIsEqual(v,$ifaceNil)){$s=2;continue;}$s=3;continue;case 2:w=u.ModTime();$s=4;case 4:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}J.Time.copy(s,w);case 3:if($clone(s,J.Time).Equal($clone(q.dnsConfig.mtime,J.Time))){$s=-1;return;}x=CT(p);$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;$r=q.mu.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q.dnsConfig=y;$r=q.mu.Unlock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CD.ptr.prototype.tryUpdate};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CD.prototype.tryUpdate=function(p){return this.$val.tryUpdate(p);};CD.ptr.prototype.tryAcquireSema=function(){var $ptr,p,q,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$r=$f.$r;}p=this;q=$select([[p.ch,new PB.ptr()],[]]);if(q[0]===0){return true;}else if(q[0]===1){return false;}if($f===undefined){$f={$blk:CD.ptr.prototype.tryAcquireSema};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$r=$r;return $f;};CD.prototype.tryAcquireSema=function(){return this.$val.tryAcquireSema();};CD.ptr.prototype.releaseSema=function(){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=$recv(p.ch);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q[0];$s=-1;return;}return;}if($f===undefined){$f={$blk:CD.ptr.prototype.releaseSema};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};CD.prototype.releaseSema=function(){return this.$val.releaseSema();};CF=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=\"\";t=PP.nil;u=$ifaceNil;if(!BO(q)){$s=1;continue;}$s=2;continue;case 1:v=\"\";w=PP.nil;y=KE.Error();$s=3;case 3:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=new KF.ptr(y,q,\"\",false,false);s=v;t=w;u=x;$s=-1;return[s,t,u];case 2:$r=CE.tryUpdate(\"/etc/resolv.conf\");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=CE.mu.RLock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}z=CE.dnsConfig;$r=CE.mu.RUnlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aa=z.nameList(q);ab=0;case 7:if(!(ab<aa.$length)){$s=8;continue;}ac=((ab<0||ab>=aa.$length)?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+ab]);ae=CB(p,z,ac,r);$s=9;case 9:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;s=ad[0];t=ad[1];u=ad[2];if($interfaceIsEqual(u,$ifaceNil)){$s=8;continue;}ab++;$s=7;continue;case 8:af=$assertType(u,PV,true);ag=af[0];ah=af[1];if(ah){ag.Name=q;}$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CG=function(p){var $ptr,p;if(p===\"\"){return true;}if(p.charCodeAt((p.length-1>>0))===46){p=$substring(p,0,(p.length-1>>0));}return LR(p,\".onion\");};CS.ptr.prototype.nameList=function(p){var $ptr,p,q,r,s,t,u,v,w,x;q=this;if(CG(p)){return OU.nil;}r=p.length;s=r>0&&(p.charCodeAt((r-1>>0))===46);if(r>254||(r===254)&&s){return OU.nil;}if(s){return new OU([p]);}t=LG(p,46)>=q.ndots;p=p+(\".\");r=r+(1)>>0;u=$makeSlice(OU,0,(1+q.search.$length>>0));if(t){u=$append(u,p);}v=q.search;w=0;while(true){if(!(w<v.$length)){break;}x=((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]);if((r+x.length>>0)<=254){u=$append(u,p+x);}w++;}if(!t){u=$append(u,p);}return u;};CS.prototype.nameList=function(p){return this.$val.nameList(p);};CH.prototype.String=function(){var $ptr,p,q,r,s,t;p=this.$val;q=(r=CI[CH.keyFor(p)],r!==undefined?[r.v,true]:[\"\",false]);s=q[0];t=q[1];if(t){return s;}return\"hostLookupOrder=\"+LD(((p>>0)))+\"??\";};$ptrType(CH).prototype.String=function(){return new CH(this.$get()).String();};CK=function(p,q,r){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=OU.nil;t=$ifaceNil;if((r===1)||(r===3)){$s=1;continue;}$s=2;continue;case 1:u=FO(q);$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;if(s.$length>0||(r===3)){$s=-1;return[s,t];}case 2:w=CN(p,q,r);$s=4;case 4:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];t=v[2];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[s,t];}s=$makeSlice(OU,0,x.$length);y=x;z=0;while(true){if(!(z<y.$length)){break;}aa=$clone(((z<0||z>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+z]),HH);s=$append(s,aa.String());z++;}$s=-1;return[s,t];}return;}if($f===undefined){$f={$blk:CK};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CL=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=PF.nil;s=FO(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=0;case 2:if(!(t<r.$length)){$s=3;continue;}u=((t<0||t>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+t]);v=IA(u);w=v[0];x=v[1];y=HF(w);if(!(y===GM.nil)){z=new HH.ptr(y,x);q=$append(q,z);}t++;$s=2;continue;case 3:$r=W(q);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return q;}return;}if($f===undefined){$f={$blk:CL};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CM=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=PF.nil;s=$ifaceNil;t=AV();$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t.hostLookupOrder(q);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;x=CN(p,q,v);$s=3;case 3:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;r=w[0];s=w[2];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:CM};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};CN=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];s=[s];t=[t];u=[u];v=PF.nil;w=\"\";x=$ifaceNil;if((r===1)||(r===3)){$s=1;continue;}$s=2;continue;case 1:y=CL(q);$s=3;case 3:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}v=y;if(v.$length>0||(r===3)){z=v;aa=q;ab=$ifaceNil;v=z;w=aa;x=ab;$s=-1;return[v,w,x];}case 2:if(!BO(q)){$s=4;continue;}$s=5;continue;case 4:ac=PF.nil;ad=\"\";af=KE.Error();$s=6;case 6:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=new KF.ptr(af,q,\"\",false,false);v=ac;w=ad;x=ae;$s=-1;return[v,w,x];case 5:$r=CE.tryUpdate(\"/etc/resolv.conf\");$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=CE.mu.RLock();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s[0]=CE.dnsConfig;$r=CE.mu.RUnlock();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u[0]=new $Chan(PY,1);ag=$toNativeArray($kindUint16,[1,28]);ah=$ifaceNil;ai=s[0].nameList(q);aj=0;case 10:if(!(aj<ai.$length)){$s=11;continue;}t[0]=((aj<0||aj>=ai.$length)?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+aj]);ak=ag;al=0;case 12:if(!(al<2)){$s=13;continue;}am=((al<0||al>=ak.length)?($throwRuntimeError(\"index out of range\"),undefined):ak[al]);$go((function(p,s,t,u){return function $b(an){var $ptr,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=CB(p[0],s[0],t[0],an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=ao[0];ar=ao[1];as=ao[2];$r=$send(u[0],$clone(new PY.ptr(aq,ar,as),PY));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};})(p,s,t,u),[am]);al++;$s=12;continue;case 13:an=ag;ao=0;case 14:if(!(ao<2)){$s=15;continue;}ap=$recv(u[0]);$s=16;case 16:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap[0],PY);if(!($interfaceIsEqual(aq.error,$ifaceNil))){if($interfaceIsEqual(ah,$ifaceNil)||t[0]===q+\".\"){ah=aq.error;}ao++;$s=14;continue;}v=$appendSlice(v,CC(aq.rrs));if(w===\"\"){w=aq.cname;}ao++;$s=14;continue;case 15:if(v.$length>0){$s=11;continue;}aj++;$s=10;continue;case 11:ar=$assertType(ah,PV,true);as=ar[0];at=ar[1];if(at){as.Name=q;}$r=W(v);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(v.$length===0){$s=18;continue;}$s=19;continue;case 18:if(r===2){$s=20;continue;}$s=21;continue;case 20:au=CL(q);$s=22;case 22:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}v=au;case 21:if((v.$length===0)&&!($interfaceIsEqual(ah,$ifaceNil))){av=PF.nil;aw=\"\";ax=ah;v=av;w=aw;x=ax;$s=-1;return[v,w,x];}case 19:ay=v;az=w;ba=$ifaceNil;v=ay;w=az;x=ba;$s=-1;return[v,w,x];}return;}if($f===undefined){$f={$blk:CN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CO=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=\"\";s=$ifaceNil;t=AV();$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t.hostLookupOrder(q);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;x=CN(p,q,v);$s=3;case 3:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;r=w[1];s=w[2];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:CO};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};CP=function(p,q){var $ptr,aa,ab,ac,ad,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=FP(q);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(s.$length>0){$s=-1;return[s,$ifaceNil];}t=BL(q);u=t[0];v=t[1];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[OU.nil,v];}x=CF(p,u,12);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[1];v=w[2];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[OU.nil,v];}z=$makeSlice(OU,y.$length);aa=y;ab=0;while(true){if(!(ab<aa.$length)){break;}ac=ab;ad=((ab<0||ab>=aa.$length)?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+ab]);((ac<0||ac>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ac]=$assertType(ad,PZ).Ptr);ab++;}$s=-1;return[z,$ifaceNil];}return;}if($f===undefined){$f={$blk:CP};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CT=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=new CS.ptr(OU.nil,OU.nil,1,new J.Duration(1,705032704),2,false,false,OU.nil,$ifaceNil,new J.Time.ptr(new $Int64(0,0),0,OR.nil),0);r=KV(p);s=r[0];t=r[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:q.servers=CQ;u=CU();$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}q.search=u;q.err=t;$s=-1;return q;case 2:$deferred.push([$methodVal(s,\"close\"),[]]);v=s.file.Stat();w=v[0];x=v[1];if($interfaceIsEqual(x,$ifaceNil)){$s=4;continue;}$s=5;continue;case 4:y=w.ModTime();$s=7;case 7:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}J.Time.copy(q.mtime,y);$s=6;continue;case 5:q.servers=CQ;z=CU();$s=8;case 8:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}q.search=z;q.err=x;$s=-1;return q;case 6:ab=s.readLine();$s=9;case 9:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[0];ad=aa[1];case 10:if(!(ad)){$s=11;continue;}if(ac.length>0&&((ac.charCodeAt(0)===59)||(ac.charCodeAt(0)===35))){$s=12;continue;}$s=13;continue;case 12:af=s.readLine();$s=14;case 14:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;ac=ae[0];ad=ae[1];$s=10;continue;case 13:ag=KZ(ac);if(ag.$length<1){$s=15;continue;}$s=16;continue;case 15:ai=s.readLine();$s=17;case 17:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;ac=ah[0];ad=ah[1];$s=10;continue;case 16:aj=(0>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+0]);if(aj===(\"nameserver\")){if(ag.$length>1&&q.servers.$length<3){if(!(HD((1>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+1]))===GM.nil)){q.servers=$append(q.servers,IB((1>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+1]),\"53\"));}else{ak=HE((1>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+1]),true);al=ak[0];if(!(al===GM.nil)){q.servers=$append(q.servers,IB((1>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+1]),\"53\"));}}}}else if(aj===(\"domain\")){if(ag.$length>1){q.search=new OU([CW((1>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+1]))]);}}else if(aj===(\"search\")){q.search=$makeSlice(OU,(ag.$length-1>>0));am=0;while(true){if(!(am<q.search.$length)){break;}(ao=q.search,((am<0||am>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+am]=CW((an=am+1>>0,((an<0||an>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+an])))));am=am+(1)>>0;}}else if(aj===(\"options\")){ap=$subslice(ag,1);aq=0;while(true){if(!(aq<ap.$length)){break;}ar=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(CV(ar,\"ndots:\")){as=LA($substring(ar,6));at=as[0];if(at<0){at=0;}else if(at>15){at=15;}q.ndots=at;}else if(CV(ar,\"timeout:\")){au=LA($substring(ar,8));av=au[0];if(av<1){av=1;}q.timeout=$mul64((new J.Duration(0,av)),new J.Duration(0,1000000000));}else if(CV(ar,\"attempts:\")){aw=LA($substring(ar,9));ax=aw[0];if(ax<1){ax=1;}q.attempts=ax;}else if(ar===\"rotate\"){q.rotate=true;}else{q.unknownOpt=true;}aq++;}}else if(aj===(\"lookup\")){q.lookup=$subslice(ag,1);}else{q.unknownOpt=true;}az=s.readLine();$s=18;case 18:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ac=ay[0];ad=ay[1];$s=10;continue;case 11:if(q.servers.$length===0){q.servers=CQ;}if(q.search.$length===0){$s=19;continue;}$s=20;continue;case 19:ba=CU();$s=21;case 21:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}q.search=ba;case 20:$s=-1;return q;}return;}}catch(err){$err=err;$s=-1;return OS.nil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CT};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CS.ptr.prototype.serverOffset=function(){var $ptr,p;p=this;if(p.rotate){return M.AddUint32((p.$ptr_soffset||(p.$ptr_soffset=new QA(function(){return this.$target.soffset;},function($v){this.$target.soffset=$v;},p))),1)-1>>>0;}return 0;};CS.prototype.serverOffset=function(){return this.$val.serverOffset();};CU=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=CR();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return OU.nil;}t=P(r,46);if(t>=0&&t<(r.length-1>>0)){$s=-1;return new OU([CW($substring(r,(t+1>>0)))]);}$s=-1;return OU.nil;}return;}if($f===undefined){$f={$blk:CU};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CV=function(p,q){var $ptr,p,q;return p.length>=q.length&&$substring(p,0,q.length)===q;};CW=function(p){var $ptr,p;if(p.length>0&&(p.charCodeAt((p.length-1>>0))===46)){return p;}return p+\".\";};CY.ptr.prototype.Walk=function(p){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;w=p((q.$ptr_Id||(q.$ptr_Id=new QB(function(){return this.$target.Id;},function($v){this.$target.Id=$v;},q))),\"Id\",\"\");$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}if(!(w)){v=false;$s=5;continue s;}x=p((q.$ptr_Bits||(q.$ptr_Bits=new QB(function(){return this.$target.Bits;},function($v){this.$target.Bits=$v;},q))),\"Bits\",\"\");$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}v=x;case 5:if(!(v)){u=false;$s=4;continue s;}y=p((q.$ptr_Qdcount||(q.$ptr_Qdcount=new QB(function(){return this.$target.Qdcount;},function($v){this.$target.Qdcount=$v;},q))),\"Qdcount\",\"\");$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}u=y;case 4:if(!(u)){t=false;$s=3;continue s;}z=p((q.$ptr_Ancount||(q.$ptr_Ancount=new QB(function(){return this.$target.Ancount;},function($v){this.$target.Ancount=$v;},q))),\"Ancount\",\"\");$s=9;case 9:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}t=z;case 3:if(!(t)){s=false;$s=2;continue s;}aa=p((q.$ptr_Nscount||(q.$ptr_Nscount=new QB(function(){return this.$target.Nscount;},function($v){this.$target.Nscount=$v;},q))),\"Nscount\",\"\");$s=10;case 10:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}s=aa;case 2:if(!(s)){r=false;$s=1;continue s;}ab=p((q.$ptr_Arcount||(q.$ptr_Arcount=new QB(function(){return this.$target.Arcount;},function($v){this.$target.Arcount=$v;},q))),\"Arcount\",\"\");$s=11;case 11:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}r=ab;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Walk=function(p){return this.$val.Walk(p);};CZ.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;t=p((q.$ptr_Name||(q.$ptr_Name=new QC(function(){return this.$target.Name;},function($v){this.$target.Name=$v;},q))),\"Name\",\"domain\");$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}if(!(t)){s=false;$s=2;continue s;}u=p((q.$ptr_Qtype||(q.$ptr_Qtype=new QB(function(){return this.$target.Qtype;},function($v){this.$target.Qtype=$v;},q))),\"Qtype\",\"\");$s=4;case 4:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;case 2:if(!(s)){r=false;$s=1;continue s;}v=p((q.$ptr_Qclass||(q.$ptr_Qclass=new QB(function(){return this.$target.Qclass;},function($v){this.$target.Qclass=$v;},q))),\"Qclass\",\"\");$s=5;case 5:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}r=v;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:CZ.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};CZ.prototype.Walk=function(p){return this.$val.Walk(p);};DA.ptr.prototype.Header=function(){var $ptr,p;p=this;return p;};DA.prototype.Header=function(){return this.$val.Header();};DA.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;v=p((q.$ptr_Name||(q.$ptr_Name=new QC(function(){return this.$target.Name;},function($v){this.$target.Name=$v;},q))),\"Name\",\"domain\");$s=5;case 5:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}if(!(v)){u=false;$s=4;continue s;}w=p((q.$ptr_Rrtype||(q.$ptr_Rrtype=new QB(function(){return this.$target.Rrtype;},function($v){this.$target.Rrtype=$v;},q))),\"Rrtype\",\"\");$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;case 4:if(!(u)){t=false;$s=3;continue s;}x=p((q.$ptr_Class||(q.$ptr_Class=new QB(function(){return this.$target.Class;},function($v){this.$target.Class=$v;},q))),\"Class\",\"\");$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}t=x;case 3:if(!(t)){s=false;$s=2;continue s;}y=p((q.$ptr_Ttl||(q.$ptr_Ttl=new QA(function(){return this.$target.Ttl;},function($v){this.$target.Ttl=$v;},q))),\"Ttl\",\"\");$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}s=y;case 2:if(!(s)){r=false;$s=1;continue s;}z=p((q.$ptr_Rdlength||(q.$ptr_Rdlength=new QB(function(){return this.$target.Rdlength;},function($v){this.$target.Rdlength=$v;},q))),\"Rdlength\",\"\");$s=9;case 9:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}r=z;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DA.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DA.prototype.Walk=function(p){return this.$val.Walk(p);};DC.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DC.prototype.Header=function(){return this.$val.Header();};DC.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;s=q.Hdr.Walk(p);$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(!(s)){r=false;$s=1;continue s;}t=p((q.$ptr_Cname||(q.$ptr_Cname=new QC(function(){return this.$target.Cname;},function($v){this.$target.Cname=$v;},q))),\"Cname\",\"domain\");$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.Walk=function(p){return this.$val.Walk(p);};DD.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DD.prototype.Header=function(){return this.$val.Header();};DD.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;t=q.Hdr.Walk(p);$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}if(!(t)){s=false;$s=2;continue s;}u=p((q.$ptr_Pref||(q.$ptr_Pref=new QB(function(){return this.$target.Pref;},function($v){this.$target.Pref=$v;},q))),\"Pref\",\"\");$s=4;case 4:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;case 2:if(!(s)){r=false;$s=1;continue s;}v=p((q.$ptr_Mx||(q.$ptr_Mx=new QC(function(){return this.$target.Mx;},function($v){this.$target.Mx=$v;},q))),\"Mx\",\"domain\");$s=5;case 5:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}r=v;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DD.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};DD.prototype.Walk=function(p){return this.$val.Walk(p);};DE.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DE.prototype.Header=function(){return this.$val.Header();};DE.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;s=q.Hdr.Walk(p);$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(!(s)){r=false;$s=1;continue s;}t=p((q.$ptr_Ns||(q.$ptr_Ns=new QC(function(){return this.$target.Ns;},function($v){this.$target.Ns=$v;},q))),\"Ns\",\"domain\");$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DE.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};DE.prototype.Walk=function(p){return this.$val.Walk(p);};DF.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DF.prototype.Header=function(){return this.$val.Header();};DF.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;s=q.Hdr.Walk(p);$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(!(s)){r=false;$s=1;continue s;}t=p((q.$ptr_Ptr||(q.$ptr_Ptr=new QC(function(){return this.$target.Ptr;},function($v){this.$target.Ptr=$v;},q))),\"Ptr\",\"domain\");$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DF.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};DF.prototype.Walk=function(p){return this.$val.Walk(p);};DG.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DG.prototype.Header=function(){return this.$val.Header();};DG.ptr.prototype.Walk=function(p){var $ptr,aa,ab,ac,ad,ae,af,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;y=q.Hdr.Walk(p);$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}if(!(y)){x=false;$s=7;continue s;}z=p((q.$ptr_Ns||(q.$ptr_Ns=new QC(function(){return this.$target.Ns;},function($v){this.$target.Ns=$v;},q))),\"Ns\",\"domain\");$s=9;case 9:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}x=z;case 7:if(!(x)){w=false;$s=6;continue s;}aa=p((q.$ptr_Mbox||(q.$ptr_Mbox=new QC(function(){return this.$target.Mbox;},function($v){this.$target.Mbox=$v;},q))),\"Mbox\",\"domain\");$s=10;case 10:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}w=aa;case 6:if(!(w)){v=false;$s=5;continue s;}ab=p((q.$ptr_Serial||(q.$ptr_Serial=new QA(function(){return this.$target.Serial;},function($v){this.$target.Serial=$v;},q))),\"Serial\",\"\");$s=11;case 11:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}v=ab;case 5:if(!(v)){u=false;$s=4;continue s;}ac=p((q.$ptr_Refresh||(q.$ptr_Refresh=new QA(function(){return this.$target.Refresh;},function($v){this.$target.Refresh=$v;},q))),\"Refresh\",\"\");$s=12;case 12:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}u=ac;case 4:if(!(u)){t=false;$s=3;continue s;}ad=p((q.$ptr_Retry||(q.$ptr_Retry=new QA(function(){return this.$target.Retry;},function($v){this.$target.Retry=$v;},q))),\"Retry\",\"\");$s=13;case 13:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}t=ad;case 3:if(!(t)){s=false;$s=2;continue s;}ae=p((q.$ptr_Expire||(q.$ptr_Expire=new QA(function(){return this.$target.Expire;},function($v){this.$target.Expire=$v;},q))),\"Expire\",\"\");$s=14;case 14:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}s=ae;case 2:if(!(s)){r=false;$s=1;continue s;}af=p((q.$ptr_Minttl||(q.$ptr_Minttl=new QA(function(){return this.$target.Minttl;},function($v){this.$target.Minttl=$v;},q))),\"Minttl\",\"\");$s=15;case 15:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}r=af;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DG.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DG.prototype.Walk=function(p){return this.$val.Walk(p);};DH.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DH.prototype.Header=function(){return this.$val.Header();};DH.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=q.Hdr.Walk(p);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if(!r){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:s=0;case 4:if(!(s<q.Hdr.Rdlength)){$s=5;continue;}t=[t];t[0]=\"\";u=p((t.$ptr||(t.$ptr=new QC(function(){return this.$target[0];},function($v){this.$target[0]=$v;},t))),\"Txt\",\"\");$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!u){$s=6;continue;}$s=7;continue;case 6:$s=-1;return false;case 7:if((q.Hdr.Rdlength-s<<16>>>16)<(((t[0].length<<16>>>16))+1<<16>>>16)){$s=-1;return false;}s=s+((((t[0].length<<16>>>16))+1<<16>>>16))<<16>>>16;q.Txt=q.Txt+(t[0]);$s=4;continue;case 5:$s=-1;return true;}return;}if($f===undefined){$f={$blk:DH.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};DH.prototype.Walk=function(p){return this.$val.Walk(p);};DI.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DI.prototype.Header=function(){return this.$val.Header();};DI.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;v=q.Hdr.Walk(p);$s=5;case 5:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}if(!(v)){u=false;$s=4;continue s;}w=p((q.$ptr_Priority||(q.$ptr_Priority=new QB(function(){return this.$target.Priority;},function($v){this.$target.Priority=$v;},q))),\"Priority\",\"\");$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;case 4:if(!(u)){t=false;$s=3;continue s;}x=p((q.$ptr_Weight||(q.$ptr_Weight=new QB(function(){return this.$target.Weight;},function($v){this.$target.Weight=$v;},q))),\"Weight\",\"\");$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}t=x;case 3:if(!(t)){s=false;$s=2;continue s;}y=p((q.$ptr_Port||(q.$ptr_Port=new QB(function(){return this.$target.Port;},function($v){this.$target.Port=$v;},q))),\"Port\",\"\");$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}s=y;case 2:if(!(s)){r=false;$s=1;continue s;}z=p((q.$ptr_Target||(q.$ptr_Target=new QC(function(){return this.$target.Target;},function($v){this.$target.Target=$v;},q))),\"Target\",\"domain\");$s=9;case 9:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}r=z;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DI.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DI.prototype.Walk=function(p){return this.$val.Walk(p);};DJ.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DJ.prototype.Header=function(){return this.$val.Header();};DJ.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;s=q.Hdr.Walk(p);$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(!(s)){r=false;$s=1;continue s;}t=p((q.$ptr_A||(q.$ptr_A=new QA(function(){return this.$target.A;},function($v){this.$target.A=$v;},q))),\"A\",\"ipv4\");$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DJ.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};DJ.prototype.Walk=function(p){return this.$val.Walk(p);};DK.ptr.prototype.Header=function(){var $ptr,p;p=this;return p.Hdr;};DK.prototype.Header=function(){return this.$val.Header();};DK.ptr.prototype.Walk=function(p){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;s=q.Hdr.Walk(p);$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(!(s)){r=false;$s=1;continue s;}t=p(new PA(q.AAAA),\"AAAA\",\"ipv6\");$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}r=t;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DK.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};DK.prototype.Walk=function(p){return this.$val.Walk(p);};DM=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,p,q,r,s,t,u,v,w,x,y,z;s=0;t=false;u=p.length;if((u===0)||!((p.charCodeAt((u-1>>0))===46))){p=p+(\".\");}if(p===\".\"){((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]=0);r=r+(1)>>0;v=r;w=true;s=v;t=w;return[s,t];}x=p.length+1>>0;if((r+x>>0)>q.$length){y=q.$length;z=false;s=y;t=z;return[s,t];}aa=0;ab=0;while(true){if(!(ab<p.length)){break;}if(p.charCodeAt(ab)===46){if((ab-aa>>0)>=64){ac=q.$length;ad=false;s=ac;t=ad;return[s,t];}if((ab-aa>>0)===0){ae=q.$length;af=false;s=ae;t=af;return[s,t];}((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]=(((ab-aa>>0)<<24>>>24)));r=r+(1)>>0;ag=aa;while(true){if(!(ag<ab)){break;}((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]=p.charCodeAt(ag));r=r+(1)>>0;ag=ag+(1)>>0;}aa=ab+1>>0;}ab=ab+(1)>>0;}((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]=0);r=r+(1)>>0;ah=r;ai=true;s=ah;t=ai;return[s,t];};DN=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,p,q,r,s,t,u,v,w,x,y,z;r=\"\";s=0;t=false;r=\"\";u=0;Loop:while(true){if(q>=p.$length){v=\"\";w=p.$length;x=false;r=v;s=w;t=x;return[r,s,t];}y=((((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q])>>0));q=q+(1)>>0;z=y&192;if(z===(0)){if(y===0){break Loop;}if((q+y>>0)>p.$length){aa=\"\";ab=p.$length;ac=false;r=aa;s=ab;t=ac;return[r,s,t];}r=r+(($bytesToString($subslice(p,q,(q+y>>0))))+\".\");q=q+(y)>>0;}else if(z===(192)){if(q>=p.$length){ad=\"\";ae=p.$length;af=false;r=ad;s=ae;t=af;return[r,s,t];}ag=((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]);q=q+(1)>>0;if(u===0){s=q;}u=u+(1)>>0;if(u>10){ah=\"\";ai=p.$length;aj=false;r=ah;s=ai;t=aj;return[r,s,t];}q=((((y^192)>>0))<<8>>0)|((ag>>0));}else{ak=\"\";al=p.$length;am=false;r=ak;s=al;t=am;return[r,s,t];}}if(r.length===0){r=\".\";}if(u===0){s=q;}an=r;ao=s;ap=true;r=an;s=ao;t=ap;return[r,s,t];};DO=function(p,q,r){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=[r];s=[s];t=0;s[0]=false;u=p.Walk((function(q,r,s){return function(u,v,w){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,u,v,w,x,y,z;x=u;if($assertType(x,QB,true)[1]){z=x.$val;ad=z.$get();if((r[0]+2>>0)>q[0].$length){return false;}((r[0]<0||r[0]>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+r[0]]=(((ad>>>8<<16>>>16)<<24>>>24)));(ae=r[0]+1>>0,((ae<0||ae>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ae]=((ad<<24>>>24))));r[0]=r[0]+(2)>>0;}else if($assertType(x,QA,true)[1]){aa=x.$val;af=aa.$get();((r[0]<0||r[0]>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+r[0]]=(((af>>>24>>>0)<<24>>>24)));(ag=r[0]+1>>0,((ag<0||ag>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ag]=(((af>>>16>>>0)<<24>>>24))));(ah=r[0]+2>>0,((ah<0||ah>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ah]=(((af>>>8>>>0)<<24>>>24))));(ai=r[0]+3>>0,((ai<0||ai>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ai]=((af<<24>>>24))));r[0]=r[0]+(4)>>0;}else if($assertType(x,PA,true)[1]){ab=x.$val;aj=ab.$length;if((r[0]+aj>>0)>q[0].$length){return false;}$copySlice($subslice(q[0],r[0],(r[0]+aj>>0)),ab);r[0]=r[0]+(aj)>>0;}else if($assertType(x,QC,true)[1]){ac=x.$val;ak=ac.$get();al=w;if(al===(\"domain\")){am=DM(ak,q[0],r[0]);r[0]=am[0];s[0]=am[1];if(!s[0]){return false;}}else if(al===(\"\")){if(ak.length>255||((r[0]+1>>0)+ak.length>>0)>q[0].$length){return false;}((r[0]<0||r[0]>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+r[0]]=((ak.length<<24>>>24)));r[0]=r[0]+(1)>>0;r[0]=r[0]+($copyString($subslice(q[0],r[0]),ak))>>0;}else{console.log(\"net: dns: unknown string tag\",w);return false;}}else{y=x;console.log(\"net: dns: unknown packing type\");return false;}return true;};})(q,r,s));$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s[0]=u;if(!s[0]){v=q[0].$length;w=false;t=v;s[0]=w;$s=-1;return[t,s[0]];}x=r[0];y=true;t=x;s[0]=y;$s=-1;return[t,s[0]];}return;}if($f===undefined){$f={$blk:DO};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};DP=function(p,q,r){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=[r];s=[s];t=0;s[0]=false;u=p.Walk((function(q,r,s){return function(u,v,w){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,u,v,w,x,y,z;x=u;if($assertType(x,QB,true)[1]){z=x.$val;if((r[0]+2>>0)>q[0].$length){return false;}z.$set(((((((r[0]<0||r[0]>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+r[0]])<<16>>>16))<<8<<16>>>16)|(((ad=r[0]+1>>0,((ad<0||ad>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ad]))<<16>>>16)))>>>0);r[0]=r[0]+(2)>>0;}else if($assertType(x,QA,true)[1]){aa=x.$val;if((r[0]+4>>0)>q[0].$length){return false;}aa.$set(((((((((((r[0]<0||r[0]>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+r[0]])>>>0))<<24>>>0)|((((ae=r[0]+1>>0,((ae<0||ae>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ae]))>>>0))<<16>>>0))>>>0)|((((af=r[0]+2>>0,((af<0||af>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+af]))>>>0))<<8>>>0))>>>0)|(((ag=r[0]+3>>0,((ag<0||ag>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ag]))>>>0)))>>>0);r[0]=r[0]+(4)>>0;}else if($assertType(x,PA,true)[1]){ab=x.$val;ah=ab.$length;if((r[0]+ah>>0)>q[0].$length){return false;}$copySlice(ab,$subslice(q[0],r[0],(r[0]+ah>>0)));r[0]=r[0]+(ah)>>0;}else if($assertType(x,QC,true)[1]){ac=x.$val;ai=\"\";aj=w;if(aj===(\"domain\")){ak=DN(q[0],r[0]);ai=ak[0];r[0]=ak[1];s[0]=ak[2];if(!s[0]){return false;}}else if(aj===(\"\")){if(r[0]>=q[0].$length||((r[0]+1>>0)+((((r[0]<0||r[0]>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+r[0]])>>0))>>0)>q[0].$length){return false;}al=((((r[0]<0||r[0]>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+r[0]])>>0));r[0]=r[0]+(1)>>0;am=$makeSlice(PA,al);an=0;while(true){if(!(an<al)){break;}((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]=(ao=r[0]+an>>0,((ao<0||ao>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ao])));an=an+(1)>>0;}r[0]=r[0]+(al)>>0;ai=($bytesToString(am));}else{console.log(\"net: dns: unknown string tag\",w);return false;}ac.$set(ai);}else{y=x;console.log(\"net: dns: unknown packing type\");return false;}return true;};})(q,r,s));$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s[0]=u;if(!s[0]){v=q[0].$length;w=false;t=v;s[0]=w;$s=-1;return[t,s[0]];}x=r[0];y=true;t=x;s[0]=y;$s=-1;return[t,s[0]];}return;}if($f===undefined){$f={$blk:DP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};DQ=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=[r];r[0]=\"{\";q[0]=0;s=p.Walk((function(q,r){return function(s,t,u){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,s,t,u,v,w,x,y,z;q[0]=q[0]+(1)>>0;if(q[0]>1){r[0]=r[0]+(\", \");}r[0]=r[0]+(t+\"=\");v=u;if(v===(\"ipv4\")){w=$assertType(s,QA).$get();r[0]=r[0]+(GP((((w>>>24>>>0)<<24>>>24)),(((w>>>16>>>0)<<24>>>24)),(((w>>>8>>>0)<<24>>>24)),((w<<24>>>24))).String());}else if(v===(\"ipv6\")){x=$assertType(s,PA);r[0]=r[0]+(($subslice(new GM(x.$array),x.$offset,x.$offset+x.$length)).String());}else{y=new $Int64(0,0);z=s;if($assertType(z,QC,true)[1]){ab=z.$val;r[0]=r[0]+(ab.$get());return true;}else if($assertType(z,PA,true)[1]){ac=z.$val;r[0]=r[0]+(($bytesToString(ac)));return true;}else if($assertType(z,QD,true)[1]){ad=z.$val;if(ad.$get()){r[0]=r[0]+(\"true\");}else{r[0]=r[0]+(\"false\");}return true;}else if($assertType(z,QE,true)[1]){ae=z.$val;y=(new $Int64(0,ae.$get()));}else if($assertType(z,QF,true)[1]){af=z.$val;y=(new $Int64(0,af.$get()));}else if($assertType(z,QG,true)[1]){ag=z.$val;y=(new $Int64(0,ag.$get()));}else if($assertType(z,QB,true)[1]){ah=z.$val;y=(new $Int64(0,ah.$get()));}else if($assertType(z,QA,true)[1]){ai=z.$val;y=(new $Int64(0,ai.$get()));}else if($assertType(z,QH,true)[1]){aj=z.$val;y=((al=aj.$get(),new $Int64(al.$high,al.$low)));}else if($assertType(z,QI,true)[1]){ak=z.$val;y=((am=ak.$get(),new $Int64(0,am.constructor===Number?am:1)));}else{aa=z;r[0]=r[0]+(\"<unknown type>\");return true;}r[0]=r[0]+(LD((((y.$low+((y.$high>>31)*4294967296))>>0))));}return true;};})(q,r));$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;r[0]=r[0]+(\"}\");$s=-1;return r[0];}return;}if($f===undefined){$f={$blk:DQ};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};DR=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=false;u=0;w=p.Header();$s=1;case 1:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=DO(w,q,r);$s=2;case 2:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}v=x;u=v[0];t=v[1];if(!t){y=q.$length;z=false;s=y;t=z;$s=-1;return[s,t];}ab=DO(p,q,r);$s=3;case 3:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;s=aa[0];t=aa[1];if(!t){ac=q.$length;ad=false;s=ac;t=ad;$s=-1;return[s,t];}ae=p.Header();$s=4;case 4:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae.Rdlength=(((s-u>>0)<<16>>>16));af=p.Header();$s=5;case 5:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=DO(af,q,r);$s=6;case 6:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;ah=s;ai=true;s=ah;t=ai;$s=-1;return[s,t];}return;}if($f===undefined){$f={$blk:DR};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DS=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=[r];s=$ifaceNil;t=0;u=false;r[0]=new DA.ptr(\"\",0,0,0,0);v=q;x=DP(r[0],p,q);$s=1;case 1:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;q=w[0];u=w[1];if(!u){y=$ifaceNil;z=p.$length;aa=false;s=y;t=z;u=aa;$s=-1;return[s,t,u];}ab=q+((r[0].Rdlength>>0))>>0;ac=(ad=DL[$Int.keyFor(((r[0].Rrtype>>0)))],ad!==undefined?[ad.v,true]:[$throwNilPointerError,false]);ae=ac[0];af=ac[1];if(!af){ag=r[0];ah=ab;ai=true;s=ag;t=ah;u=ai;$s=-1;return[s,t,u];}aj=ae();$s=2;case 2:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}s=aj;al=DP(s,p,v);$s=3;case 3:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;q=ak[0];u=ak[1];if(!((q===ab))){am=r[0];an=ab;ao=true;s=am;t=an;u=ao;$s=-1;return[s,t,u];}ap=s;aq=q;ar=u;s=ap;t=aq;u=ar;$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:DS};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DT.ptr.prototype.Walk=function(p){var $ptr,aa,ab,ac,ad,ae,af,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;y=p((q.$ptr_id||(q.$ptr_id=new QB(function(){return this.$target.id;},function($v){this.$target.id=$v;},q))),\"id\",\"\");$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}if(!(y)){x=false;$s=7;continue s;}z=p((q.$ptr_response||(q.$ptr_response=new QD(function(){return this.$target.response;},function($v){this.$target.response=$v;},q))),\"response\",\"\");$s=9;case 9:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}x=z;case 7:if(!(x)){w=false;$s=6;continue s;}aa=p((q.$ptr_opcode||(q.$ptr_opcode=new QE(function(){return this.$target.opcode;},function($v){this.$target.opcode=$v;},q))),\"opcode\",\"\");$s=10;case 10:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}w=aa;case 6:if(!(w)){v=false;$s=5;continue s;}ab=p((q.$ptr_authoritative||(q.$ptr_authoritative=new QD(function(){return this.$target.authoritative;},function($v){this.$target.authoritative=$v;},q))),\"authoritative\",\"\");$s=11;case 11:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}v=ab;case 5:if(!(v)){u=false;$s=4;continue s;}ac=p((q.$ptr_truncated||(q.$ptr_truncated=new QD(function(){return this.$target.truncated;},function($v){this.$target.truncated=$v;},q))),\"truncated\",\"\");$s=12;case 12:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}u=ac;case 4:if(!(u)){t=false;$s=3;continue s;}ad=p((q.$ptr_recursion_desired||(q.$ptr_recursion_desired=new QD(function(){return this.$target.recursion_desired;},function($v){this.$target.recursion_desired=$v;},q))),\"recursion_desired\",\"\");$s=13;case 13:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}t=ad;case 3:if(!(t)){s=false;$s=2;continue s;}ae=p((q.$ptr_recursion_available||(q.$ptr_recursion_available=new QD(function(){return this.$target.recursion_available;},function($v){this.$target.recursion_available=$v;},q))),\"recursion_available\",\"\");$s=14;case 14:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}s=ae;case 2:if(!(s)){r=false;$s=1;continue s;}af=p((q.$ptr_rcode||(q.$ptr_rcode=new QE(function(){return this.$target.rcode;},function($v){this.$target.rcode=$v;},q))),\"rcode\",\"\");$s=15;case 15:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}r=af;case 1:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DT.ptr.prototype.Walk};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DT.prototype.Walk=function(p){return this.$val.Walk(p);};DU.ptr.prototype.Pack=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];q=PA.nil;r=false;s=this;p[0]=new CY.ptr(0,0,0,0,0,0);p[0].Id=s.dnsMsgHdr.id;p[0].Bits=((((s.dnsMsgHdr.opcode<<16>>>16))<<11<<16>>>16)|((s.dnsMsgHdr.rcode<<16>>>16)))>>>0;if(s.dnsMsgHdr.recursion_available){p[0].Bits=(p[0].Bits|(128))>>>0;}if(s.dnsMsgHdr.recursion_desired){p[0].Bits=(p[0].Bits|(256))>>>0;}if(s.dnsMsgHdr.truncated){p[0].Bits=(p[0].Bits|(512))>>>0;}if(s.dnsMsgHdr.authoritative){p[0].Bits=(p[0].Bits|(1024))>>>0;}if(s.dnsMsgHdr.response){p[0].Bits=(p[0].Bits|(32768))>>>0;}t=s.question;u=s.answer;v=s.ns;w=s.extra;p[0].Qdcount=((t.$length<<16>>>16));p[0].Ancount=((u.$length<<16>>>16));p[0].Nscount=((v.$length<<16>>>16));p[0].Arcount=((w.$length<<16>>>16));q=$makeSlice(PA,2000);x=0;z=DO(p[0],q,x);$s=1;case 1:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;x=y[0];r=y[1];if(!r){aa=PA.nil;ab=false;q=aa;r=ab;$s=-1;return[q,r];}ac=0;case 2:if(!(ac<t.$length)){$s=3;continue;}ae=DO(((ac<0||ac>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+ac]),q,x);$s=4;case 4:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;x=ad[0];r=ad[1];if(!r){af=PA.nil;ag=false;q=af;r=ag;$s=-1;return[q,r];}ac=ac+(1)>>0;$s=2;continue;case 3:ah=0;case 5:if(!(ah<u.$length)){$s=6;continue;}aj=DR(((ah<0||ah>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+ah]),q,x);$s=7;case 7:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;x=ai[0];r=ai[1];if(!r){ak=PA.nil;al=false;q=ak;r=al;$s=-1;return[q,r];}ah=ah+(1)>>0;$s=5;continue;case 6:am=0;case 8:if(!(am<v.$length)){$s=9;continue;}ao=DR(((am<0||am>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+am]),q,x);$s=10;case 10:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;x=an[0];r=an[1];if(!r){ap=PA.nil;aq=false;q=ap;r=aq;$s=-1;return[q,r];}am=am+(1)>>0;$s=8;continue;case 9:ar=0;case 11:if(!(ar<w.$length)){$s=12;continue;}at=DR(((ar<0||ar>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+ar]),q,x);$s=13;case 13:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}as=at;x=as[0];r=as[1];if(!r){au=PA.nil;av=false;q=au;r=av;$s=-1;return[q,r];}ar=ar+(1)>>0;$s=11;continue;case 12:aw=$subslice(q,0,x);ax=true;q=aw;r=ax;$s=-1;return[q,r];}return;}if($f===undefined){$f={$blk:DU.ptr.prototype.Pack};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DU.prototype.Pack=function(){return this.$val.Pack();};DU.ptr.prototype.Unpack=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=this;q[0]=new CY.ptr(0,0,0,0,0,0);s=0;t=false;v=DP(q[0],p,s);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;s=u[0];t=u[1];if(!t){$s=-1;return false;}r.dnsMsgHdr.id=q[0].Id;r.dnsMsgHdr.response=!(((((q[0].Bits&32768)>>>0))===0));r.dnsMsgHdr.opcode=(((q[0].Bits>>>11<<16>>>16)>>0))&15;r.dnsMsgHdr.authoritative=!(((((q[0].Bits&1024)>>>0))===0));r.dnsMsgHdr.truncated=!(((((q[0].Bits&512)>>>0))===0));r.dnsMsgHdr.recursion_desired=!(((((q[0].Bits&256)>>>0))===0));r.dnsMsgHdr.recursion_available=!(((((q[0].Bits&128)>>>0))===0));r.dnsMsgHdr.rcode=((((q[0].Bits&15)>>>0)>>0));r.question=$makeSlice(PT,q[0].Qdcount);r.answer=$makeSlice(PP,0,q[0].Ancount);r.ns=$makeSlice(PP,0,q[0].Nscount);r.extra=$makeSlice(PP,0,q[0].Arcount);w=$ifaceNil;x=0;case 2:if(!(x<r.question.$length)){$s=3;continue;}aa=DP((z=r.question,((x<0||x>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+x])),p,s);$s=4;case 4:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}y=aa;s=y[0];t=y[1];if(!t){$s=-1;return false;}x=x+(1)>>0;$s=2;continue;case 3:ab=0;case 5:if(!(ab<((q[0].Ancount>>0)))){$s=6;continue;}ad=DS(p,s);$s=7;case 7:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;w=ac[0];s=ac[1];t=ac[2];if(!t){$s=-1;return false;}r.answer=$append(r.answer,w);ab=ab+(1)>>0;$s=5;continue;case 6:ae=0;case 8:if(!(ae<((q[0].Nscount>>0)))){$s=9;continue;}ag=DS(p,s);$s=10;case 10:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;w=af[0];s=af[1];t=af[2];if(!t){$s=-1;return false;}r.ns=$append(r.ns,w);ae=ae+(1)>>0;$s=8;continue;case 9:ah=0;case 11:if(!(ah<((q[0].Arcount>>0)))){$s=12;continue;}aj=DS(p,s);$s=13;case 13:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;w=ai[0];s=ai[1];t=ai[2];if(!t){$s=-1;return false;}r.extra=$append(r.extra,w);ah=ah+(1)>>0;$s=11;continue;case 12:$s=-1;return true;}return;}if($f===undefined){$f={$blk:DU.ptr.prototype.Unpack};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DU.prototype.Unpack=function(p){return this.$val.Unpack(p);};DU.ptr.prototype.String=function(){var $ptr,aa,ab,ac,ad,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=DQ(p.dnsMsgHdr);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=\"DNS: \"+q+\"\\n\";if(p.question.$length>0){$s=2;continue;}$s=3;continue;case 2:r=r+(\"-- Questions\\n\");s=0;case 4:if(!(s<p.question.$length)){$s=5;continue;}u=DQ((t=p.question,((s<0||s>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+s])));$s=6;case 6:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}r=r+(u+\"\\n\");s=s+(1)>>0;$s=4;continue;case 5:case 3:if(p.answer.$length>0){$s=7;continue;}$s=8;continue;case 7:r=r+(\"-- Answers\\n\");v=0;case 9:if(!(v<p.answer.$length)){$s=10;continue;}x=DQ((w=p.answer,((v<0||v>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+v])));$s=11;case 11:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}r=r+(x+\"\\n\");v=v+(1)>>0;$s=9;continue;case 10:case 8:if(p.ns.$length>0){$s=12;continue;}$s=13;continue;case 12:r=r+(\"-- Name servers\\n\");y=0;case 14:if(!(y<p.ns.$length)){$s=15;continue;}aa=DQ((z=p.ns,((y<0||y>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+y])));$s=16;case 16:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}r=r+(aa+\"\\n\");y=y+(1)>>0;$s=14;continue;case 15:case 13:if(p.extra.$length>0){$s=17;continue;}$s=18;continue;case 17:r=r+(\"-- Extra\\n\");ab=0;case 19:if(!(ab<p.extra.$length)){$s=20;continue;}ad=DQ((ac=p.extra,((ab<0||ab>=ac.$length)?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+ab])));$s=21;case 21:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}r=r+(ad+\"\\n\");ab=ab+(1)>>0;$s=19;continue;case 20:case 18:$s=-1;return r;}return;}if($f===undefined){$f={$blk:DU.ptr.prototype.String};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DU.prototype.String=function(){return this.$val.String();};DU.ptr.prototype.IsResponseTo=function(p){var $ptr,p,q,r,s,t,u,v,w;q=this;if(!q.dnsMsgHdr.response){return false;}if(!((q.dnsMsgHdr.id===p.dnsMsgHdr.id))){return false;}if(!((q.question.$length===p.question.$length))){return false;}r=q.question;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=$clone(((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]),CZ);w=$clone((v=p.question,((t<0||t>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+t])),CZ);if(!BN(u.Name,w.Name)||!((u.Qtype===w.Qtype))||!((u.Qclass===w.Qclass))){return false;}s++;}return true;};DU.prototype.IsResponseTo=function(p){return this.$val.IsResponseTo(p);};DV.ptr.prototype.incref=function(){var $ptr,p,q,r,s,t;p=this;while(true){q=M.LoadUint64((p.$ptr_state||(p.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},p))));if(!((r=new $Uint64(q.$high&0,(q.$low&1)>>>0),(r.$high===0&&r.$low===0)))){return false;}s=new $Uint64(q.$high+0,q.$low+8);if((t=new $Uint64(s.$high&0,(s.$low&8388600)>>>0),(t.$high===0&&t.$low===0))){$panic(new $String(\"net: inconsistent fdMutex\"));}if(M.CompareAndSwapUint64((p.$ptr_state||(p.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},p))),q,s)){return true;}}};DV.prototype.incref=function(){return this.$val.incref();};DV.ptr.prototype.increfAndClose=function(){var $ptr,p,q,r,s,t,u,v,w,x,y,z;p=this;while(true){q=M.LoadUint64((p.$ptr_state||(p.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},p))));if(!((r=new $Uint64(q.$high&0,(q.$low&1)>>>0),(r.$high===0&&r.$low===0)))){return false;}t=(s=new $Uint64(q.$high|0,(q.$low|1)>>>0),new $Uint64(s.$high+0,s.$low+8));if((u=new $Uint64(t.$high&0,(t.$low&8388600)>>>0),(u.$high===0&&u.$low===0))){$panic(new $String(\"net: inconsistent fdMutex\"));}t=(v=new $Uint64(2147483647,4286578688),new $Uint64(t.$high&~v.$high,(t.$low&~v.$low)>>>0));if(M.CompareAndSwapUint64((p.$ptr_state||(p.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},p))),q,t)){while(true){if(!(!((w=new $Uint64(q.$high&2047,(q.$low&4286578688)>>>0),(w.$high===0&&w.$low===0))))){break;}q=(x=new $Uint64(0,8388608),new $Uint64(q.$high-x.$high,q.$low-x.$low));DX((p.$ptr_rsema||(p.$ptr_rsema=new QA(function(){return this.$target.rsema;},function($v){this.$target.rsema=$v;},p))));}while(true){if(!(!((y=new $Uint64(q.$high&2147481600,(q.$low&0)>>>0),(y.$high===0&&y.$low===0))))){break;}q=(z=new $Uint64(2048,0),new $Uint64(q.$high-z.$high,q.$low-z.$low));DX((p.$ptr_wsema||(p.$ptr_wsema=new QA(function(){return this.$target.wsema;},function($v){this.$target.wsema=$v;},p))));}return true;}}};DV.prototype.increfAndClose=function(){return this.$val.increfAndClose();};DV.ptr.prototype.decref=function(){var $ptr,p,q,r,s,t;p=this;while(true){q=M.LoadUint64((p.$ptr_state||(p.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},p))));if((r=new $Uint64(q.$high&0,(q.$low&8388600)>>>0),(r.$high===0&&r.$low===0))){$panic(new $String(\"net: inconsistent fdMutex\"));}s=new $Uint64(q.$high-0,q.$low-8);if(M.CompareAndSwapUint64((p.$ptr_state||(p.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},p))),q,s)){return(t=new $Uint64(s.$high&0,(s.$low&8388601)>>>0),(t.$high===0&&t.$low===1));}}};DV.prototype.decref=function(){return this.$val.decref();};DV.ptr.prototype.rwlock=function(p){var $ptr,aa,ab,ac,ad,ae,af,p,q,r,s,t,u,v,w,x,y,z;q=this;r=new $Uint64(0,0);s=new $Uint64(0,0);t=new $Uint64(0,0);u=r;v=s;w=t;x=QA.nil;if(p){u=new $Uint64(0,2);v=new $Uint64(0,8388608);w=new $Uint64(2047,4286578688);x=(q.$ptr_rsema||(q.$ptr_rsema=new QA(function(){return this.$target.rsema;},function($v){this.$target.rsema=$v;},q)));}else{u=new $Uint64(0,4);v=new $Uint64(2048,0);w=new $Uint64(2147481600,0);x=(q.$ptr_wsema||(q.$ptr_wsema=new QA(function(){return this.$target.wsema;},function($v){this.$target.wsema=$v;},q)));}while(true){y=M.LoadUint64((q.$ptr_state||(q.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},q))));if(!((z=new $Uint64(y.$high&0,(y.$low&1)>>>0),(z.$high===0&&z.$low===0)))){return false;}aa=new $Uint64(0,0);if((ab=new $Uint64(y.$high&u.$high,(y.$low&u.$low)>>>0),(ab.$high===0&&ab.$low===0))){aa=(ac=new $Uint64(y.$high|u.$high,(y.$low|u.$low)>>>0),new $Uint64(ac.$high+0,ac.$low+8));if((ad=new $Uint64(aa.$high&0,(aa.$low&8388600)>>>0),(ad.$high===0&&ad.$low===0))){$panic(new $String(\"net: inconsistent fdMutex\"));}}else{aa=new $Uint64(y.$high+v.$high,y.$low+v.$low);if((ae=new $Uint64(aa.$high&w.$high,(aa.$low&w.$low)>>>0),(ae.$high===0&&ae.$low===0))){$panic(new $String(\"net: inconsistent fdMutex\"));}}if(M.CompareAndSwapUint64((q.$ptr_state||(q.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},q))),y,aa)){if((af=new $Uint64(y.$high&u.$high,(y.$low&u.$low)>>>0),(af.$high===0&&af.$low===0))){return true;}DW(x);}}};DV.prototype.rwlock=function(p){return this.$val.rwlock(p);};DV.ptr.prototype.rwunlock=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,p,q,r,s,t,u,v,w,x,y,z;q=this;r=new $Uint64(0,0);s=new $Uint64(0,0);t=new $Uint64(0,0);u=r;v=s;w=t;x=QA.nil;if(p){u=new $Uint64(0,2);v=new $Uint64(0,8388608);w=new $Uint64(2047,4286578688);x=(q.$ptr_rsema||(q.$ptr_rsema=new QA(function(){return this.$target.rsema;},function($v){this.$target.rsema=$v;},q)));}else{u=new $Uint64(0,4);v=new $Uint64(2048,0);w=new $Uint64(2147481600,0);x=(q.$ptr_wsema||(q.$ptr_wsema=new QA(function(){return this.$target.wsema;},function($v){this.$target.wsema=$v;},q)));}while(true){y=M.LoadUint64((q.$ptr_state||(q.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},q))));if((z=new $Uint64(y.$high&u.$high,(y.$low&u.$low)>>>0),(z.$high===0&&z.$low===0))||(aa=new $Uint64(y.$high&0,(y.$low&8388600)>>>0),(aa.$high===0&&aa.$low===0))){$panic(new $String(\"net: inconsistent fdMutex\"));}ac=(ab=new $Uint64(y.$high&~u.$high,(y.$low&~u.$low)>>>0),new $Uint64(ab.$high-0,ab.$low-8));if(!((ad=new $Uint64(y.$high&w.$high,(y.$low&w.$low)>>>0),(ad.$high===0&&ad.$low===0)))){ac=(ae=v,new $Uint64(ac.$high-ae.$high,ac.$low-ae.$low));}if(M.CompareAndSwapUint64((q.$ptr_state||(q.$ptr_state=new QH(function(){return this.$target.state;},function($v){this.$target.state=$v;},q))),y,ac)){if(!((af=new $Uint64(y.$high&w.$high,(y.$low&w.$low)>>>0),(af.$high===0&&af.$low===0)))){DX(x);}return(ag=new $Uint64(ac.$high&0,(ac.$low&8388601)>>>0),(ag.$high===0&&ag.$low===1));}}};DV.prototype.rwunlock=function(p){return this.$val.rwunlock(p);};DW=function(){$throwRuntimeError(\"native function not implemented: net.runtime_Semacquire\");};DX=function(){$throwRuntimeError(\"native function not implemented: net.runtime_Semrelease\");};EL.ptr.prototype.incref=function(){var $ptr,p;p=this;if(!p.fdmu.incref()){return JQ;}return $ifaceNil;};EL.prototype.incref=function(){return this.$val.incref();};EL.ptr.prototype.decref=function(){var $ptr,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(p.fdmu.decref()){$s=1;continue;}$s=2;continue;case 1:$r=p.destroy();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.decref};}$f.$ptr=$ptr;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.decref=function(){return this.$val.decref();};EL.ptr.prototype.readLock=function(){var $ptr,p;p=this;if(!p.fdmu.rwlock(true)){return JQ;}return $ifaceNil;};EL.prototype.readLock=function(){return this.$val.readLock();};EL.ptr.prototype.readUnlock=function(){var $ptr,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(p.fdmu.rwunlock(true)){$s=1;continue;}$s=2;continue;case 1:$r=p.destroy();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.readUnlock};}$f.$ptr=$ptr;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.readUnlock=function(){return this.$val.readUnlock();};EL.ptr.prototype.writeLock=function(){var $ptr,p;p=this;if(!p.fdmu.rwlock(false)){return JQ;}return $ifaceNil;};EL.prototype.writeLock=function(){return this.$val.writeLock();};EL.ptr.prototype.writeUnlock=function(){var $ptr,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(p.fdmu.rwunlock(false)){$s=1;continue;}$s=2;continue;case 1:$r=p.destroy();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.writeUnlock};}$f.$ptr=$ptr;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.writeUnlock=function(){return this.$val.writeUnlock();};DY=function(){$throwRuntimeError(\"native function not implemented: net.runtimeNano\");};DZ=function(){$throwRuntimeError(\"native function not implemented: net.runtime_pollServerInit\");};EA=function(){$throwRuntimeError(\"native function not implemented: net.runtime_pollOpen\");};EB=function(){$throwRuntimeError(\"native function not implemented: net.runtime_pollClose\");};EC=function(){$throwRuntimeError(\"native function not implemented: net.runtime_pollWait\");};EE=function(){$throwRuntimeError(\"native function not implemented: net.runtime_pollReset\");};EF=function(){$throwRuntimeError(\"native function not implemented: net.runtime_pollSetDeadline\");};EG=function(){$throwRuntimeError(\"native function not implemented: net.runtime_pollUnblock\");};EH.ptr.prototype.init=function(p){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;$r=EI.Do(DZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=EA(((p.sysfd>>>0)));s=r[0];t=r[1];G.KeepAlive(p);if(!((t===0))){$s=-1;return new B.Errno(((t>>>0)));}q.runtimeCtx=s;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EH.ptr.prototype.init};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};EH.prototype.init=function(p){return this.$val.init(p);};EH.ptr.prototype.close=function(){var $ptr,p;p=this;if(p.runtimeCtx===0){return;}EB(p.runtimeCtx);p.runtimeCtx=0;};EH.prototype.close=function(){return this.$val.close();};EH.ptr.prototype.evict=function(){var $ptr,p;p=this;if(p.runtimeCtx===0){return;}EG(p.runtimeCtx);};EH.prototype.evict=function(){return this.$val.evict();};EH.ptr.prototype.prepare=function(p){var $ptr,p,q,r;q=this;r=EE(q.runtimeCtx,p);return EJ(r);};EH.prototype.prepare=function(p){return this.$val.prepare(p);};EH.ptr.prototype.prepareRead=function(){var $ptr,p;p=this;return p.prepare(114);};EH.prototype.prepareRead=function(){return this.$val.prepareRead();};EH.ptr.prototype.prepareWrite=function(){var $ptr,p;p=this;return p.prepare(119);};EH.prototype.prepareWrite=function(){return this.$val.prepareWrite();};EH.ptr.prototype.wait=function(p){var $ptr,p,q,r;q=this;r=EC(q.runtimeCtx,p);return EJ(r);};EH.prototype.wait=function(p){return this.$val.wait(p);};EH.ptr.prototype.waitRead=function(){var $ptr,p;p=this;return p.wait(114);};EH.prototype.waitRead=function(){return this.$val.waitRead();};EH.ptr.prototype.waitWrite=function(){var $ptr,p;p=this;return p.wait(119);};EH.prototype.waitWrite=function(){return this.$val.waitWrite();};EJ=function(p){var $ptr,p,q;q=p;if(q===(0)){return $ifaceNil;}else if(q===(1)){return JQ;}else if(q===(2)){return JO;}console.log(\"unreachable: \",p);$panic(new $String(\"unreachable\"));};EL.ptr.prototype.setDeadline=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=EK(q,$clone(p,J.Time),233);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.setDeadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.setDeadline=function(p){return this.$val.setDeadline(p);};EL.ptr.prototype.setReadDeadline=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=EK(q,$clone(p,J.Time),114);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.setReadDeadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.setReadDeadline=function(p){return this.$val.setReadDeadline(p);};EL.ptr.prototype.setWriteDeadline=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=EK(q,$clone(p,J.Time),119);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.setWriteDeadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.setWriteDeadline=function(p){return this.$val.setWriteDeadline(p);};EK=function(p,q,r){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=((s=J.Until($clone(q,J.Time)),new $Int64(s.$high,s.$low)));v=(u=DY(),new $Int64(u.$high+t.$high,u.$low+t.$low));if((v.$high<0||(v.$high===0&&v.$low<=0))&&(t.$high>0||(t.$high===0&&t.$low>0))){v=new $Int64(2147483647,4294967295);}if($clone(q,J.Time).IsZero()){v=new $Int64(0,0);}w=p.incref();if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return w;}EF(p.pd.runtimeCtx,v,r);$r=p.decref();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EK};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};EL.ptr.prototype.eofError=function(p,q){var $ptr,p,q,r;r=this;if((p===0)&&$interfaceIsEqual(q,$ifaceNil)&&!((r.sotype===2))&&!((r.sotype===3))){return L.EOF;}return q;};EL.prototype.eofError=function(p,q){return this.$val.eofError(p,q);};EM=function(p,q,r,s){var $ptr,p,q,r,s;return[new EL.ptr(new DV.ptr(new $Uint64(0,0),0,0),p,q,r,r===1,false,s,$ifaceNil,$ifaceNil,QK.nil,new EH.ptr(0)),$ifaceNil];};EL.ptr.prototype.init=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=p.pd.init(p);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.init};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.init=function(){return this.$val.init();};EL.ptr.prototype.setAddr=function(p,q){var $ptr,p,q,r;r=this;r.laddr=p;r.raddr=q;G.SetFinalizer(r,new QM($methodExpr(QL,\"Close\")));};EL.prototype.setAddr=function(p,q){return this.$val.setAddr(p,q);};EL.ptr.prototype.name=function(){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=\"\";r=\"\";s=q;t=r;if(!($interfaceIsEqual(p.laddr,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:u=p.laddr.String();$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;case 2:if(!($interfaceIsEqual(p.raddr,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:v=p.raddr.String();$s=6;case 6:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}t=v;case 5:$s=-1;return p.net+\":\"+s+\"->\"+t;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.name};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.name=function(){return this.$val.name();};EL.ptr.prototype.connect=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);p=[p];s=[s];t=[t];u=[u];v=[v];v[0]=$ifaceNil;t[0]=this;w=FH(t[0].sysfd,r);$s=2;case 2:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=x;if($interfaceIsEqual(y,new B.Errno((36)))||$interfaceIsEqual(y,new B.Errno((37)))||$interfaceIsEqual(y,new B.Errno((4)))){$s=3;continue;}if($interfaceIsEqual(y,$ifaceNil)||$interfaceIsEqual(y,new B.Errno((56)))){$s=4;continue;}if($interfaceIsEqual(y,new B.Errno((22)))){$s=5;continue;}$s=6;continue;case 3:$s=7;continue;case 4:aa=p[0].Done();$s=8;case 8:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=$select([[aa],[]]);if(z[0]===0){$s=9;continue;}if(z[0]===1){$s=10;continue;}$s=11;continue;case 9:ab=p[0].Err();$s=12;case 12:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=JR(ab);$s=13;case 13:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}v[0]=ac;$s=-1;return v[0];case 10:case 11:ad=t[0].init();$s=14;case 14:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;if(!($interfaceIsEqual(ae,$ifaceNil))){v[0]=ae;$s=-1;return v[0];}v[0]=$ifaceNil;$s=-1;return v[0];case 5:if(false){v[0]=$ifaceNil;$s=-1;return v[0];}v[0]=F.NewSyscallError(\"connect\",x);$s=-1;return v[0];case 6:v[0]=F.NewSyscallError(\"connect\",x);$s=-1;return v[0];case 7:case 1:af=t[0].init();$s=15;case 15:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;if(!($interfaceIsEqual(ag,$ifaceNil))){v[0]=ag;$s=-1;return v[0];}ai=p[0].Deadline();$s=16;case 16:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;aj=$clone(ah[0],J.Time);if(!$clone(aj,J.Time).IsZero()){$s=17;continue;}$s=18;continue;case 17:ak=t[0].setWriteDeadline($clone(aj,J.Time));$s=19;case 19:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;$deferred.push([$methodVal(t[0],\"setWriteDeadline\"),[$clone(JU,J.Time)]]);case 18:if(!($interfaceIsEqual(p[0],E.Background()))){$s=20;continue;}$s=21;continue;case 20:s[0]=new $Chan(PB,0);u[0]=new $Chan($error,0);$deferred.push([(function(p,s,t,u,v){return function $b(){var $ptr,al,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;al=$f.al;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$close(s[0]);al=$recv(u[0]);$s=1;case 1:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}am=al[0];if(!($interfaceIsEqual(am,$ifaceNil))&&$interfaceIsEqual(v[0],$ifaceNil)){$s=2;continue;}$s=3;continue;case 2:v[0]=am;an=t[0].Close();$s=4;case 4:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}an;case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.al=al;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};})(p,s,t,u,v),[]]);$go((function(p,s,t,u,v){return function $b(){var $ptr,al,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=p[0].Done();$s=1;case 1:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$select([[am],[s[0]]]);$s=2;case 2:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}al=an;if(al[0]===0){$s=3;continue;}if(al[0]===1){$s=4;continue;}$s=5;continue;case 3:ao=t[0].setWriteDeadline($clone(JT,J.Time));$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$r=FE();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ap=p[0].Err();$s=8;case 8:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$r=$send(u[0],ap);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=$send(u[0],$ifaceNil);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};})(p,s,t,u,v),[]);case 21:case 22:al=t[0].pd.waitWrite();if(!($interfaceIsEqual(al,$ifaceNil))){$s=24;continue;}$s=25;continue;case 24:an=p[0].Done();$s=26;case 26:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}am=$select([[an],[]]);if(am[0]===0){$s=27;continue;}if(am[0]===1){$s=28;continue;}$s=29;continue;case 27:ao=p[0].Err();$s=30;case 30:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=JR(ao);$s=31;case 31:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}v[0]=ap;$s=-1;return v[0];case 28:case 29:v[0]=al;$s=-1;return v[0];case 25:ar=FK(t[0].sysfd,65535,4103);$s=32;case 32:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;as=aq[0];at=aq[1];if(!($interfaceIsEqual(at,$ifaceNil))){v[0]=F.NewSyscallError(\"getsockopt\",at);$s=-1;return v[0];}au=((as>>>0));av=au;if((av===(36))||(av===(37))||(av===(4))){$s=34;continue;}if((av===(0))||(av===(56))){$s=35;continue;}$s=36;continue;case 34:$s=37;continue;case 35:if(false){v[0]=$ifaceNil;$s=-1;return v[0];}aw=FH(t[0].sysfd,r);$s=39;case 39:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=ax;if($interfaceIsEqual(ay,$ifaceNil)||$interfaceIsEqual(ay,new B.Errno((56)))){v[0]=$ifaceNil;$s=-1;return v[0];}case 38:$s=37;continue;case 36:v[0]=F.NewSyscallError(\"getsockopt\",new B.Errno(au));$s=-1;return v[0];case 37:case 33:$s=22;continue;case 23:$s=-1;return v[0];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return v[0];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.connect};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.connect=function(p,q,r){return this.$val.connect(p,q,r);};EL.ptr.prototype.destroy=function(){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;p.pd.close();q=FG(p.sysfd);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;p.sysfd=-1;G.SetFinalizer(p,$ifaceNil);$s=-1;return;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.destroy};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.destroy=function(){return this.$val.destroy();};EL.ptr.prototype.Close=function(){var $ptr,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.fdmu.increfAndClose()){$s=-1;return JQ;}p.pd.evict();$r=p.decref();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.Close};}$f.$ptr=$ptr;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.Close=function(){return this.$val.Close();};EL.ptr.prototype.shutdown=function(p){var $ptr,p,q,r,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=this;r=q.incref();if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}$deferred.push([$methodVal(q,\"decref\"),[]]);$s=-1;return F.NewSyscallError(\"shutdown\",B.Shutdown(q.sysfd,p));}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.shutdown};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.shutdown=function(p){return this.$val.shutdown(p);};EL.ptr.prototype.closeRead=function(){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=p.shutdown(0);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.closeRead};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.closeRead=function(){return this.$val.closeRead();};EL.ptr.prototype.closeWrite=function(){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=p.shutdown(1);$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.closeWrite};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.closeWrite=function(){return this.$val.closeWrite();};EL.ptr.prototype.Read=function(p){var $ptr,aa,ab,ac,ad,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=0;r=$ifaceNil;s=this;t=s.readLock();if(!($interfaceIsEqual(t,$ifaceNil))){u=0;v=t;q=u;r=v;$s=-1;return[q,r];}$deferred.push([$methodVal(s,\"readUnlock\"),[]]);if(p.$length===0){w=0;x=$ifaceNil;q=w;r=x;$s=-1;return[q,r];}y=s.pd.prepareRead();if(!($interfaceIsEqual(y,$ifaceNil))){z=0;aa=y;q=z;r=aa;$s=-1;return[q,r];}if(s.isStream&&p.$length>1073741824){p=$subslice(p,0,1073741824);}while(true){ab=B.Read(s.sysfd,p);q=ab[0];r=ab[1];if(!($interfaceIsEqual(r,$ifaceNil))){q=0;if($interfaceIsEqual(r,new B.Errno(35))){r=s.pd.waitRead();if($interfaceIsEqual(r,$ifaceNil)){continue;}}}r=s.eofError(q,r);break;}ac=$assertType(r,B.Errno,true);ad=ac[1];if(ad){r=F.NewSyscallError(\"read\",r);}$s=-1;return[q,r];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[q,r];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.Read};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.Read=function(p){return this.$val.Read(p);};EL.ptr.prototype.readFrom=function(p){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=0;r=$ifaceNil;s=$ifaceNil;t=this;u=t.readLock();if(!($interfaceIsEqual(u,$ifaceNil))){v=0;w=$ifaceNil;x=u;q=v;r=w;s=x;$s=-1;return[q,r,s];}$deferred.push([$methodVal(t,\"readUnlock\"),[]]);y=t.pd.prepareRead();if(!($interfaceIsEqual(y,$ifaceNil))){z=0;aa=$ifaceNil;ab=y;q=z;r=aa;s=ab;$s=-1;return[q,r,s];}while(true){ac=B.Recvfrom(t.sysfd,p,0);q=ac[0];r=ac[1];s=ac[2];if(!($interfaceIsEqual(s,$ifaceNil))){q=0;if($interfaceIsEqual(s,new B.Errno(35))){s=t.pd.waitRead();if($interfaceIsEqual(s,$ifaceNil)){continue;}}}s=t.eofError(q,s);break;}ad=$assertType(s,B.Errno,true);ae=ad[1];if(ae){s=F.NewSyscallError(\"recvfrom\",s);}$s=-1;return[q,r,s];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[q,r,s];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.readFrom};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.readFrom=function(p){return this.$val.readFrom(p);};EL.ptr.prototype.readMsg=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=0;s=0;t=0;u=$ifaceNil;v=$ifaceNil;w=this;x=w.readLock();if(!($interfaceIsEqual(x,$ifaceNil))){y=0;z=0;aa=0;ab=$ifaceNil;ac=x;r=y;s=z;t=aa;u=ab;v=ac;$s=-1;return[r,s,t,u,v];}$deferred.push([$methodVal(w,\"readUnlock\"),[]]);ad=w.pd.prepareRead();if(!($interfaceIsEqual(ad,$ifaceNil))){ae=0;af=0;ag=0;ah=$ifaceNil;ai=ad;r=ae;s=af;t=ag;u=ah;v=ai;$s=-1;return[r,s,t,u,v];}while(true){aj=B.Recvmsg(w.sysfd,p,q,0);r=aj[0];s=aj[1];t=aj[2];u=aj[3];v=aj[4];if(!($interfaceIsEqual(v,$ifaceNil))){if($interfaceIsEqual(v,new B.Errno(35))){v=w.pd.waitRead();if($interfaceIsEqual(v,$ifaceNil)){continue;}}}v=w.eofError(r,v);break;}ak=$assertType(v,B.Errno,true);al=ak[1];if(al){v=F.NewSyscallError(\"recvmsg\",v);}$s=-1;return[r,s,t,u,v];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[r,s,t,u,v];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.readMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.readMsg=function(p,q){return this.$val.readMsg(p,q);};EL.ptr.prototype.Write=function(p){var $ptr,aa,ab,ac,ad,ae,af,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=0;r=$ifaceNil;s=this;t=s.writeLock();if(!($interfaceIsEqual(t,$ifaceNil))){u=0;v=t;q=u;r=v;$s=-1;return[q,r];}$deferred.push([$methodVal(s,\"writeUnlock\"),[]]);w=s.pd.prepareWrite();if(!($interfaceIsEqual(w,$ifaceNil))){x=0;y=w;q=x;r=y;$s=-1;return[q,r];}while(true){z=0;aa=p.$length;if(s.isStream&&(aa-q>>0)>1073741824){aa=q+1073741824>>0;}ab=B.Write(s.sysfd,$subslice(p,q,aa));z=ab[0];r=ab[1];if(z>0){q=q+(z)>>0;}if(q===p.$length){break;}if($interfaceIsEqual(r,new B.Errno(35))){r=s.pd.waitWrite();if($interfaceIsEqual(r,$ifaceNil)){continue;}}if(!($interfaceIsEqual(r,$ifaceNil))){break;}if(z===0){r=L.ErrUnexpectedEOF;break;}}ac=$assertType(r,B.Errno,true);ad=ac[1];if(ad){r=F.NewSyscallError(\"write\",r);}ae=q;af=r;q=ae;r=af;$s=-1;return[q,r];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[q,r];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.Write};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.Write=function(p){return this.$val.Write(p);};EL.ptr.prototype.writeTo=function(p,q){var $ptr,aa,ab,ac,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=0;s=$ifaceNil;t=this;u=t.writeLock();if(!($interfaceIsEqual(u,$ifaceNil))){v=0;w=u;r=v;s=w;$s=-1;return[r,s];}$deferred.push([$methodVal(t,\"writeUnlock\"),[]]);x=t.pd.prepareWrite();if(!($interfaceIsEqual(x,$ifaceNil))){y=0;z=x;r=y;s=z;$s=-1;return[r,s];}case 1:aa=B.Sendto(t.sysfd,p,0,q);$s=3;case 3:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}s=aa;if($interfaceIsEqual(s,new B.Errno(35))){s=t.pd.waitWrite();if($interfaceIsEqual(s,$ifaceNil)){$s=1;continue;}}$s=2;continue;$s=1;continue;case 2:if($interfaceIsEqual(s,$ifaceNil)){r=p.$length;}ab=$assertType(s,B.Errno,true);ac=ab[1];if(ac){s=F.NewSyscallError(\"sendto\",s);}$s=-1;return[r,s];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[r,s];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.writeTo};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.writeTo=function(p,q){return this.$val.writeTo(p,q);};EL.ptr.prototype.writeMsg=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);s=0;t=0;u=$ifaceNil;v=this;w=v.writeLock();if(!($interfaceIsEqual(w,$ifaceNil))){x=0;y=0;z=w;s=x;t=y;u=z;$s=-1;return[s,t,u];}$deferred.push([$methodVal(v,\"writeUnlock\"),[]]);aa=v.pd.prepareWrite();if(!($interfaceIsEqual(aa,$ifaceNil))){ab=0;ac=0;ad=aa;s=ab;t=ac;u=ad;$s=-1;return[s,t,u];}case 1:af=B.SendmsgN(v.sysfd,p,q,r,0);$s=3;case 3:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;s=ae[0];u=ae[1];if($interfaceIsEqual(u,new B.Errno(35))){u=v.pd.waitWrite();if($interfaceIsEqual(u,$ifaceNil)){$s=1;continue;}}$s=2;continue;$s=1;continue;case 2:if($interfaceIsEqual(u,$ifaceNil)){t=q.$length;}ag=$assertType(u,B.Errno,true);ah=ag[1];if(ah){u=F.NewSyscallError(\"sendmsg\",u);}$s=-1;return[s,t,u];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[s,t,u];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.writeMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.writeMsg=function(p,q,r){return this.$val.writeMsg(p,q,r);};EL.ptr.prototype.accept=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);p=QL.nil;q=$ifaceNil;r=this;s=r.readLock();if(!($interfaceIsEqual(s,$ifaceNil))){t=QL.nil;u=s;p=t;q=u;$s=-1;return[p,q];}$deferred.push([$methodVal(r,\"readUnlock\"),[]]);v=0;w=$ifaceNil;q=r.pd.prepareRead();if(!($interfaceIsEqual(q,$ifaceNil))){x=QL.nil;y=q;p=x;q=y;$s=-1;return[p,q];}case 1:aa=MY(r.sysfd);$s=3;case 3:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;v=z[0];w=z[1];q=z[2];if(!($interfaceIsEqual(q,$ifaceNil))){ab=$assertType(q,QN,true);ac=ab[0];ad=ab[1];if(!ad){ae=QL.nil;af=q;p=ae;q=af;$s=-1;return[p,q];}ag=ac.Err;if($interfaceIsEqual(ag,new B.Errno((35)))){q=r.pd.waitRead();if($interfaceIsEqual(q,$ifaceNil)){$s=1;continue;}}else if($interfaceIsEqual(ag,new B.Errno((53)))){$s=1;continue;}ah=QL.nil;ai=q;p=ah;q=ai;$s=-1;return[p,q];}$s=2;continue;$s=1;continue;case 2:aj=EM(v,r.family,r.sotype,r.net);p=aj[0];q=aj[1];if(!($interfaceIsEqual(q,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:ak=FG(v);$s=6;case 6:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ak;al=QL.nil;am=q;p=al;q=am;$s=-1;return[p,q];case 5:an=p.init();$s=7;case 7:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}q=an;if(!($interfaceIsEqual(q,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:ao=r.Close();$s=10;case 10:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;ap=QL.nil;aq=q;p=ap;q=aq;$s=-1;return[p,q];case 9:ar=B.Getsockname(p.sysfd);as=ar[0];at=p.addrFunc()(as);$s=11;case 11:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=p.addrFunc()(w);$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;$r=p.setAddr(au,aw);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ax=p;ay=$ifaceNil;p=ax;q=ay;$s=-1;return[p,q];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[p,q];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.accept};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.accept=function(){return this.$val.accept();};EO=function(p){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=0;r=$ifaceNil;if(M.LoadInt32((OT||(OT=new QO(function(){return EN;},function($v){EN=$v;}))))===1){s=B.Syscall(92,((p>>>0)),67,0);t=s[0];u=s[2];if(true&&(u===9)){u=22;}v=u;if(v===(0)){w=((t>>0));x=$ifaceNil;q=w;r=x;$s=-1;return[q,r];}else if(v===(22)){M.StoreInt32((OT||(OT=new QO(function(){return EN;},function($v){EN=$v;}))),0);}else{y=-1;z=F.NewSyscallError(\"fcntl\",new B.Errno(u));q=y;r=z;$s=-1;return[q,r];}}ab=EP(p);$s=1;case 1:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;q=aa[0];r=aa[1];$s=-1;return[q,r];}return;}if($f===undefined){$f={$blk:EO};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EP=function(p){var $ptr,p,q,r,s,t,u,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=0;r=$ifaceNil;$r=B.ForkLock.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(B.ForkLock,\"RUnlock\"),[]]);s=B.Dup(p);q=s[0];r=s[1];if(!($interfaceIsEqual(r,$ifaceNil))){t=-1;u=F.NewSyscallError(\"dup\",r);q=t;r=u;$s=-1;return[q,r];}B.CloseOnExec(q);$s=-1;return[q,r];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[q,r];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.ptr.prototype.dup=function(){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=QP.nil;q=$ifaceNil;r=this;t=EO(r.sysfd);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];q=s[1];if(!($interfaceIsEqual(q,$ifaceNil))){v=QP.nil;w=q;p=v;q=w;$s=-1;return[p,q];}q=B.SetNonblock(u,false);if(!($interfaceIsEqual(q,$ifaceNil))){x=QP.nil;y=F.NewSyscallError(\"setnonblock\",q);p=x;q=y;$s=-1;return[p,q];}aa=((u>>>0));ab=r.name();$s=2;case 2:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;ad=F.NewFile(aa,ac);$s=3;case 3:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}z=ad;ae=$ifaceNil;p=z;q=ae;$s=-1;return[p,q];}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.dup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.dup=function(){return this.$val.dup();};FL=function(p){var $ptr,p,q,r,s;q=GM.nil;r=\"\";q=HD(p);if(q===GM.nil){s=HE(p,true);q=s[0];r=s[1];}if(q===GM.nil){return\"\";}if(r===\"\"){return q.String();}return q.String()+\"%\"+r;};FN=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=$clone(J.Now(),J.Time);q=FA;if($clone(p,J.Time).Before($clone(FM.expire,J.Time))&&FM.path===q&&$keys(FM.byName).length>0){$s=-1;return;}s=KW(q);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=$clone(r[0],J.Time);u=r[1];v=r[2];if($interfaceIsEqual(v,$ifaceNil)&&FM.path===q&&$clone(FM.mtime,J.Time).Equal($clone(t,J.Time))&&(w=FM.size,(w.$high===u.$high&&w.$low===u.$low))){J.Time.copy(FM.expire,$clone(p,J.Time).Add(new J.Duration(1,705032704)));$s=-1;return;}x={};y={};z=QT.nil;aa=KV(q);z=aa[0];if(z===QT.nil){$s=-1;return;}ac=z.readLine();$s=2;case 2:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;ad=ab[0];ae=ab[1];case 3:if(!(ae)){$s=4;continue;}af=P(ad,35);if(af>=0){ad=$substring(ad,0,af);}ag=KZ(ad);if(ag.$length<2){$s=5;continue;}$s=6;continue;case 5:ai=z.readLine();$s=7;case 7:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;ad=ah[0];ae=ah[1];$s=3;continue;case 6:aj=FL((0>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+0]));if(aj===\"\"){$s=8;continue;}$s=9;continue;case 8:al=z.readLine();$s=10;case 10:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;ad=ak[0];ae=ak[1];$s=3;continue;case 9:am=1;while(true){if(!(am<ag.$length)){break;}an=BP((new PA($stringToBytes(((am<0||am>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+am])))));ao=(new PA($stringToBytes(((am<0||am>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+am]))));LI(ao);ap=BP(ao);aq=ap;(x||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(aq)]={k:aq,v:$append((ar=x[$String.keyFor(ap)],ar!==undefined?ar.v:OU.nil),aj)};as=aj;(y||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(as)]={k:as,v:$append((at=y[$String.keyFor(aj)],at!==undefined?at.v:OU.nil),an)};am=am+(1)>>0;}av=z.readLine();$s=11;case 11:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}au=av;ad=au[0];ae=au[1];$s=3;continue;case 4:J.Time.copy(FM.expire,$clone(p,J.Time).Add(new J.Duration(1,705032704)));FM.path=q;FM.byName=x;FM.byAddr=y;J.Time.copy(FM.mtime,t);FM.size=u;z.close();$s=-1;return;}return;}if($f===undefined){$f={$blk:FN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};FO=function(p){var $ptr,p,q,r,s,t,u,v,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$r=FM.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(FM.Mutex,\"Unlock\"),[]]);$r=FN();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(($keys(FM.byName).length===0))){q=(new PA($stringToBytes(p)));LI(q);r=(s=FM.byName[$String.keyFor(BP(q))],s!==undefined?[s.v,true]:[OU.nil,false]);t=r[0];u=r[1];if(u){v=$makeSlice(OU,t.$length);$copySlice(v,t);$s=-1;return v;}}$s=-1;return OU.nil;}return;}}catch(err){$err=err;$s=-1;return OU.nil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:FO};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};FP=function(p){var $ptr,p,q,r,s,t,u,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$r=FM.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(FM.Mutex,\"Unlock\"),[]]);$r=FN();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=FL(p);if(p===\"\"){$s=-1;return OU.nil;}if(!(($keys(FM.byAddr).length===0))){q=(r=FM.byAddr[$String.keyFor(p)],r!==undefined?[r.v,true]:[OU.nil,false]);s=q[0];t=q[1];if(t){u=$makeSlice(OU,s.$length);$copySlice(u,s);$s=-1;return u;}}$s=-1;return OU.nil;}return;}}catch(err){$err=err;$s=-1;return OU.nil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:FP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};FW.prototype.String=function(){var $ptr,p,q,r,s,t,u,v;p=this.$val;q=\"\";r=FX;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);if(!((((p&(((v=((t>>>0)),v<32?(1<<v):0)>>>0)))>>>0)===0))){if(!(q===\"\")){q=q+(\"|\");}q=q+(u);}s++;}if(q===\"\"){q=\"0\";}return q;};$ptrType(FW).prototype.String=function(){return new FW(this.$get()).String();};FV.ptr.prototype.Addrs=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(p===QU.nil){$s=-1;return[QV.nil,new JS.ptr(\"route\",\"ip+net\",$ifaceNil,$ifaceNil,FQ)];}r=GJ(p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){t=new JS.ptr(\"route\",\"ip+net\",$ifaceNil,$ifaceNil,t);}$s=-1;return[s,t];}return;}if($f===undefined){$f={$blk:FV.ptr.prototype.Addrs};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};FV.prototype.Addrs=function(){return this.$val.Addrs();};FV.ptr.prototype.MulticastAddrs=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(p===QU.nil){$s=-1;return[QV.nil,new JS.ptr(\"route\",\"ip+net\",$ifaceNil,$ifaceNil,FQ)];}r=GL(p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){t=new JS.ptr(\"route\",\"ip+net\",$ifaceNil,$ifaceNil,t);}$s=-1;return[s,t];}return;}if($f===undefined){$f={$blk:FV.ptr.prototype.MulticastAddrs};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};FV.prototype.MulticastAddrs=function(){return this.$val.MulticastAddrs();};GD.ptr.prototype.update=function(p){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=this;$r=q.RWMutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.RWMutex,\"Unlock\"),[]]);r=$clone(J.Now(),J.Time);if($clone(q.lastFetched,J.Time).After($clone($clone(r,J.Time).Add(new J.Duration(-14,129542144)),J.Time))){$s=-1;return;}J.Time.copy(q.lastFetched,r);if(p.$length===0){$s=2;continue;}$s=3;continue;case 2:s=$ifaceNil;u=GH(0);$s=4;case 4:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;p=t[0];s=t[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return;}case 3:q.toIndex=(v=p.$length,((v<0||v>2147483647)?$throwRuntimeError(\"makemap: size out of range\"):{}));q.toName=(w=p.$length,((w<0||w>2147483647)?$throwRuntimeError(\"makemap: size out of range\"):{}));x=p;y=0;while(true){if(!(y<x.$length)){break;}z=$clone(((y<0||y>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+y]),FV);aa=z.Name;(q.toIndex||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(aa)]={k:aa,v:z.Index};ab=(ac=q.toName[$Int.keyFor(z.Index)],ac!==undefined?[ac.v,true]:[\"\",false]);ad=ab[1];if(!ad){ae=z.Index;(q.toName||$throwRuntimeError(\"assignment to entry in nil map\"))[$Int.keyFor(ae)]={k:ae,v:z.Name};}y++;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:GD.ptr.prototype.update};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};GD.prototype.update=function(p){return this.$val.update(p);};GF=function(p){var $ptr,p,q,r,s,t,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);if(p===0){$s=-1;return\"\";}$r=GE.update(QW.nil);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=GE.RWMutex.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(GE.RWMutex,\"RUnlock\"),[]]);q=(r=GE.toName[$Int.keyFor(p)],r!==undefined?[r.v,true]:[\"\",false]);s=q[0];t=q[1];if(!t){s=LE(((p>>>0)));}$s=-1;return s;}return;}}catch(err){$err=err;$s=-1;return\"\";}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};GG=function(p){var $ptr,p,q,r,s,t,u,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);if(p===\"\"){$s=-1;return 0;}$r=GE.update(QW.nil);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=GE.RWMutex.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(GE.RWMutex,\"RUnlock\"),[]]);q=(r=GE.toIndex[$String.keyFor(p)],r!==undefined?[r.v,true]:[0,false]);s=q[0];t=q[1];if(!t){u=LA(p);s=u[0];}$s=-1;return s;}return;}}catch(err){$err=err;$s=-1;return 0;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:GG};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};GH=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=GK(p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[QW.nil,t];}u=s.$length;if(!((p===0))){u=1;}v=$makeSlice(QW,u);u=0;w=s;x=0;case 2:if(!(x<w.$length)){$s=3;continue;}y=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);z=y;if($assertType(z,QX,true)[1]){$s=4;continue;}$s=5;continue;case 4:aa=z.$val;if(!((p===0))&&!((p===aa.Index))){$s=6;continue;}$s=7;continue;case 6:x++;$s=2;continue;case 7:((u<0||u>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+u]).Index=aa.Index;((u<0||u>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+u]).Name=aa.Name;((u<0||u>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+u]).Flags=GI(aa.Flags);ab=$assertType((ac=aa.Addrs,(4>=ac.$length?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+4])),QY,true);ad=ab[0];ae=ab[1];if(ae&&ad.Addr.$length>0){((u<0||u>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+u]).HardwareAddr=(af=$makeSlice(PA,ad.Addr.$length),$subslice(new JA(af.$array),af.$offset,af.$offset+af.$length));$copySlice(((u<0||u>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+u]).HardwareAddr,ad.Addr);}ah=aa.Sys();$s=8;case 8:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ag=ah;ai=0;case 9:if(!(ai<ag.$length)){$s=10;continue;}aj=((ai<0||ai>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+ai]);ak=$assertType(aj,QZ,true);al=ak[0];am=ak[1];if(am){((u<0||u>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+u]).MTU=al.MTU;$s=10;continue;}ai++;$s=9;continue;case 10:u=u+(1)>>0;if(p===aa.Index){$s=-1;return[$subslice(v,0,u),$ifaceNil];}case 5:x++;$s=2;continue;case 3:$s=-1;return[$subslice(v,0,u),$ifaceNil];}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};GI=function(p){var $ptr,p,q;q=0;if(!(((p&1)===0))){q=(q|(1))>>>0;}if(!(((p&2)===0))){q=(q|(2))>>>0;}if(!(((p&8)===0))){q=(q|(4))>>>0;}if(!(((p&16)===0))){q=(q|(8))>>>0;}if(!(((p&32768)===0))){q=(q|(16))>>>0;}return q;};GJ=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=0;if(!(p===QU.nil)){q=p.Index;}s=GK(q);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[QV.nil,u];}v=$makeSlice(QV,0,t.$length);w=t;x=0;while(true){if(!(x<w.$length)){break;}y=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);z=y;if($assertType(z,RA,true)[1]){aa=z.$val;if(!((q===0))&&!((q===aa.Index))){x++;continue;}ab=GN.nil;ac=(ad=aa.Addrs,(2>=ad.$length?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+2]));if($assertType(ac,RB,true)[1]){ae=ac.$val;ab=GR(ae.IP[0],ae.IP[1],ae.IP[2],ae.IP[3]);}else if($assertType(ac,RC,true)[1]){af=ac.$val;ab=$makeSlice(GN,16);$copySlice(ab,new PA(af.IP));}ag=GM.nil;ah=(ai=aa.Addrs,(5>=ai.$length?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+5]));if($assertType(ah,RB,true)[1]){aj=ah.$val;ag=GP(aj.IP[0],aj.IP[1],aj.IP[2],aj.IP[3]);}else if($assertType(ah,RC,true)[1]){ak=ah.$val;ag=$makeSlice(GM,16);$copySlice(ag,new PA(ak.IP));}if(!(ag===GM.nil)&&!(ab===GN.nil)){v=$append(v,new GO.ptr(ag,ab));}}x++;}$s=-1;return[v,$ifaceNil];}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};GK=function(p){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=N.FetchRIB(0,3,p);r=q[0];s=q[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[RD.nil,s];}t=N.ParseRIB(3,r);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return t;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};GL=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=N.FetchRIB(0,6,p.Index);r=q[0];s=q[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[QV.nil,s];}u=N.ParseRIB(6,r);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];s=t[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[QV.nil,s];}w=$makeSlice(QV,0,v.$length);x=v;y=0;while(true){if(!(y<x.$length)){break;}z=((y<0||y>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+y]);aa=z;if($assertType(aa,RE,true)[1]){ab=aa.$val;if(!((p.Index===ab.Index))){y++;continue;}ac=GM.nil;ad=(ae=ab.Addrs,(5>=ae.$length?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+5]));if($assertType(ad,RB,true)[1]){af=ad.$val;ac=GP(af.IP[0],af.IP[1],af.IP[2],af.IP[3]);}else if($assertType(ad,RC,true)[1]){ag=ad.$val;ac=$makeSlice(GM,16);$copySlice(ac,new PA(ag.IP));}if(!(ac===GM.nil)){w=$append(w,new HH.ptr(ac,\"\"));}}y++;}$s=-1;return[w,$ifaceNil];}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};GP=function(p,q,r,s){var $ptr,p,q,r,s,t;t=$makeSlice(GM,16);$copySlice(t,GQ);(12>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+12]=p);(13>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+13]=q);(14>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+14]=r);(15>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+15]=s);return t;};$pkg.IPv4=GP;GR=function(p,q,r,s){var $ptr,p,q,r,s,t;t=$makeSlice(GN,4);(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]=p);(1>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+1]=q);(2>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+2]=r);(3>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+3]=s);return t;};$pkg.IPv4Mask=GR;GS=function(p,q){var $ptr,p,q,r,s,t,u,v,w;if(!((q===32))&&!((q===128))){return GN.nil;}if(p<0||p>q){return GN.nil;}s=(r=q/8,(r===r&&r!==1/0&&r!==-1/0)?r>>0:$throwRuntimeError(\"integer divide by zero\"));t=$makeSlice(GN,s);u=((p>>>0));v=0;while(true){if(!(v<s)){break;}if(u>=8){((v<0||v>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+v]=255);u=u-(8)>>>0;v=v+(1)>>0;continue;}((v<0||v>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+v]=(~(((w=u,w<32?(255>>>w):0)<<24>>>24))<<24>>>24));u=0;v=v+(1)>>0;}return t;};$pkg.CIDRMask=GS;GM.prototype.IsUnspecified=function(){var $ptr,p;p=this;return p.Equal($pkg.IPv4zero)||p.Equal($pkg.IPv6unspecified);};$ptrType(GM).prototype.IsUnspecified=function(){return this.$get().IsUnspecified();};GM.prototype.IsLoopback=function(){var $ptr,p,q;p=this;q=p.To4();if(!(q===GM.nil)){return(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])===127;}return p.Equal($pkg.IPv6loopback);};$ptrType(GM).prototype.IsLoopback=function(){return this.$get().IsLoopback();};GM.prototype.IsMulticast=function(){var $ptr,p,q;p=this;q=p.To4();if(!(q===GM.nil)){return(((0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])&240)>>>0)===224;}return(p.$length===16)&&((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])===255);};$ptrType(GM).prototype.IsMulticast=function(){return this.$get().IsMulticast();};GM.prototype.IsInterfaceLocalMulticast=function(){var $ptr,p;p=this;return(p.$length===16)&&((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])===255)&&((((1>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+1])&15)>>>0)===1);};$ptrType(GM).prototype.IsInterfaceLocalMulticast=function(){return this.$get().IsInterfaceLocalMulticast();};GM.prototype.IsLinkLocalMulticast=function(){var $ptr,p,q;p=this;q=p.To4();if(!(q===GM.nil)){return((0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])===224)&&((1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1])===0)&&((2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2])===0);}return(p.$length===16)&&((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])===255)&&((((1>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+1])&15)>>>0)===2);};$ptrType(GM).prototype.IsLinkLocalMulticast=function(){return this.$get().IsLinkLocalMulticast();};GM.prototype.IsLinkLocalUnicast=function(){var $ptr,p,q;p=this;q=p.To4();if(!(q===GM.nil)){return((0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])===169)&&((1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1])===254);}return(p.$length===16)&&((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])===254)&&((((1>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+1])&192)>>>0)===128);};$ptrType(GM).prototype.IsLinkLocalUnicast=function(){return this.$get().IsLinkLocalUnicast();};GM.prototype.IsGlobalUnicast=function(){var $ptr,p;p=this;return((p.$length===4)||(p.$length===16))&&!p.Equal($pkg.IPv4bcast)&&!p.IsUnspecified()&&!p.IsLoopback()&&!p.IsMulticast()&&!p.IsLinkLocalUnicast();};$ptrType(GM).prototype.IsGlobalUnicast=function(){return this.$get().IsGlobalUnicast();};GT=function(p){var $ptr,p,q;q=0;while(true){if(!(q<p.$length)){break;}if(!((((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q])===0))){return false;}q=q+(1)>>0;}return true;};GM.prototype.To4=function(){var $ptr,p;p=this;if(p.$length===4){return p;}if((p.$length===16)&&GT($subslice(p,0,10))&&((10>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+10])===255)&&((11>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+11])===255)){return $subslice(p,12,16);}return GM.nil;};$ptrType(GM).prototype.To4=function(){return this.$get().To4();};GM.prototype.To16=function(){var $ptr,p;p=this;if(p.$length===4){return GP((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0]),(1>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+1]),(2>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+2]),(3>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+3]));}if(p.$length===16){return p;}return GM.nil;};$ptrType(GM).prototype.To16=function(){return this.$get().To16();};GM.prototype.DefaultMask=function(){var $ptr,p,q;p=this;p=p.To4();if(p===GM.nil){return GN.nil;}q=true;if(q===((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])<128)){return GU;}else if(q===((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])<192)){return GV;}else{return GW;}};$ptrType(GM).prototype.DefaultMask=function(){return this.$get().DefaultMask();};GX=function(p){var $ptr,p,q,r,s;q=p;r=0;while(true){if(!(r<q.$length)){break;}s=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);if(!((s===255))){return false;}r++;}return true;};GM.prototype.Mask=function(p){var $ptr,p,q,r,s,t,u,v;q=this;if((p.$length===16)&&(q.$length===4)&&GX((r=$subslice(p,0,12),$subslice(new PA(r.$array),r.$offset,r.$offset+r.$length)))){p=$subslice(p,12);}if((p.$length===4)&&(q.$length===16)&&HA((s=$subslice(q,0,12),$subslice(new PA(s.$array),s.$offset,s.$offset+s.$length)),GQ)){q=$subslice(q,12);}t=q.$length;if(!((t===p.$length))){return GM.nil;}u=$makeSlice(GM,t);v=0;while(true){if(!(v<t)){break;}((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]=((((v<0||v>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+v])&((v<0||v>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+v]))>>>0));v=v+(1)>>0;}return u;};$ptrType(GM).prototype.Mask=function(p){return this.$get().Mask(p);};GM.prototype.String=function(){var $ptr,p,q,r,s,t,u,v,w,x,y,z;p=this;q=p;if(p.$length===0){return\"<nil>\";}r=q.To4();if(r.$length===4){return LE((((0>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+0])>>>0)))+\".\"+LE((((1>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+1])>>>0)))+\".\"+LE((((2>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+2])>>>0)))+\".\"+LE((((3>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+3])>>>0)));}if(!((q.$length===16))){return\"?\"+GY($subslice(new PA(p.$array),p.$offset,p.$offset+p.$length));}s=-1;t=-1;u=0;while(true){if(!(u<16)){break;}v=u;while(true){if(!(v<16&&(((v<0||v>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+v])===0)&&((w=v+1>>0,((w<0||w>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+w]))===0))){break;}v=v+(2)>>0;}if(v>u&&(v-u>>0)>(t-s>>0)){s=u;t=v;u=v;}u=u+(2)>>0;}if((t-s>>0)<=2){s=-1;t=-1;}x=$makeSlice(PA,0,39);y=0;while(true){if(!(y<16)){break;}if(y===s){x=$append(x,58,58);y=t;if(y>=16){break;}}else if(y>0){x=$append(x,58);}x=LF(x,(((((((y<0||y>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+y])>>>0))<<8>>>0))|(((z=y+1>>0,((z<0||z>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+z]))>>>0)))>>>0);y=y+(2)>>0;}return($bytesToString(x));};$ptrType(GM).prototype.String=function(){return this.$get().String();};GY=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y;q=$makeSlice(PA,($imul(p.$length,2)));r=p;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);v=\"0123456789abcdef\".charCodeAt((u>>>4<<24>>>24));w=\"0123456789abcdef\".charCodeAt(((u&15)>>>0));(x=$imul(t,2),((x<0||x>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+x]=v));(y=($imul(t,2))+1>>0,((y<0||y>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+y]=w));s++;}return($bytesToString(q));};GZ=function(p){var $ptr,p;if(p.$length===0){return\"\";}return p.String();};GM.prototype.MarshalText=function(){var $ptr,p;p=this;if(p.$length===0){return[(new PA($stringToBytes(\"\"))),$ifaceNil];}if(!((p.$length===4))&&!((p.$length===16))){return[PA.nil,new KA.ptr(\"invalid IP address\",GY($subslice(new PA(p.$array),p.$offset,p.$offset+p.$length)))];}return[(new PA($stringToBytes(p.String()))),$ifaceNil];};$ptrType(GM).prototype.MarshalText=function(){return this.$get().MarshalText();};$ptrType(GM).prototype.UnmarshalText=function(p){var $ptr,p,q,r,s;q=this;if(p.$length===0){q.$set(GM.nil);return $ifaceNil;}r=($bytesToString(p));s=HF(r);if(s===GM.nil){return new JZ.ptr(\"IP address\",r);}q.$set(s);return $ifaceNil;};GM.prototype.Equal=function(p){var $ptr,p,q,r,s,t,u;q=this;if(q.$length===p.$length){return HA($subslice(new PA(q.$array),q.$offset,q.$offset+q.$length),$subslice(new PA(p.$array),p.$offset,p.$offset+p.$length));}if((q.$length===4)&&(p.$length===16)){return HA((r=$subslice(p,0,12),$subslice(new PA(r.$array),r.$offset,r.$offset+r.$length)),GQ)&&HA($subslice(new PA(q.$array),q.$offset,q.$offset+q.$length),(s=$subslice(p,12),$subslice(new PA(s.$array),s.$offset,s.$offset+s.$length)));}if((q.$length===16)&&(p.$length===4)){return HA((t=$subslice(q,0,12),$subslice(new PA(t.$array),t.$offset,t.$offset+t.$length)),GQ)&&HA((u=$subslice(q,12),$subslice(new PA(u.$array),u.$offset,u.$offset+u.$length)),$subslice(new PA(p.$array),p.$offset,p.$offset+p.$length));}return false;};$ptrType(GM).prototype.Equal=function(p){return this.$get().Equal(p);};HA=function(p,q){var $ptr,p,q,r,s,t,u;if(!((p.$length===q.$length))){return false;}r=p;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);if(!((((t<0||t>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+t])===u))){return false;}s++;}return true;};GM.prototype.matchAddrFamily=function(p){var $ptr,p,q;q=this;return!(q.To4()===GM.nil)&&!(p.To4()===GM.nil)||!(q.To16()===GM.nil)&&q.To4()===GM.nil&&!(p.To16()===GM.nil)&&p.To4()===GM.nil;};$ptrType(GM).prototype.matchAddrFamily=function(p){return this.$get().matchAddrFamily(p);};HB=function(p){var $ptr,p,q,r,s,t,u,v;q=0;r=p;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);if(u===255){q=q+(8)>>0;s++;continue;}while(true){if(!(!((((u&128)>>>0)===0)))){break;}q=q+(1)>>0;u=(v=(1),v<32?(u<<v):0)<<24>>>24;}if(!((u===0))){return-1;}t=t+(1)>>0;while(true){if(!(t<p.$length)){break;}if(!((((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t])===0))){return-1;}t=t+(1)>>0;}break;}return q;};GN.prototype.Size=function(){var $ptr,p,q,r,s,t,u,v;p=0;q=0;r=this;s=HB(r);t=$imul(r.$length,8);p=s;q=t;if(p===-1){u=0;v=0;p=u;q=v;return[p,q];}return[p,q];};$ptrType(GN).prototype.Size=function(){return this.$get().Size();};GN.prototype.String=function(){var $ptr,p;p=this;if(p.$length===0){return\"<nil>\";}return GY($subslice(new PA(p.$array),p.$offset,p.$offset+p.$length));};$ptrType(GN).prototype.String=function(){return this.$get().String();};HC=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y;q=GM.nil;r=GN.nil;q=p.IP.To4();if(q===GM.nil){q=p.IP;if(!((q.$length===16))){s=GM.nil;t=GN.nil;q=s;r=t;return[q,r];}}r=p.Mask;u=r.$length;if(u===(4)){if(!((q.$length===4))){v=GM.nil;w=GN.nil;q=v;r=w;return[q,r];}}else if(u===(16)){if(q.$length===4){r=$subslice(r,12);}}else{x=GM.nil;y=GN.nil;q=x;r=y;return[q,r];}return[q,r];};GO.ptr.prototype.Contains=function(p){var $ptr,p,q,r,s,t,u,v,w;q=this;r=HC(q);s=r[0];t=r[1];u=p.To4();if(!(u===GM.nil)){p=u;}v=p.$length;if(!((v===s.$length))){return false;}w=0;while(true){if(!(w<v)){break;}if(!((((((w<0||w>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+w])&((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]))>>>0)===((((w<0||w>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+w])&((w<0||w>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+w]))>>>0)))){return false;}w=w+(1)>>0;}return true;};GO.prototype.Contains=function(p){return this.$val.Contains(p);};GO.ptr.prototype.Network=function(){var $ptr,p;p=this;return\"ip+net\";};GO.prototype.Network=function(){return this.$val.Network();};GO.ptr.prototype.String=function(){var $ptr,p,q,r,s,t;p=this;q=HC(p);r=q[0];s=q[1];if(r===GM.nil||s===GN.nil){return\"<nil>\";}t=HB(s);if(t===-1){return r.String()+\"/\"+s.String();}return r.String()+\"/\"+LE(((t>>>0)));};GO.prototype.String=function(){return this.$val.String();};HD=function(p){var $ptr,p,q,r,s,t,u,v;q=RF.zero();r=0;while(true){if(!(r<4)){break;}if(p.length===0){return GM.nil;}if(r>0){if(!((p.charCodeAt(0)===46))){return GM.nil;}p=$substring(p,1);}s=LA(p);t=s[0];u=s[1];v=s[2];if(!v||t>255){return GM.nil;}p=$substring(p,u);((r<0||r>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[r]=((t<<24>>>24)));r=r+(1)>>0;}if(!((p.length===0))){return GM.nil;}return GP(q[0],q[1],q[2],q[3]);};HE=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,p,q,r,s,t,u,v,w,x,y,z;r=GM.nil;s=\"\";r=$makeSlice(GM,16);t=-1;if(q){u=IA(p);p=u[0];s=u[1];}if(p.length>=2&&(p.charCodeAt(0)===58)&&(p.charCodeAt(1)===58)){t=0;p=$substring(p,2);if(p.length===0){v=r;w=s;r=v;s=w;return[r,s];}}x=0;while(true){if(!(x<16)){break;}y=LB(p);z=y[0];aa=y[1];ab=y[2];if(!ab||z>65535){ac=GM.nil;ad=s;r=ac;s=ad;return[r,s];}if(aa<p.length&&(p.charCodeAt(aa)===46)){if(t<0&&!((x===12))){ae=GM.nil;af=s;r=ae;s=af;return[r,s];}if((x+4>>0)>16){ag=GM.nil;ah=s;r=ag;s=ah;return[r,s];}ai=HD(p);if(ai===GM.nil){aj=GM.nil;ak=s;r=aj;s=ak;return[r,s];}((x<0||x>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+x]=(12>=ai.$length?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+12]));(al=x+1>>0,((al<0||al>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+al]=(13>=ai.$length?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+13])));(am=x+2>>0,((am<0||am>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+am]=(14>=ai.$length?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+14])));(an=x+3>>0,((an<0||an>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+an]=(15>=ai.$length?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+15])));p=\"\";x=x+(4)>>0;break;}((x<0||x>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+x]=(((z>>8>>0)<<24>>>24)));(ao=x+1>>0,((ao<0||ao>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+ao]=((z<<24>>>24))));x=x+(2)>>0;p=$substring(p,aa);if(p.length===0){break;}if(!((p.charCodeAt(0)===58))||(p.length===1)){ap=GM.nil;aq=s;r=ap;s=aq;return[r,s];}p=$substring(p,1);if(p.charCodeAt(0)===58){if(t>=0){ar=GM.nil;as=s;r=ar;s=as;return[r,s];}t=x;p=$substring(p,1);if(p.length===0){break;}}}if(!((p.length===0))){at=GM.nil;au=s;r=at;s=au;return[r,s];}if(x<16){if(t<0){av=GM.nil;aw=s;r=av;s=aw;return[r,s];}ax=16-x>>0;ay=x-1>>0;while(true){if(!(ay>=t)){break;}(az=ay+ax>>0,((az<0||az>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+az]=((ay<0||ay>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+ay])));ay=ay-(1)>>0;}ba=(t+ax>>0)-1>>0;while(true){if(!(ba>=t)){break;}((ba<0||ba>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+ba]=0);ba=ba-(1)>>0;}}else if(t>=0){bb=GM.nil;bc=s;r=bb;s=bc;return[r,s];}bd=r;be=s;r=bd;s=be;return[r,s];};HF=function(p){var $ptr,p,q,r,s,t;q=0;while(true){if(!(q<p.length)){break;}r=p.charCodeAt(q);if(r===(46)){return HD(p);}else if(r===(58)){s=HE(p,false);t=s[0];return t;}q=q+(1)>>0;}return GM.nil;};$pkg.ParseIP=HF;HG=function(p){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z;q=P(p,47);if(q<0){return[GM.nil,PD.nil,new JZ.ptr(\"CIDR address\",p)];}r=$substring(p,0,q);s=$substring(p,(q+1>>0));t=r;u=s;v=4;w=HD(t);if(w===GM.nil){v=16;x=HE(t,false);w=x[0];}y=LA(u);z=y[0];q=y[1];aa=y[2];if(w===GM.nil||!aa||!((q===u.length))||z<0||z>($imul(8,v))){return[GM.nil,PD.nil,new JZ.ptr(\"CIDR address\",p)];}ab=GS(z,$imul(8,v));return[w,new GO.ptr(w.Mask(ab),ab),$ifaceNil];};$pkg.ParseCIDR=HG;HH.ptr.prototype.Network=function(){var $ptr,p;p=this;return\"ip\";};HH.prototype.Network=function(){return this.$val.Network();};HH.ptr.prototype.String=function(){var $ptr,p,q;p=this;if(p===PK.nil){return\"<nil>\";}q=GZ(p.IP);if(!(p.Zone===\"\")){return q+\"%\"+p.Zone;}return q;};HH.prototype.String=function(){return this.$val.String();};HH.ptr.prototype.isWildcard=function(){var $ptr,p;p=this;if(p===PK.nil||p.IP===GM.nil){return true;}return p.IP.IsUnspecified();};HH.prototype.isWildcard=function(){return this.$val.isWildcard();};HH.ptr.prototype.opAddr=function(){var $ptr,p;p=this;if(p===PK.nil){return $ifaceNil;}return p;};HH.prototype.opAddr=function(){return this.$val.opAddr();};HJ.ptr.prototype.ReadFromIP=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return[0,PK.nil,new B.Errno(22)];}s=q.readFrom(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,v);}$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.ReadFromIP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.ReadFromIP=function(p){return this.$val.ReadFromIP(p);};HJ.ptr.prototype.ReadFrom=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return[0,$ifaceNil,new B.Errno(22)];}s=q.readFrom(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,v);}if(u===PK.nil){$s=-1;return[t,$ifaceNil,v];}$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.ReadFrom};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.ReadFrom=function(p){return this.$val.ReadFrom(p);};HJ.ptr.prototype.ReadMsgIP=function(p,q){var $ptr,aa,ab,ac,ad,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=0;s=0;t=0;u=PK.nil;v=$ifaceNil;w=this;if(!w.conn.ok()){x=0;y=0;z=0;aa=PK.nil;ab=new B.Errno(22);r=x;s=y;t=z;u=aa;v=ab;$s=-1;return[r,s,t,u,v];}ad=w.readMsg(p,q);$s=1;case 1:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;r=ac[0];s=ac[1];t=ac[2];u=ac[3];v=ac[4];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",w.conn.fd.net,w.conn.fd.laddr,w.conn.fd.raddr,v);}$s=-1;return[r,s,t,u,v];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.ReadMsgIP};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.ReadMsgIP=function(p,q){return this.$val.ReadMsgIP(p,q);};HJ.ptr.prototype.WriteToIP=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!r.conn.ok()){$s=-1;return[0,new B.Errno(22)];}t=r.writeTo(p,q);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,q.opAddr(),v);}$s=-1;return[u,v];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.WriteToIP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.WriteToIP=function(p,q){return this.$val.WriteToIP(p,q);};HJ.ptr.prototype.WriteTo=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!r.conn.ok()){$s=-1;return[0,new B.Errno(22)];}s=$assertType(q,PK,true);t=s[0];u=s[1];if(!u){$s=-1;return[0,new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,q,new B.Errno(22))];}w=r.writeTo(p,t);$s=1;case 1:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];y=v[1];if(!($interfaceIsEqual(y,$ifaceNil))){y=new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,t.opAddr(),y);}$s=-1;return[x,y];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.WriteTo};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.WriteTo=function(p,q){return this.$val.WriteTo(p,q);};HJ.ptr.prototype.WriteMsgIP=function(p,q,r){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=0;u=$ifaceNil;v=this;if(!v.conn.ok()){w=0;x=0;y=new B.Errno(22);s=w;t=x;u=y;$s=-1;return[s,t,u];}aa=v.writeMsg(p,q,r);$s=1;case 1:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;s=z[0];t=z[1];u=z[2];if(!($interfaceIsEqual(u,$ifaceNil))){u=new JS.ptr(\"write\",v.conn.fd.net,v.conn.fd.laddr,r.opAddr(),u);}$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.WriteMsgIP};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.WriteMsgIP=function(p,q,r){return this.$val.WriteMsgIP(p,q,r);};HK=function(p){var $ptr,p;return new HJ.ptr(new JH.ptr(p));};HN=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=p;if($assertType(q,QQ,true)[1]){$s=1;continue;}if($assertType(q,QR,true)[1]){$s=2;continue;}$s=3;continue;case 1:r=q.$val;$s=-1;return new HH.ptr((t=$subslice(new PA(r.Addr),0),$subslice(new GM(t.$array),t.$offset,t.$offset+t.$length)),\"\");case 2:s=q.$val;v=GF(((s.ZoneId>>0)));$s=4;case 4:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return new HH.ptr((u=$subslice(new PA(s.Addr),0),$subslice(new GM(u.$array),u.$offset,u.$offset+u.$length)),v);case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:HN};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};HH.ptr.prototype.family=function(){var $ptr,p;p=this;if(p===PK.nil||p.IP.$length<=4){return 2;}if(!(p.IP.To4()===GM.nil)){return 2;}return 30;};HH.prototype.family=function(){return this.$val.family();};HH.ptr.prototype.sockaddr=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(q===PK.nil){$s=-1;return[$ifaceNil,$ifaceNil];}r=IF(p,q.IP,0,q.Zone);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:HH.ptr.prototype.sockaddr};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};HH.prototype.sockaddr=function(p){return this.$val.sockaddr(p);};HH.ptr.prototype.toLocal=function(p){var $ptr,p,q;q=this;return new HH.ptr(IC(p),q.Zone);};HH.prototype.toLocal=function(p){return this.$val.toLocal(p);};HJ.ptr.prototype.readFrom=function(p){var $ptr,aa,ab,ac,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=PK.nil;t=q.conn.fd.readFrom(p);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];w=s[2];x=v;if($assertType(x,QQ,true)[1]){$s=2;continue;}if($assertType(x,QR,true)[1]){$s=3;continue;}$s=4;continue;case 2:y=x.$val;r=new HH.ptr((aa=$subslice(new PA(y.Addr),0),$subslice(new GM(aa.$array),aa.$offset,aa.$offset+aa.$length)),\"\");u=HO(u,p);$s=4;continue;case 3:z=x.$val;ac=GF(((z.ZoneId>>0)));$s=5;case 5:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}r=new HH.ptr((ab=$subslice(new PA(z.Addr),0),$subslice(new GM(ab.$array),ab.$offset,ab.$offset+ab.$length)),ac);case 4:$s=-1;return[u,r,w];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.readFrom};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.readFrom=function(p){return this.$val.readFrom(p);};HO=function(p,q){var $ptr,p,q,r;if(q.$length<20){return p;}r=(((((0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])&15)>>>0)>>0))<<2>>0;if(20>r||r>q.$length){return p;}if(!((((0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])>>>4<<24>>>24)===4))){return p;}$copySlice(q,$subslice(q,r));return p-r>>0;};HJ.ptr.prototype.readMsg=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=0;s=0;t=0;u=PK.nil;v=$ifaceNil;w=this;x=$ifaceNil;z=w.conn.fd.readMsg(p,q);$s=1;case 1:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;r=y[0];s=y[1];t=y[2];x=y[3];v=y[4];aa=x;if($assertType(aa,QQ,true)[1]){$s=2;continue;}if($assertType(aa,QR,true)[1]){$s=3;continue;}$s=4;continue;case 2:ab=aa.$val;u=new HH.ptr((ad=$subslice(new PA(ab.Addr),0),$subslice(new GM(ad.$array),ad.$offset,ad.$offset+ad.$length)),\"\");$s=4;continue;case 3:ac=aa.$val;af=GF(((ac.ZoneId>>0)));$s=5;case 5:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}u=new HH.ptr((ae=$subslice(new PA(ac.Addr),0),$subslice(new GM(ae.$array),ae.$offset,ae.$offset+ae.$length)),af);case 4:$s=-1;return[r,s,t,u,v];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.readMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.readMsg=function(p,q){return this.$val.readMsg(p,q);};HJ.ptr.prototype.writeTo=function(p,q){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(r.conn.fd.isConnected){$s=-1;return[0,$pkg.ErrWriteToConnected];}if(q===PK.nil){$s=-1;return[0,JN];}t=q.sockaddr(r.conn.fd.family);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[0,v];}w=r.conn.fd.writeTo(p,u);$s=2;case 2:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.writeTo};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.writeTo=function(p,q){return this.$val.writeTo(p,q);};HJ.ptr.prototype.writeMsg=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=0;u=$ifaceNil;v=this;if(v.conn.fd.isConnected){w=0;x=0;y=$pkg.ErrWriteToConnected;s=w;t=x;u=y;$s=-1;return[s,t,u];}if(r===PK.nil){z=0;aa=0;ab=JN;s=z;t=aa;u=ab;$s=-1;return[s,t,u];}ad=r.sockaddr(v.conn.fd.family);$s=1;case 1:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];u=ac[1];if(!($interfaceIsEqual(u,$ifaceNil))){af=0;ag=0;ah=u;s=af;t=ag;u=ah;$s=-1;return[s,t,u];}aj=v.conn.fd.writeMsg(p,q,ae);$s=2;case 2:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;s=ai[0];t=ai[1];u=ai[2];$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:HJ.ptr.prototype.writeMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};HJ.prototype.writeMsg=function(p,q,r){return this.$val.writeMsg(p,q,r);};HP=function(p,q,r,s){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:u=BD(p,q);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];x=t[2];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return[RG.nil,x];}y=v;if(y===(\"ip\")||y===(\"ip4\")||y===(\"ip6\")){}else{$s=-1;return[RG.nil,new KB((q))];}if(s===PK.nil){$s=-1;return[RG.nil,JN];}aa=IE(p,v,r,s,3,w,\"dial\");$s=2;case 2:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[0];x=z[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return[RG.nil,x];}$s=-1;return[HK(ab),$ifaceNil];}return;}if($f===undefined){$f={$blk:HP};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};HV=function(p){var $ptr,p,q,r,s,t;q=p;if($assertType(q,PJ,true)[1]){r=q.$val;return!(r.IP.To4()===GM.nil);}else if($assertType(q,PH,true)[1]){s=q.$val;return!(s.IP.To4()===GM.nil);}else if($assertType(q,PK,true)[1]){t=q.$val;return!(t.IP.To4()===GM.nil);}return false;};HU.prototype.partition=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=HU.nil;r=HU.nil;s=this;t=false;u=s;v=0;case 1:if(!(v<u.$length)){$s=2;continue;}w=v;x=((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]);y=p(x);$s=3;case 3:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if((w===0)||z===t){t=z;q=$append(q,x);}else{r=$append(r,x);}v++;$s=1;continue;case 2:$s=-1;return[q,r];}return;}if($f===undefined){$f={$blk:HU.prototype.partition};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(HU).prototype.partition=function(p){return this.$get().partition(p);};HW=function(p,q,r,s){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=HU.nil;u=q;v=0;case 1:if(!(v<u.$length)){$s=2;continue;}w=$clone(((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]),HH);if(p===$throwNilPointerError){x=true;$s=5;continue s;}y=p($clone(w,HH));$s=6;case 6:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;case 5:if(x){$s=3;continue;}$s=4;continue;case 3:z=r($clone(w,HH));$s=7;case 7:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}t=$append(t,z);case 4:v++;$s=1;continue;case 2:if(t.$length===0){$s=8;continue;}$s=9;continue;case 8:aa=JM.Error();$s=10;case 10:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$s=-1;return[HU.nil,new KA.ptr(aa,s)];case 9:$s=-1;return[t,$ifaceNil];}return;}if($f===undefined){$f={$blk:HW};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};HX=function(p){var $ptr,p;return!(p.IP.To4()===GM.nil);};HY=function(p){var $ptr,p;return(p.IP.$length===16)&&p.IP.To4()===GM.nil;};HZ=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=\"\";r=\"\";s=$ifaceNil;t=(function(t,u){var $ptr,aa,t,u,v,w,x,y,z;v=\"\";w=\"\";x=$ifaceNil;y=\"\";z=\"\";aa=new KA.ptr(u,t);v=y;w=z;x=aa;return[v,w,x];});u=0;v=0;w=u;x=v;y=LH(p,58);if(y<0){$s=1;continue;}$s=2;continue;case 1:aa=t(p,\"missing port in address\");$s=3;case 3:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;q=z[0];r=z[1];s=z[2];$s=-1;return[q,r,s];case 2:if(p.charCodeAt(0)===91){$s=4;continue;}$s=5;continue;case 4:ab=P(p,93);if(ab<0){$s=7;continue;}$s=8;continue;case 7:ad=t(p,\"missing ']' in address\");$s=9;case 9:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;q=ac[0];r=ac[1];s=ac[2];$s=-1;return[q,r,s];case 8:ae=ab+1>>0;if(ae===(p.length)){$s=11;continue;}if(ae===(y)){$s=12;continue;}$s=13;continue;case 11:ag=t(p,\"missing port in address\");$s=15;case 15:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;q=af[0];r=af[1];s=af[2];$s=-1;return[q,r,s];case 12:$s=14;continue;case 13:if(p.charCodeAt((ab+1>>0))===58){$s=16;continue;}$s=17;continue;case 16:ai=t(p,\"too many colons in address\");$s=18;case 18:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;q=ah[0];r=ah[1];s=ah[2];$s=-1;return[q,r,s];case 17:ak=t(p,\"missing port in address\");$s=19;case 19:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;q=aj[0];r=aj[1];s=aj[2];$s=-1;return[q,r,s];case 14:case 10:q=$substring(p,1,ab);al=1;am=ab+1>>0;w=al;x=am;$s=6;continue;case 5:q=$substring(p,0,y);if(P(q,58)>=0){$s=20;continue;}$s=21;continue;case 20:ao=t(p,\"too many colons in address\");$s=22;case 22:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;q=an[0];r=an[1];s=an[2];$s=-1;return[q,r,s];case 21:if(P(q,37)>=0){$s=23;continue;}$s=24;continue;case 23:aq=t(p,\"missing brackets in address\");$s=25;case 25:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;q=ap[0];r=ap[1];s=ap[2];$s=-1;return[q,r,s];case 24:case 6:if(P($substring(p,w),91)>=0){$s=26;continue;}$s=27;continue;case 26:as=t(p,\"unexpected '[' in address\");$s=28;case 28:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;q=ar[0];r=ar[1];s=ar[2];$s=-1;return[q,r,s];case 27:if(P($substring(p,x),93)>=0){$s=29;continue;}$s=30;continue;case 29:au=t(p,\"unexpected ']' in address\");$s=31;case 31:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;q=at[0];r=at[1];s=at[2];$s=-1;return[q,r,s];case 30:r=$substring(p,(y+1>>0));av=q;aw=r;ax=$ifaceNil;q=av;r=aw;s=ax;$s=-1;return[q,r,s];}return;}if($f===undefined){$f={$blk:HZ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.SplitHostPort=HZ;IA=function(p){var $ptr,p,q,r,s,t,u;q=\"\";r=\"\";s=LH(p,37);if(s>0){t=$substring(p,0,s);u=$substring(p,(s+1>>0));q=t;r=u;}else{q=p;}return[q,r];};IB=function(p,q){var $ptr,p,q;if(P(p,58)>=0||P(p,37)>=0){return\"[\"+p+\"]:\"+q;}return p+\":\"+q;};$pkg.JoinHostPort=IB;IK.ptr.prototype.internetAddrList=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];s=[s];t=this;u=$ifaceNil;v=\"\";w=\"\";x=v;y=w;s[0]=0;z=q[0];if(z===(\"tcp\")||z===(\"tcp4\")||z===(\"tcp6\")||z===(\"udp\")||z===(\"udp4\")||z===(\"udp6\")){$s=2;continue;}if(z===(\"ip\")||z===(\"ip4\")||z===(\"ip6\")){$s=3;continue;}$s=4;continue;case 2:if(!(r===\"\")){$s=6;continue;}$s=7;continue;case 6:ab=HZ(r);$s=8;case 8:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;x=aa[0];y=aa[1];u=aa[2];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[HU.nil,u];}ad=t.LookupPort(p,q[0],y);$s=9;case 9:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;s[0]=ac[0];u=ac[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[HU.nil,u];}case 7:$s=5;continue;case 3:if(!(r===\"\")){x=r;}$s=5;continue;case 4:$s=-1;return[HU.nil,new KB((q[0]))];case 5:case 1:ae=(function(q,s){return function(ae){var $ptr,ae,af;af=q[0];if(af===(\"tcp\")||af===(\"tcp4\")||af===(\"tcp6\")){return new MZ.ptr(ae.IP,s[0],ae.Zone);}else if(af===(\"udp\")||af===(\"udp4\")||af===(\"udp6\")){return new NO.ptr(ae.IP,s[0],ae.Zone);}else if(af===(\"ip\")||af===(\"ip4\")||af===(\"ip6\")){return new HH.ptr(ae.IP,ae.Zone);}else{$panic(new $String(\"unexpected network: \"+q[0]));}};})(q,s);if(x===\"\"){$s=10;continue;}$s=11;continue;case 10:af=ae(new HH.ptr(GM.nil,\"\"));$s=12;case 12:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$s=-1;return[new HU([af]),$ifaceNil];case 11:ag=PF.nil;ah=HD(x);if(!(ah===GM.nil)){$s=13;continue;}$s=14;continue;case 13:ag=new PF([new HH.ptr(ah,\"\")]);$s=15;continue;case 14:ai=HE(x,true);aj=ai[0];ak=ai[1];if(!(aj===GM.nil)){$s=16;continue;}$s=17;continue;case 16:ag=new PF([new HH.ptr(aj,ak)]);$s=18;continue;case 17:am=t.LookupIPAddr(p,x);$s=19;case 19:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}al=am;ag=al[0];u=al[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[HU.nil,u];}case 18:case 15:an=$throwNilPointerError;if(!(q[0]===\"\")&&(q[0].charCodeAt((q[0].length-1>>0))===52)){an=HX;}if(!(q[0]===\"\")&&(q[0].charCodeAt((q[0].length-1>>0))===54)){an=HY;}ao=HW(an,ag,ae,x);$s=20;case 20:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.internetAddrList};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.internetAddrList=function(p,q,r){return this.$val.internetAddrList(p,q,r);};IC=function(p){var $ptr,p;if(!(p===\"\")&&(p.charCodeAt((p.length-1>>0))===54)){return $pkg.IPv6loopback;}return new GM([127,0,0,1]);};ID=function(p,q,r,s){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=0;u=false;v=p.charCodeAt((p.length-1>>0));if(v===(52)){w=2;x=false;t=w;u=x;$s=-1;return[t,u];}else if(v===(54)){y=30;z=true;t=y;u=z;$s=-1;return[t,u];}if(!(s===\"listen\")){aa=false;$s=3;continue s;}if($interfaceIsEqual(q,$ifaceNil)){ab=true;$s=4;continue s;}ac=q.isWildcard();$s=5;case 5:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;case 4:aa=ab;case 3:if(aa){$s=1;continue;}$s=2;continue;case 1:if(HT||!HR){ad=30;ae=false;t=ad;u=ae;$s=-1;return[t,u];}if($interfaceIsEqual(q,$ifaceNil)){af=2;ag=false;t=af;u=ag;$s=-1;return[t,u];}ai=q.family();$s=6;case 6:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;aj=false;t=ah;u=aj;$s=-1;return[t,u];case 2:if($interfaceIsEqual(q,$ifaceNil)){al=true;$s=10;continue s;}am=q.family();$s=11;case 11:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}al=am===2;case 10:if(!(al)){ak=false;$s=9;continue s;}if($interfaceIsEqual(r,$ifaceNil)){an=true;$s=12;continue s;}ao=r.family();$s=13;case 13:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao===2;case 12:ak=an;case 9:if(ak){$s=7;continue;}$s=8;continue;case 7:ap=2;aq=false;t=ap;u=aq;$s=-1;return[t,u];case 8:ar=30;as=false;t=ar;u=as;$s=-1;return[t,u];}return;}if($f===undefined){$f={$blk:ID};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IE=function(p,q,r,s,t,u,v){var $ptr,aa,ab,ac,ad,ae,af,ag,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:w=QL.nil;x=$ifaceNil;if(!(false&&v===\"dial\")){y=false;$s=3;continue s;}z=s.isWildcard();$s=4;case 4:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;case 3:if(y){$s=1;continue;}$s=2;continue;case 1:aa=s.toLocal(q);$s=5;case 5:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}s=aa;case 2:ac=ID(q,r,s,v);$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;ad=ab[0];ae=ab[1];ag=MF(p,q,ad,t,u,ae,r,s);$s=7;case 7:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;w=af[0];x=af[1];$s=-1;return[w,x];}return;}if($f===undefined){$f={$blk:IE};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IF=function(p,q,r,s){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=p;if(t===(2)){$s=2;continue;}if(t===(30)){$s=3;continue;}$s=4;continue;case 2:if(q.$length===0){q=$pkg.IPv4zero;}u=q.To4();if(u===GM.nil){$s=-1;return[$ifaceNil,new KA.ptr(\"non-IPv4 address\",q.String())];}v=new B.SockaddrInet4.ptr(r,RF.zero(),new B.RawSockaddrInet4.ptr(0,0,0,RF.zero(),RH.zero()));$copySlice(new PA(v.Addr),u);$s=-1;return[v,$ifaceNil];case 3:if((q.$length===0)||q.Equal($pkg.IPv4zero)){q=$pkg.IPv6zero;}w=q.To16();if(w===GM.nil){$s=-1;return[$ifaceNil,new KA.ptr(\"non-IPv6 address\",q.String())];}x=GG(s);$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=new B.SockaddrInet6.ptr(r,((x>>>0)),OZ.zero(),new B.RawSockaddrInet6.ptr(0,0,0,0,OZ.zero(),0));$copySlice(new PA(y.Addr),w);$s=-1;return[y,$ifaceNil];case 4:case 1:$s=-1;return[$ifaceNil,new KA.ptr(\"invalid address family\",q.String())];}return;}if($f===undefined){$f={$blk:IF};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};II=function(p){var $ptr,p,q,r,s,t,u,v;q=RI.zero();r=$copyString(new PA(q),p);LI($subslice(new PA(q),0,r));s=(t=IG[$String.keyFor(($bytesToString($subslice(new PA(q),0,r))))],t!==undefined?[t.v,true]:[0,false]);u=s[0];v=s[1];if(!v||!((r===p.length))){return[0,new KA.ptr(\"unknown IP protocol specified\",p)];}return[u,$ifaceNil];};IJ=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,p,q,r,s,t,u,v,w,x,y,z;r=0;s=$ifaceNil;t=p;if(t===(\"tcp4\")||t===(\"tcp6\")){p=\"tcp\";}else if(t===(\"udp4\")||t===(\"udp6\")){p=\"udp\";}u=(v=IH[$String.keyFor(p)],v!==undefined?[v.v,true]:[false,false]);w=u[0];x=u[1];if(x){y=RI.zero();z=$copyString(new PA(y),q);LI($subslice(new PA(y),0,z));aa=(ab=w[$String.keyFor(($bytesToString($subslice(new PA(y),0,z))))],ab!==undefined?[ab.v,true]:[0,false]);ac=aa[0];ad=aa[1];if(ad&&(z===q.length)){ae=ac;af=$ifaceNil;r=ae;s=af;return[r,s];}}ag=0;ah=new KA.ptr(\"unknown port\",p+\"/\"+q);r=ag;s=ah;return[r,s];};IK.ptr.prototype.LookupHost=function(p,q){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=OU.nil;s=$ifaceNil;t=this;if(q===\"\"){$s=1;continue;}$s=2;continue;case 1:u=OU.nil;w=KE.Error();$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=new KF.ptr(w,q,\"\",false,false);r=u;s=v;$s=-1;return[r,s];case 2:x=HF(q);if(!(x===GM.nil)){y=new OU([q]);z=$ifaceNil;r=y;s=z;$s=-1;return[r,s];}ab=t.lookupHost(p,q);$s=4;case 4:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;r=aa[0];s=aa[1];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupHost};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupHost=function(p,q){return this.$val.LookupHost(p,q);};IK.ptr.prototype.LookupIPAddr=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=[p];q=[q];r=[r];s=this;if(q[0]===\"\"){$s=1;continue;}$s=2;continue;case 1:t=KE.Error();$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return[PF.nil,new KF.ptr(t,q[0],\"\",false,false)];case 2:u=HF(q[0]);if(!(u===GM.nil)){$s=-1;return[new PF([new HH.ptr(u,\"\")]),$ifaceNil];}x=p[0].Value((w=new I.TraceKey.ptr(),new w.constructor.elem(w)));$s=4;case 4:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}v=$assertType(x,PL,true);y=v[0];if(!(y===PL.nil)&&!(y.DNSStart===$throwNilPointerError)){$s=5;continue;}$s=6;continue;case 5:$r=y.DNSStart(q[0]);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:r[0]=$methodVal(s,\"lookupIP\");ab=p[0].Value((aa=new I.LookupIPAltResolverKey.ptr(),new aa.constructor.elem(aa)));$s=8;case 8:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}z=$assertType(ab,RJ,true);ac=z[0];if(!(ac===$throwNilPointerError)){r[0]=ac;}ad=IN.DoChan(q[0],(function(p,q,r){return function $b(){var $ptr,ad,ae,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;ad=$f.ad;ae=$f.ae;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ad=FB(p[0],r[0],q[0]);$s=1;case 1:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;$s=-1;return[ae[0],ae[1]];}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ad=ad;$f.ae=ae;$f.$s=$s;$f.$r=$r;return $f;};})(p,q,r));$s=9;case 9:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;ag=p[0].Done();$s=10;case 10:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=$select([[ag],[ae]]);$s=11;case 11:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}af=ah;if(af[0]===0){$s=12;continue;}if(af[0]===1){$s=13;continue;}$s=14;continue;case 12:ai=p[0].Err();$s=15;case 15:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=JR(ai);$s=16;case 16:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ak=aj;$r=IN.Forget(q[0]);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(y===PL.nil)&&!(y.DNSDone===$throwNilPointerError)){$s=18;continue;}$s=19;continue;case 18:$r=y.DNSDone(RK.nil,false,ak);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 19:$s=-1;return[PF.nil,ak];case 13:al=$clone(af[1][0],O.Result);if(!(y===PL.nil)&&!(y.DNSDone===$throwNilPointerError)){$s=21;continue;}$s=22;continue;case 21:am=$assertType(al.Val,PF,true);an=am[0];$r=y.DNSDone(IP(an),al.Shared,al.Err);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 22:$s=-1;return IO(al.Val,al.Err,al.Shared);case 14:$s=-1;return[PF.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupIPAddr};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupIPAddr=function(p,q){return this.$val.LookupIPAddr(p,q);};IO=function(p,q,r){var $ptr,p,q,r,s,t;if(!($interfaceIsEqual(q,$ifaceNil))){return[PF.nil,q];}s=$assertType(p,PF);if(r){t=$makeSlice(PF,s.$length);$copySlice(t,s);s=t;}return[s,$ifaceNil];};IP=function(p){var $ptr,p,q,r,s,t,u;q=$makeSlice(RK,p.$length);r=p;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=$clone(((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]),HH);((t<0||t>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+t]=new u.constructor.elem(u));s++;}return q;};IK.ptr.prototype.LookupPort=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=$ifaceNil;u=this;v=LZ(r);s=v[0];w=v[1];if(w){$s=1;continue;}$s=2;continue;case 1:y=u.lookupPort(p,q,r);$s=3;case 3:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;s=x[0];t=x[1];if(!($interfaceIsEqual(t,$ifaceNil))){z=0;aa=t;s=z;t=aa;$s=-1;return[s,t];}case 2:if(0>s||s>65535){ab=0;ac=new KA.ptr(\"invalid port\",r);s=ab;t=ac;$s=-1;return[s,t];}ad=s;ae=$ifaceNil;s=ad;t=ae;$s=-1;return[s,t];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupPort};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupPort=function(p,q,r){return this.$val.LookupPort(p,q,r);};IK.ptr.prototype.LookupCNAME=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=\"\";s=$ifaceNil;t=this;v=t.lookupCNAME(p,q);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;r=u[0];s=u[1];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupCNAME};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupCNAME=function(p,q){return this.$val.LookupCNAME(p,q);};IK.ptr.prototype.LookupSRV=function(p,q,r,s){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=\"\";u=RM.nil;v=$ifaceNil;w=this;y=w.lookupSRV(p,q,r,s);$s=1;case 1:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;t=x[0];u=x[1];v=x[2];$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupSRV};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupSRV=function(p,q,r,s){return this.$val.LookupSRV(p,q,r,s);};IK.ptr.prototype.LookupMX=function(p,q){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;s=r.lookupMX(p,q);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupMX};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupMX=function(p,q){return this.$val.LookupMX(p,q);};IK.ptr.prototype.LookupNS=function(p,q){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;s=r.lookupNS(p,q);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupNS};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupNS=function(p,q){return this.$val.LookupNS(p,q);};IK.ptr.prototype.LookupTXT=function(p,q){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;s=r.lookupTXT(p,q);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupTXT};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupTXT=function(p,q){return this.$val.LookupTXT(p,q);};IK.ptr.prototype.LookupAddr=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=OU.nil;s=$ifaceNil;t=this;v=t.lookupAddr(p,q);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;r=u[0];s=u[1];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.LookupAddr};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.LookupAddr=function(p,q){return this.$val.LookupAddr(p,q);};IY=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=KV(\"/etc/protocols\");q=p[0];r=p[1];if($interfaceIsEqual(r,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:t=q.readLine();$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];case 4:if(!(v)){$s=5;continue;}w=P(u,35);if(w>=0){u=$substring(u,0,w);}x=KZ(u);if(x.$length<2){$s=6;continue;}$s=7;continue;case 6:z=q.readLine();$s=8;case 8:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;u=y[0];v=y[1];$s=4;continue;case 7:aa=LA((1>=x.$length?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+1]));ab=aa[0];ac=aa[2];if(ac){ad=(ae=IG[$String.keyFor((0>=x.$length?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+0]))],ae!==undefined?[ae.v,true]:[0,false]);af=ad[1];if(!af){ag=(0>=x.$length?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+0]);(IG||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(ag)]={k:ag,v:ab};}ah=$subslice(x,2);ai=0;while(true){if(!(ai<ah.$length)){break;}aj=((ai<0||ai>=ah.$length)?($throwRuntimeError(\"index out of range\"),undefined):ah.$array[ah.$offset+ai]);ak=(al=IG[$String.keyFor(aj)],al!==undefined?[al.v,true]:[0,false]);am=ak[1];if(!am){an=aj;(IG||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(an)]={k:an,v:ab};}ai++;}}ap=q.readLine();$s=9;case 9:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;u=ao[0];v=ao[1];$s=4;continue;case 5:q.close();case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:IY};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IZ=function(p,q){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=IX.Do(IY);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return II(q);}return;}if($f===undefined){$f={$blk:IZ};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};IK.ptr.prototype.lookupHost=function(p,q){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=OU.nil;s=$ifaceNil;t=this;u=AV();$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u.hostLookupOrder(q);$s=2;case 2:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;if(!t.PreferGo&&(w===0)){x=AN(p,q);y=x[0];z=x[1];aa=x[2];if(aa){ab=y;ac=z;r=ab;s=ac;$s=-1;return[r,s];}w=1;}ae=CK(p,q,w);$s=3;case 3:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;r=ad[0];s=ad[1];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupHost};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupHost=function(p,q){return this.$val.lookupHost(p,q);};IK.ptr.prototype.lookupIP=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,ag,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=PF.nil;s=$ifaceNil;t=this;if(t.PreferGo){$s=1;continue;}$s=2;continue;case 1:v=CM(p,q);$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;r=u[0];s=u[1];$s=-1;return[r,s];case 2:w=AV();$s=4;case 4:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w.hostLookupOrder(q);$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(y===0){z=AP(p,q);aa=z[0];ab=z[1];ac=z[2];if(ac){ad=aa;ae=ab;r=ad;s=ae;$s=-1;return[r,s];}y=1;}ag=CN(p,q,y);$s=6;case 6:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;r=af[0];s=af[2];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupIP};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupIP=function(p,q){return this.$val.lookupIP(p,q);};IK.ptr.prototype.lookupPort=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=this;if(!(!s.PreferGo)){t=false;$s=3;continue s;}u=AV();$s=4;case 4:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u.canUseCgo();$s=5;case 5:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}t=v;case 3:if(t){$s=1;continue;}$s=2;continue;case 1:w=AO(p,q,r);x=w[0];y=w[1];z=w[2];if(z){$s=6;continue;}$s=7;continue;case 6:if(!($interfaceIsEqual(y,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:ab=MC(q,r);$s=10;case 10:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[0];ad=aa[1];if($interfaceIsEqual(ad,$ifaceNil)){$s=-1;return[ac,$ifaceNil];}case 9:$s=-1;return[x,y];case 7:case 2:ae=MC(q,r);$s=11;case 11:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}$s=-1;return ae;}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupPort};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupPort=function(p,q,r){return this.$val.lookupPort(p,q,r);};IK.ptr.prototype.lookupCNAME=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!(!r.PreferGo)){s=false;$s=3;continue s;}t=AV();$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t.canUseCgo();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;case 3:if(s){$s=1;continue;}$s=2;continue;case 1:v=AQ(p,q);w=v[0];x=v[1];y=v[2];if(y){$s=-1;return[w,x];}case 2:z=CO(p,q);$s=6;case 6:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}$s=-1;return z;}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupCNAME};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupCNAME=function(p,q){return this.$val.lookupCNAME(p,q);};IK.ptr.prototype.lookupSRV=function(p,q,r,s){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=\"\";if(q===\"\"&&r===\"\"){t=s;}else{t=\"_\"+q+\"._\"+r+\".\"+s;}v=CF(p,t,33);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=u[0];x=u[1];y=u[2];if(!($interfaceIsEqual(y,$ifaceNil))){$s=-1;return[\"\",RM.nil,y];}z=$makeSlice(RM,x.$length);aa=x;ab=0;while(true){if(!(ab<aa.$length)){break;}ac=ab;ad=((ab<0||ab>=aa.$length)?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+ab]);ae=$assertType(ad,RN);((ac<0||ac>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ac]=new BQ.ptr(ae.Target,ae.Port,ae.Priority,ae.Weight));ab++;}$r=($subslice(new BR(z.$array),z.$offset,z.$offset+z.$length)).sort();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[w,z,$ifaceNil];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupSRV};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupSRV=function(p,q,r,s){return this.$val.lookupSRV(p,q,r,s);};IK.ptr.prototype.lookupMX=function(p,q){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=CF(p,q,15);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[1];u=r[2];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[RP.nil,u];}v=$makeSlice(RP,t.$length);w=t;x=0;while(true){if(!(x<w.$length)){break;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);aa=$assertType(z,RQ);((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]=new BS.ptr(aa.Mx,aa.Pref));x++;}$r=($subslice(new BT(v.$array),v.$offset,v.$offset+v.$length)).sort();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[v,$ifaceNil];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupMX};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupMX=function(p,q){return this.$val.lookupMX(p,q);};IK.ptr.prototype.lookupNS=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=CF(p,q,2);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[1];u=r[2];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[RS.nil,u];}v=$makeSlice(RS,t.$length);w=t;x=0;while(true){if(!(x<w.$length)){break;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]=new BU.ptr($assertType(z,RT).Ns));x++;}$s=-1;return[v,$ifaceNil];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupNS};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupNS=function(p,q){return this.$val.lookupNS(p,q);};IK.ptr.prototype.lookupTXT=function(p,q){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;t=CF(p,q,16);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[1];v=s[2];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[OU.nil,v];}w=$makeSlice(OU,u.$length);x=u;y=0;while(true){if(!(y<x.$length)){break;}z=y;aa=((y<0||y>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+y]);((z<0||z>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+z]=$assertType(aa,RU).Txt);y++;}$s=-1;return[w,$ifaceNil];}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupTXT};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupTXT=function(p,q){return this.$val.lookupTXT(p,q);};IK.ptr.prototype.lookupAddr=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!(!r.PreferGo)){s=false;$s=3;continue s;}t=AV();$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t.canUseCgo();$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;case 3:if(s){$s=1;continue;}$s=2;continue;case 1:v=AR(p,q);w=v[0];x=v[1];y=v[2];if(y){$s=-1;return[w,x];}case 2:z=CP(p,q);$s=6;case 6:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}$s=-1;return z;}return;}if($f===undefined){$f={$blk:IK.ptr.prototype.lookupAddr};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};IK.prototype.lookupAddr=function(p,q){return this.$val.lookupAddr(p,q);};JA.prototype.String=function(){var $ptr,p,q,r,s,t,u;p=this;if(p.$length===0){return\"\";}q=$makeSlice(PA,0,(($imul(p.$length,3))-1>>0));r=p;s=0;while(true){if(!(s<r.$length)){break;}t=s;u=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);if(t>0){q=$append(q,58);}q=$append(q,\"0123456789abcdef\".charCodeAt((u>>>4<<24>>>24)));q=$append(q,\"0123456789abcdef\".charCodeAt(((u&15)>>>0)));s++;}return($bytesToString(q));};$ptrType(JA).prototype.String=function(){return this.$get().String();};JE=function(){var $ptr,p;R();HR=S();p=T();HS=p[0];HT=p[1];};JH.ptr.prototype.ok=function(){var $ptr,p;p=this;return!(p===RV.nil)&&!(p.fd===QL.nil);};JH.prototype.ok=function(){return this.$val.ok();};JH.ptr.prototype.Read=function(p){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return[0,new B.Errno(22)];}s=q.fd.Read(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))&&!($interfaceIsEqual(u,L.EOF))){u=new JS.ptr(\"read\",q.fd.net,q.fd.laddr,q.fd.raddr,u);}$s=-1;return[t,u];}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.Read};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.Read=function(p){return this.$val.Read(p);};JH.ptr.prototype.Write=function(p){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return[0,new B.Errno(22)];}s=q.fd.Write(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))){u=new JS.ptr(\"write\",q.fd.net,q.fd.laddr,q.fd.raddr,u);}$s=-1;return[t,u];}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.Write};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.Write=function(p){return this.$val.Write(p);};JH.ptr.prototype.Close=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.ok()){$s=-1;return new B.Errno(22);}q=p.fd.Close();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))){r=new JS.ptr(\"close\",p.fd.net,p.fd.laddr,p.fd.raddr,r);}$s=-1;return r;}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.Close};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.Close=function(){return this.$val.Close();};JH.ptr.prototype.LocalAddr=function(){var $ptr,p;p=this;if(!p.ok()){return $ifaceNil;}return p.fd.laddr;};JH.prototype.LocalAddr=function(){return this.$val.LocalAddr();};JH.ptr.prototype.RemoteAddr=function(){var $ptr,p;p=this;if(!p.ok()){return $ifaceNil;}return p.fd.raddr;};JH.prototype.RemoteAddr=function(){return this.$val.RemoteAddr();};JH.ptr.prototype.SetDeadline=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return new B.Errno(22);}r=q.fd.setDeadline($clone(p,J.Time));$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.fd.net,$ifaceNil,q.fd.laddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.SetDeadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.SetDeadline=function(p){return this.$val.SetDeadline(p);};JH.ptr.prototype.SetReadDeadline=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return new B.Errno(22);}r=q.fd.setReadDeadline($clone(p,J.Time));$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.fd.net,$ifaceNil,q.fd.laddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.SetReadDeadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.SetReadDeadline=function(p){return this.$val.SetReadDeadline(p);};JH.ptr.prototype.SetWriteDeadline=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return new B.Errno(22);}r=q.fd.setWriteDeadline($clone(p,J.Time));$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.fd.net,$ifaceNil,q.fd.laddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.SetWriteDeadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.SetWriteDeadline=function(p){return this.$val.SetWriteDeadline(p);};JH.ptr.prototype.SetReadBuffer=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return new B.Errno(22);}r=MN(q.fd,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.fd.net,$ifaceNil,q.fd.laddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.SetReadBuffer};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.SetReadBuffer=function(p){return this.$val.SetReadBuffer(p);};JH.ptr.prototype.SetWriteBuffer=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return new B.Errno(22);}r=MO(q.fd,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.fd.net,$ifaceNil,q.fd.laddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.SetWriteBuffer};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.SetWriteBuffer=function(p){return this.$val.SetWriteBuffer(p);};JH.ptr.prototype.File=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=QP.nil;q=$ifaceNil;r=this;t=r.fd.dup();$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;p=s[0];q=s[1];if(!($interfaceIsEqual(q,$ifaceNil))){q=new JS.ptr(\"file\",r.fd.net,r.fd.laddr,r.fd.raddr,q);}$s=-1;return[p,q];}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.File};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.File=function(){return this.$val.File();};JR=function(p){var $ptr,p,q;q=p;if($interfaceIsEqual(q,(E.Canceled))){return JP;}else if($interfaceIsEqual(q,(E.DeadlineExceeded))){return JO;}else{return p;}};JS.ptr.prototype.Error=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(p===RW.nil){$s=-1;return\"<nil>\";}q=p.Op;if(!(p.Net===\"\")){q=q+(\" \"+p.Net);}if(!($interfaceIsEqual(p.Source,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:r=p.Source.String();$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=q+(\" \"+r);case 2:if(!($interfaceIsEqual(p.Addr,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:if(!($interfaceIsEqual(p.Source,$ifaceNil))){q=q+(\"->\");}else{q=q+(\" \");}s=p.Addr.String();$s=6;case 6:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=q+(s);case 5:t=p.Err.Error();$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}q=q+(\": \"+t);$s=-1;return q;}return;}if($f===undefined){$f={$blk:JS.ptr.prototype.Error};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};JS.prototype.Error=function(){return this.$val.Error();};JS.ptr.prototype.Timeout=function(){var $ptr,aa,ab,ac,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=$assertType(p.Err,QN,true);r=q[0];s=q[1];if(s){$s=1;continue;}$s=2;continue;case 1:t=$assertType(r.Err,JW,true);u=t[0];v=t[1];if(!(v)){w=false;$s=3;continue s;}x=u.Timeout();$s=4;case 4:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;case 3:$s=-1;return w;case 2:y=$assertType(p.Err,JW,true);z=y[0];aa=y[1];if(!(aa)){ab=false;$s=5;continue s;}ac=z.Timeout();$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;case 5:$s=-1;return ab;}return;}if($f===undefined){$f={$blk:JS.ptr.prototype.Timeout};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};JS.prototype.Timeout=function(){return this.$val.Timeout();};JS.ptr.prototype.Temporary=function(){var $ptr,aa,ab,ac,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=$assertType(p.Err,QN,true);r=q[0];s=q[1];if(s){$s=1;continue;}$s=2;continue;case 1:t=$assertType(r.Err,JX,true);u=t[0];v=t[1];if(!(v)){w=false;$s=3;continue s;}x=u.Temporary();$s=4;case 4:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;case 3:$s=-1;return w;case 2:y=$assertType(p.Err,JX,true);z=y[0];aa=y[1];if(!(aa)){ab=false;$s=5;continue s;}ac=z.Temporary();$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;case 5:$s=-1;return ab;}return;}if($f===undefined){$f={$blk:JS.ptr.prototype.Temporary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};JS.prototype.Temporary=function(){return this.$val.Temporary();};JY.ptr.prototype.Error=function(){var $ptr,p;p=this;return\"i/o timeout\";};JY.prototype.Error=function(){return this.$val.Error();};JY.ptr.prototype.Timeout=function(){var $ptr,p;p=this;return true;};JY.prototype.Timeout=function(){return this.$val.Timeout();};JY.ptr.prototype.Temporary=function(){var $ptr,p;p=this;return true;};JY.prototype.Temporary=function(){return this.$val.Temporary();};JZ.ptr.prototype.Error=function(){var $ptr,p;p=this;return\"invalid \"+p.Type+\": \"+p.Text;};JZ.prototype.Error=function(){return this.$val.Error();};KA.ptr.prototype.Error=function(){var $ptr,p,q;p=this;if(p===RX.nil){return\"<nil>\";}q=p.Err;if(!(p.Addr===\"\")){q=\"address \"+p.Addr+\": \"+q;}return q;};KA.prototype.Error=function(){return this.$val.Error();};KA.ptr.prototype.Timeout=function(){var $ptr,p;p=this;return false;};KA.prototype.Timeout=function(){return this.$val.Timeout();};KA.ptr.prototype.Temporary=function(){var $ptr,p;p=this;return false;};KA.prototype.Temporary=function(){return this.$val.Temporary();};KB.prototype.Error=function(){var $ptr,p;p=this.$val;return\"unknown network \"+(p);};$ptrType(KB).prototype.Error=function(){return new KB(this.$get()).Error();};KB.prototype.Timeout=function(){var $ptr,p;p=this.$val;return false;};$ptrType(KB).prototype.Timeout=function(){return new KB(this.$get()).Timeout();};KB.prototype.Temporary=function(){var $ptr,p;p=this.$val;return false;};$ptrType(KB).prototype.Temporary=function(){return new KB(this.$get()).Temporary();};KF.ptr.prototype.Error=function(){var $ptr,p,q;p=this;if(p===PV.nil){return\"<nil>\";}q=\"lookup \"+p.Name;if(!(p.Server===\"\")){q=q+(\" on \"+p.Server);}q=q+(\": \"+p.Err);return q;};KF.prototype.Error=function(){return this.$val.Error();};KF.ptr.prototype.Timeout=function(){var $ptr,p;p=this;return p.IsTimeout;};KF.prototype.Timeout=function(){return this.$val.Timeout();};KF.ptr.prototype.Temporary=function(){var $ptr,p;p=this;return p.IsTimeout||p.IsTemporary;};KF.prototype.Temporary=function(){return this.$val.Temporary();};KH=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=new $Int64(0,0);s=$ifaceNil;v=L.Copy((u=new KG.ptr(p),new u.constructor.elem(u)),q);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}t=v;r=t[0];s=t[1];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:KH};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(KN).prototype.WriteTo=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=new $Int64(0,0);r=$ifaceNil;s=this;t=$assertType(p,KL,true);u=t[0];v=t[1];if(v){$s=1;continue;}$s=2;continue;case 1:x=u.writeBuffers(s);$s=3;case 3:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;q=w[0];r=w[1];$s=-1;return[q,r];case 2:y=s.$get();z=0;case 4:if(!(z<y.$length)){$s=5;continue;}aa=((z<0||z>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+z]);ac=p.Write(aa);$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;ad=ab[0];ae=ab[1];q=(af=(new $Int64(0,ad)),new $Int64(q.$high+af.$high,q.$low+af.$low));if(!($interfaceIsEqual(ae,$ifaceNil))){s.consume(q);ag=q;ah=ae;q=ag;r=ah;$s=-1;return[q,r];}z++;$s=4;continue;case 5:s.consume(q);ai=q;aj=$ifaceNil;q=ai;r=aj;$s=-1;return[q,r];}return;}if($f===undefined){$f={$blk:$ptrType(KN).prototype.WriteTo};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(KN).prototype.Read=function(p){var $ptr,p,q,r,s,t,u;q=0;r=$ifaceNil;s=this;while(true){if(!(p.$length>0&&s.$get().$length>0)){break;}u=$copySlice(p,(t=s.$get(),(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0])));s.consume((new $Int64(0,u)));p=$subslice(p,u);q=q+(u)>>0;}if(s.$get().$length===0){r=L.EOF;}return[q,r];};$ptrType(KN).prototype.consume=function(p){var $ptr,p,q,r,s,t,u,v;q=this;while(true){if(!(q.$get().$length>0)){break;}s=(new $Int64(0,(r=q.$get(),(0>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+0])).$length));if((s.$high>p.$high||(s.$high===p.$high&&s.$low>p.$low))){(u=q.$get(),(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0]=$subslice((t=q.$get(),(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0])),$flatten64(p))));return;}p=(v=s,new $Int64(p.$high-v.$high,p.$low-v.$low));q.$set($subslice((q.$get()),1));}};KP.ptr.prototype.standardCriteria=function(){var $ptr,p,q,r,s,t;p=this;q=p.criteria;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=$clone(((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]),KQ);if(!$clone(t,KQ).standardStatusAction(s===(p.criteria.$length-1>>0))){return false;}r++;}return true;};KP.prototype.standardCriteria=function(){return this.$val.standardCriteria();};KQ.ptr.prototype.standardStatusAction=function(p){var $ptr,p,q,r,s;q=this;if(q.negate){return false;}r=\"\";s=q.status;if(s===(\"success\")){r=\"return\";}else if(s===(\"notfound\")||s===(\"unavail\")||s===(\"tryagain\")){r=\"continue\";}else{return false;}if(p&&q.action===\"return\"){return true;}return q.action===r;};KQ.prototype.standardStatusAction=function(p){return this.$val.standardStatusAction(p);};KR=function(p){var $ptr,p,q,r,s,t,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=F.Open(p);r=q[0];s=q[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new KO.ptr(s,false);}$deferred.push([$methodVal(r,\"Close\"),[]]);t=KS(r);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return t;}return;}}catch(err){$err=err;$s=-1;return OX.nil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:KR};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};KS=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];s=LU(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return new KO.ptr(u,false);}q[0]=new KO.ptr($ifaceNil,false);v=LN(t,(function(q){return function $b(v){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:v=LK(LM(v));if(v.$length===0){$s=-1;return $ifaceNil;}w=LP(v,58);if(w===-1){$s=-1;return A.New(\"no colon on line\");}x=($bytesToString(LK($subslice(v,0,w))));y=$subslice(v,(w+1>>0));case 1:y=LK(y);if(y.$length===0){$s=2;continue;}z=LP(y,32);aa=\"\";if(z===-1){aa=($bytesToString(y));y=PA.nil;}else{aa=($bytesToString($subslice(y,0,z)));y=LK($subslice(y,(z+1>>0)));}ab=RY.nil;if(y.$length>0&&((0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])===91)){$s=3;continue;}$s=4;continue;case 3:ac=LP(y,93);if(ac===-1){$s=-1;return A.New(\"unclosed criterion bracket\");}ad=$ifaceNil;af=KT($subslice(y,1,ac));$s=5;case 5:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;ab=ae[0];ad=ae[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return A.New(\"invalid criteria: \"+($bytesToString($subslice(y,1,ac))));}y=$subslice(y,(ac+1>>0));case 4:if(q[0].sources===false){q[0].sources={};}ag=x;(q[0].sources||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(ag)]={k:ag,v:$append((ah=q[0].sources[$String.keyFor(x)],ah!==undefined?ah.v:PI.nil),new KP.ptr(aa,ab))};$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};})(q));$s=2;case 2:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}q[0].err=v;$s=-1;return q[0];}return;}if($f===undefined){$f={$blk:KS};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};KT=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];q[0]=RY.nil;r=$ifaceNil;s=LO(p,(function(q){return function(s){var $ptr,s,t,u;t=false;if(s.$length>0&&((0>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+0])===33)){t=true;s=$subslice(s,1);}if(s.$length<3){return A.New(\"criterion too short\");}u=LP(s,61);if(u===-1){return A.New(\"criterion lacks equal sign\");}LI(s);q[0]=$append(q[0],new KQ.ptr(t,($bytesToString($subslice(s,0,u))),($bytesToString($subslice(s,(u+1>>0))))));return $ifaceNil;};})(q));$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;$s=-1;return[q[0],r];}return;}if($f===undefined){$f={$blk:KT};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};KU.ptr.prototype.close=function(){var $ptr,p;p=this;p.file.Close();};KU.prototype.close=function(){return this.$val.close();};KU.ptr.prototype.getLineFromData=function(){var $ptr,p,q,r,s,t,u;p=\"\";q=false;r=this;s=r.data;t=0;t=0;while(true){if(!(t<s.$length)){break;}if(((t<0||t>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+t])===10){p=($bytesToString($subslice(s,0,t)));q=true;t=t+(1)>>0;u=s.$length-t>>0;$copySlice($subslice(s,0),$subslice(s,t));r.data=$subslice(s,0,u);return[p,q];}t=t+(1)>>0;}if(r.atEOF&&r.data.$length>0){p=($bytesToString(s));r.data=$subslice(r.data,0,0);q=true;}return[p,q];};KU.prototype.getLineFromData=function(){return this.$val.getLineFromData();};KU.ptr.prototype.readLine=function(){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=\"\";q=false;r=this;s=r.getLineFromData();p=s[0];q=s[1];if(q){$s=-1;return[p,q];}if(r.data.$length<r.data.$capacity){$s=1;continue;}$s=2;continue;case 1:t=r.data.$length;v=L.ReadFull(r.file,$subslice(r.data,t,r.data.$capacity));$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=u[0];x=u[1];if(w>=0){r.data=$subslice(r.data,0,(t+w>>0));}if($interfaceIsEqual(x,L.EOF)||$interfaceIsEqual(x,L.ErrUnexpectedEOF)){r.atEOF=true;}case 2:y=r.getLineFromData();p=y[0];q=y[1];$s=-1;return[p,q];}return;}if($f===undefined){$f={$blk:KU.ptr.prototype.readLine};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};KU.prototype.readLine=function(){return this.$val.readLine();};KV=function(p){var $ptr,p,q,r,s;q=F.Open(p);r=q[0];s=q[1];if(!($interfaceIsEqual(s,$ifaceNil))){return[QT.nil,s];}return[new KU.ptr(r,$makeSlice(PA,0,F.Getpagesize()),false),$ifaceNil];};KW=function(p){var $ptr,aa,ab,ac,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=new J.Time.ptr(new $Int64(0,0),0,OR.nil);r=new $Int64(0,0);s=$ifaceNil;t=F.Stat(p);u=t[0];s=t[1];if(!($interfaceIsEqual(s,$ifaceNil))){v=new J.Time.ptr(new $Int64(0,0),0,OR.nil);w=new $Int64(0,0);x=s;J.Time.copy(q,v);r=w;s=x;$s=-1;return[q,r,s];}z=u.ModTime();$s=1;case 1:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=$clone(z,J.Time);ab=u.Size();$s=2;case 2:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=$ifaceNil;J.Time.copy(q,y);r=aa;s=ac;$s=-1;return[q,r,s];}return;}if($f===undefined){$f={$blk:KW};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};KX=function(p,q){var $ptr,p,q,r,s;r=0;s=0;while(true){if(!(s<p.length)){break;}if(P(q,p.charCodeAt(s))>=0){r=r+(1)>>0;}s=s+(1)>>0;}return r;};KY=function(p,q){var $ptr,p,q,r,s,t,u;r=$makeSlice(OU,(1+KX(p,q)>>0));s=0;t=0;u=0;while(true){if(!(u<p.length)){break;}if(P(q,p.charCodeAt(u))>=0){if(t<u){((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]=$substring(p,t,u));s=s+(1)>>0;}t=u+1>>0;}u=u+(1)>>0;}if(t<p.length){((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]=$substring(p,t));s=s+(1)>>0;}return $subslice(r,0,s);};KZ=function(p){var $ptr,p;return KY(p,\" \\r\\t\\n\");};LA=function(p){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z;q=0;r=0;s=false;q=0;r=0;while(true){if(!(r<p.length&&48<=p.charCodeAt(r)&&p.charCodeAt(r)<=57)){break;}q=($imul(q,10))+(((p.charCodeAt(r)-48<<24>>>24)>>0))>>0;if(q>=16777215){t=16777215;u=r;v=false;q=t;r=u;s=v;return[q,r,s];}r=r+(1)>>0;}if(r===0){w=0;x=0;y=false;q=w;r=x;s=y;return[q,r,s];}z=q;aa=r;ab=true;q=z;r=aa;s=ab;return[q,r,s];};LB=function(p){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z;q=0;r=0;s=false;q=0;r=0;while(true){if(!(r<p.length)){break;}if(48<=p.charCodeAt(r)&&p.charCodeAt(r)<=57){q=$imul(q,(16));q=q+((((p.charCodeAt(r)-48<<24>>>24)>>0)))>>0;}else if(97<=p.charCodeAt(r)&&p.charCodeAt(r)<=102){q=$imul(q,(16));q=q+(((((p.charCodeAt(r)-97<<24>>>24)>>0))+10>>0))>>0;}else if(65<=p.charCodeAt(r)&&p.charCodeAt(r)<=70){q=$imul(q,(16));q=q+(((((p.charCodeAt(r)-65<<24>>>24)>>0))+10>>0))>>0;}else{break;}if(q>=16777215){t=0;u=r;v=false;q=t;r=u;s=v;return[q,r,s];}r=r+(1)>>0;}if(r===0){w=0;x=r;y=false;q=w;r=x;s=y;return[q,r,s];}z=q;aa=r;ab=true;q=z;r=aa;s=ab;return[q,r,s];};LD=function(p){var $ptr,p;if(p<0){return\"-\"+LE(((-p>>>0)));}return LE(((p>>>0)));};LE=function(p){var $ptr,p,q,r,s,t;if(p===0){return\"0\";}q=RZ.zero();r=19;while(true){if(!(p>=10)){break;}t=(s=p/10,(s===s&&s!==1/0&&s!==-1/0)?s>>>0:$throwRuntimeError(\"integer divide by zero\"));((r<0||r>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[r]=((((48+p>>>0)-(t*10>>>0)>>>0)<<24>>>24)));r=r-(1)>>0;p=t;}((r<0||r>=q.length)?($throwRuntimeError(\"index out of range\"),undefined):q[r]=(((48+p>>>0)<<24>>>24)));return($bytesToString($subslice(new PA(q),r)));};LF=function(p,q){var $ptr,p,q,r,s,t;if(q===0){return $append(p,48);}r=7;while(true){if(!(r>=0)){break;}t=(s=((($imul(r,4))>>>0)),s<32?(q>>>s):0)>>>0;if(t>0){p=$append(p,\"0123456789abcdef\".charCodeAt(((t&15)>>>0)));}r=r-(1)>>0;}return p;};LG=function(p,q){var $ptr,p,q,r,s;r=0;s=0;while(true){if(!(s<p.length)){break;}if(p.charCodeAt(s)===q){r=r+(1)>>0;}s=s+(1)>>0;}return r;};LH=function(p,q){var $ptr,p,q,r;r=p.length;r=r-(1)>>0;while(true){if(!(r>=0)){break;}if(p.charCodeAt(r)===q){break;}r=r-(1)>>0;}return r;};LI=function(p){var $ptr,p,q,r,s,t;q=p;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);if(65<=t&&t<=90){((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]=(((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s])+(32)<<24>>>24));}r++;}};LJ=function(p){var $ptr,p;if(65<=p&&p<=90){return p+32<<24>>>24;}return p;};LK=function(p){var $ptr,p,q;while(true){if(!(p.$length>0&&LL((0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0])))){break;}p=$subslice(p,1);}while(true){if(!(p.$length>0&&LL((q=p.$length-1>>0,((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]))))){break;}p=$subslice(p,0,(p.$length-1>>0));}return p;};LL=function(p){var $ptr,p;return(p===32)||(p===9)||(p===10)||(p===13);};LM=function(p){var $ptr,p,q;q=LP(p,35);if(!((q===-1))){return $subslice(p,0,q);}return p;};LN=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:if(!(p.$length>0)){$s=2;continue;}r=LP(p,10);if(r===-1){$s=3;continue;}$s=4;continue;case 3:s=q(p);$s=5;case 5:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;case 4:t=$subslice(p,0,(r+1>>0));p=$subslice(p,(r+1>>0));u=q(t);$s=6;case 6:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return v;}$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LN};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};LO=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=LK(p);case 1:if(!(p.$length>0)){$s=2;continue;}r=LP(p,32);if(r===-1){$s=3;continue;}$s=4;continue;case 3:s=q(p);$s=5;case 5:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;case 4:t=LK($subslice(p,0,r));if(t.$length>0){$s=6;continue;}$s=7;continue;case 6:u=q(t);$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return v;}case 7:p=LK($subslice(p,(r+1>>0)));$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LO};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};LP=function(){$throwRuntimeError(\"native function not implemented: net.bytesIndexByte\");};LQ=function(p,q){var $ptr,p,q;return p.length>=q.length&&$substring(p,(p.length-q.length>>0))===q;};LR=function(p,q){var $ptr,p,q;return p.length>=q.length&&LT($substring(p,(p.length-q.length>>0)),q);};LS=function(p,q){var $ptr,p,q;return p.length>=q.length&&$substring(p,0,q.length)===q;};LT=function(p,q){var $ptr,p,q,r;if(!((p.length===q.length))){return false;}r=0;while(true){if(!(r<p.length)){break;}if(!((LJ(p.charCodeAt(r))===LJ(q.charCodeAt(r))))){return false;}r=r+(1)>>0;}return true;};LU=function(p){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=PA.nil;r=$ifaceNil;s=$makeSlice(PA,1024);case 1:u=p.Read(s);$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];q=$appendSlice(q,$subslice(s,0,v));if($interfaceIsEqual(w,L.EOF)){x=q;y=$ifaceNil;q=x;r=y;$s=-1;return[q,r];}if(!($interfaceIsEqual(w,$ifaceNil))){z=PA.nil;aa=w;q=z;r=aa;$s=-1;return[q,r];}$s=1;continue;case 2:$s=-1;return[q,r];}return;}if($f===undefined){$f={$blk:LU};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};LV=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=F.Getenv(\"GODEBUG\");$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=0;while(true){if(!(s<((r.length-p.length>>0)-1>>0))){break;}if(s>0&&!((r.charCodeAt((s-1>>0))===44))){s=s+(1)>>0;continue;}t=$substring(r,(s+p.length>>0));if(!((t.charCodeAt(0)===61))||!($substring(r,s,(s+p.length>>0))===p)){s=s+(1)>>0;continue;}u=$substring(t,1);v=u;w=0;while(true){if(!(w<v.length)){break;}x=$decodeRune(v,w);y=w;z=x[0];if(z===44){$s=-1;return $substring(u,0,y);}w+=x[1];}$s=-1;return u;}$s=-1;return\"\";}return;}if($f===undefined){$f={$blk:LV};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};LZ=function(p){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z;q=0;r=false;if(p===\"\"){s=0;t=false;q=s;r=t;return[q,r];}u=false;if(p.charCodeAt(0)===43){p=$substring(p,1);}else if(p.charCodeAt(0)===45){u=true;p=$substring(p,1);}v=0;w=p;x=0;while(true){if(!(x<w.length)){break;}y=$decodeRune(w,x);z=y[0];if(48<=z&&z<=57){z=z-(48)>>0;}else{aa=0;ab=true;q=aa;r=ab;return[q,r];}if(v>=1073741824){v=4294967295;break;}v=$imul(v,(10))>>>0;ac=v+((z>>>0))>>>0;if(ac<v||ac>4294967295){v=4294967295;break;}v=ac;x+=y[1];}if(!u&&v>=1073741824){q=1073741823;}else if(u&&v>1073741824){q=1073741824;}else{q=((v>>0));}if(u){q=-q;}ad=q;ae=false;q=ad;r=ae;return[q,r];};MB=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=KV(\"/etc/services\");q=p[0];r=p[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return;}t=q.readLine();$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];case 2:if(!(v)){$s=3;continue;}w=P(u,35);if(w>=0){u=$substring(u,0,w);}x=KZ(u);if(x.$length<2){$s=4;continue;}$s=5;continue;case 4:z=q.readLine();$s=6;case 6:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;u=y[0];v=y[1];$s=2;continue;case 5:aa=(1>=x.$length?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+1]);ab=LA(aa);ac=ab[0];ad=ab[1];ae=ab[2];if(!ae||ac<=0||ad>=aa.length||!((aa.charCodeAt(ad)===47))){$s=7;continue;}$s=8;continue;case 7:ag=q.readLine();$s=9;case 9:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;u=af[0];v=af[1];$s=2;continue;case 8:ah=$substring(aa,(ad+1>>0));ai=(aj=IH[$String.keyFor(ah)],aj!==undefined?[aj.v,true]:[false,false]);ak=ai[0];al=ai[1];if(!al){ak={};am=ah;(IH||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(am)]={k:am,v:ak};}an=0;while(true){if(!(an<x.$length)){break;}if(!((an===1))){ao=((an<0||an>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+an]);(ak||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(ao)]={k:ao,v:ac};}an=an+(1)>>0;}aq=q.readLine();$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;u=ap[0];v=ap[1];$s=2;continue;case 3:q.close();$s=-1;return;}return;}if($f===undefined){$f={$blk:MB};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};MC=function(p,q){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=0;s=$ifaceNil;$r=MA.Do(MB);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=IJ(p,q);r=t[0];s=t[1];$s=-1;return[r,s];}return;}if($f===undefined){$f={$blk:MC};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};MD=function(p,q){var $ptr,p,q,r,s,t,u,v,w;r=new $Int64(0,0);s=$ifaceNil;t=false;u=new $Int64(0,0);v=$ifaceNil;w=false;r=u;s=v;t=w;return[r,s,t];};MF=function(p,q,r,s,t,u,v,w){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:x=QL.nil;y=$ifaceNil;aa=MX(r,s,t);$s=1;case 1:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[0];y=z[1];if(!($interfaceIsEqual(y,$ifaceNil))){ac=QL.nil;ad=y;x=ac;y=ad;$s=-1;return[x,y];}y=MG(ab,r,s,u);if(!($interfaceIsEqual(y,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:ae=FG(ab);$s=4;case 4:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae;af=QL.nil;ag=y;x=af;y=ag;$s=-1;return[x,y];case 3:ah=EM(ab,r,s,q);x=ah[0];y=ah[1];if(!($interfaceIsEqual(y,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:ai=FG(ab);$s=7;case 7:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;aj=QL.nil;ak=y;x=aj;y=ak;$s=-1;return[x,y];case 6:if(!($interfaceIsEqual(v,$ifaceNil))&&$interfaceIsEqual(w,$ifaceNil)){$s=8;continue;}$s=9;continue;case 8:al=s;if((al===(1))||(al===(5))){$s=11;continue;}if(al===(2)){$s=12;continue;}$s=13;continue;case 11:am=x.listenStream(v,JJ);$s=14;case 14:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=am;if(!($interfaceIsEqual(an,$ifaceNil))){$s=15;continue;}$s=16;continue;case 15:ao=x.Close();$s=17;case 17:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;ap=QL.nil;aq=an;x=ap;y=aq;$s=-1;return[x,y];case 16:ar=x;as=$ifaceNil;x=ar;y=as;$s=-1;return[x,y];case 12:at=x.listenDatagram(v);$s=18;case 18:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(!($interfaceIsEqual(au,$ifaceNil))){$s=19;continue;}$s=20;continue;case 19:av=x.Close();$s=21;case 21:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}av;aw=QL.nil;ax=au;x=aw;y=ax;$s=-1;return[x,y];case 20:ay=x;az=$ifaceNil;x=ay;y=az;$s=-1;return[x,y];case 13:case 10:case 9:ba=x.dial(p,v,w);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;if(!($interfaceIsEqual(bb,$ifaceNil))){$s=23;continue;}$s=24;continue;case 23:bc=x.Close();$s=25;case 25:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bc;bd=QL.nil;be=bb;x=bd;y=be;$s=-1;return[x,y];case 24:bf=x;bg=$ifaceNil;x=bf;y=bg;$s=-1;return[x,y];}return;}if($f===undefined){$f={$blk:MF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.ptr.prototype.addrFunc=function(){var $ptr,p,q,r,s;p=this;q=p.family;if((q===(2))||(q===(30))){r=p.sotype;if(r===(1)){return NG;}else if(r===(2)){return NV;}else if(r===(3)){return HN;}}else if(q===(1)){s=p.sotype;if(s===(1)){return OK;}else if(s===(2)){return OL;}else if(s===(5)){return OM;}}return(function(t){var $ptr,t;return $ifaceNil;});};EL.prototype.addrFunc=function(){return this.$val.addrFunc();};EL.ptr.prototype.dial=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=this;t=$ifaceNil;u=$ifaceNil;if(!($interfaceIsEqual(q,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:w=q.sockaddr(s.family);$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;u=v[0];t=v[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=4;continue;}if(!($interfaceIsEqual(u,$ifaceNil))){$s=5;continue;}$s=6;continue;case 4:$s=-1;return t;case 5:x=B.Bind(s.sysfd,u);$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){$s=-1;return F.NewSyscallError(\"bind\",y);}case 6:case 2:z=$ifaceNil;if(!($interfaceIsEqual(r,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:ab=r.sockaddr(s.family);$s=11;case 11:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;z=aa[0];t=aa[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return t;}ac=s.connect(p,u,z);$s=12;case 12:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return ad;}s.isConnected=true;$s=10;continue;case 9:ae=s.init();$s=13;case 13:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;if(!($interfaceIsEqual(af,$ifaceNil))){$s=-1;return af;}case 10:ag=B.Getsockname(s.sysfd);u=ag[0];ah=B.Getpeername(s.sysfd);z=ah[0];if(!($interfaceIsEqual(z,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:ai=s.addrFunc()(u);$s=17;case 17:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=ai;ak=s.addrFunc()(z);$s=18;case 18:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}al=ak;$r=s.setAddr(aj,al);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=16;continue;case 15:am=s.addrFunc()(u);$s=20;case 20:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}$r=s.setAddr(am,r);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.dial};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.dial=function(p,q,r){return this.$val.dial(p,q,r);};EL.ptr.prototype.listenStream=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;s=MH(r.sysfd);if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return s;}u=p.sockaddr(r.family);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){$s=2;continue;}if(!($interfaceIsEqual(v,$ifaceNil))){$s=3;continue;}$s=4;continue;case 2:$s=-1;return w;case 3:x=B.Bind(r.sysfd,v);$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){$s=-1;return F.NewSyscallError(\"bind\",y);}case 4:z=FI(r.sysfd,q);$s=6;case 6:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;if(!($interfaceIsEqual(aa,$ifaceNil))){$s=-1;return F.NewSyscallError(\"listen\",aa);}ab=r.init();$s=7;case 7:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return ac;}ad=B.Getsockname(r.sysfd);ae=ad[0];af=r.addrFunc()(ae);$s=8;case 8:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=r.setAddr(af,$ifaceNil);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.listenStream};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.listenStream=function(p,q){return this.$val.listenStream(p,q);};EL.ptr.prototype.listenDatagram=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=[q];r=this;s=p;if($assertType(s,PH,true)[1]){t=s.$val;if(!(t.IP===GM.nil)&&t.IP.IsMulticast()){u=MI(r.sysfd);if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return u;}q[0]=$clone(t,NO);v=r.family;if(v===(2)){q[0].IP=$pkg.IPv4zero;}else if(v===(30)){q[0].IP=$pkg.IPv6unspecified;}p=q[0];}}x=p.sockaddr(r.family);$s=1;case 1:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[0];z=w[1];if(!($interfaceIsEqual(z,$ifaceNil))){$s=2;continue;}if(!($interfaceIsEqual(y,$ifaceNil))){$s=3;continue;}$s=4;continue;case 2:$s=-1;return z;case 3:aa=B.Bind(r.sysfd,y);$s=5;case 5:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=aa;if(!($interfaceIsEqual(ab,$ifaceNil))){$s=-1;return F.NewSyscallError(\"bind\",ab);}case 4:ac=r.init();$s=6;case 6:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return ad;}ae=B.Getsockname(r.sysfd);af=ae[0];ag=r.addrFunc()(af);$s=7;case 7:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}$r=r.setAddr(ag,$ifaceNil);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.listenDatagram};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.listenDatagram=function(p){return this.$val.listenDatagram(p);};MG=function(p,q,r,s){var $ptr,p,q,r,s,t;if(false&&!((r===3))){t=q;if(t===(2)){B.SetsockoptInt(p,0,19,1);}else if(t===(30)){B.SetsockoptInt(p,41,14,1);}}if(HT&&(q===30)&&!((r===3))){B.SetsockoptInt(p,41,27,MJ(s));}return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p,65535,32,1));};MH=function(p){var $ptr,p;return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p,65535,4,1));};MI=function(p){var $ptr,p,q;q=B.SetsockoptInt(p,65535,4,1);if(!($interfaceIsEqual(q,$ifaceNil))){return F.NewSyscallError(\"setsockopt\",q);}return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p,65535,512,1));};MJ=function(p){var $ptr,p;if(p){return 1;}return 0;};MN=function(p,q){var $ptr,p,q,r,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=p.incref();if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}$deferred.push([$methodVal(p,\"decref\"),[]]);$s=-1;return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p.sysfd,65535,4098,q));}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:MN};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};MO=function(p,q){var $ptr,p,q,r,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=p.incref();if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}$deferred.push([$methodVal(p,\"decref\"),[]]);$s=-1;return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p.sysfd,65535,4097,q));}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:MO};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};MP=function(p,q){var $ptr,p,q,r,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=p.incref();if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}$deferred.push([$methodVal(p,\"decref\"),[]]);$s=-1;return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p.sysfd,65535,8,MJ(q)));}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:MP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};MQ=function(p,q){var $ptr,p,q,r,s,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=[r];r[0]=new B.Linger.ptr(0,0);if(q>=0){r[0].Onoff=1;r[0].Linger=((q>>0));}else{r[0].Onoff=0;r[0].Linger=0;}s=p.incref();if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return s;}$deferred.push([$methodVal(p,\"decref\"),[]]);$s=-1;return F.NewSyscallError(\"setsockopt\",B.SetsockoptLinger(p.sysfd,65535,128,r[0]));}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:MQ};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};MX=function(p,q,r){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.ForkLock.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=FF(p,q,r);$s=2;case 2:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if($interfaceIsEqual(v,$ifaceNil)){B.CloseOnExec(u);}$r=B.ForkLock.RUnlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[-1,F.NewSyscallError(\"socket\",v)];}v=B.SetNonblock(u,true);if(!($interfaceIsEqual(v,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:w=FG(u);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return[-1,F.NewSyscallError(\"setnonblock\",v)];case 5:$s=-1;return[u,$ifaceNil];}return;}if($f===undefined){$f={$blk:MX};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};MY=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=FJ(p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];u=q[2];if($interfaceIsEqual(u,$ifaceNil)){B.CloseOnExec(s);}if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[-1,$ifaceNil,F.NewSyscallError(\"accept\",u)];}u=B.SetNonblock(s,true);if(!($interfaceIsEqual(u,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:v=FG(s);$s=4;case 4:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;$s=-1;return[-1,$ifaceNil,F.NewSyscallError(\"setnonblock\",u)];case 3:$s=-1;return[s,t,$ifaceNil];}return;}if($f===undefined){$f={$blk:MY};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};MZ.ptr.prototype.Network=function(){var $ptr,p;p=this;return\"tcp\";};MZ.prototype.Network=function(){return this.$val.Network();};MZ.ptr.prototype.String=function(){var $ptr,p,q;p=this;if(p===PJ.nil){return\"<nil>\";}q=GZ(p.IP);if(!(p.Zone===\"\")){return IB(q+\"%\"+p.Zone,LD(p.Port));}return IB(q,LD(p.Port));};MZ.prototype.String=function(){return this.$val.String();};MZ.ptr.prototype.isWildcard=function(){var $ptr,p;p=this;if(p===PJ.nil||p.IP===GM.nil){return true;}return p.IP.IsUnspecified();};MZ.prototype.isWildcard=function(){return this.$val.isWildcard();};MZ.ptr.prototype.opAddr=function(){var $ptr,p;p=this;if(p===PJ.nil){return $ifaceNil;}return p;};MZ.prototype.opAddr=function(){return this.$val.opAddr();};NB.ptr.prototype.ReadFrom=function(p){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return[new $Int64(0,0),new B.Errno(22)];}s=q.readFrom(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))&&!($interfaceIsEqual(u,L.EOF))){u=new JS.ptr(\"readfrom\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,u);}$s=-1;return[t,u];}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.ReadFrom};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.ReadFrom=function(p){return this.$val.ReadFrom(p);};NB.ptr.prototype.CloseRead=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.conn.ok()){$s=-1;return new B.Errno(22);}q=p.conn.fd.closeRead();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return new JS.ptr(\"close\",p.conn.fd.net,p.conn.fd.laddr,p.conn.fd.raddr,r);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.CloseRead};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.CloseRead=function(){return this.$val.CloseRead();};NB.ptr.prototype.CloseWrite=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.conn.ok()){$s=-1;return new B.Errno(22);}q=p.conn.fd.closeWrite();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return new JS.ptr(\"close\",p.conn.fd.net,p.conn.fd.laddr,p.conn.fd.raddr,r);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.CloseWrite};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.CloseWrite=function(){return this.$val.CloseWrite();};NB.ptr.prototype.SetLinger=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return new B.Errno(22);}r=MQ(q.conn.fd,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.SetLinger};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.SetLinger=function(p){return this.$val.SetLinger(p);};NB.ptr.prototype.SetKeepAlive=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return new B.Errno(22);}r=MP(q.conn.fd,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.SetKeepAlive};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.SetKeepAlive=function(p){return this.$val.SetKeepAlive(p);};NB.ptr.prototype.SetKeepAlivePeriod=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return new B.Errno(22);}r=NM(q.conn.fd,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.SetKeepAlivePeriod};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.SetKeepAlivePeriod=function(p){return this.$val.SetKeepAlivePeriod(p);};NB.ptr.prototype.SetNoDelay=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return new B.Errno(22);}r=NN(q.conn.fd,p);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.SetNoDelay};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.SetNoDelay=function(p){return this.$val.SetNoDelay(p);};NC=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=new NB.ptr(new JH.ptr(p));r=NN(q.conn.fd,true);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=-1;return q;}return;}if($f===undefined){$f={$blk:NC};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};NE.ptr.prototype.AcceptTCP=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.ok()){$s=-1;return[PM.nil,new B.Errno(22)];}r=p.accept();$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[PM.nil,new JS.ptr(\"accept\",p.fd.net,$ifaceNil,p.fd.laddr,t)];}$s=-1;return[s,$ifaceNil];}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.AcceptTCP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.AcceptTCP=function(){return this.$val.AcceptTCP();};NE.ptr.prototype.Accept=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.ok()){$s=-1;return[$ifaceNil,new B.Errno(22)];}r=p.accept();$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[$ifaceNil,new JS.ptr(\"accept\",p.fd.net,$ifaceNil,p.fd.laddr,t)];}$s=-1;return[s,$ifaceNil];}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.Accept};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.Accept=function(){return this.$val.Accept();};NE.ptr.prototype.Close=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.ok()){$s=-1;return new B.Errno(22);}q=p.close();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return new JS.ptr(\"close\",p.fd.net,$ifaceNil,p.fd.laddr,r);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.Close};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.Close=function(){return this.$val.Close();};NE.ptr.prototype.Addr=function(){var $ptr,p;p=this;return p.fd.laddr;};NE.prototype.Addr=function(){return this.$val.Addr();};NE.ptr.prototype.SetDeadline=function(p){var $ptr,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return new B.Errno(22);}r=q.fd.setDeadline($clone(p,J.Time));$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return new JS.ptr(\"set\",q.fd.net,$ifaceNil,q.fd.laddr,s);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.SetDeadline};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.SetDeadline=function(p){return this.$val.SetDeadline(p);};NE.ptr.prototype.File=function(){var $ptr,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=QP.nil;q=$ifaceNil;r=this;if(!r.ok()){s=QP.nil;t=new B.Errno(22);p=s;q=t;$s=-1;return[p,q];}v=r.file();$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;p=u[0];q=u[1];if(!($interfaceIsEqual(q,$ifaceNil))){w=QP.nil;x=new JS.ptr(\"file\",r.fd.net,$ifaceNil,r.fd.laddr,q);p=w;q=x;$s=-1;return[p,q];}$s=-1;return[p,q];}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.File};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.File=function(){return this.$val.File();};NG=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=p;if($assertType(q,QQ,true)[1]){$s=1;continue;}if($assertType(q,QR,true)[1]){$s=2;continue;}$s=3;continue;case 1:r=q.$val;$s=-1;return new MZ.ptr((t=$subslice(new PA(r.Addr),0),$subslice(new GM(t.$array),t.$offset,t.$offset+t.$length)),r.Port,\"\");case 2:s=q.$val;v=GF(((s.ZoneId>>0)));$s=4;case 4:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return new MZ.ptr((u=$subslice(new PA(s.Addr),0),$subslice(new GM(u.$array),u.$offset,u.$offset+u.$length)),s.Port,v);case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NG};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};MZ.ptr.prototype.family=function(){var $ptr,p;p=this;if(p===PJ.nil||p.IP.$length<=4){return 2;}if(!(p.IP.To4()===GM.nil)){return 2;}return 30;};MZ.prototype.family=function(){return this.$val.family();};MZ.ptr.prototype.sockaddr=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(q===PJ.nil){$s=-1;return[$ifaceNil,$ifaceNil];}r=IF(p,q.IP,q.Port,q.Zone);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:MZ.ptr.prototype.sockaddr};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};MZ.prototype.sockaddr=function(p){return this.$val.sockaddr(p);};MZ.ptr.prototype.toLocal=function(p){var $ptr,p,q;q=this;return new MZ.ptr(IC(p),q.Port,q.Zone);};MZ.prototype.toLocal=function(p){return this.$val.toLocal(p);};NB.ptr.prototype.readFrom=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=MD(q.conn.fd,p);s=r[0];t=r[1];u=r[2];if(u){$s=-1;return[s,t];}v=KH(q,p);$s=1;case 1:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return v;}return;}if($f===undefined){$f={$blk:NB.ptr.prototype.readFrom};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};NB.prototype.readFrom=function(p){return this.$val.readFrom(p);};NH=function(p,q,r,s){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(EZ===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:t=EZ(p,q,r,s);$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return t;case 2:u=NI(p,q,r,s);$s=4;case 4:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return u;}return;}if($f===undefined){$f={$blk:NH};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};NI=function(p,q,r,s){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:u=IE(p,q,r,s,1,0,\"dial\");$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];x=0;case 2:if(!(x<2&&(r===PJ.nil||(r.Port===0))&&(NJ(v,w)||NK(w)))){$s=3;continue;}if($interfaceIsEqual(w,$ifaceNil)){$s=4;continue;}$s=5;continue;case 4:y=v.Close();$s=6;case 6:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}y;case 5:aa=IE(p,q,r,s,1,0,\"dial\");$s=7;case 7:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;v=z[0];w=z[1];x=x+(1)>>0;$s=2;continue;case 3:if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return[PM.nil,w];}ab=NC(v);$s=8;case 8:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}$s=-1;return[ab,$ifaceNil];}return;}if($f===undefined){$f={$blk:NI};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};NJ=function(p,q){var $ptr,p,q,r,s;if(!($interfaceIsEqual(q,$ifaceNil))){return false;}if($interfaceIsEqual(p.laddr,$ifaceNil)||$interfaceIsEqual(p.raddr,$ifaceNil)){return true;}r=$assertType(p.laddr,PJ);s=$assertType(p.raddr,PJ);return(r.Port===s.Port)&&r.IP.Equal(s.IP);};NK=function(p){var $ptr,p,q,r,s,t,u,v;q=$assertType(p,RW,true);r=q[0];s=q[1];if(s){p=r.Err;}t=$assertType(p,QN,true);u=t[0];v=t[1];if(v){p=u.Err;}return $interfaceIsEqual(p,new B.Errno(49));};NE.ptr.prototype.ok=function(){var $ptr,p;p=this;return!(p===SA.nil)&&!(p.fd===QL.nil);};NE.prototype.ok=function(){return this.$val.ok();};NE.ptr.prototype.accept=function(){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;r=p.fd.accept();$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[PM.nil,t];}u=NC(s);$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return[u,$ifaceNil];}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.accept};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.accept=function(){return this.$val.accept();};NE.ptr.prototype.close=function(){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;q=p.fd.Close();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.close};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.close=function(){return this.$val.close();};NE.ptr.prototype.file=function(){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;r=p.fd.dup();$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[QP.nil,t];}$s=-1;return[s,$ifaceNil];}return;}if($f===undefined){$f={$blk:NE.ptr.prototype.file};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};NE.prototype.file=function(){return this.$val.file();};NM=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=p.incref();if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}$deferred.push([$methodVal(p,\"decref\"),[]]);q=(s=new J.Duration(0,999999999),new J.Duration(q.$high+s.$high,q.$low+s.$low));t=((q.Seconds()>>0));u=B.SetsockoptInt(p.sysfd,6,257,t);v=u;if($interfaceIsEqual(v,$ifaceNil)||$interfaceIsEqual(v,new B.Errno((42)))){}else{$s=-1;return F.NewSyscallError(\"setsockopt\",u);}$s=-1;return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p.sysfd,6,16,t));}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:NM};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};NN=function(p,q){var $ptr,p,q,r,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);r=p.incref();if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}$deferred.push([$methodVal(p,\"decref\"),[]]);$s=-1;return F.NewSyscallError(\"setsockopt\",B.SetsockoptInt(p.sysfd,6,1,MJ(q)));}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:NN};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};NO.ptr.prototype.Network=function(){var $ptr,p;p=this;return\"udp\";};NO.prototype.Network=function(){return this.$val.Network();};NO.ptr.prototype.String=function(){var $ptr,p,q;p=this;if(p===PH.nil){return\"<nil>\";}q=GZ(p.IP);if(!(p.Zone===\"\")){return IB(q+\"%\"+p.Zone,LD(p.Port));}return IB(q,LD(p.Port));};NO.prototype.String=function(){return this.$val.String();};NO.ptr.prototype.isWildcard=function(){var $ptr,p;p=this;if(p===PH.nil||p.IP===GM.nil){return true;}return p.IP.IsUnspecified();};NO.prototype.isWildcard=function(){return this.$val.isWildcard();};NO.ptr.prototype.opAddr=function(){var $ptr,p;p=this;if(p===PH.nil){return $ifaceNil;}return p;};NO.prototype.opAddr=function(){return this.$val.opAddr();};NQ.ptr.prototype.ReadFromUDP=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return[0,PH.nil,new B.Errno(22)];}s=q.readFrom(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,v);}$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.ReadFromUDP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.ReadFromUDP=function(p){return this.$val.ReadFromUDP(p);};NQ.ptr.prototype.ReadFrom=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return[0,$ifaceNil,new B.Errno(22)];}s=q.readFrom(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,v);}if(u===PH.nil){$s=-1;return[t,$ifaceNil,v];}$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.ReadFrom};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.ReadFrom=function(p){return this.$val.ReadFrom(p);};NQ.ptr.prototype.ReadMsgUDP=function(p,q){var $ptr,aa,ab,ac,ad,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=0;s=0;t=0;u=PH.nil;v=$ifaceNil;w=this;if(!w.conn.ok()){x=0;y=0;z=0;aa=PH.nil;ab=new B.Errno(22);r=x;s=y;t=z;u=aa;v=ab;$s=-1;return[r,s,t,u,v];}ad=w.readMsg(p,q);$s=1;case 1:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;r=ac[0];s=ac[1];t=ac[2];u=ac[3];v=ac[4];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",w.conn.fd.net,w.conn.fd.laddr,w.conn.fd.raddr,v);}$s=-1;return[r,s,t,u,v];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.ReadMsgUDP};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.ReadMsgUDP=function(p,q){return this.$val.ReadMsgUDP(p,q);};NQ.ptr.prototype.WriteToUDP=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!r.conn.ok()){$s=-1;return[0,new B.Errno(22)];}t=r.writeTo(p,q);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,q.opAddr(),v);}$s=-1;return[u,v];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.WriteToUDP};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.WriteToUDP=function(p,q){return this.$val.WriteToUDP(p,q);};NQ.ptr.prototype.WriteTo=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!r.conn.ok()){$s=-1;return[0,new B.Errno(22)];}s=$assertType(q,PH,true);t=s[0];u=s[1];if(!u){$s=-1;return[0,new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,q,new B.Errno(22))];}w=r.writeTo(p,t);$s=1;case 1:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];y=v[1];if(!($interfaceIsEqual(y,$ifaceNil))){y=new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,t.opAddr(),y);}$s=-1;return[x,y];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.WriteTo};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.WriteTo=function(p,q){return this.$val.WriteTo(p,q);};NQ.ptr.prototype.WriteMsgUDP=function(p,q,r){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=0;u=$ifaceNil;v=this;if(!v.conn.ok()){w=0;x=0;y=new B.Errno(22);s=w;t=x;u=y;$s=-1;return[s,t,u];}aa=v.writeMsg(p,q,r);$s=1;case 1:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;s=z[0];t=z[1];u=z[2];if(!($interfaceIsEqual(u,$ifaceNil))){u=new JS.ptr(\"write\",v.conn.fd.net,v.conn.fd.laddr,r.opAddr(),u);}$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.WriteMsgUDP};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.WriteMsgUDP=function(p,q,r){return this.$val.WriteMsgUDP(p,q,r);};NR=function(p){var $ptr,p;return new NQ.ptr(new JH.ptr(p));};NS=function(p,q,r){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=p;if(s===(\"udp\")||s===(\"udp4\")||s===(\"udp6\")){}else{$s=-1;return[PU.nil,new JS.ptr(\"dial\",p,q.opAddr(),r.opAddr(),new KB((p)))];}if(r===PH.nil){$s=-1;return[PU.nil,new JS.ptr(\"dial\",p,q.opAddr(),$ifaceNil,JN)];}u=NW(E.Background(),p,q,r);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return[PU.nil,new JS.ptr(\"dial\",p,q.opAddr(),r.opAddr(),w)];}$s=-1;return[v,$ifaceNil];}return;}if($f===undefined){$f={$blk:NS};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DialUDP=NS;NV=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=p;if($assertType(q,QQ,true)[1]){$s=1;continue;}if($assertType(q,QR,true)[1]){$s=2;continue;}$s=3;continue;case 1:r=q.$val;$s=-1;return new NO.ptr((t=$subslice(new PA(r.Addr),0),$subslice(new GM(t.$array),t.$offset,t.$offset+t.$length)),r.Port,\"\");case 2:s=q.$val;v=GF(((s.ZoneId>>0)));$s=4;case 4:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return new NO.ptr((u=$subslice(new PA(s.Addr),0),$subslice(new GM(u.$array),u.$offset,u.$offset+u.$length)),s.Port,v);case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NV};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};NO.ptr.prototype.family=function(){var $ptr,p;p=this;if(p===PH.nil||p.IP.$length<=4){return 2;}if(!(p.IP.To4()===GM.nil)){return 2;}return 30;};NO.prototype.family=function(){return this.$val.family();};NO.ptr.prototype.sockaddr=function(p){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(q===PH.nil){$s=-1;return[$ifaceNil,$ifaceNil];}r=IF(p,q.IP,q.Port,q.Zone);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:NO.ptr.prototype.sockaddr};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};NO.prototype.sockaddr=function(p){return this.$val.sockaddr(p);};NO.ptr.prototype.toLocal=function(p){var $ptr,p,q;q=this;return new NO.ptr(IC(p),q.Port,q.Zone);};NO.prototype.toLocal=function(p){return this.$val.toLocal(p);};NQ.ptr.prototype.readFrom=function(p){var $ptr,aa,ab,ac,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=PH.nil;t=q.conn.fd.readFrom(p);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];w=s[2];x=v;if($assertType(x,QQ,true)[1]){$s=2;continue;}if($assertType(x,QR,true)[1]){$s=3;continue;}$s=4;continue;case 2:y=x.$val;r=new NO.ptr((aa=$subslice(new PA(y.Addr),0),$subslice(new GM(aa.$array),aa.$offset,aa.$offset+aa.$length)),y.Port,\"\");$s=4;continue;case 3:z=x.$val;ac=GF(((z.ZoneId>>0)));$s=5;case 5:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}r=new NO.ptr((ab=$subslice(new PA(z.Addr),0),$subslice(new GM(ab.$array),ab.$offset,ab.$offset+ab.$length)),z.Port,ac);case 4:$s=-1;return[u,r,w];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.readFrom};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.readFrom=function(p){return this.$val.readFrom(p);};NQ.ptr.prototype.readMsg=function(p,q){var $ptr,aa,ab,ac,ad,ae,af,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=0;s=0;t=0;u=PH.nil;v=$ifaceNil;w=this;x=$ifaceNil;z=w.conn.fd.readMsg(p,q);$s=1;case 1:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;r=y[0];s=y[1];t=y[2];x=y[3];v=y[4];aa=x;if($assertType(aa,QQ,true)[1]){$s=2;continue;}if($assertType(aa,QR,true)[1]){$s=3;continue;}$s=4;continue;case 2:ab=aa.$val;u=new NO.ptr((ad=$subslice(new PA(ab.Addr),0),$subslice(new GM(ad.$array),ad.$offset,ad.$offset+ad.$length)),ab.Port,\"\");$s=4;continue;case 3:ac=aa.$val;af=GF(((ac.ZoneId>>0)));$s=5;case 5:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}u=new NO.ptr((ae=$subslice(new PA(ac.Addr),0),$subslice(new GM(ae.$array),ae.$offset,ae.$offset+ae.$length)),ac.Port,af);case 4:$s=-1;return[r,s,t,u,v];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.readMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.readMsg=function(p,q){return this.$val.readMsg(p,q);};NQ.ptr.prototype.writeTo=function(p,q){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(r.conn.fd.isConnected){$s=-1;return[0,$pkg.ErrWriteToConnected];}if(q===PH.nil){$s=-1;return[0,JN];}t=q.sockaddr(r.conn.fd.family);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[0,v];}w=r.conn.fd.writeTo(p,u);$s=2;case 2:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.writeTo};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.writeTo=function(p,q){return this.$val.writeTo(p,q);};NQ.ptr.prototype.writeMsg=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=0;u=$ifaceNil;v=this;if(v.conn.fd.isConnected&&!(r===PH.nil)){w=0;x=0;y=$pkg.ErrWriteToConnected;s=w;t=x;u=y;$s=-1;return[s,t,u];}if(!v.conn.fd.isConnected&&r===PH.nil){z=0;aa=0;ab=JN;s=z;t=aa;u=ab;$s=-1;return[s,t,u];}ad=r.sockaddr(v.conn.fd.family);$s=1;case 1:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];u=ac[1];if(!($interfaceIsEqual(u,$ifaceNil))){af=0;ag=0;ah=u;s=af;t=ag;u=ah;$s=-1;return[s,t,u];}aj=v.conn.fd.writeMsg(p,q,ae);$s=2;case 2:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;s=ai[0];t=ai[1];u=ai[2];$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:NQ.ptr.prototype.writeMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};NQ.prototype.writeMsg=function(p,q,r){return this.$val.writeMsg(p,q,r);};NW=function(p,q,r,s){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:u=IE(p,q,r,s,2,0,\"dial\");$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return[PU.nil,w];}$s=-1;return[NR(v),$ifaceNil];}return;}if($f===undefined){$f={$blk:NW};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};OB.ptr.prototype.Network=function(){var $ptr,p;p=this;return p.Net;};OB.prototype.Network=function(){return this.$val.Network();};OB.ptr.prototype.String=function(){var $ptr,p;p=this;if(p===PO.nil){return\"<nil>\";}return p.Name;};OB.prototype.String=function(){return this.$val.String();};OB.ptr.prototype.isWildcard=function(){var $ptr,p;p=this;return p===PO.nil||p.Name===\"\";};OB.prototype.isWildcard=function(){return this.$val.isWildcard();};OB.ptr.prototype.opAddr=function(){var $ptr,p;p=this;if(p===PO.nil){return $ifaceNil;}return p;};OB.prototype.opAddr=function(){return this.$val.opAddr();};OC=function(p,q){var $ptr,p,q,r;r=p;if(r===(\"unix\")||r===(\"unixgram\")||r===(\"unixpacket\")){return[new OB.ptr(q,p),$ifaceNil];}else{return[PO.nil,new KB((p))];}};$pkg.ResolveUnixAddr=OC;OD.ptr.prototype.CloseRead=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.conn.ok()){$s=-1;return new B.Errno(22);}q=p.conn.fd.closeRead();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return new JS.ptr(\"close\",p.conn.fd.net,p.conn.fd.laddr,p.conn.fd.raddr,r);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.CloseRead};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.CloseRead=function(){return this.$val.CloseRead();};OD.ptr.prototype.CloseWrite=function(){var $ptr,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:p=this;if(!p.conn.ok()){$s=-1;return new B.Errno(22);}q=p.conn.fd.closeWrite();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return new JS.ptr(\"close\",p.conn.fd.net,p.conn.fd.laddr,p.conn.fd.raddr,r);}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.CloseWrite};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.CloseWrite=function(){return this.$val.CloseWrite();};OD.ptr.prototype.ReadFromUnix=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return[0,PO.nil,new B.Errno(22)];}s=q.readFrom(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,v);}$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.ReadFromUnix};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.ReadFromUnix=function(p){return this.$val.ReadFromUnix(p);};OD.ptr.prototype.ReadFrom=function(p){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.conn.ok()){$s=-1;return[0,$ifaceNil,new B.Errno(22)];}s=q.readFrom(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",q.conn.fd.net,q.conn.fd.laddr,q.conn.fd.raddr,v);}if(u===PO.nil){$s=-1;return[t,$ifaceNil,v];}$s=-1;return[t,u,v];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.ReadFrom};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.ReadFrom=function(p){return this.$val.ReadFrom(p);};OD.ptr.prototype.ReadMsgUnix=function(p,q){var $ptr,aa,ab,ac,ad,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=0;s=0;t=0;u=PO.nil;v=$ifaceNil;w=this;if(!w.conn.ok()){x=0;y=0;z=0;aa=PO.nil;ab=new B.Errno(22);r=x;s=y;t=z;u=aa;v=ab;$s=-1;return[r,s,t,u,v];}ad=w.readMsg(p,q);$s=1;case 1:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;r=ac[0];s=ac[1];t=ac[2];u=ac[3];v=ac[4];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"read\",w.conn.fd.net,w.conn.fd.laddr,w.conn.fd.raddr,v);}$s=-1;return[r,s,t,u,v];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.ReadMsgUnix};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.ReadMsgUnix=function(p,q){return this.$val.ReadMsgUnix(p,q);};OD.ptr.prototype.WriteToUnix=function(p,q){var $ptr,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!r.conn.ok()){$s=-1;return[0,new B.Errno(22)];}t=r.writeTo(p,q);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if(!($interfaceIsEqual(v,$ifaceNil))){v=new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,q.opAddr(),v);}$s=-1;return[u,v];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.WriteToUnix};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.WriteToUnix=function(p,q){return this.$val.WriteToUnix(p,q);};OD.ptr.prototype.WriteTo=function(p,q){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(!r.conn.ok()){$s=-1;return[0,new B.Errno(22)];}s=$assertType(q,PO,true);t=s[0];u=s[1];if(!u){$s=-1;return[0,new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,q,new B.Errno(22))];}w=r.writeTo(p,t);$s=1;case 1:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];y=v[1];if(!($interfaceIsEqual(y,$ifaceNil))){y=new JS.ptr(\"write\",r.conn.fd.net,r.conn.fd.laddr,t.opAddr(),y);}$s=-1;return[x,y];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.WriteTo};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.WriteTo=function(p,q){return this.$val.WriteTo(p,q);};OD.ptr.prototype.WriteMsgUnix=function(p,q,r){var $ptr,aa,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=0;u=$ifaceNil;v=this;if(!v.conn.ok()){w=0;x=0;y=new B.Errno(22);s=w;t=x;u=y;$s=-1;return[s,t,u];}aa=v.writeMsg(p,q,r);$s=1;case 1:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;s=z[0];t=z[1];u=z[2];if(!($interfaceIsEqual(u,$ifaceNil))){u=new JS.ptr(\"write\",v.conn.fd.net,v.conn.fd.laddr,r.opAddr(),u);}$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.WriteMsgUnix};}$f.$ptr=$ptr;$f.aa=aa;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.WriteMsgUnix=function(p,q,r){return this.$val.WriteMsgUnix(p,q,r);};OE=function(p){var $ptr,p;return new OD.ptr(new JH.ptr(p));};OJ=function(p,q,r,s,t){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:u=0;v=q;if(v===(\"unix\")){u=1;}else if(v===(\"unixgram\")){u=2;}else if(v===(\"unixpacket\")){u=5;}else{$s=-1;return[QL.nil,new KB((q))];}w=t;if(w===(\"dial\")){$s=2;continue;}if(w===(\"listen\")){$s=3;continue;}$s=4;continue;case 2:if(!(!($interfaceIsEqual(r,$ifaceNil)))){x=false;$s=8;continue s;}y=r.isWildcard();$s=9;case 9:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;case 8:if(x){$s=6;continue;}$s=7;continue;case 6:r=$ifaceNil;case 7:if(!(!($interfaceIsEqual(s,$ifaceNil)))){z=false;$s=12;continue s;}aa=s.isWildcard();$s=13;case 13:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;case 12:if(z){$s=10;continue;}$s=11;continue;case 10:s=$ifaceNil;case 11:if($interfaceIsEqual(s,$ifaceNil)&&(!((u===2))||$interfaceIsEqual(r,$ifaceNil))){$s=-1;return[QL.nil,JN];}$s=5;continue;case 3:$s=5;continue;case 4:$s=-1;return[QL.nil,A.New(\"unknown mode: \"+t)];case 5:case 1:ac=MF(p,q,1,u,0,false,r,s);$s=14;case 14:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;ad=ab[0];ae=ab[1];if(!($interfaceIsEqual(ae,$ifaceNil))){$s=-1;return[QL.nil,ae];}$s=-1;return[ad,$ifaceNil];}return;}if($f===undefined){$f={$blk:OJ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};OK=function(p){var $ptr,p,q,r,s;q=$assertType(p,QS,true);r=q[0];s=q[1];if(s){return new OB.ptr(r.Name,\"unix\");}return $ifaceNil;};OL=function(p){var $ptr,p,q,r,s;q=$assertType(p,QS,true);r=q[0];s=q[1];if(s){return new OB.ptr(r.Name,\"unixgram\");}return $ifaceNil;};OM=function(p){var $ptr,p,q,r,s;q=$assertType(p,QS,true);r=q[0];s=q[1];if(s){return new OB.ptr(r.Name,\"unixpacket\");}return $ifaceNil;};ON=function(p){var $ptr,p,q;q=p;if(q===(1)){return\"unix\";}else if(q===(2)){return\"unixgram\";}else if(q===(5)){return\"unixpacket\";}else{$panic(new $String(\"sotypeToNet unknown socket type\"));}};OB.ptr.prototype.family=function(){var $ptr,p;p=this;return 1;};OB.prototype.family=function(){return this.$val.family();};OB.ptr.prototype.sockaddr=function(p){var $ptr,p,q;q=this;if(q===PO.nil){return[$ifaceNil,$ifaceNil];}return[new B.SockaddrUnix.ptr(q.Name,new B.RawSockaddrUnix.ptr(0,0,SD.zero())),$ifaceNil];};OB.prototype.sockaddr=function(p){return this.$val.sockaddr(p);};OB.ptr.prototype.toLocal=function(p){var $ptr,p,q;q=this;return q;};OB.prototype.toLocal=function(p){return this.$val.toLocal(p);};OD.ptr.prototype.readFrom=function(p){var $ptr,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;r=PO.nil;t=q.conn.fd.readFrom(p);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];w=s[2];x=v;if($assertType(x,QS,true)[1]){y=x.$val;if(!(y.Name===\"\")){r=new OB.ptr(y.Name,ON(q.conn.fd.sotype));}}$s=-1;return[u,r,w];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.readFrom};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.readFrom=function(p){return this.$val.readFrom(p);};OD.ptr.prototype.readMsg=function(p,q){var $ptr,aa,ab,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=0;s=0;t=0;u=PO.nil;v=$ifaceNil;w=this;x=$ifaceNil;z=w.conn.fd.readMsg(p,q);$s=1;case 1:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;r=y[0];s=y[1];t=y[2];x=y[3];v=y[4];aa=x;if($assertType(aa,QS,true)[1]){ab=aa.$val;if(!(ab.Name===\"\")){u=new OB.ptr(ab.Name,ON(w.conn.fd.sotype));}}$s=-1;return[r,s,t,u,v];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.readMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.readMsg=function(p,q){return this.$val.readMsg(p,q);};OD.ptr.prototype.writeTo=function(p,q){var $ptr,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:r=this;if(r.conn.fd.isConnected){$s=-1;return[0,$pkg.ErrWriteToConnected];}if(q===PO.nil){$s=-1;return[0,JN];}if(!(q.Net===ON(r.conn.fd.sotype))){$s=-1;return[0,new B.Errno(47)];}s=new B.SockaddrUnix.ptr(q.Name,new B.RawSockaddrUnix.ptr(0,0,SD.zero()));t=r.conn.fd.writeTo(p,s);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return t;}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.writeTo};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.writeTo=function(p,q){return this.$val.writeTo(p,q);};OD.ptr.prototype.writeMsg=function(p,q,r){var $ptr,aa,ab,ac,ad,ae,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=0;t=0;u=$ifaceNil;v=this;if((v.conn.fd.sotype===2)&&v.conn.fd.isConnected){w=0;x=0;y=$pkg.ErrWriteToConnected;s=w;t=x;u=y;$s=-1;return[s,t,u];}z=$ifaceNil;if(!(r===PO.nil)){if(!(r.Net===ON(v.conn.fd.sotype))){aa=0;ab=0;ac=new B.Errno(47);s=aa;t=ab;u=ac;$s=-1;return[s,t,u];}z=new B.SockaddrUnix.ptr(r.Name,new B.RawSockaddrUnix.ptr(0,0,SD.zero()));}ae=v.conn.fd.writeMsg(p,q,z);$s=1;case 1:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;s=ad[0];t=ad[1];u=ad[2];$s=-1;return[s,t,u];}return;}if($f===undefined){$f={$blk:OD.ptr.prototype.writeMsg};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};OD.prototype.writeMsg=function(p,q,r){return this.$val.writeMsg(p,q,r);};OO=function(p,q,r,s){var $ptr,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:u=OJ(p,q,r,s,\"dial\");$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return[SB.nil,w];}$s=-1;return[OE(v),$ifaceNil];}return;}if($f===undefined){$f={$blk:OO};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};JH.ptr.prototype.writeBuffers=function(p){var $ptr,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=this;if(!q.ok()){$s=-1;return[new $Int64(0,0),new B.Errno(22)];}s=q.fd.writeBuffers(p);$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[t,new JS.ptr(\"writev\",q.fd.net,q.fd.laddr,q.fd.raddr,u)];}$s=-1;return[t,$ifaceNil];}return;}if($f===undefined){$f={$blk:JH.ptr.prototype.writeBuffers};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};JH.prototype.writeBuffers=function(p){return this.$val.writeBuffers(p);};EL.ptr.prototype.writeBuffers=function(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);q=[q];r=new $Int64(0,0);s=$ifaceNil;t=this;u=t.writeLock();if(!($interfaceIsEqual(u,$ifaceNil))){v=new $Int64(0,0);w=u;r=v;s=w;$s=-1;return[r,s];}$deferred.push([$methodVal(t,\"writeUnlock\"),[]]);x=t.pd.prepareWrite();if(!($interfaceIsEqual(x,$ifaceNil))){y=new $Int64(0,0);z=x;r=y;s=z;$s=-1;return[r,s];}q[0]=QJ.nil;if(!(t.iovecs===QK.nil)){q[0]=t.iovecs.$get();}aa=1024;case 1:if(!(p.$get().$length>0)){$s=2;continue;}q[0]=$subslice(q[0],0,0);ab=p.$get();ac=0;case 3:if(!(ac<ab.$length)){$s=4;continue;}ad=((ac<0||ac>=ab.$length)?($throwRuntimeError(\"index out of range\"),undefined):ab.$array[ab.$offset+ac]);if(ad.$length===0){ac++;$s=3;continue;}q[0]=$append(q[0],new B.Iovec.ptr($indexPtr(ad.$array,ad.$offset+0,QG),new $Uint64(0,0)));if(t.isStream&&ad.$length>1073741824){(ae=q[0].$length-1>>0,((ae<0||ae>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+ae])).SetLen(1073741824);$s=4;continue;}(af=q[0].$length-1>>0,((af<0||af>=q[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):q[0].$array[q[0].$offset+af])).SetLen(ad.$length);if(q[0].$length===aa){$s=4;continue;}ac++;$s=3;continue;case 4:if(q[0].$length===0){$s=2;continue;}t.iovecs=(q.$ptr||(q.$ptr=new QK(function(){return this.$target[0];},function($v){this.$target[0]=$v;},q)));ag=B.Syscall(121,((t.sysfd>>>0)),(($sliceToArray(q[0]))),((q[0].$length>>>0)));ah=ag[0];ai=ag[2];if(ah===4294967295){ah=0;}$r=KM(((ah>>0)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=(aj=(new $Int64(0,ah.constructor===Number?ah:1)),new $Int64(r.$high+aj.$high,r.$low+aj.$low));p.consume((new $Int64(0,ah.constructor===Number?ah:1)));if(ai===35){s=t.pd.waitWrite();if($interfaceIsEqual(s,$ifaceNil)){$s=1;continue;}}else if(!((ai===0))){s=new B.Errno((ai));}if(!($interfaceIsEqual(s,$ifaceNil))){$s=2;continue;}if((r.$high===0&&r.$low===0)){s=L.ErrUnexpectedEOF;$s=2;continue;}$s=1;continue;case 2:ak=$assertType(s,B.Errno,true);al=ak[1];if(al){s=F.NewSyscallError(\"writev\",s);}am=r;an=s;r=am;s=an;$s=-1;return[r,s];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[r,s];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EL.ptr.prototype.writeBuffers};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EL.prototype.writeBuffers=function(p){return this.$val.writeBuffers(p);};SE.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)}];AD.methods=[{prop:\"Classify\",name:\"Classify\",pkg:\"\",typ:$funcType([GM],[AC],false)}];AG.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)}];SF.methods=[{prop:\"canUseCgo\",name:\"canUseCgo\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"hostLookupOrder\",name:\"hostLookupOrder\",pkg:\"net\",typ:$funcType([$String],[CH],false)}];SG.methods=[{prop:\"Dial\",name:\"Dial\",pkg:\"\",typ:$funcType([$String,$String],[JG,$error],false)},{prop:\"deadline\",name:\"deadline\",pkg:\"net\",typ:$funcType([E.Context,J.Time],[J.Time],false)},{prop:\"resolver\",name:\"resolver\",pkg:\"net\",typ:$funcType([],[OY],false)},{prop:\"fallbackDelay\",name:\"fallbackDelay\",pkg:\"net\",typ:$funcType([],[J.Duration],false)},{prop:\"DialContext\",name:\"DialContext\",pkg:\"\",typ:$funcType([E.Context,$String,$String],[JG,$error],false)},{prop:\"dialDNS\",name:\"dialDNS\",pkg:\"net\",typ:$funcType([E.Context,$String,$String],[BX,$error],false)}];BR.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"shuffleByWeight\",name:\"shuffleByWeight\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"sort\",name:\"sort\",pkg:\"net\",typ:$funcType([],[],false)}];BT.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"sort\",name:\"sort\",pkg:\"net\",typ:$funcType([],[],false)}];SI.methods=[{prop:\"init\",name:\"init\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"tryUpdate\",name:\"tryUpdate\",pkg:\"net\",typ:$funcType([$String],[],false)},{prop:\"tryAcquireSema\",name:\"tryAcquireSema\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"releaseSema\",name:\"releaseSema\",pkg:\"net\",typ:$funcType([],[],false)}];CH.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];OS.methods=[{prop:\"nameList\",name:\"nameList\",pkg:\"net\",typ:$funcType([$String],[OU],false)},{prop:\"serverOffset\",name:\"serverOffset\",pkg:\"net\",typ:$funcType([],[$Uint32],false)}];SL.methods=[{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];SM.methods=[{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];PQ.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];PR.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];RQ.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];RT.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];PZ.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];SN.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];RU.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];RN.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];PW.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];PX.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];SO.methods=[{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}];PS.methods=[{prop:\"Pack\",name:\"Pack\",pkg:\"\",typ:$funcType([],[PA,$Bool],false)},{prop:\"Unpack\",name:\"Unpack\",pkg:\"\",typ:$funcType([PA],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsResponseTo\",name:\"IsResponseTo\",pkg:\"\",typ:$funcType([PS],[$Bool],false)}];SP.methods=[{prop:\"incref\",name:\"incref\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"increfAndClose\",name:\"increfAndClose\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"decref\",name:\"decref\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"rwlock\",name:\"rwlock\",pkg:\"net\",typ:$funcType([$Bool],[$Bool],false)},{prop:\"rwunlock\",name:\"rwunlock\",pkg:\"net\",typ:$funcType([$Bool],[$Bool],false)}];SQ.methods=[{prop:\"init\",name:\"init\",pkg:\"net\",typ:$funcType([QL],[$error],false)},{prop:\"close\",name:\"close\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"evict\",name:\"evict\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"prepare\",name:\"prepare\",pkg:\"net\",typ:$funcType([$Int],[$error],false)},{prop:\"prepareRead\",name:\"prepareRead\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"prepareWrite\",name:\"prepareWrite\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"wait\",name:\"wait\",pkg:\"net\",typ:$funcType([$Int],[$error],false)},{prop:\"waitRead\",name:\"waitRead\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"waitWrite\",name:\"waitWrite\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"waitCanceled\",name:\"waitCanceled\",pkg:\"net\",typ:$funcType([$Int],[],false)},{prop:\"waitCanceledRead\",name:\"waitCanceledRead\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"waitCanceledWrite\",name:\"waitCanceledWrite\",pkg:\"net\",typ:$funcType([],[],false)}];QL.methods=[{prop:\"incref\",name:\"incref\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"decref\",name:\"decref\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"readLock\",name:\"readLock\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"readUnlock\",name:\"readUnlock\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"writeLock\",name:\"writeLock\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"writeUnlock\",name:\"writeUnlock\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"setDeadline\",name:\"setDeadline\",pkg:\"net\",typ:$funcType([J.Time],[$error],false)},{prop:\"setReadDeadline\",name:\"setReadDeadline\",pkg:\"net\",typ:$funcType([J.Time],[$error],false)},{prop:\"setWriteDeadline\",name:\"setWriteDeadline\",pkg:\"net\",typ:$funcType([J.Time],[$error],false)},{prop:\"eofError\",name:\"eofError\",pkg:\"net\",typ:$funcType([$Int,$error],[$error],false)},{prop:\"init\",name:\"init\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"setAddr\",name:\"setAddr\",pkg:\"net\",typ:$funcType([JF,JF],[],false)},{prop:\"name\",name:\"name\",pkg:\"net\",typ:$funcType([],[$String],false)},{prop:\"connect\",name:\"connect\",pkg:\"net\",typ:$funcType([E.Context,B.Sockaddr,B.Sockaddr],[$error],false)},{prop:\"destroy\",name:\"destroy\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"shutdown\",name:\"shutdown\",pkg:\"net\",typ:$funcType([$Int],[$error],false)},{prop:\"closeRead\",name:\"closeRead\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"closeWrite\",name:\"closeWrite\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([PA],[$Int,$error],false)},{prop:\"readFrom\",name:\"readFrom\",pkg:\"net\",typ:$funcType([PA],[$Int,B.Sockaddr,$error],false)},{prop:\"readMsg\",name:\"readMsg\",pkg:\"net\",typ:$funcType([PA,PA],[$Int,$Int,$Int,B.Sockaddr,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([PA],[$Int,$error],false)},{prop:\"writeTo\",name:\"writeTo\",pkg:\"net\",typ:$funcType([PA,B.Sockaddr],[$Int,$error],false)},{prop:\"writeMsg\",name:\"writeMsg\",pkg:\"net\",typ:$funcType([PA,PA,B.Sockaddr],[$Int,$Int,$error],false)},{prop:\"accept\",name:\"accept\",pkg:\"net\",typ:$funcType([],[QL,$error],false)},{prop:\"dup\",name:\"dup\",pkg:\"net\",typ:$funcType([],[QP,$error],false)},{prop:\"addrFunc\",name:\"addrFunc\",pkg:\"net\",typ:$funcType([],[SR],false)},{prop:\"dial\",name:\"dial\",pkg:\"net\",typ:$funcType([E.Context,ME,ME],[$error],false)},{prop:\"listenStream\",name:\"listenStream\",pkg:\"net\",typ:$funcType([ME,$Int],[$error],false)},{prop:\"listenDatagram\",name:\"listenDatagram\",pkg:\"net\",typ:$funcType([ME],[$error],false)},{prop:\"writeBuffers\",name:\"writeBuffers\",pkg:\"net\",typ:$funcType([PC],[$Int64,$error],false)}];QU.methods=[{prop:\"Addrs\",name:\"Addrs\",pkg:\"\",typ:$funcType([],[QV,$error],false)},{prop:\"MulticastAddrs\",name:\"MulticastAddrs\",pkg:\"\",typ:$funcType([],[QV,$error],false)}];FW.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];SS.methods=[{prop:\"update\",name:\"update\",pkg:\"net\",typ:$funcType([QW],[],false)}];GM.methods=[{prop:\"IsUnspecified\",name:\"IsUnspecified\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsLoopback\",name:\"IsLoopback\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsMulticast\",name:\"IsMulticast\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsInterfaceLocalMulticast\",name:\"IsInterfaceLocalMulticast\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsLinkLocalMulticast\",name:\"IsLinkLocalMulticast\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsLinkLocalUnicast\",name:\"IsLinkLocalUnicast\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsGlobalUnicast\",name:\"IsGlobalUnicast\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"To4\",name:\"To4\",pkg:\"\",typ:$funcType([],[GM],false)},{prop:\"To16\",name:\"To16\",pkg:\"\",typ:$funcType([],[GM],false)},{prop:\"DefaultMask\",name:\"DefaultMask\",pkg:\"\",typ:$funcType([],[GN],false)},{prop:\"Mask\",name:\"Mask\",pkg:\"\",typ:$funcType([GN],[GM],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[PA,$error],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([GM],[$Bool],false)},{prop:\"matchAddrFamily\",name:\"matchAddrFamily\",pkg:\"net\",typ:$funcType([GM],[$Bool],false)}];SV.methods=[{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([PA],[$error],false)}];GN.methods=[{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];PD.methods=[{prop:\"Contains\",name:\"Contains\",pkg:\"\",typ:$funcType([GM],[$Bool],false)},{prop:\"Network\",name:\"Network\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];PK.methods=[{prop:\"Network\",name:\"Network\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"isWildcard\",name:\"isWildcard\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"opAddr\",name:\"opAddr\",pkg:\"net\",typ:$funcType([],[JF],false)},{prop:\"family\",name:\"family\",pkg:\"net\",typ:$funcType([],[$Int],false)},{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"net\",typ:$funcType([$Int],[B.Sockaddr,$error],false)},{prop:\"toLocal\",name:\"toLocal\",pkg:\"net\",typ:$funcType([$String],[ME],false)}];RG.methods=[{prop:\"ReadFromIP\",name:\"ReadFromIP\",pkg:\"\",typ:$funcType([PA],[$Int,PK,$error],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([PA],[$Int,JF,$error],false)},{prop:\"ReadMsgIP\",name:\"ReadMsgIP\",pkg:\"\",typ:$funcType([PA,PA],[$Int,$Int,$Int,PK,$error],false)},{prop:\"WriteToIP\",name:\"WriteToIP\",pkg:\"\",typ:$funcType([PA,PK],[$Int,$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([PA,JF],[$Int,$error],false)},{prop:\"WriteMsgIP\",name:\"WriteMsgIP\",pkg:\"\",typ:$funcType([PA,PA,PK],[$Int,$Int,$error],false)},{prop:\"readFrom\",name:\"readFrom\",pkg:\"net\",typ:$funcType([PA],[$Int,PK,$error],false)},{prop:\"readMsg\",name:\"readMsg\",pkg:\"net\",typ:$funcType([PA,PA],[$Int,$Int,$Int,PK,$error],false)},{prop:\"writeTo\",name:\"writeTo\",pkg:\"net\",typ:$funcType([PA,PK],[$Int,$error],false)},{prop:\"writeMsg\",name:\"writeMsg\",pkg:\"net\",typ:$funcType([PA,PA,PK],[$Int,$Int,$error],false)}];HU.methods=[{prop:\"first\",name:\"first\",pkg:\"net\",typ:$funcType([SW],[JF],false)},{prop:\"partition\",name:\"partition\",pkg:\"net\",typ:$funcType([SW],[HU,HU],false)}];OY.methods=[{prop:\"resolveAddrList\",name:\"resolveAddrList\",pkg:\"net\",typ:$funcType([E.Context,$String,$String,$String,JF],[HU,$error],false)},{prop:\"internetAddrList\",name:\"internetAddrList\",pkg:\"net\",typ:$funcType([E.Context,$String,$String],[HU,$error],false)},{prop:\"LookupHost\",name:\"LookupHost\",pkg:\"\",typ:$funcType([E.Context,$String],[OU,$error],false)},{prop:\"LookupIPAddr\",name:\"LookupIPAddr\",pkg:\"\",typ:$funcType([E.Context,$String],[PF,$error],false)},{prop:\"LookupPort\",name:\"LookupPort\",pkg:\"\",typ:$funcType([E.Context,$String,$String],[$Int,$error],false)},{prop:\"LookupCNAME\",name:\"LookupCNAME\",pkg:\"\",typ:$funcType([E.Context,$String],[$String,$error],false)},{prop:\"LookupSRV\",name:\"LookupSRV\",pkg:\"\",typ:$funcType([E.Context,$String,$String,$String],[$String,RM,$error],false)},{prop:\"LookupMX\",name:\"LookupMX\",pkg:\"\",typ:$funcType([E.Context,$String],[RP,$error],false)},{prop:\"LookupNS\",name:\"LookupNS\",pkg:\"\",typ:$funcType([E.Context,$String],[RS,$error],false)},{prop:\"LookupTXT\",name:\"LookupTXT\",pkg:\"\",typ:$funcType([E.Context,$String],[OU,$error],false)},{prop:\"LookupAddr\",name:\"LookupAddr\",pkg:\"\",typ:$funcType([E.Context,$String],[OU,$error],false)},{prop:\"lookupHost\",name:\"lookupHost\",pkg:\"net\",typ:$funcType([E.Context,$String],[OU,$error],false)},{prop:\"lookupIP\",name:\"lookupIP\",pkg:\"net\",typ:$funcType([E.Context,$String],[PF,$error],false)},{prop:\"lookupPort\",name:\"lookupPort\",pkg:\"net\",typ:$funcType([E.Context,$String,$String],[$Int,$error],false)},{prop:\"lookupCNAME\",name:\"lookupCNAME\",pkg:\"net\",typ:$funcType([E.Context,$String],[$String,$error],false)},{prop:\"lookupSRV\",name:\"lookupSRV\",pkg:\"net\",typ:$funcType([E.Context,$String,$String,$String],[$String,RM,$error],false)},{prop:\"lookupMX\",name:\"lookupMX\",pkg:\"net\",typ:$funcType([E.Context,$String],[RP,$error],false)},{prop:\"lookupNS\",name:\"lookupNS\",pkg:\"net\",typ:$funcType([E.Context,$String],[RS,$error],false)},{prop:\"lookupTXT\",name:\"lookupTXT\",pkg:\"net\",typ:$funcType([E.Context,$String],[OU,$error],false)},{prop:\"lookupAddr\",name:\"lookupAddr\",pkg:\"net\",typ:$funcType([E.Context,$String],[OU,$error],false)}];JA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];RV.methods=[{prop:\"ok\",name:\"ok\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([PA],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([PA],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"LocalAddr\",name:\"LocalAddr\",pkg:\"\",typ:$funcType([],[JF],false)},{prop:\"RemoteAddr\",name:\"RemoteAddr\",pkg:\"\",typ:$funcType([],[JF],false)},{prop:\"SetDeadline\",name:\"SetDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"SetReadDeadline\",name:\"SetReadDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"SetWriteDeadline\",name:\"SetWriteDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"SetReadBuffer\",name:\"SetReadBuffer\",pkg:\"\",typ:$funcType([$Int],[$error],false)},{prop:\"SetWriteBuffer\",name:\"SetWriteBuffer\",pkg:\"\",typ:$funcType([$Int],[$error],false)},{prop:\"File\",name:\"File\",pkg:\"\",typ:$funcType([],[QP,$error],false)},{prop:\"writeBuffers\",name:\"writeBuffers\",pkg:\"net\",typ:$funcType([PC],[$Int64,$error],false)}];RW.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];SX.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];SY.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];RX.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];KB.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PV.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PC.methods=[{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([L.Writer],[$Int64,$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([PA],[$Int,$error],false)},{prop:\"consume\",name:\"consume\",pkg:\"net\",typ:$funcType([$Int64],[],false)}];KP.methods=[{prop:\"standardCriteria\",name:\"standardCriteria\",pkg:\"net\",typ:$funcType([],[$Bool],false)}];KQ.methods=[{prop:\"standardStatusAction\",name:\"standardStatusAction\",pkg:\"net\",typ:$funcType([$Bool],[$Bool],false)}];QT.methods=[{prop:\"close\",name:\"close\",pkg:\"net\",typ:$funcType([],[],false)},{prop:\"getLineFromData\",name:\"getLineFromData\",pkg:\"net\",typ:$funcType([],[$String,$Bool],false)},{prop:\"readLine\",name:\"readLine\",pkg:\"net\",typ:$funcType([],[$String,$Bool],false)}];PJ.methods=[{prop:\"Network\",name:\"Network\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"isWildcard\",name:\"isWildcard\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"opAddr\",name:\"opAddr\",pkg:\"net\",typ:$funcType([],[JF],false)},{prop:\"family\",name:\"family\",pkg:\"net\",typ:$funcType([],[$Int],false)},{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"net\",typ:$funcType([$Int],[B.Sockaddr,$error],false)},{prop:\"toLocal\",name:\"toLocal\",pkg:\"net\",typ:$funcType([$String],[ME],false)}];PM.methods=[{prop:\"dnsRoundTrip\",name:\"dnsRoundTrip\",pkg:\"net\",typ:$funcType([PS],[PS,$error],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([L.Reader],[$Int64,$error],false)},{prop:\"CloseRead\",name:\"CloseRead\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"CloseWrite\",name:\"CloseWrite\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"SetLinger\",name:\"SetLinger\",pkg:\"\",typ:$funcType([$Int],[$error],false)},{prop:\"SetKeepAlive\",name:\"SetKeepAlive\",pkg:\"\",typ:$funcType([$Bool],[$error],false)},{prop:\"SetKeepAlivePeriod\",name:\"SetKeepAlivePeriod\",pkg:\"\",typ:$funcType([J.Duration],[$error],false)},{prop:\"SetNoDelay\",name:\"SetNoDelay\",pkg:\"\",typ:$funcType([$Bool],[$error],false)},{prop:\"readFrom\",name:\"readFrom\",pkg:\"net\",typ:$funcType([L.Reader],[$Int64,$error],false)}];SA.methods=[{prop:\"AcceptTCP\",name:\"AcceptTCP\",pkg:\"\",typ:$funcType([],[PM,$error],false)},{prop:\"Accept\",name:\"Accept\",pkg:\"\",typ:$funcType([],[JG,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[JF],false)},{prop:\"SetDeadline\",name:\"SetDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"File\",name:\"File\",pkg:\"\",typ:$funcType([],[QP,$error],false)},{prop:\"ok\",name:\"ok\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"accept\",name:\"accept\",pkg:\"net\",typ:$funcType([],[PM,$error],false)},{prop:\"close\",name:\"close\",pkg:\"net\",typ:$funcType([],[$error],false)},{prop:\"file\",name:\"file\",pkg:\"net\",typ:$funcType([],[QP,$error],false)}];PH.methods=[{prop:\"Network\",name:\"Network\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"isWildcard\",name:\"isWildcard\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"opAddr\",name:\"opAddr\",pkg:\"net\",typ:$funcType([],[JF],false)},{prop:\"family\",name:\"family\",pkg:\"net\",typ:$funcType([],[$Int],false)},{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"net\",typ:$funcType([$Int],[B.Sockaddr,$error],false)},{prop:\"toLocal\",name:\"toLocal\",pkg:\"net\",typ:$funcType([$String],[ME],false)}];PU.methods=[{prop:\"dnsRoundTrip\",name:\"dnsRoundTrip\",pkg:\"net\",typ:$funcType([PS],[PS,$error],false)},{prop:\"ReadFromUDP\",name:\"ReadFromUDP\",pkg:\"\",typ:$funcType([PA],[$Int,PH,$error],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([PA],[$Int,JF,$error],false)},{prop:\"ReadMsgUDP\",name:\"ReadMsgUDP\",pkg:\"\",typ:$funcType([PA,PA],[$Int,$Int,$Int,PH,$error],false)},{prop:\"WriteToUDP\",name:\"WriteToUDP\",pkg:\"\",typ:$funcType([PA,PH],[$Int,$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([PA,JF],[$Int,$error],false)},{prop:\"WriteMsgUDP\",name:\"WriteMsgUDP\",pkg:\"\",typ:$funcType([PA,PA,PH],[$Int,$Int,$error],false)},{prop:\"readFrom\",name:\"readFrom\",pkg:\"net\",typ:$funcType([PA],[$Int,PH,$error],false)},{prop:\"readMsg\",name:\"readMsg\",pkg:\"net\",typ:$funcType([PA,PA],[$Int,$Int,$Int,PH,$error],false)},{prop:\"writeTo\",name:\"writeTo\",pkg:\"net\",typ:$funcType([PA,PH],[$Int,$error],false)},{prop:\"writeMsg\",name:\"writeMsg\",pkg:\"net\",typ:$funcType([PA,PA,PH],[$Int,$Int,$error],false)}];PO.methods=[{prop:\"Network\",name:\"Network\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"isWildcard\",name:\"isWildcard\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"opAddr\",name:\"opAddr\",pkg:\"net\",typ:$funcType([],[JF],false)},{prop:\"family\",name:\"family\",pkg:\"net\",typ:$funcType([],[$Int],false)},{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"net\",typ:$funcType([$Int],[B.Sockaddr,$error],false)},{prop:\"toLocal\",name:\"toLocal\",pkg:\"net\",typ:$funcType([$String],[ME],false)}];SB.methods=[{prop:\"CloseRead\",name:\"CloseRead\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"CloseWrite\",name:\"CloseWrite\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ReadFromUnix\",name:\"ReadFromUnix\",pkg:\"\",typ:$funcType([PA],[$Int,PO,$error],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([PA],[$Int,JF,$error],false)},{prop:\"ReadMsgUnix\",name:\"ReadMsgUnix\",pkg:\"\",typ:$funcType([PA,PA],[$Int,$Int,$Int,PO,$error],false)},{prop:\"WriteToUnix\",name:\"WriteToUnix\",pkg:\"\",typ:$funcType([PA,PO],[$Int,$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([PA,JF],[$Int,$error],false)},{prop:\"WriteMsgUnix\",name:\"WriteMsgUnix\",pkg:\"\",typ:$funcType([PA,PA,PO],[$Int,$Int,$error],false)},{prop:\"readFrom\",name:\"readFrom\",pkg:\"net\",typ:$funcType([PA],[$Int,PO,$error],false)},{prop:\"readMsg\",name:\"readMsg\",pkg:\"net\",typ:$funcType([PA,PA],[$Int,$Int,$Int,PO,$error],false)},{prop:\"writeTo\",name:\"writeTo\",pkg:\"net\",typ:$funcType([PA,PO],[$Int,$error],false)},{prop:\"writeMsg\",name:\"writeMsg\",pkg:\"net\",typ:$funcType([PA,PA,PO],[$Int,$Int,$error],false)}];Z.init(\"\",[{prop:\"Scope\",name:\"Scope\",exported:true,typ:AI,tag:\"\"},{prop:\"Precedence\",name:\"Precedence\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Label\",name:\"Label\",exported:true,typ:$Uint8,tag:\"\"}]);AB.init(\"net\",[{prop:\"addrs\",name:\"addrs\",exported:false,typ:PF,tag:\"\"},{prop:\"addrAttr\",name:\"addrAttr\",exported:false,typ:PE,tag:\"\"},{prop:\"srcs\",name:\"srcs\",exported:false,typ:PG,tag:\"\"},{prop:\"srcAttr\",name:\"srcAttr\",exported:false,typ:PE,tag:\"\"}]);AC.init(\"\",[{prop:\"Prefix\",name:\"Prefix\",exported:true,typ:PD,tag:\"\"},{prop:\"Precedence\",name:\"Precedence\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Label\",name:\"Label\",exported:true,typ:$Uint8,tag:\"\"}]);AD.init(AC);AG.init(AC);AS.init(\"net\",[{prop:\"forceCgoLookupHost\",name:\"forceCgoLookupHost\",exported:false,typ:$Bool,tag:\"\"},{prop:\"netGo\",name:\"netGo\",exported:false,typ:$Bool,tag:\"\"},{prop:\"netCgo\",name:\"netCgo\",exported:false,typ:$Bool,tag:\"\"},{prop:\"hasMDNSAllow\",name:\"hasMDNSAllow\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goos\",name:\"goos\",exported:false,typ:$String,tag:\"\"},{prop:\"dnsDebugLevel\",name:\"dnsDebugLevel\",exported:false,typ:$Int,tag:\"\"},{prop:\"nss\",name:\"nss\",exported:false,typ:OX,tag:\"\"},{prop:\"resolv\",name:\"resolv\",exported:false,typ:OS,tag:\"\"}]);BA.init(\"\",[{prop:\"Timeout\",name:\"Timeout\",exported:true,typ:J.Duration,tag:\"\"},{prop:\"Deadline\",name:\"Deadline\",exported:true,typ:J.Time,tag:\"\"},{prop:\"LocalAddr\",name:\"LocalAddr\",exported:true,typ:JF,tag:\"\"},{prop:\"DualStack\",name:\"DualStack\",exported:true,typ:$Bool,tag:\"\"},{prop:\"FallbackDelay\",name:\"FallbackDelay\",exported:true,typ:J.Duration,tag:\"\"},{prop:\"KeepAlive\",name:\"KeepAlive\",exported:true,typ:J.Duration,tag:\"\"},{prop:\"Resolver\",name:\"Resolver\",exported:true,typ:OY,tag:\"\"},{prop:\"Cancel\",name:\"Cancel\",exported:true,typ:SH,tag:\"\"}]);BG.init(\"net\",[{prop:\"Dialer\",name:\"\",exported:true,typ:BA,tag:\"\"},{prop:\"network\",name:\"network\",exported:false,typ:$String,tag:\"\"},{prop:\"address\",name:\"address\",exported:false,typ:$String,tag:\"\"}]);BQ.init(\"\",[{prop:\"Target\",name:\"Target\",exported:true,typ:$String,tag:\"\"},{prop:\"Port\",name:\"Port\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Priority\",name:\"Priority\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Weight\",name:\"Weight\",exported:true,typ:$Uint16,tag:\"\"}]);BR.init(RL);BS.init(\"\",[{prop:\"Host\",name:\"Host\",exported:true,typ:$String,tag:\"\"},{prop:\"Pref\",name:\"Pref\",exported:true,typ:$Uint16,tag:\"\"}]);BT.init(RO);BU.init(\"\",[{prop:\"Host\",name:\"Host\",exported:true,typ:$String,tag:\"\"}]);BX.init([{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"SetDeadline\",name:\"SetDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"dnsRoundTrip\",name:\"dnsRoundTrip\",pkg:\"net\",typ:$funcType([PS],[PS,$error],false)}]);CD.init(\"net\",[{prop:\"initOnce\",name:\"initOnce\",exported:false,typ:H.Once,tag:\"\"},{prop:\"ch\",name:\"ch\",exported:false,typ:SJ,tag:\"\"},{prop:\"lastChecked\",name:\"lastChecked\",exported:false,typ:J.Time,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:H.RWMutex,tag:\"\"},{prop:\"dnsConfig\",name:\"dnsConfig\",exported:false,typ:OS,tag:\"\"}]);CS.init(\"net\",[{prop:\"servers\",name:\"servers\",exported:false,typ:OU,tag:\"\"},{prop:\"search\",name:\"search\",exported:false,typ:OU,tag:\"\"},{prop:\"ndots\",name:\"ndots\",exported:false,typ:$Int,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:J.Duration,tag:\"\"},{prop:\"attempts\",name:\"attempts\",exported:false,typ:$Int,tag:\"\"},{prop:\"rotate\",name:\"rotate\",exported:false,typ:$Bool,tag:\"\"},{prop:\"unknownOpt\",name:\"unknownOpt\",exported:false,typ:$Bool,tag:\"\"},{prop:\"lookup\",name:\"lookup\",exported:false,typ:OU,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"mtime\",name:\"mtime\",exported:false,typ:J.Time,tag:\"\"},{prop:\"soffset\",name:\"soffset\",exported:false,typ:$Uint32,tag:\"\"}]);CY.init(\"\",[{prop:\"Id\",name:\"Id\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Bits\",name:\"Bits\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Qdcount\",name:\"Qdcount\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ancount\",name:\"Ancount\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nscount\",name:\"Nscount\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Arcount\",name:\"Arcount\",exported:true,typ:$Uint16,tag:\"\"}]);CZ.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Qtype\",name:\"Qtype\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Qclass\",name:\"Qclass\",exported:true,typ:$Uint16,tag:\"\"}]);DA.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Rrtype\",name:\"Rrtype\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Class\",name:\"Class\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ttl\",name:\"Ttl\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdlength\",name:\"Rdlength\",exported:true,typ:$Uint16,tag:\"\"}]);DB.init([{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[PQ],false)},{prop:\"Walk\",name:\"Walk\",pkg:\"\",typ:$funcType([SK],[$Bool],false)}]);DC.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"Cname\",name:\"Cname\",exported:true,typ:$String,tag:\"\"}]);DD.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"Pref\",name:\"Pref\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Mx\",name:\"Mx\",exported:true,typ:$String,tag:\"\"}]);DE.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"Ns\",name:\"Ns\",exported:true,typ:$String,tag:\"\"}]);DF.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"Ptr\",name:\"Ptr\",exported:true,typ:$String,tag:\"\"}]);DG.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"Ns\",name:\"Ns\",exported:true,typ:$String,tag:\"\"},{prop:\"Mbox\",name:\"Mbox\",exported:true,typ:$String,tag:\"\"},{prop:\"Serial\",name:\"Serial\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Refresh\",name:\"Refresh\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Retry\",name:\"Retry\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Expire\",name:\"Expire\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Minttl\",name:\"Minttl\",exported:true,typ:$Uint32,tag:\"\"}]);DH.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"Txt\",name:\"Txt\",exported:true,typ:$String,tag:\"\"}]);DI.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"Priority\",name:\"Priority\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Weight\",name:\"Weight\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Port\",name:\"Port\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Target\",name:\"Target\",exported:true,typ:$String,tag:\"\"}]);DJ.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"A\",name:\"A\",exported:true,typ:$Uint32,tag:\"\"}]);DK.init(\"\",[{prop:\"Hdr\",name:\"Hdr\",exported:true,typ:DA,tag:\"\"},{prop:\"AAAA\",name:\"AAAA\",exported:true,typ:OZ,tag:\"\"}]);DT.init(\"net\",[{prop:\"id\",name:\"id\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"response\",name:\"response\",exported:false,typ:$Bool,tag:\"\"},{prop:\"opcode\",name:\"opcode\",exported:false,typ:$Int,tag:\"\"},{prop:\"authoritative\",name:\"authoritative\",exported:false,typ:$Bool,tag:\"\"},{prop:\"truncated\",name:\"truncated\",exported:false,typ:$Bool,tag:\"\"},{prop:\"recursion_desired\",name:\"recursion_desired\",exported:false,typ:$Bool,tag:\"\"},{prop:\"recursion_available\",name:\"recursion_available\",exported:false,typ:$Bool,tag:\"\"},{prop:\"rcode\",name:\"rcode\",exported:false,typ:$Int,tag:\"\"}]);DU.init(\"net\",[{prop:\"dnsMsgHdr\",name:\"\",exported:false,typ:DT,tag:\"\"},{prop:\"question\",name:\"question\",exported:false,typ:PT,tag:\"\"},{prop:\"answer\",name:\"answer\",exported:false,typ:PP,tag:\"\"},{prop:\"ns\",name:\"ns\",exported:false,typ:PP,tag:\"\"},{prop:\"extra\",name:\"extra\",exported:false,typ:PP,tag:\"\"}]);DV.init(\"net\",[{prop:\"state\",name:\"state\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"rsema\",name:\"rsema\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"wsema\",name:\"wsema\",exported:false,typ:$Uint32,tag:\"\"}]);EH.init(\"net\",[{prop:\"runtimeCtx\",name:\"runtimeCtx\",exported:false,typ:$Uintptr,tag:\"\"}]);EL.init(\"net\",[{prop:\"fdmu\",name:\"fdmu\",exported:false,typ:DV,tag:\"\"},{prop:\"sysfd\",name:\"sysfd\",exported:false,typ:$Int,tag:\"\"},{prop:\"family\",name:\"family\",exported:false,typ:$Int,tag:\"\"},{prop:\"sotype\",name:\"sotype\",exported:false,typ:$Int,tag:\"\"},{prop:\"isStream\",name:\"isStream\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isConnected\",name:\"isConnected\",exported:false,typ:$Bool,tag:\"\"},{prop:\"net\",name:\"net\",exported:false,typ:$String,tag:\"\"},{prop:\"laddr\",name:\"laddr\",exported:false,typ:JF,tag:\"\"},{prop:\"raddr\",name:\"raddr\",exported:false,typ:JF,tag:\"\"},{prop:\"iovecs\",name:\"iovecs\",exported:false,typ:QK,tag:\"\"},{prop:\"pd\",name:\"pd\",exported:false,typ:EH,tag:\"\"}]);FV.init(\"\",[{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"},{prop:\"MTU\",name:\"MTU\",exported:true,typ:$Int,tag:\"\"},{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"HardwareAddr\",name:\"HardwareAddr\",exported:true,typ:JA,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:FW,tag:\"\"}]);GD.init(\"net\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:H.RWMutex,tag:\"\"},{prop:\"lastFetched\",name:\"lastFetched\",exported:false,typ:J.Time,tag:\"\"},{prop:\"toIndex\",name:\"toIndex\",exported:false,typ:ST,tag:\"\"},{prop:\"toName\",name:\"toName\",exported:false,typ:SU,tag:\"\"}]);GM.init($Uint8);GN.init($Uint8);GO.init(\"\",[{prop:\"IP\",name:\"IP\",exported:true,typ:GM,tag:\"\"},{prop:\"Mask\",name:\"Mask\",exported:true,typ:GN,tag:\"\"}]);HH.init(\"\",[{prop:\"IP\",name:\"IP\",exported:true,typ:GM,tag:\"\"},{prop:\"Zone\",name:\"Zone\",exported:true,typ:$String,tag:\"\"}]);HJ.init(\"net\",[{prop:\"conn\",name:\"\",exported:false,typ:JH,tag:\"\"}]);HU.init(JF);IK.init(\"\",[{prop:\"PreferGo\",name:\"PreferGo\",exported:true,typ:$Bool,tag:\"\"}]);JA.init($Uint8);JF.init([{prop:\"Network\",name:\"Network\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);JG.init([{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"LocalAddr\",name:\"LocalAddr\",pkg:\"\",typ:$funcType([],[JF],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([PA],[$Int,$error],false)},{prop:\"RemoteAddr\",name:\"RemoteAddr\",pkg:\"\",typ:$funcType([],[JF],false)},{prop:\"SetDeadline\",name:\"SetDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"SetReadDeadline\",name:\"SetReadDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"SetWriteDeadline\",name:\"SetWriteDeadline\",pkg:\"\",typ:$funcType([J.Time],[$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([PA],[$Int,$error],false)}]);JH.init(\"net\",[{prop:\"fd\",name:\"fd\",exported:false,typ:QL,tag:\"\"}]);JK.init([{prop:\"Accept\",name:\"Accept\",pkg:\"\",typ:$funcType([],[JG,$error],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[JF],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}]);JL.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}]);JS.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Net\",name:\"Net\",exported:true,typ:$String,tag:\"\"},{prop:\"Source\",name:\"Source\",exported:true,typ:JF,tag:\"\"},{prop:\"Addr\",name:\"Addr\",exported:true,typ:JF,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);JW.init([{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}]);JX.init([{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}]);JY.init(\"\",[]);JZ.init(\"\",[{prop:\"Type\",name:\"Type\",exported:true,typ:$String,tag:\"\"},{prop:\"Text\",name:\"Text\",exported:true,typ:$String,tag:\"\"}]);KA.init(\"\",[{prop:\"Err\",name:\"Err\",exported:true,typ:$String,tag:\"\"},{prop:\"Addr\",name:\"Addr\",exported:true,typ:$String,tag:\"\"}]);KF.init(\"\",[{prop:\"Err\",name:\"Err\",exported:true,typ:$String,tag:\"\"},{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Server\",name:\"Server\",exported:true,typ:$String,tag:\"\"},{prop:\"IsTimeout\",name:\"IsTimeout\",exported:true,typ:$Bool,tag:\"\"},{prop:\"IsTemporary\",name:\"IsTemporary\",exported:true,typ:$Bool,tag:\"\"}]);KG.init(\"\",[{prop:\"Writer\",name:\"\",exported:true,typ:L.Writer,tag:\"\"}]);KL.init([{prop:\"writeBuffers\",name:\"writeBuffers\",pkg:\"net\",typ:$funcType([PC],[$Int64,$error],false)}]);KN.init(PA);KO.init(\"net\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"sources\",name:\"sources\",exported:false,typ:TA,tag:\"\"}]);KP.init(\"net\",[{prop:\"source\",name:\"source\",exported:false,typ:$String,tag:\"\"},{prop:\"criteria\",name:\"criteria\",exported:false,typ:RY,tag:\"\"}]);KQ.init(\"net\",[{prop:\"negate\",name:\"negate\",exported:false,typ:$Bool,tag:\"\"},{prop:\"status\",name:\"status\",exported:false,typ:$String,tag:\"\"},{prop:\"action\",name:\"action\",exported:false,typ:$String,tag:\"\"}]);KU.init(\"net\",[{prop:\"file\",name:\"file\",exported:false,typ:QP,tag:\"\"},{prop:\"data\",name:\"data\",exported:false,typ:PA,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"}]);ME.init([{prop:\"Network\",name:\"Network\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"family\",name:\"family\",pkg:\"net\",typ:$funcType([],[$Int],false)},{prop:\"isWildcard\",name:\"isWildcard\",pkg:\"net\",typ:$funcType([],[$Bool],false)},{prop:\"sockaddr\",name:\"sockaddr\",pkg:\"net\",typ:$funcType([$Int],[B.Sockaddr,$error],false)},{prop:\"toLocal\",name:\"toLocal\",pkg:\"net\",typ:$funcType([$String],[ME],false)}]);MZ.init(\"\",[{prop:\"IP\",name:\"IP\",exported:true,typ:GM,tag:\"\"},{prop:\"Port\",name:\"Port\",exported:true,typ:$Int,tag:\"\"},{prop:\"Zone\",name:\"Zone\",exported:true,typ:$String,tag:\"\"}]);NB.init(\"net\",[{prop:\"conn\",name:\"\",exported:false,typ:JH,tag:\"\"}]);NE.init(\"net\",[{prop:\"fd\",name:\"fd\",exported:false,typ:QL,tag:\"\"}]);NO.init(\"\",[{prop:\"IP\",name:\"IP\",exported:true,typ:GM,tag:\"\"},{prop:\"Port\",name:\"Port\",exported:true,typ:$Int,tag:\"\"},{prop:\"Zone\",name:\"Zone\",exported:true,typ:$String,tag:\"\"}]);NQ.init(\"net\",[{prop:\"conn\",name:\"\",exported:false,typ:JH,tag:\"\"}]);OB.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Net\",name:\"Net\",exported:true,typ:$String,tag:\"\"}]);OD.init(\"net\",[{prop:\"conn\",name:\"\",exported:false,typ:JH,tag:\"\"}]);PN.init(\"net\",[{prop:\"Conn\",name:\"\",exported:true,typ:JG,tag:\"\"},{prop:\"error\",name:\"\",exported:false,typ:$error,tag:\"\"},{prop:\"primary\",name:\"primary\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);PY.init(\"net\",[{prop:\"cname\",name:\"cname\",exported:false,typ:$String,tag:\"\"},{prop:\"rrs\",name:\"rrs\",exported:false,typ:PP,tag:\"\"},{prop:\"error\",name:\"\",exported:false,typ:$error,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=E.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AT=new H.Once.ptr(new H.Mutex.ptr(0,0),0);CE=new CD.ptr(new H.Once.ptr(new H.Mutex.ptr(0,0),0),$chanNil,new J.Time.ptr(new $Int64(0,0),0,OR.nil),new H.RWMutex.ptr(new H.Mutex.ptr(0,0),0,0,0,0),OS.nil);EI=new H.Once.ptr(new H.Mutex.ptr(0,0),0);EZ=$throwNilPointerError;FM=new OW.ptr(new H.Mutex.ptr(0,0),false,false,new J.Time.ptr(new $Int64(0,0),0,OR.nil),\"\",new J.Time.ptr(new $Int64(0,0),0,OR.nil),new $Int64(0,0));HR=false;HS=false;HT=false;IN=new O.Group.ptr(new H.Mutex.ptr(0,0),false);IX=new H.Once.ptr(new H.Mutex.ptr(0,0),0);JC=false;JD=false;MA=new H.Once.ptr(new H.Mutex.ptr(0,0),0);AU=new AS.ptr(false,false,false,false,\"darwin\",0,OX.nil,OS.nil);BW=(function(){var $ptr;return new BA.ptr(new J.Duration(0,0),new J.Time.ptr(new $Int64(0,0),0,OR.nil),$ifaceNil,false,new J.Duration(0,0),new J.Duration(0,0),OY.nil,$chanNil);});CI=$makeMap(CH.keyFor,[{k:0,v:\"cgo\"},{k:1,v:\"files,dns\"},{k:2,v:\"dns,files\"},{k:3,v:\"files\"},{k:4,v:\"dns\"}]);CQ=new OU([\"127.0.0.1:53\",\"[::1]:53\"]);CR=F.Hostname;DL=$makeMap($Int.keyFor,[{k:5,v:(function(){var $ptr;return new DC.ptr(new DA.ptr(\"\",0,0,0,0),\"\");})},{k:15,v:(function(){var $ptr;return new DD.ptr(new DA.ptr(\"\",0,0,0,0),0,\"\");})},{k:2,v:(function(){var $ptr;return new DE.ptr(new DA.ptr(\"\",0,0,0,0),\"\");})},{k:12,v:(function(){var $ptr;return new DF.ptr(new DA.ptr(\"\",0,0,0,0),\"\");})},{k:6,v:(function(){var $ptr;return new DG.ptr(new DA.ptr(\"\",0,0,0,0),\"\",\"\",0,0,0,0,0);})},{k:16,v:(function(){var $ptr;return new DH.ptr(new DA.ptr(\"\",0,0,0,0),\"\");})},{k:33,v:(function(){var $ptr;return new DI.ptr(new DA.ptr(\"\",0,0,0,0),0,0,0,\"\");})},{k:1,v:(function(){var $ptr;return new DJ.ptr(new DA.ptr(\"\",0,0,0,0),0);})},{k:28,v:(function(){var $ptr;return new DK.ptr(new DA.ptr(\"\",0,0,0,0),OZ.zero());})}]);EN=1;FA=\"/etc/hosts\";FB=(function $b(g,h,i){var $ptr,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=h(g,i);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});FC=(function(){var $ptr;});FE=(function(){var $ptr;});FF=B.Socket;FG=B.Close;FH=B.Connect;FI=B.Listen;FJ=B.Accept;FK=B.GetsockoptInt;FQ=A.New(\"invalid network interface\");FR=A.New(\"invalid network interface index\");FS=A.New(\"invalid network interface name\");FT=A.New(\"no such network interface\");FU=A.New(\"no such multicast network interface\");FX=new OU([\"up\",\"broadcast\",\"loopback\",\"pointtopoint\",\"multicast\"]);GE=new GD.ptr(new H.RWMutex.ptr(new H.Mutex.ptr(0,0),0,0,0,0),new J.Time.ptr(new $Int64(0,0),0,OR.nil),{},{});GQ=new PA([0,0,0,0,0,0,0,0,0,0,255,255]);$pkg.IPv4bcast=GP(255,255,255,255);$pkg.IPv4allsys=GP(224,0,0,1);$pkg.IPv4allrouter=GP(224,0,0,2);$pkg.IPv4zero=GP(0,0,0,0);$pkg.IPv6zero=new GM([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);$pkg.IPv6unspecified=new GM([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);$pkg.IPv6loopback=new GM([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1]);GU=GR(255,0,0,0);GV=GR(255,255,0,0);GW=GR(255,255,255,0);IG=$makeMap($String.keyFor,[{k:\"icmp\",v:1},{k:\"igmp\",v:2},{k:\"tcp\",v:6},{k:\"udp\",v:17},{k:\"ipv6-icmp\",v:58}]);IH=$makeMap($String.keyFor,[{k:\"udp\",v:$makeMap($String.keyFor,[{k:\"domain\",v:53}])},{k:\"tcp\",v:$makeMap($String.keyFor,[{k:\"ftp\",v:21},{k:\"ftps\",v:990},{k:\"gopher\",v:70},{k:\"http\",v:80},{k:\"https\",v:443},{k:\"imap2\",v:143},{k:\"imap3\",v:220},{k:\"imaps\",v:993},{k:\"pop3\",v:110},{k:\"pop3s\",v:995},{k:\"smtp\",v:25},{k:\"ssh\",v:22},{k:\"telnet\",v:23}])}]);$pkg.DefaultResolver=new IK.ptr(false);JJ=V();JM=A.New(\"no suitable address found\");JN=A.New(\"missing address\");JO=new JY.ptr();JP=A.New(\"operation was canceled\");JQ=A.New(\"use of closed network connection\");$pkg.ErrWriteToConnected=A.New(\"use of WriteTo with pre-connected connection\");JT=$clone(J.Unix(new $Int64(0,1),new $Int64(0,0)),J.Time);JU=new J.Time.ptr(new $Int64(0,0),0,OR.nil);KE=A.New(\"no such host\");KI=new $Chan(PB,500);KM=(function(g){var $ptr,g;});g=AH(\"::1/128\");$s=16;case 16:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=AH(\"::/0\");$s=17;case 17:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=AH(\"::ffff:0:0/96\");$s=18;case 18:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=AH(\"2002::/16\");$s=19;case 19:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=AH(\"2001::/32\");$s=20;case 20:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=AH(\"fc00::/7\");$s=21;case 21:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=AH(\"::/96\");$s=22;case 22:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=AH(\"fec0::/10\");$s=23;case 23:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=AH(\"3ffe::/16\");$s=24;case 24:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}AE=new AD([new AC.ptr(g,50,0),new AC.ptr(h,40,1),new AC.ptr(i,35,4),new AC.ptr(j,30,2),new AC.ptr(k,5,5),new AC.ptr(l,3,13),new AC.ptr(m,1,3),new AC.ptr(n,1,11),new AC.ptr(o,1,12)]);$r=AF();$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AL();JE();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os/exec\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,H,I,J,K,AS,Q,X;A=$packages[\"bytes\"];B=$packages[\"context\"];C=$packages[\"errors\"];D=$packages[\"io\"];E=$packages[\"os\"];F=$packages[\"path/filepath\"];G=$packages[\"runtime\"];H=$packages[\"strconv\"];I=$packages[\"strings\"];J=$packages[\"sync\"];K=$packages[\"syscall\"];AS=$ptrType(E.PathError);X=function(){var $ptr;Q=(function(a){var $ptr,a,b,c,d;b=$assertType(a,AS,true);c=b[0];d=b[1];return d&&c.Op===\"write\"&&c.Path===\"|1\"&&$interfaceIsEqual(c.Err,new K.Errno(32));});};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=$throwNilPointerError;$pkg.ErrNotFound=C.New(\"executable file not found in $PATH\");X();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/x509\"]=(function(){var $pkg={},$init,R,S,AC,E,F,G,AD,X,Y,H,L,T,AE,AF,O,M,I,B,C,P,J,U,N,Z,A,V,W,D,AG,K,Q,AA,AB,AJ,AU,AV,AY,AZ,BJ,BN,BO,BP,BQ,BR,BT,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CN,DH,DU,EH,EL,EM,EN,EQ,ER,ES,ET,EU,EV,EW,EX,GM,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GZ,HA,HB,HC,HD,HE,HF,HG,HH,HJ,HK,HL,HM,HN,HO,HP,HQ,HR,HS,HT,HU,HV,HW,HX,HY,HZ,IA,IB,IC,ID,II,IJ,IQ,IS,IT,BB,BC,BD,BG,BS,CM,CO,CP,CQ,CR,CS,CT,CU,CV,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DK,DL,DM,DO,DP,DQ,DR,DV,DW,DX,DY,DZ,EA,EB,EC,ED,EE,EF,EG,EI,EO,EY,FJ,FP,FQ,FR,b,c,AH,AK,AW,BA,BE,BF,BK,BM,BU,BV,BW,BX,BY,DI,DJ,DN,DS,EJ,EP,EZ,FA,FB,FC,FW;R=$packages[\"bufio\"];S=$packages[\"bytes\"];AC=$packages[\"crypto\"];E=$packages[\"crypto/aes\"];F=$packages[\"crypto/cipher\"];G=$packages[\"crypto/des\"];AD=$packages[\"crypto/dsa\"];X=$packages[\"crypto/ecdsa\"];Y=$packages[\"crypto/elliptic\"];H=$packages[\"crypto/md5\"];L=$packages[\"crypto/rsa\"];T=$packages[\"crypto/sha1\"];AE=$packages[\"crypto/sha256\"];AF=$packages[\"crypto/sha512\"];O=$packages[\"crypto/x509/pkix\"];M=$packages[\"encoding/asn1\"];I=$packages[\"encoding/hex\"];B=$packages[\"encoding/pem\"];C=$packages[\"errors\"];P=$packages[\"fmt\"];J=$packages[\"io\"];U=$packages[\"io/ioutil\"];N=$packages[\"math/big\"];Z=$packages[\"net\"];A=$packages[\"os\"];V=$packages[\"os/exec\"];W=$packages[\"path/filepath\"];D=$packages[\"runtime\"];AG=$packages[\"strconv\"];K=$packages[\"strings\"];Q=$packages[\"sync\"];AA=$packages[\"time\"];AB=$packages[\"unicode/utf8\"];AJ=$pkg.CertPool=$newType(0,$kindStruct,\"x509.CertPool\",true,\"crypto/x509\",true,function(bySubjectKeyId_,byName_,certs_){this.$val=this;if(arguments.length===0){this.bySubjectKeyId=false;this.byName=false;this.certs=GV.nil;return;}this.bySubjectKeyId=bySubjectKeyId_;this.byName=byName_;this.certs=certs_;});AU=$pkg.pkcs1PrivateKey=$newType(0,$kindStruct,\"x509.pkcs1PrivateKey\",true,\"crypto/x509\",false,function(Version_,N_,E_,D_,P_,Q_,Dp_,Dq_,Qinv_,AdditionalPrimes_){this.$val=this;if(arguments.length===0){this.Version=0;this.N=GZ.nil;this.E=0;this.D=GZ.nil;this.P=GZ.nil;this.Q=GZ.nil;this.Dp=GZ.nil;this.Dq=GZ.nil;this.Qinv=GZ.nil;this.AdditionalPrimes=HA.nil;return;}this.Version=Version_;this.N=N_;this.E=E_;this.D=D_;this.P=P_;this.Q=Q_;this.Dp=Dp_;this.Dq=Dq_;this.Qinv=Qinv_;this.AdditionalPrimes=AdditionalPrimes_;});AV=$pkg.pkcs1AdditionalRSAPrime=$newType(0,$kindStruct,\"x509.pkcs1AdditionalRSAPrime\",true,\"crypto/x509\",false,function(Prime_,Exp_,Coeff_){this.$val=this;if(arguments.length===0){this.Prime=GZ.nil;this.Exp=GZ.nil;this.Coeff=GZ.nil;return;}this.Prime=Prime_;this.Exp=Exp_;this.Coeff=Coeff_;});AY=$pkg.rsaPublicKey=$newType(0,$kindStruct,\"x509.rsaPublicKey\",true,\"crypto/x509\",false,function(N_,E_){this.$val=this;if(arguments.length===0){this.N=GZ.nil;this.E=0;return;}this.N=N_;this.E=E_;});AZ=$pkg.pkcs8=$newType(0,$kindStruct,\"x509.pkcs8\",true,\"crypto/x509\",false,function(Version_,Algo_,PrivateKey_){this.$val=this;if(arguments.length===0){this.Version=0;this.Algo=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));this.PrivateKey=GS.nil;return;}this.Version=Version_;this.Algo=Algo_;this.PrivateKey=PrivateKey_;});BJ=$pkg.ecPrivateKey=$newType(0,$kindStruct,\"x509.ecPrivateKey\",true,\"crypto/x509\",false,function(Version_,PrivateKey_,NamedCurveOID_,PublicKey_){this.$val=this;if(arguments.length===0){this.Version=0;this.PrivateKey=GS.nil;this.NamedCurveOID=M.ObjectIdentifier.nil;this.PublicKey=new M.BitString.ptr(GS.nil,0);return;}this.Version=Version_;this.PrivateKey=PrivateKey_;this.NamedCurveOID=NamedCurveOID_;this.PublicKey=PublicKey_;});BN=$pkg.InvalidReason=$newType(4,$kindInt,\"x509.InvalidReason\",true,\"crypto/x509\",true,null);BO=$pkg.CertificateInvalidError=$newType(0,$kindStruct,\"x509.CertificateInvalidError\",true,\"crypto/x509\",true,function(Cert_,Reason_){this.$val=this;if(arguments.length===0){this.Cert=GU.nil;this.Reason=0;return;}this.Cert=Cert_;this.Reason=Reason_;});BP=$pkg.HostnameError=$newType(0,$kindStruct,\"x509.HostnameError\",true,\"crypto/x509\",true,function(Certificate_,Host_){this.$val=this;if(arguments.length===0){this.Certificate=GU.nil;this.Host=\"\";return;}this.Certificate=Certificate_;this.Host=Host_;});BQ=$pkg.UnknownAuthorityError=$newType(0,$kindStruct,\"x509.UnknownAuthorityError\",true,\"crypto/x509\",true,function(Cert_,hintErr_,hintCert_){this.$val=this;if(arguments.length===0){this.Cert=GU.nil;this.hintErr=$ifaceNil;this.hintCert=GU.nil;return;}this.Cert=Cert_;this.hintErr=hintErr_;this.hintCert=hintCert_;});BR=$pkg.SystemRootsError=$newType(0,$kindStruct,\"x509.SystemRootsError\",true,\"crypto/x509\",true,function(Err_){this.$val=this;if(arguments.length===0){this.Err=$ifaceNil;return;}this.Err=Err_;});BT=$pkg.VerifyOptions=$newType(0,$kindStruct,\"x509.VerifyOptions\",true,\"crypto/x509\",true,function(DNSName_,Intermediates_,Roots_,CurrentTime_,KeyUsages_){this.$val=this;if(arguments.length===0){this.DNSName=\"\";this.Intermediates=GM.nil;this.Roots=GM.nil;this.CurrentTime=new AA.Time.ptr(new $Int64(0,0),0,HR.nil);this.KeyUsages=HK.nil;return;}this.DNSName=DNSName_;this.Intermediates=Intermediates_;this.Roots=Roots_;this.CurrentTime=CurrentTime_;this.KeyUsages=KeyUsages_;});CD=$pkg.certificate=$newType(0,$kindStruct,\"x509.certificate\",true,\"crypto/x509\",false,function(Raw_,TBSCertificate_,SignatureAlgorithm_,SignatureValue_){this.$val=this;if(arguments.length===0){this.Raw=M.RawContent.nil;this.TBSCertificate=new CE.ptr(M.RawContent.nil,0,GZ.nil,new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new M.RawValue.ptr(0,0,false,GS.nil,GS.nil),new CI.ptr(new AA.Time.ptr(new $Int64(0,0),0,HR.nil),new AA.Time.ptr(new $Int64(0,0),0,HR.nil)),new M.RawValue.ptr(0,0,false,GS.nil,GS.nil),new CJ.ptr(M.RawContent.nil,new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new M.BitString.ptr(GS.nil,0)),new M.BitString.ptr(GS.nil,0),new M.BitString.ptr(GS.nil,0),HS.nil);this.SignatureAlgorithm=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));this.SignatureValue=new M.BitString.ptr(GS.nil,0);return;}this.Raw=Raw_;this.TBSCertificate=TBSCertificate_;this.SignatureAlgorithm=SignatureAlgorithm_;this.SignatureValue=SignatureValue_;});CE=$pkg.tbsCertificate=$newType(0,$kindStruct,\"x509.tbsCertificate\",true,\"crypto/x509\",false,function(Raw_,Version_,SerialNumber_,SignatureAlgorithm_,Issuer_,Validity_,Subject_,PublicKey_,UniqueId_,SubjectUniqueId_,Extensions_){this.$val=this;if(arguments.length===0){this.Raw=M.RawContent.nil;this.Version=0;this.SerialNumber=GZ.nil;this.SignatureAlgorithm=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));this.Issuer=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);this.Validity=new CI.ptr(new AA.Time.ptr(new $Int64(0,0),0,HR.nil),new AA.Time.ptr(new $Int64(0,0),0,HR.nil));this.Subject=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);this.PublicKey=new CJ.ptr(M.RawContent.nil,new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new M.BitString.ptr(GS.nil,0));this.UniqueId=new M.BitString.ptr(GS.nil,0);this.SubjectUniqueId=new M.BitString.ptr(GS.nil,0);this.Extensions=HS.nil;return;}this.Raw=Raw_;this.Version=Version_;this.SerialNumber=SerialNumber_;this.SignatureAlgorithm=SignatureAlgorithm_;this.Issuer=Issuer_;this.Validity=Validity_;this.Subject=Subject_;this.PublicKey=PublicKey_;this.UniqueId=UniqueId_;this.SubjectUniqueId=SubjectUniqueId_;this.Extensions=Extensions_;});CF=$pkg.dsaAlgorithmParameters=$newType(0,$kindStruct,\"x509.dsaAlgorithmParameters\",true,\"crypto/x509\",false,function(P_,Q_,G_){this.$val=this;if(arguments.length===0){this.P=GZ.nil;this.Q=GZ.nil;this.G=GZ.nil;return;}this.P=P_;this.Q=Q_;this.G=G_;});CG=$pkg.dsaSignature=$newType(0,$kindStruct,\"x509.dsaSignature\",true,\"crypto/x509\",false,function(R_,S_){this.$val=this;if(arguments.length===0){this.R=GZ.nil;this.S=GZ.nil;return;}this.R=R_;this.S=S_;});CH=$pkg.ecdsaSignature=$newType(0,$kindStruct,\"x509.ecdsaSignature\",true,\"crypto/x509\",false,function(R_,S_){this.$val=this;if(arguments.length===0){this.R=GZ.nil;this.S=GZ.nil;return;}this.R=R_;this.S=S_;});CI=$pkg.validity=$newType(0,$kindStruct,\"x509.validity\",true,\"crypto/x509\",false,function(NotBefore_,NotAfter_){this.$val=this;if(arguments.length===0){this.NotBefore=new AA.Time.ptr(new $Int64(0,0),0,HR.nil);this.NotAfter=new AA.Time.ptr(new $Int64(0,0),0,HR.nil);return;}this.NotBefore=NotBefore_;this.NotAfter=NotAfter_;});CJ=$pkg.publicKeyInfo=$newType(0,$kindStruct,\"x509.publicKeyInfo\",true,\"crypto/x509\",false,function(Raw_,Algorithm_,PublicKey_){this.$val=this;if(arguments.length===0){this.Raw=M.RawContent.nil;this.Algorithm=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));this.PublicKey=new M.BitString.ptr(GS.nil,0);return;}this.Raw=Raw_;this.Algorithm=Algorithm_;this.PublicKey=PublicKey_;});CK=$pkg.authKeyId=$newType(0,$kindStruct,\"x509.authKeyId\",true,\"crypto/x509\",false,function(Id_){this.$val=this;if(arguments.length===0){this.Id=GS.nil;return;}this.Id=Id_;});CL=$pkg.SignatureAlgorithm=$newType(4,$kindInt,\"x509.SignatureAlgorithm\",true,\"crypto/x509\",true,null);CN=$pkg.PublicKeyAlgorithm=$newType(4,$kindInt,\"x509.PublicKeyAlgorithm\",true,\"crypto/x509\",true,null);DH=$pkg.pssParameters=$newType(0,$kindStruct,\"x509.pssParameters\",true,\"crypto/x509\",false,function(Hash_,MGF_,SaltLength_,TrailerField_){this.$val=this;if(arguments.length===0){this.Hash=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));this.MGF=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));this.SaltLength=0;this.TrailerField=0;return;}this.Hash=Hash_;this.MGF=MGF_;this.SaltLength=SaltLength_;this.TrailerField=TrailerField_;});DU=$pkg.KeyUsage=$newType(4,$kindInt,\"x509.KeyUsage\",true,\"crypto/x509\",true,null);EH=$pkg.ExtKeyUsage=$newType(4,$kindInt,\"x509.ExtKeyUsage\",true,\"crypto/x509\",true,null);EL=$pkg.Certificate=$newType(0,$kindStruct,\"x509.Certificate\",true,\"crypto/x509\",true,function(Raw_,RawTBSCertificate_,RawSubjectPublicKeyInfo_,RawSubject_,RawIssuer_,Signature_,SignatureAlgorithm_,PublicKeyAlgorithm_,PublicKey_,Version_,SerialNumber_,Issuer_,Subject_,NotBefore_,NotAfter_,KeyUsage_,Extensions_,ExtraExtensions_,UnhandledCriticalExtensions_,ExtKeyUsage_,UnknownExtKeyUsage_,BasicConstraintsValid_,IsCA_,MaxPathLen_,MaxPathLenZero_,SubjectKeyId_,AuthorityKeyId_,OCSPServer_,IssuingCertificateURL_,DNSNames_,EmailAddresses_,IPAddresses_,PermittedDNSDomainsCritical_,PermittedDNSDomains_,CRLDistributionPoints_,PolicyIdentifiers_){this.$val=this;if(arguments.length===0){this.Raw=GS.nil;this.RawTBSCertificate=GS.nil;this.RawSubjectPublicKeyInfo=GS.nil;this.RawSubject=GS.nil;this.RawIssuer=GS.nil;this.Signature=GS.nil;this.SignatureAlgorithm=0;this.PublicKeyAlgorithm=0;this.PublicKey=$ifaceNil;this.Version=0;this.SerialNumber=GZ.nil;this.Issuer=new O.Name.ptr(HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,\"\",\"\",HQ.nil,HQ.nil);this.Subject=new O.Name.ptr(HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,\"\",\"\",HQ.nil,HQ.nil);this.NotBefore=new AA.Time.ptr(new $Int64(0,0),0,HR.nil);this.NotAfter=new AA.Time.ptr(new $Int64(0,0),0,HR.nil);this.KeyUsage=0;this.Extensions=HS.nil;this.ExtraExtensions=HS.nil;this.UnhandledCriticalExtensions=HT.nil;this.ExtKeyUsage=HK.nil;this.UnknownExtKeyUsage=HT.nil;this.BasicConstraintsValid=false;this.IsCA=false;this.MaxPathLen=0;this.MaxPathLenZero=false;this.SubjectKeyId=GS.nil;this.AuthorityKeyId=GS.nil;this.OCSPServer=HH.nil;this.IssuingCertificateURL=HH.nil;this.DNSNames=HH.nil;this.EmailAddresses=HH.nil;this.IPAddresses=HP.nil;this.PermittedDNSDomainsCritical=false;this.PermittedDNSDomains=HH.nil;this.CRLDistributionPoints=HH.nil;this.PolicyIdentifiers=HT.nil;return;}this.Raw=Raw_;this.RawTBSCertificate=RawTBSCertificate_;this.RawSubjectPublicKeyInfo=RawSubjectPublicKeyInfo_;this.RawSubject=RawSubject_;this.RawIssuer=RawIssuer_;this.Signature=Signature_;this.SignatureAlgorithm=SignatureAlgorithm_;this.PublicKeyAlgorithm=PublicKeyAlgorithm_;this.PublicKey=PublicKey_;this.Version=Version_;this.SerialNumber=SerialNumber_;this.Issuer=Issuer_;this.Subject=Subject_;this.NotBefore=NotBefore_;this.NotAfter=NotAfter_;this.KeyUsage=KeyUsage_;this.Extensions=Extensions_;this.ExtraExtensions=ExtraExtensions_;this.UnhandledCriticalExtensions=UnhandledCriticalExtensions_;this.ExtKeyUsage=ExtKeyUsage_;this.UnknownExtKeyUsage=UnknownExtKeyUsage_;this.BasicConstraintsValid=BasicConstraintsValid_;this.IsCA=IsCA_;this.MaxPathLen=MaxPathLen_;this.MaxPathLenZero=MaxPathLenZero_;this.SubjectKeyId=SubjectKeyId_;this.AuthorityKeyId=AuthorityKeyId_;this.OCSPServer=OCSPServer_;this.IssuingCertificateURL=IssuingCertificateURL_;this.DNSNames=DNSNames_;this.EmailAddresses=EmailAddresses_;this.IPAddresses=IPAddresses_;this.PermittedDNSDomainsCritical=PermittedDNSDomainsCritical_;this.PermittedDNSDomains=PermittedDNSDomains_;this.CRLDistributionPoints=CRLDistributionPoints_;this.PolicyIdentifiers=PolicyIdentifiers_;});EM=$pkg.InsecureAlgorithmError=$newType(4,$kindInt,\"x509.InsecureAlgorithmError\",true,\"crypto/x509\",true,null);EN=$pkg.ConstraintViolationError=$newType(0,$kindStruct,\"x509.ConstraintViolationError\",true,\"crypto/x509\",true,function(){this.$val=this;if(arguments.length===0){return;}});EQ=$pkg.UnhandledCriticalExtension=$newType(0,$kindStruct,\"x509.UnhandledCriticalExtension\",true,\"crypto/x509\",true,function(){this.$val=this;if(arguments.length===0){return;}});ER=$pkg.basicConstraints=$newType(0,$kindStruct,\"x509.basicConstraints\",true,\"crypto/x509\",false,function(IsCA_,MaxPathLen_){this.$val=this;if(arguments.length===0){this.IsCA=false;this.MaxPathLen=0;return;}this.IsCA=IsCA_;this.MaxPathLen=MaxPathLen_;});ES=$pkg.policyInformation=$newType(0,$kindStruct,\"x509.policyInformation\",true,\"crypto/x509\",false,function(Policy_){this.$val=this;if(arguments.length===0){this.Policy=M.ObjectIdentifier.nil;return;}this.Policy=Policy_;});ET=$pkg.nameConstraints=$newType(0,$kindStruct,\"x509.nameConstraints\",true,\"crypto/x509\",false,function(Permitted_,Excluded_){this.$val=this;if(arguments.length===0){this.Permitted=HV.nil;this.Excluded=HV.nil;return;}this.Permitted=Permitted_;this.Excluded=Excluded_;});EU=$pkg.generalSubtree=$newType(0,$kindStruct,\"x509.generalSubtree\",true,\"crypto/x509\",false,function(Name_){this.$val=this;if(arguments.length===0){this.Name=\"\";return;}this.Name=Name_;});EV=$pkg.authorityInfoAccess=$newType(0,$kindStruct,\"x509.authorityInfoAccess\",true,\"crypto/x509\",false,function(Method_,Location_){this.$val=this;if(arguments.length===0){this.Method=M.ObjectIdentifier.nil;this.Location=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);return;}this.Method=Method_;this.Location=Location_;});EW=$pkg.distributionPoint=$newType(0,$kindStruct,\"x509.distributionPoint\",true,\"crypto/x509\",false,function(DistributionPoint_,Reason_,CRLIssuer_){this.$val=this;if(arguments.length===0){this.DistributionPoint=new EX.ptr(new M.RawValue.ptr(0,0,false,GS.nil,GS.nil),O.RDNSequence.nil);this.Reason=new M.BitString.ptr(GS.nil,0);this.CRLIssuer=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);return;}this.DistributionPoint=DistributionPoint_;this.Reason=Reason_;this.CRLIssuer=CRLIssuer_;});EX=$pkg.distributionPointName=$newType(0,$kindStruct,\"x509.distributionPointName\",true,\"crypto/x509\",false,function(FullName_,RelativeName_){this.$val=this;if(arguments.length===0){this.FullName=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);this.RelativeName=O.RDNSequence.nil;return;}this.FullName=FullName_;this.RelativeName=RelativeName_;});GM=$ptrType(AJ);GO=$structType(\"crypto/x509\",[{prop:\"algo\",name:\"algo\",exported:false,typ:CL,tag:\"\"},{prop:\"oid\",name:\"oid\",exported:false,typ:M.ObjectIdentifier,tag:\"\"},{prop:\"pubKeyAlgo\",name:\"pubKeyAlgo\",exported:false,typ:CN,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:AC.Hash,tag:\"\"}]);GP=$sliceType(GO);GQ=$structType(\"crypto/x509\",[{prop:\"extKeyUsage\",name:\"extKeyUsage\",exported:false,typ:EH,tag:\"\"},{prop:\"oid\",name:\"oid\",exported:false,typ:M.ObjectIdentifier,tag:\"\"}]);GR=$sliceType(GQ);GS=$sliceType($Uint8);GT=$sliceType($Int);GU=$ptrType(EL);GV=$sliceType(GU);GW=$ptrType(B.Block);GX=$sliceType(GS);GZ=$ptrType(N.Int);HA=$sliceType(AV);HB=$ptrType(L.PrivateKey);HC=$sliceType(GZ);HD=$sliceType(L.CRTValue);HE=$ptrType(M.ObjectIdentifier);HF=$sliceType($emptyInterface);HG=$sliceType(GV);HH=$sliceType($String);HJ=$ptrType(X.PrivateKey);HK=$sliceType(EH);HL=$ptrType(L.PublicKey);HM=$ptrType(X.PublicKey);HN=$ptrType(AD.PublicKey);HO=$ptrType(GZ);HP=$sliceType(Z.IP);HQ=$sliceType(O.AttributeTypeAndValue);HR=$ptrType(AA.Location);HS=$sliceType(O.Extension);HT=$sliceType(M.ObjectIdentifier);HU=$ptrType(O.RDNSequence);HV=$sliceType(EU);HW=$sliceType(EW);HX=$ptrType(HW);HY=$ptrType(HT);HZ=$ptrType(GS);IA=$sliceType(ES);IB=$ptrType(IA);IC=$sliceType(EV);ID=$ptrType(IC);II=$sliceType(O.RevokedCertificate);IJ=$ptrType(O.CertificateList);IQ=$mapType($String,GT);IS=$ptrType(BT);IT=$mapType($Int,HG);AH=function(){var $ptr;return[AK(),$ifaceNil];};AK=function(){var $ptr;return new AJ.ptr({},{},GV.nil);};$pkg.NewCertPool=AK;AJ.ptr.prototype.findVerifiedParents=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=GT.nil;f=GU.nil;g=$ifaceNil;h=this;if(h===GM.nil){$s=-1;return[e,f,g];}i=GT.nil;if(d.AuthorityKeyId.$length>0){i=(j=h.bySubjectKeyId[$String.keyFor(($bytesToString(d.AuthorityKeyId)))],j!==undefined?j.v:GT.nil);}if(i.$length===0){i=(k=h.byName[$String.keyFor(($bytesToString(d.RawIssuer)))],k!==undefined?k.v:GT.nil);}l=i;m=0;case 1:if(!(m<l.$length)){$s=2;continue;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);p=d.CheckSignatureFrom((o=h.certs,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])));$s=3;case 3:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}g=p;if($interfaceIsEqual(g,$ifaceNil)){e=$append(e,n);}else{f=(q=h.certs,((n<0||n>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+n]));}m++;$s=1;continue;case 2:$s=-1;return[e,f,g];}return;}if($f===undefined){$f={$blk:AJ.ptr.prototype.findVerifiedParents};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};AJ.prototype.findVerifiedParents=function(d){return this.$val.findVerifiedParents(d);};AJ.ptr.prototype.contains=function(d){var $ptr,d,e,f,g,h,i,j,k;e=this;if(e===GM.nil){return false;}g=(f=e.byName[$String.keyFor(($bytesToString(d.RawSubject)))],f!==undefined?f.v:GT.nil);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if((k=e.certs,((j<0||j>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+j])).Equal(d)){return true;}i++;}return false;};AJ.prototype.contains=function(d){return this.$val.contains(d);};AJ.ptr.prototype.AddCert=function(d){var $ptr,d,e,f,g,h,i,j,k,l;e=this;if(d===GU.nil){$panic(new $String(\"adding nil Certificate to CertPool\"));}if(e.contains(d)){return;}f=e.certs.$length;e.certs=$append(e.certs,d);if(d.SubjectKeyId.$length>0){g=($bytesToString(d.SubjectKeyId));h=g;(e.bySubjectKeyId||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(h)]={k:h,v:$append((i=e.bySubjectKeyId[$String.keyFor(g)],i!==undefined?i.v:GT.nil),f)};}j=($bytesToString(d.RawSubject));k=j;(e.byName||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:$append((l=e.byName[$String.keyFor(j)],l!==undefined?l.v:GT.nil),f)};};AJ.prototype.AddCert=function(d){return this.$val.AddCert(d);};AJ.ptr.prototype.AppendCertsFromPEM=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=false;f=this;case 1:if(!(d.$length>0)){$s=2;continue;}g=GW.nil;i=B.Decode(d);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;g=h[0];d=h[1];if(g===GW.nil){$s=2;continue;}if(!(g.Type===\"CERTIFICATE\")||!(($keys(g.Headers).length===0))){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:k=FC(g.Bytes);$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=1;continue;}f.AddCert(l);e=true;$s=1;continue;case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:AJ.ptr.prototype.AppendCertsFromPEM};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};AJ.prototype.AppendCertsFromPEM=function(d){return this.$val.AppendCertsFromPEM(d);};AJ.ptr.prototype.Subjects=function(){var $ptr,d,e,f,g,h,i;d=this;e=$makeSlice(GX,d.certs.$length);f=d.certs;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h]=i.RawSubject);g++;}return e;};AJ.prototype.Subjects=function(){return this.$val.Subjects();};AW=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];e[0]=new AU.ptr(0,GZ.nil,0,GZ.nil,GZ.nil,GZ.nil,GZ.nil,GZ.nil,GZ.nil,HA.nil);g=M.Unmarshal(d,e[0]);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(h.$length>0){$s=-1;return[HB.nil,(j=new M.SyntaxError.ptr(\"trailing data\"),new j.constructor.elem(j))];}if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[HB.nil,i];}if(e[0].Version>1){$s=-1;return[HB.nil,C.New(\"x509: unsupported private key version\")];}if(e[0].N.Sign()<=0||e[0].D.Sign()<=0||e[0].P.Sign()<=0||e[0].Q.Sign()<=0){$s=-1;return[HB.nil,C.New(\"x509: private key contains zero or negative value\")];}k=new L.PrivateKey.ptr(new L.PublicKey.ptr(GZ.nil,0),GZ.nil,HC.nil,new L.PrecomputedValues.ptr(GZ.nil,GZ.nil,GZ.nil,HD.nil));L.PublicKey.copy(k.PublicKey,new L.PublicKey.ptr(e[0].N,e[0].E));k.D=e[0].D;k.Primes=$makeSlice(HC,(2+e[0].AdditionalPrimes.$length>>0));(l=k.Primes,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]=e[0].P));(m=k.Primes,(1>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+1]=e[0].Q));n=e[0].AdditionalPrimes;o=0;while(true){if(!(o<n.$length)){break;}p=o;q=$clone(((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]),AV);if(q.Prime.Sign()<=0){$s=-1;return[HB.nil,C.New(\"x509: private key contains zero or negative prime\")];}(r=k.Primes,s=p+2>>0,((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]=q.Prime));o++;}t=k.Validate();$s=2;case 2:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}i=t;if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[HB.nil,i];}$r=k.Precompute();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[k,$ifaceNil];}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ParsePKCS1PrivateKey=AW;BA=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=$ifaceNil;g=$ifaceNil;e[0]=new AZ.ptr(0,new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),GS.nil);i=M.Unmarshal(d,e[0]);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[1];if(!($interfaceIsEqual(j,$ifaceNil))){k=$ifaceNil;l=j;f=k;g=l;$s=-1;return[f,g];}if(e[0].Algo.Algorithm.Equal(DK)){$s=3;continue;}if(e[0].Algo.Algorithm.Equal(DM)){$s=4;continue;}$s=5;continue;case 3:n=AW(e[0].PrivateKey);$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;f=m[0];g=m[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:o=$ifaceNil;q=g.Error();$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=C.New(\"x509: failed to parse RSA private key embedded in PKCS#8: \"+q);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}p=r;f=o;g=p;$s=-1;return[f,g];case 9:s=f;t=$ifaceNil;f=s;g=t;$s=-1;return[f,g];case 4:u=e[0].Algo.Parameters.FullBytes;v=$newDataPointer(M.ObjectIdentifier.nil,HE);x=M.Unmarshal(u,v);$s=12;case 12:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[1];if(!($interfaceIsEqual(y,$ifaceNil))){v=HE.nil;}aa=BM(v,e[0].PrivateKey);$s=13;case 13:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;f=z[0];g=z[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:ab=$ifaceNil;ad=g.Error();$s=16;case 16:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=C.New(\"x509: failed to parse EC private key embedded in PKCS#8: \"+ad);$s=17;case 17:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ac=ae;f=ab;g=ac;$s=-1;return[f,g];case 15:af=f;ag=$ifaceNil;f=af;g=ag;$s=-1;return[f,g];case 5:ah=$ifaceNil;aj=P.Errorf(\"x509: PKCS#8 wrapping contained private key with unknown algorithm: %v\",new HF([e[0].Algo.Algorithm]));$s=18;case 18:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;f=ah;g=ai;$s=-1;return[f,g];case 6:case 2:$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:BA};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ParsePKCS8PrivateKey=BA;BE=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=BB.Do(BF);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return BC;}return;}if($f===undefined){$f={$blk:BE};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};BF=function(){var $ptr,d;d=AH();BC=d[0];BD=d[1];};EL.ptr.prototype.systemVerify=function(d){var $ptr,d,e,f,g,h,i;e=HG.nil;f=$ifaceNil;g=this;h=HG.nil;i=$ifaceNil;e=h;f=i;return[e,f];};EL.prototype.systemVerify=function(d){return this.$val.systemVerify(d);};BK=function(d){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=BM(HE.nil,d);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:BK};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ParseECPrivateKey=BK;BM=function(d,e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=HJ.nil;h=$ifaceNil;f[0]=new BJ.ptr(0,GS.nil,M.ObjectIdentifier.nil,new M.BitString.ptr(GS.nil,0));j=M.Unmarshal(e,f[0]);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:l=HJ.nil;n=k.Error();$s=4;case 4:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=C.New(\"x509: failed to parse EC private key: \"+n);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;g=l;h=m;$s=-1;return[g,h];case 3:if(!((f[0].Version===1))){$s=6;continue;}$s=7;continue;case 6:p=HJ.nil;r=P.Errorf(\"x509: unknown EC private key version %d\",new HF([new $Int(f[0].Version)]));$s=8;case 8:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;g=p;h=q;$s=-1;return[g,h];case 7:s=$ifaceNil;if(!(d===HE.nil)){$s=9;continue;}$s=10;continue;case 9:t=DS(d.$get());$s=12;case 12:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;$s=11;continue;case 10:u=DS(f[0].NamedCurveOID);$s=13;case 13:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;case 11:if($interfaceIsEqual(s,$ifaceNil)){v=HJ.nil;w=C.New(\"x509: unknown elliptic curve\");g=v;h=w;$s=-1;return[g,h];}x=new N.Int.ptr(false,N.nat.nil).SetBytes(f[0].PrivateKey);y=s.Params();$s=14;case 14:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y.N;if(x.Cmp(z)>=0){aa=HJ.nil;ab=C.New(\"x509: invalid elliptic curve private key value\");g=aa;h=ab;$s=-1;return[g,h];}ac=new X.PrivateKey.ptr(new X.PublicKey.ptr($ifaceNil,GZ.nil,GZ.nil),GZ.nil);ac.PublicKey.Curve=s;ac.D=x;ae=$makeSlice(GS,(ad=((z.BitLen()+7>>0))/8,(ad===ad&&ad!==1/0&&ad!==-1/0)?ad>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(f[0].PrivateKey.$length>ae.$length)){break;}if(!(((af=f[0].PrivateKey,(0>=af.$length?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+0]))===0))){ag=HJ.nil;ah=C.New(\"x509: invalid private key length\");g=ag;h=ah;$s=-1;return[g,h];}f[0].PrivateKey=$subslice(f[0].PrivateKey,1);}$copySlice($subslice(ae,(ae.$length-f[0].PrivateKey.$length>>0)),f[0].PrivateKey);aj=s.ScalarBaseMult(ae);$s=15;case 15:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;ac.PublicKey.X=ai[0];ac.PublicKey.Y=ai[1];ak=ac;al=$ifaceNil;g=ak;h=al;$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BO.ptr.prototype.Error=function(){var $ptr,d,e;d=this;e=d.Reason;if(e===(0)){return\"x509: certificate is not authorized to sign other certificates\";}else if(e===(1)){return\"x509: certificate has expired or is not yet valid\";}else if(e===(2)){return\"x509: a root or intermediate certificate is not authorized to sign in this domain\";}else if(e===(3)){return\"x509: too many intermediates for path length constraint\";}else if(e===(4)){return\"x509: certificate specifies an incompatible key usage\";}else if(e===(5)){return\"x509: issuer name does not match subject from issuing certificate\";}return\"x509: unknown error\";};BO.prototype.Error=function(){return this.$val.Error();};BP.ptr.prototype.Error=function(){var $ptr,d,e,f,g,h,i,j;d=this;e=d.Certificate;f=\"\";g=Z.ParseIP(d.Host);if(!(g===Z.IP.nil)){if(e.IPAddresses.$length===0){return\"x509: cannot validate certificate for \"+d.Host+\" because it doesn't contain any IP SANs\";}h=e.IPAddresses;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if(f.length>0){f=f+(\", \");}f=f+(j.String());i++;}}else{if(e.DNSNames.$length>0){f=K.Join(e.DNSNames,\", \");}else{f=e.Subject.CommonName;}}if(f.length===0){return\"x509: certificate is not valid for any names, but wanted to match \"+d.Host;}return\"x509: certificate is valid for \"+f+\", not \"+d.Host;};BP.prototype.Error=function(){return this.$val.Error();};BQ.ptr.prototype.Error=function(){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=\"x509: certificate signed by unknown authority\";if(!($interfaceIsEqual(d.hintErr,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=d.hintCert.Subject.CommonName;if(f.length===0){$s=3;continue;}$s=4;continue;case 3:if(d.hintCert.Subject.Organization.$length>0){$s=5;continue;}$s=6;continue;case 5:f=(g=d.hintCert.Subject.Organization,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));$s=7;continue;case 6:h=d.hintCert.SerialNumber.String();$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=\"serial:\"+h;case 7:case 4:i=P.Sprintf(\" (possibly because of %q while trying to verify candidate authority certificate %q)\",new HF([d.hintErr,new $String(f)]));$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=e+(i);case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:BQ.ptr.prototype.Error};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};BQ.prototype.Error=function(){return this.$val.Error();};BR.ptr.prototype.Error=function(){var $ptr,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=\"x509: failed to load system roots and no roots provided\";if(!($interfaceIsEqual(d.Err,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=d.Err.Error();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return e+\"; \"+f;case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:BR.ptr.prototype.Error};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BR.prototype.Error=function(){return this.$val.Error();};BU=function(d,e){var $ptr,d,e,f,g,h;if(e.length===0){return true;}if(d.length<e.length){return false;}f=d.length-e.length>>0;if(!K.EqualFold($substring(d,f),e)){return false;}if(f===0){return true;}g=d.charCodeAt((f-1>>0))===46;h=e.charCodeAt(0)===46;return!(g===h);};EL.ptr.prototype.isValid=function(d,e,f){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;g=this;if(e.$length>0){i=(h=e.$length-1>>0,((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h]));if(!S.Equal(i.RawIssuer,g.RawSubject)){return(j=new BO.ptr(g,5),new j.constructor.elem(j));}}k=$clone(f.CurrentTime,AA.Time);if($clone(k,AA.Time).IsZero()){AA.Time.copy(k,AA.Now());}if($clone(k,AA.Time).Before($clone(g.NotBefore,AA.Time))||$clone(k,AA.Time).After($clone(g.NotAfter,AA.Time))){return(l=new BO.ptr(g,1),new l.constructor.elem(l));}if(g.PermittedDNSDomains.$length>0){m=false;n=g.PermittedDNSDomains;o=0;while(true){if(!(o<n.$length)){break;}p=((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]);m=BU(f.DNSName,p);if(m){break;}o++;}if(!m){return(q=new BO.ptr(g,2),new q.constructor.elem(q));}}if((d===1)&&(!g.BasicConstraintsValid||!g.IsCA)){return(r=new BO.ptr(g,0),new r.constructor.elem(r));}if(g.BasicConstraintsValid&&g.MaxPathLen>=0){s=e.$length-1>>0;if(s>g.MaxPathLen){return(t=new BO.ptr(g,3),new t.constructor.elem(t));}}return $ifaceNil;};EL.prototype.isValid=function(d,e,f){return this.$val.isValid(d,e,f);};EL.ptr.prototype.Verify=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=[d];e=HG.nil;f=$ifaceNil;g=this;if(g.Raw.$length===0){h=HG.nil;i=BS;e=h;f=i;$s=-1;return[e,f];}if(!(d[0].Intermediates===GM.nil)){j=d[0].Intermediates.certs;k=0;while(true){if(!(k<j.$length)){break;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l.Raw.$length===0){m=HG.nil;n=BS;e=m;f=n;$s=-1;return[e,f];}k++;}}if(d[0].Roots===GM.nil&&false){o=g.systemVerify(d[0]);e=o[0];f=o[1];$s=-1;return[e,f];}if(g.UnhandledCriticalExtensions.$length>0){p=HG.nil;q=(r=new EQ.ptr(),new r.constructor.elem(r));e=p;f=q;$s=-1;return[e,f];}if(d[0].Roots===GM.nil){$s=1;continue;}$s=2;continue;case 1:s=BE();$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}d[0].Roots=s;if(d[0].Roots===GM.nil){t=HG.nil;u=(v=new BR.ptr(BD),new v.constructor.elem(v));e=t;f=u;$s=-1;return[e,f];}case 2:f=g.isValid(0,GV.nil,d[0]);if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[e,f];}if(d[0].DNSName.length>0){f=g.VerifyHostname(d[0].DNSName);if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[e,f];}}w=HG.nil;if(d[0].Roots.contains(g)){$s=4;continue;}$s=5;continue;case 4:w=$append(w,new GV([g]));$s=6;continue;case 5:y=g.buildChains({},new GV([g]),d[0]);$s=7;case 7:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;w=x[0];f=x[1];if(!($interfaceIsEqual(f,$ifaceNil))){z=HG.nil;aa=f;e=z;f=aa;$s=-1;return[e,f];}case 6:ab=d[0].KeyUsages;if(ab.$length===0){ab=new HK([1]);}ac=ab;ad=0;while(true){if(!(ad<ac.$length)){break;}ae=((ad<0||ad>=ac.$length)?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+ad]);if(ae===0){e=w;$s=-1;return[e,f];}ad++;}af=w;ag=0;while(true){if(!(ag<af.$length)){break;}ah=((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]);if(BY(ah,ab)){e=$append(e,ah);}ag++;}if(e.$length===0){f=(ai=new BO.ptr(g,4),new ai.constructor.elem(ai));}$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.Verify};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.Verify=function(d){return this.$val.Verify(d);};BV=function(d,e){var $ptr,d,e,f,g;f=$makeSlice(GV,(d.$length+1>>0));$copySlice(f,d);(g=d.$length,((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]=e));return f;};EL.ptr.prototype.buildChains=function(d,e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=HG.nil;h=$ifaceNil;i=this;k=f.Roots.findVerifiedParents(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];n=j[2];o=l;p=0;case 2:if(!(p<o.$length)){$s=3;continue;}q=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);s=(r=f.Roots.certs,((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]));t=e;u=0;while(true){if(!(u<t.$length)){break;}v=((u<0||u>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+u]);if(v.Equal(s)){p++;$s=2;continue s;}u++;}h=s.isValid(2,e,f);if(!($interfaceIsEqual(h,$ifaceNil))){p++;$s=2;continue;}g=$append(g,BV(e,s));p++;$s=2;continue;case 3:x=f.Intermediates.findVerifiedParents(i);$s=4;case 4:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[0];z=w[1];aa=w[2];ab=y;ac=0;case 5:if(!(ac<ab.$length)){$s=6;continue;}ad=((ac<0||ac>=ab.$length)?($throwRuntimeError(\"index out of range\"),undefined):ab.$array[ab.$offset+ac]);af=(ae=f.Intermediates.certs,((ad<0||ad>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+ad]));ag=e;ah=0;case 7:if(!(ah<ag.$length)){$s=8;continue;}ai=((ah<0||ah>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+ah]);if(ai.Equal(af)){ac++;$s=5;continue s;}ah++;$s=7;continue;case 8:h=af.isValid(1,e,f);if(!($interfaceIsEqual(h,$ifaceNil))){$s=9;continue;}$s=10;continue;case 9:ac++;$s=5;continue;case 10:aj=HG.nil;ak=(al=d[$Int.keyFor(ad)],al!==undefined?[al.v,true]:[HG.nil,false]);aj=ak[0];am=ak[1];if(!am){$s=11;continue;}$s=12;continue;case 11:ao=af.buildChains(d,BV(e,af),f);$s=13;case 13:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;aj=an[0];h=an[1];ap=ad;(d||$throwRuntimeError(\"assignment to entry in nil map\"))[$Int.keyFor(ap)]={k:ap,v:aj};case 12:g=$appendSlice(g,aj);ac++;$s=5;continue;case 6:if(g.$length>0){h=$ifaceNil;}if((g.$length===0)&&$interfaceIsEqual(h,$ifaceNil)){aq=n;ar=m;if($interfaceIsEqual(aq,$ifaceNil)){aq=aa;ar=z;}h=(as=new BQ.ptr(i,aq,ar),new as.constructor.elem(as));}$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.buildChains};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.buildChains=function(d,e,f){return this.$val.buildChains(d,e,f);};BW=function(d,e){var $ptr,d,e,f,g,h,i,j,k;e=K.TrimSuffix(e,\".\");d=K.TrimSuffix(d,\".\");if((d.length===0)||(e.length===0)){return false;}f=K.Split(d,\".\");g=K.Split(e,\".\");if(!((f.$length===g.$length))){return false;}h=f;i=0;while(true){if(!(i<h.$length)){break;}j=i;k=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if((j===0)&&k===\"*\"){i++;continue;}if(!(k===((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]))){return false;}i++;}return true;};BX=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n;e=true;f=d;g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=h[0];if(i===65533){e=false;break;}if(65<=i&&i<=90){e=false;break;}g+=h[1];}if(e){return d;}j=(new GS($stringToBytes(d)));k=j;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(65<=n&&n<=90){((m<0||m>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+m]=(((m<0||m>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+m])+(32)<<24>>>24));}l++;}return($bytesToString(j));};EL.ptr.prototype.VerifyHostname=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p;e=this;f=d;if(d.length>=3&&(d.charCodeAt(0)===91)&&(d.charCodeAt((d.length-1>>0))===93)){f=$substring(d,1,(d.length-1>>0));}g=Z.ParseIP(f);if(!(g===Z.IP.nil)){h=e.IPAddresses;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if(g.Equal(j)){return $ifaceNil;}i++;}return(k=new BP.ptr(e,f),new k.constructor.elem(k));}l=BX(d);if(e.DNSNames.$length>0){m=e.DNSNames;n=0;while(true){if(!(n<m.$length)){break;}o=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);if(BW(BX(o),l)){return $ifaceNil;}n++;}}else if(BW(BX(e.Subject.CommonName),l)){return $ifaceNil;}return(p=new BP.ptr(e,d),new p.constructor.elem(p));};EL.prototype.VerifyHostname=function(d){return this.$val.VerifyHostname(d);};BY=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;f=$makeSlice(HK,e.$length);$copySlice(f,e);if(d.$length===0){return false;}g=f.$length;h=d.$length-1>>0;NextCert:while(true){if(!(h>=0)){break;}i=((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]);if((i.ExtKeyUsage.$length===0)&&(i.UnknownExtKeyUsage.$length===0)){h=h-(1)>>0;continue;}j=i.ExtKeyUsage;k=0;while(true){if(!(k<j.$length)){break;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l===0){h=h-(1)>>0;continue NextCert;}k++;}m=f;n=0;NextRequestedUsage:while(true){if(!(n<m.$length)){break;}o=n;p=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);if(p===-1){n++;continue;}q=i.ExtKeyUsage;r=0;while(true){if(!(r<q.$length)){break;}s=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);if(p===s){n++;continue NextRequestedUsage;}else if((p===1)&&((s===11)||(s===10))){n++;continue NextRequestedUsage;}r++;}((o<0||o>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+o]=-1);g=g-(1)>>0;if(g===0){return false;}n++;}h=h-(1)>>0;}return true;};CL.prototype.isRSAPSS=function(){var $ptr,d,e;d=this.$val;e=d;if((e===(13))||(e===(14))||(e===(15))){return true;}else{return false;}};$ptrType(CL).prototype.isRSAPSS=function(){return new CL(this.$get()).isRSAPSS();};CL.prototype.String=function(){var $ptr,d;d=this.$val;if(0<d&&((d>>0))<16){return((d<0||d>=CM.length)?($throwRuntimeError(\"index out of range\"),undefined):CM[d]);}return AG.Itoa(((d>>0)));};$ptrType(CL).prototype.String=function(){return new CL(this.$get()).String();};DI=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=M.ObjectIdentifier.nil;f=d;if(f===(5)){e=DB;}else if(f===(6)){e=DC;}else if(f===(7)){e=DD;}g=new DH.ptr(new O.AlgorithmIdentifier.ptr(e,new M.RawValue.ptr(0,5,false,GS.nil,GS.nil)),new O.AlgorithmIdentifier.ptr(DE,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new AC.Hash(d).Size(),1);h=new O.AlgorithmIdentifier.ptr(e,new M.RawValue.ptr(0,5,false,GS.nil,GS.nil));i=$ifaceNil;k=M.Marshal(new h.constructor.elem(h));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;g.MGF.Parameters.FullBytes=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){$panic(i);}m=M.Marshal(new g.constructor.elem(g));$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];i=l[1];if(!($interfaceIsEqual(i,$ifaceNil))){$panic(i);}$s=-1;return new M.RawValue.ptr(0,0,false,GS.nil,n);}return;}if($f===undefined){$f={$blk:DI};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};DJ=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];if(!d.Algorithm.Equal(CU)){g=DG;h=0;while(true){if(!(h<g.$length)){break;}i=$clone(((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]),GO);if(d.Algorithm.Equal(i.oid)){$s=-1;return i.algo;}h++;}$s=-1;return 0;}f[0]=new DH.ptr(new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),0,0);k=M.Unmarshal(d.Parameters.FullBytes,f[0]);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return 0;}e[0]=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));n=M.Unmarshal(f[0].MGF.Parameters.FullBytes,e[0]);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=-1;return 0;}p=new GS([5,0]);if(!S.Equal(f[0].Hash.Parameters.FullBytes,p)||!f[0].MGF.Algorithm.Equal(DE)||!e[0].Algorithm.Equal(f[0].Hash.Algorithm)||!S.Equal(e[0].Parameters.FullBytes,p)||!((f[0].TrailerField===1))){$s=-1;return 0;}if(f[0].Hash.Algorithm.Equal(DB)&&(f[0].SaltLength===32)){$s=-1;return 13;}else if(f[0].Hash.Algorithm.Equal(DC)&&(f[0].SaltLength===48)){$s=-1;return 14;}else if(f[0].Hash.Algorithm.Equal(DD)&&(f[0].SaltLength===64)){$s=-1;return 15;}$s=-1;return 0;}return;}if($f===undefined){$f={$blk:DJ};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};DN=function(d){var $ptr,d;if(d.Equal(DK)){return 1;}else if(d.Equal(DL)){return 2;}else if(d.Equal(DM)){return 3;}return 0;};DS=function(d){var $ptr,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(d.Equal(DO)){$s=2;continue;}if(d.Equal(DP)){$s=3;continue;}if(d.Equal(DQ)){$s=4;continue;}if(d.Equal(DR)){$s=5;continue;}$s=6;continue;case 2:e=Y.P224();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;case 3:f=Y.P256();$s=8;case 8:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 4:g=Y.P384();$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 5:h=Y.P521();$s=10;case 10:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;case 6:case 1:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DS};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EJ=function(d){var $ptr,d,e,f,g,h,i,j,k;e=0;f=false;g=EI;h=0;while(true){if(!(h<g.$length)){break;}i=$clone(((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]),GQ);if(d.Equal(i.oid)){j=i.extKeyUsage;k=true;e=j;f=k;return[e,f];}h++;}return[e,f];};EM.prototype.Error=function(){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this.$val;e=P.Sprintf(\"x509: cannot verify signature: insecure algorithm %v\",new HF([new CL(((d>>0)))]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:EM.prototype.Error};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(EM).prototype.Error=function(){return new EM(this.$get()).Error();};EN.ptr.prototype.Error=function(){var $ptr;return\"x509: invalid signature: parent certificate cannot sign this kind of certificate\";};EN.prototype.Error=function(){return this.$val.Error();};EL.ptr.prototype.Equal=function(d){var $ptr,d,e;e=this;return S.Equal(e.Raw,d.Raw);};EL.prototype.Equal=function(d){return this.$val.Equal(d);};EL.ptr.prototype.CheckSignatureFrom=function(d){var $ptr,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(((d.Version===3)&&!d.BasicConstraintsValid||d.BasicConstraintsValid&&!d.IsCA)&&!S.Equal(e.RawSubjectPublicKeyInfo,EO)){$s=-1;return(f=new EN.ptr(),new f.constructor.elem(f));}if(!((d.KeyUsage===0))&&((d.KeyUsage&32)===0)){$s=-1;return(g=new EN.ptr(),new g.constructor.elem(g));}if(d.PublicKeyAlgorithm===0){$s=-1;return $pkg.ErrUnsupportedAlgorithm;}h=d.CheckSignature(e.SignatureAlgorithm,e.RawTBSCertificate,e.Signature);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.CheckSignatureFrom};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.CheckSignatureFrom=function(d){return this.$val.CheckSignatureFrom(d);};EL.ptr.prototype.CheckSignature=function(d,e,f){var $ptr,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=EP(d,e,f,g.PublicKey);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.CheckSignature};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.CheckSignature=function(d,e,f){return this.$val.CheckSignature(d,e,f);};EP=function(d,e,f,g){var $ptr,aa,ab,ac,ad,ae,af,ag,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=$ifaceNil;i=0;j=d;if((j===(3))||(j===(7))||(j===(9))){i=3;}else if((j===(4))||(j===(13))||(j===(8))||(j===(10))){i=5;}else if((j===(5))||(j===(14))||(j===(11))){i=6;}else if((j===(6))||(j===(15))||(j===(12))){i=7;}else if((j===(1))||(j===(2))){h=new EM(((d>>0)));$s=-1;return h;}else{h=$pkg.ErrUnsupportedAlgorithm;$s=-1;return h;}if(!new AC.Hash(i).Available()){h=$pkg.ErrUnsupportedAlgorithm;$s=-1;return h;}k=new AC.Hash(i).New();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=l.Write(e);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=l.Sum(GS.nil);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=g;if($assertType(p,HL,true)[1]){$s=4;continue;}if($assertType(p,HN,true)[1]){$s=5;continue;}if($assertType(p,HM,true)[1]){$s=6;continue;}$s=7;continue;case 4:q=p.$val;if(new CL(d).isRSAPSS()){$s=8;continue;}$s=9;continue;case 8:t=L.VerifyPSS(q,i,o,f,new L.PSSOptions.ptr(-1,0));$s=11;case 11:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}h=t;$s=-1;return h;case 9:u=L.VerifyPKCS1v15(q,i,o,f);$s=12;case 12:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}h=u;$s=-1;return h;case 10:$s=7;continue;case 5:r=p.$val;v=new CG.ptr(GZ.nil,GZ.nil);x=M.Unmarshal(f,v);$s=13;case 13:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[0];z=w[1];if(!($interfaceIsEqual(z,$ifaceNil))){h=z;$s=-1;return h;}else if(!((y.$length===0))){h=C.New(\"x509: trailing data after DSA signature\");$s=-1;return h;}if(v.R.Sign()<=0||v.S.Sign()<=0){h=C.New(\"x509: DSA signature contained zero or negative values\");$s=-1;return h;}aa=AD.Verify(r,o,v.R,v.S);$s=16;case 16:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}if(!aa){$s=14;continue;}$s=15;continue;case 14:h=C.New(\"x509: DSA verification failure\");$s=-1;return h;case 15:$s=-1;return h;case 6:s=p.$val;ab=new CH.ptr(GZ.nil,GZ.nil);ad=M.Unmarshal(f,ab);$s=17;case 17:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];af=ac[1];if(!($interfaceIsEqual(af,$ifaceNil))){h=af;$s=-1;return h;}else if(!((ae.$length===0))){h=C.New(\"x509: trailing data after ECDSA signature\");$s=-1;return h;}if(ab.R.Sign()<=0||ab.S.Sign()<=0){h=C.New(\"x509: ECDSA signature contained zero or negative values\");$s=-1;return h;}ag=X.Verify(s,o,ab.R,ab.S);$s=20;case 20:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}if(!ag){$s=18;continue;}$s=19;continue;case 18:h=C.New(\"x509: ECDSA verification failure\");$s=-1;return h;case 19:$s=-1;return h;case 7:h=$pkg.ErrUnsupportedAlgorithm;$s=-1;return h;}return;}if($f===undefined){$f={$blk:EP};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.ptr.prototype.CheckCRLSignature=function(d){var $ptr,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=DJ($clone(d.SignatureAlgorithm,O.AlgorithmIdentifier));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;i=e.CheckSignature(g,(h=d.TBSCertList.Raw,$subslice(new GS(h.$array),h.$offset,h.$offset+h.$length)),$clone(d.SignatureValue,M.BitString).RightAlign());$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.CheckCRLSignature};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.CheckCRLSignature=function(d){return this.$val.CheckCRLSignature(d);};EQ.ptr.prototype.Error=function(){var $ptr,d;d=this;return\"x509: unhandled critical extension\";};EQ.prototype.Error=function(){return this.$val.Error();};EZ=function(d,e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=$clone(e.PublicKey,M.BitString).RightAlign();h=d;if(h===(1)){$s=2;continue;}if(h===(2)){$s=3;continue;}if(h===(3)){$s=4;continue;}$s=5;continue;case 2:if(!S.Equal(e.Algorithm.Parameters.FullBytes,EY)){$s=-1;return[$ifaceNil,C.New(\"x509: RSA key missing NULL parameters\")];}i=new AY.ptr(GZ.nil,0);k=M.Unmarshal(g,i);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[$ifaceNil,m];}if(!((l.$length===0))){$s=-1;return[$ifaceNil,C.New(\"x509: trailing data after RSA public key\")];}if(i.N.Sign()<=0){$s=-1;return[$ifaceNil,C.New(\"x509: RSA modulus is not a positive number\")];}if(i.E<=0){$s=-1;return[$ifaceNil,C.New(\"x509: RSA public exponent is not a positive number\")];}n=new L.PublicKey.ptr(i.N,i.E);$s=-1;return[n,$ifaceNil];case 3:f[0]=GZ.nil;p=M.Unmarshal(g,(f.$ptr||(f.$ptr=new HO(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))));$s=8;case 8:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];r=o[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return[$ifaceNil,r];}if(!((q.$length===0))){$s=-1;return[$ifaceNil,C.New(\"x509: trailing data after DSA public key\")];}s=e.Algorithm.Parameters.FullBytes;t=new CF.ptr(GZ.nil,GZ.nil,GZ.nil);v=M.Unmarshal(s,t);$s=9;case 9:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;q=u[0];r=u[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return[$ifaceNil,r];}if(!((q.$length===0))){$s=-1;return[$ifaceNil,C.New(\"x509: trailing data after DSA parameters\")];}if(f[0].Sign()<=0||t.P.Sign()<=0||t.Q.Sign()<=0||t.G.Sign()<=0){$s=-1;return[$ifaceNil,C.New(\"x509: zero or negative DSA parameter\")];}w=new AD.PublicKey.ptr(new AD.Parameters.ptr(t.P,t.Q,t.G),f[0]);$s=-1;return[w,$ifaceNil];case 4:x=e.Algorithm.Parameters.FullBytes;y=$newDataPointer(M.ObjectIdentifier.nil,HE);aa=M.Unmarshal(x,y);$s=10;case 10:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[0];ac=z[1];if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return[$ifaceNil,ac];}if(!((ab.$length===0))){$s=-1;return[$ifaceNil,C.New(\"x509: trailing data after ECDSA parameters\")];}ad=DS(y.$get());$s=11;case 11:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;if($interfaceIsEqual(ae,$ifaceNil)){$s=-1;return[$ifaceNil,C.New(\"x509: unsupported elliptic curve\")];}ag=Y.Unmarshal(ae,g);$s=12;case 12:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;ah=af[0];ai=af[1];if(ah===GZ.nil){$s=-1;return[$ifaceNil,C.New(\"x509: failed to unmarshal elliptic curve point\")];}aj=new X.PublicKey.ptr(ae,ah,ai);$s=-1;return[aj,$ifaceNil];case 5:$s=-1;return[$ifaceNil,$ifaceNil];case 6:case 1:$s=-1;return[$ifaceNil,$ifaceNil];}return;}if($f===undefined){$f={$blk:EZ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};FA=function(d){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=HH.nil;g=HH.nil;h=HP.nil;i=$ifaceNil;e[0]=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);j=GS.nil;l=M.Unmarshal(d,e[0]);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;j=k[0];i=k[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[f,g,h,i];}else if(!((j.$length===0))){i=C.New(\"x509: trailing data after X.509 extension\");$s=-1;return[f,g,h,i];}if(!e[0].IsCompound||!((e[0].Tag===16))||!((e[0].Class===0))){i=(m=new M.StructuralError.ptr(\"bad SAN sequence\"),new m.constructor.elem(m));$s=-1;return[f,g,h,i];}j=e[0].Bytes;case 2:if(!(j.$length>0)){$s=3;continue;}n=[n];n[0]=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);p=M.Unmarshal(j,n[0]);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;j=o[0];i=o[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[f,g,h,i];}q=n[0].Tag;if(q===(1)){g=$append(g,($bytesToString(n[0].Bytes)));}else if(q===(2)){f=$append(f,($bytesToString(n[0].Bytes)));}else if(q===(7)){r=n[0].Bytes.$length;if((r===(4))||(r===(16))){h=$append(h,(s=n[0].Bytes,$subslice(new Z.IP(s.$array),s.$offset,s.$offset+s.$length)));}else{i=C.New(\"x509: certificate contained IP address of length \"+AG.Itoa(n[0].Bytes.$length));$s=-1;return[f,g,h,i];}}$s=2;continue;case 3:$s=-1;return[f,g,h,i];}return;}if($f===undefined){$f={$blk:FA};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};FB=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;d=$f.d;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=new EL.ptr(GS.nil,GS.nil,GS.nil,GS.nil,GS.nil,GS.nil,0,0,$ifaceNil,0,GZ.nil,new O.Name.ptr(HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,\"\",\"\",HQ.nil,HQ.nil),new O.Name.ptr(HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,HH.nil,\"\",\"\",HQ.nil,HQ.nil),new AA.Time.ptr(new $Int64(0,0),0,HR.nil),new AA.Time.ptr(new $Int64(0,0),0,HR.nil),0,HS.nil,HS.nil,HT.nil,HK.nil,HT.nil,false,false,0,false,GS.nil,GS.nil,HH.nil,HH.nil,HH.nil,HH.nil,HP.nil,false,HH.nil,HH.nil,HT.nil);g.Raw=(h=d.Raw,$subslice(new GS(h.$array),h.$offset,h.$offset+h.$length));g.RawTBSCertificate=(i=d.TBSCertificate.Raw,$subslice(new GS(i.$array),i.$offset,i.$offset+i.$length));g.RawSubjectPublicKeyInfo=(j=d.TBSCertificate.PublicKey.Raw,$subslice(new GS(j.$array),j.$offset,j.$offset+j.$length));g.RawSubject=d.TBSCertificate.Subject.FullBytes;g.RawIssuer=d.TBSCertificate.Issuer.FullBytes;g.Signature=$clone(d.SignatureValue,M.BitString).RightAlign();k=DJ($clone(d.TBSCertificate.SignatureAlgorithm,O.AlgorithmIdentifier));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}g.SignatureAlgorithm=k;g.PublicKeyAlgorithm=DN(d.TBSCertificate.PublicKey.Algorithm.Algorithm);l=$ifaceNil;n=EZ(g.PublicKeyAlgorithm,d.TBSCertificate.PublicKey);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;g.PublicKey=m[0];l=m[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[GU.nil,l];}g.Version=d.TBSCertificate.Version+1>>0;g.SerialNumber=d.TBSCertificate.SerialNumber;o=O.RDNSequence.nil;p=O.RDNSequence.nil;e[0]=o;f[0]=p;r=M.Unmarshal(d.TBSCertificate.Subject.FullBytes,(f.$ptr||(f.$ptr=new HU(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))));$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[GU.nil,t];}else if(!((s.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 subject\")];}v=M.Unmarshal(d.TBSCertificate.Issuer.FullBytes,(e.$ptr||(e.$ptr=new HU(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))));$s=4;case 4:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=u[0];x=u[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return[GU.nil,x];}else if(!((w.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 subject\")];}g.Issuer.FillFromRDNSequence((e.$ptr||(e.$ptr=new HU(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))));g.Subject.FillFromRDNSequence((f.$ptr||(f.$ptr=new HU(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))));AA.Time.copy(g.NotBefore,d.TBSCertificate.Validity.NotBefore);AA.Time.copy(g.NotAfter,d.TBSCertificate.Validity.NotAfter);y=d.TBSCertificate.Extensions;z=0;case 5:if(!(z<y.$length)){$s=6;continue;}aa=[aa];ab=[ab];ac=[ac];ad=[ad];ae=[ae];af=[af];ag=[ag];ah=[ah];ai=[ai];aj=$clone(((z<0||z>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+z]),O.Extension);g.Extensions=$append(g.Extensions,aj);ak=false;if((aj.Id.$length===4)&&((al=aj.Id,(0>=al.$length?($throwRuntimeError(\"index out of range\"),undefined):al.$array[al.$offset+0]))===2)&&((am=aj.Id,(1>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+1]))===5)&&((an=aj.Id,(2>=an.$length?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+2]))===29)){$s=7;continue;}if(aj.Id.Equal($subslice(new M.ObjectIdentifier(FP.$array),FP.$offset,FP.$offset+FP.$length))){$s=8;continue;}$s=9;continue;case 7:ap=(ao=aj.Id,(3>=ao.$length?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+3]));if(ap===(15)){$s=12;continue;}if(ap===(19)){$s=13;continue;}if(ap===(17)){$s=14;continue;}if(ap===(30)){$s=15;continue;}if(ap===(31)){$s=16;continue;}if(ap===(35)){$s=17;continue;}if(ap===(37)){$s=18;continue;}if(ap===(14)){$s=19;continue;}if(ap===(32)){$s=20;continue;}$s=21;continue;case 12:ai[0]=new M.BitString.ptr(GS.nil,0);ar=M.Unmarshal(aj.Value,ai[0]);$s=23;case 23:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;as=aq[0];at=aq[1];if(!($interfaceIsEqual(at,$ifaceNil))){$s=-1;return[GU.nil,at];}else if(!((as.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 KeyUsage\")];}au=0;av=0;while(true){if(!(av<9)){break;}if(!(($clone(ai[0],M.BitString).At(av)===0))){au=au|(((aw=((av>>>0)),aw<32?(1<<aw):0)>>0));}av=av+(1)>>0;}g.KeyUsage=((au>>0));$s=22;continue;case 13:ad[0]=new ER.ptr(false,0);ay=M.Unmarshal(aj.Value,ad[0]);$s=24;case 24:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay;az=ax[0];ba=ax[1];if(!($interfaceIsEqual(ba,$ifaceNil))){$s=-1;return[GU.nil,ba];}else if(!((az.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 BasicConstraints\")];}g.BasicConstraintsValid=true;g.IsCA=ad[0].IsCA;g.MaxPathLen=ad[0].MaxPathLen;g.MaxPathLenZero=g.MaxPathLen===0;$s=22;continue;case 14:bc=FA(aj.Value);$s=25;case 25:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bb=bc;g.DNSNames=bb[0];g.EmailAddresses=bb[1];g.IPAddresses=bb[2];l=bb[3];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[GU.nil,l];}if((g.DNSNames.$length===0)&&(g.EmailAddresses.$length===0)&&(g.IPAddresses.$length===0)){ak=true;}$s=22;continue;case 15:ae[0]=new ET.ptr(HV.nil,HV.nil);be=M.Unmarshal(aj.Value,ae[0]);$s=26;case 26:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bd=be;bf=bd[0];bg=bd[1];if(!($interfaceIsEqual(bg,$ifaceNil))){$s=-1;return[GU.nil,bg];}else if(!((bf.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 NameConstraints\")];}if(ae[0].Excluded.$length>0&&aj.Critical){$s=-1;return[g,(bh=new EQ.ptr(),new bh.constructor.elem(bh))];}bi=ae[0].Permitted;bj=0;while(true){if(!(bj<bi.$length)){break;}bk=$clone(((bj<0||bj>=bi.$length)?($throwRuntimeError(\"index out of range\"),undefined):bi.$array[bi.$offset+bj]),EU);if(bk.Name.length===0){if(aj.Critical){$s=-1;return[g,(bl=new EQ.ptr(),new bl.constructor.elem(bl))];}bj++;continue;}g.PermittedDNSDomains=$append(g.PermittedDNSDomains,bk.Name);bj++;}$s=22;continue;case 16:ac[0]=HW.nil;bn=M.Unmarshal(aj.Value,(ac.$ptr||(ac.$ptr=new HX(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ac))));$s=27;case 27:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bm=bn;bo=bm[0];bp=bm[1];if(!($interfaceIsEqual(bp,$ifaceNil))){$s=-1;return[GU.nil,bp];}else if(!((bo.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 CRL distribution point\")];}bq=ac[0];br=0;case 28:if(!(br<bq.$length)){$s=29;continue;}bs=[bs];bt=$clone(((br<0||br>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+br]),EW);if(bt.DistributionPoint.FullName.Bytes.$length===0){$s=30;continue;}$s=31;continue;case 30:br++;$s=28;continue;case 31:bs[0]=new M.RawValue.ptr(0,0,false,GS.nil,GS.nil);bv=M.Unmarshal(bt.DistributionPoint.FullName.Bytes,bs[0]);$s=32;case 32:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}bu=bv;bw=bu[1];if(!($interfaceIsEqual(bw,$ifaceNil))){$s=-1;return[GU.nil,bw];}if(bs[0].Tag===6){g.CRLDistributionPoints=$append(g.CRLDistributionPoints,($bytesToString(bs[0].Bytes)));}br++;$s=28;continue;case 29:$s=22;continue;case 17:aa[0]=new CK.ptr(GS.nil);by=M.Unmarshal(aj.Value,aa[0]);$s=33;case 33:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bx=by;bz=bx[0];ca=bx[1];if(!($interfaceIsEqual(ca,$ifaceNil))){$s=-1;return[GU.nil,ca];}else if(!((bz.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 authority key-id\")];}g.AuthorityKeyId=aa[0].Id;$s=22;continue;case 18:af[0]=HT.nil;cc=M.Unmarshal(aj.Value,(af.$ptr||(af.$ptr=new HY(function(){return this.$target[0];},function($v){this.$target[0]=$v;},af))));$s=34;case 34:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cb=cc;cd=cb[0];ce=cb[1];if(!($interfaceIsEqual(ce,$ifaceNil))){$s=-1;return[GU.nil,ce];}else if(!((cd.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 ExtendedKeyUsage\")];}cf=af[0];cg=0;while(true){if(!(cg<cf.$length)){break;}ch=((cg<0||cg>=cf.$length)?($throwRuntimeError(\"index out of range\"),undefined):cf.$array[cf.$offset+cg]);ci=EJ(ch);cj=ci[0];ck=ci[1];if(ck){g.ExtKeyUsage=$append(g.ExtKeyUsage,cj);}else{g.UnknownExtKeyUsage=$append(g.UnknownExtKeyUsage,ch);}cg++;}$s=22;continue;case 19:ag[0]=GS.nil;cm=M.Unmarshal(aj.Value,(ag.$ptr||(ag.$ptr=new HZ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ag))));$s=35;case 35:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}cl=cm;cn=cl[0];co=cl[1];if(!($interfaceIsEqual(co,$ifaceNil))){$s=-1;return[GU.nil,co];}else if(!((cn.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 key-id\")];}g.SubjectKeyId=ag[0];$s=22;continue;case 20:ah[0]=IA.nil;cq=M.Unmarshal(aj.Value,(ah.$ptr||(ah.$ptr=new IB(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ah))));$s=36;case 36:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}cp=cq;cr=cp[0];cs=cp[1];if(!($interfaceIsEqual(cs,$ifaceNil))){$s=-1;return[GU.nil,cs];}else if(!((cr.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 certificate policies\")];}g.PolicyIdentifiers=$makeSlice(HT,ah[0].$length);ct=ah[0];cu=0;while(true){if(!(cu<ct.$length)){break;}cv=cu;cw=$clone(((cu<0||cu>=ct.$length)?($throwRuntimeError(\"index out of range\"),undefined):ct.$array[ct.$offset+cu]),ES);(cx=g.PolicyIdentifiers,((cv<0||cv>=cx.$length)?($throwRuntimeError(\"index out of range\"),undefined):cx.$array[cx.$offset+cv]=cw.Policy));cu++;}$s=22;continue;case 21:ak=true;case 22:case 11:$s=10;continue;case 8:ab[0]=IC.nil;cz=M.Unmarshal(aj.Value,(ab.$ptr||(ab.$ptr=new ID(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ab))));$s=37;case 37:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cy=cz;da=cy[0];db=cy[1];if(!($interfaceIsEqual(db,$ifaceNil))){$s=-1;return[GU.nil,db];}else if(!((da.$length===0))){$s=-1;return[GU.nil,C.New(\"x509: trailing data after X.509 authority information\")];}dc=ab[0];dd=0;while(true){if(!(dd<dc.$length)){break;}de=$clone(((dd<0||dd>=dc.$length)?($throwRuntimeError(\"index out of range\"),undefined):dc.$array[dc.$offset+dd]),EV);if(!((de.Location.Tag===6))){dd++;continue;}if(de.Method.Equal(FQ)){g.OCSPServer=$append(g.OCSPServer,($bytesToString(de.Location.Bytes)));}else if(de.Method.Equal(FR)){g.IssuingCertificateURL=$append(g.IssuingCertificateURL,($bytesToString(de.Location.Bytes)));}dd++;}$s=10;continue;case 9:ak=true;case 10:if(aj.Critical&&ak){g.UnhandledCriticalExtensions=$append(g.UnhandledCriticalExtensions,aj.Id);}z++;$s=5;continue;case 6:$s=-1;return[g,$ifaceNil];}return;}if($f===undefined){$f={$blk:FB};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.d=d;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};FC=function(d){var $ptr,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];e[0]=new CD.ptr(M.RawContent.nil,new CE.ptr(M.RawContent.nil,0,GZ.nil,new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new M.RawValue.ptr(0,0,false,GS.nil,GS.nil),new CI.ptr(new AA.Time.ptr(new $Int64(0,0),0,HR.nil),new AA.Time.ptr(new $Int64(0,0),0,HR.nil)),new M.RawValue.ptr(0,0,false,GS.nil,GS.nil),new CJ.ptr(M.RawContent.nil,new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new M.BitString.ptr(GS.nil,0)),new M.BitString.ptr(GS.nil,0),new M.BitString.ptr(GS.nil,0),HS.nil),new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil)),new M.BitString.ptr(GS.nil,0));g=M.Unmarshal(d,e[0]);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[GU.nil,i];}if(h.$length>0){$s=-1;return[GU.nil,(j=new M.SyntaxError.ptr(\"trailing data\"),new j.constructor.elem(j))];}k=FB(e[0]);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:FC};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ParseCertificate=FC;FW=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=new O.AlgorithmIdentifier.ptr(M.ObjectIdentifier.nil,new M.RawValue.ptr(0,0,false,GS.nil,GS.nil));h=$ifaceNil;i=0;j=d;if($assertType(j,HL,true)[1]){$s=1;continue;}if($assertType(j,HM,true)[1]){$s=2;continue;}$s=3;continue;case 1:k=j.$val;i=1;f=5;g.Algorithm=CR;M.RawValue.copy(g.Parameters,new M.RawValue.ptr(0,5,false,GS.nil,GS.nil));$s=4;continue;case 2:l=j.$val;i=3;n=l.Curve;p=Y.P224();$s=12;case 12:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if($interfaceIsEqual(n,(p))){o=true;$s=11;continue s;}q=Y.P256();$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=$interfaceIsEqual(n,(q));case 11:if(o){$s=6;continue;}r=Y.P384();$s=14;case 14:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if($interfaceIsEqual(n,(r))){$s=7;continue;}s=Y.P521();$s=15;case 15:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if($interfaceIsEqual(n,(s))){$s=8;continue;}$s=9;continue;case 6:f=5;g.Algorithm=CY;$s=10;continue;case 7:f=6;g.Algorithm=CZ;$s=10;continue;case 8:f=7;g.Algorithm=DA;$s=10;continue;case 9:h=C.New(\"x509: unknown elliptic curve\");case 10:case 5:$s=4;continue;case 3:m=j;h=C.New(\"x509: only RSA and ECDSA keys supported\");case 4:if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[f,g,h];}if(e===0){$s=-1;return[f,g,h];}t=false;u=DG;v=0;case 16:if(!(v<u.$length)){$s=17;continue;}w=$clone(((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]),GO);if(w.algo===e){$s=18;continue;}$s=19;continue;case 18:if(!((w.pubKeyAlgo===i))){h=C.New(\"x509: requested SignatureAlgorithm does not match private key type\");$s=-1;return[f,g,h];}x=w.oid;y=w.hash;g.Algorithm=x;f=y;if(f===0){h=C.New(\"x509: cannot sign with hash function requested\");$s=-1;return[f,g,h];}if(new CL(e).isRSAPSS()){$s=20;continue;}$s=21;continue;case 20:z=DI(f);$s=22;case 22:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}M.RawValue.copy(g.Parameters,z);case 21:t=true;$s=17;continue;case 19:v++;$s=16;continue;case 17:if(!t){h=C.New(\"x509: unknown SignatureAlgorithm\");}$s=-1;return[f,g,h];}return;}if($f===undefined){$f={$blk:FW};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.ptr.prototype.CreateCRL=function(d,e,f,g,h){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=GS.nil;j=$ifaceNil;k=this;l=$assertType(e,AC.Signer,true);m=l[0];n=l[1];if(!n){o=GS.nil;p=C.New(\"x509: certificate private key does not implement crypto.Signer\");i=o;j=p;$s=-1;return[i,j];}r=m.Public();$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=FW(r,0);$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=s;t=q[0];u=$clone(q[1],O.AlgorithmIdentifier);j=q[2];if(!($interfaceIsEqual(j,$ifaceNil))){v=GS.nil;w=j;i=v;j=w;$s=-1;return[i,j];}x=$makeSlice(II,f.$length);y=f;z=0;while(true){if(!(z<y.$length)){break;}aa=z;ab=$clone(((z<0||z>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+z]),O.RevokedCertificate);AA.Time.copy(ab.RevocationTime,$clone(ab.RevocationTime,AA.Time).UTC());O.RevokedCertificate.copy(((aa<0||aa>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+aa]),ab);z++;}ac=new O.TBSCertificateList.ptr(M.RawContent.nil,1,$clone(u,O.AlgorithmIdentifier),$clone(k.Subject,O.Name).ToRDNSequence(),$clone($clone(g,AA.Time).UTC(),AA.Time),$clone($clone(h,AA.Time).UTC(),AA.Time),x,HS.nil);if(k.SubjectKeyId.$length>0){$s=3;continue;}$s=4;continue;case 3:ad=new O.Extension.ptr(M.ObjectIdentifier.nil,false,GS.nil);ad.Id=$subslice(new M.ObjectIdentifier(FJ.$array),FJ.$offset,FJ.$offset+FJ.$length);ag=M.Marshal((af=new CK.ptr(k.SubjectKeyId),new af.constructor.elem(af)));$s=5;case 5:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ae=ag;ad.Value=ae[0];j=ae[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[i,j];}ac.Extensions=$append(ac.Extensions,ad);case 4:ai=M.Marshal(new ac.constructor.elem(ac));$s=6;case 6:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;aj=ah[0];j=ah[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[i,j];}ak=new AC.Hash(t).New();$s=7;case 7:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}al=ak;am=al.Write(aj);$s=8;case 8:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;an=al.Sum(GS.nil);$s=9;case 9:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}ao=an;ap=GS.nil;ar=m.Sign(d,ao,new AC.Hash(t));$s=10;case 10:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;ap=aq[0];j=aq[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[i,j];}au=M.Marshal((at=new O.CertificateList.ptr($clone(ac,O.TBSCertificateList),$clone(u,O.AlgorithmIdentifier),new M.BitString.ptr(ap,$imul(ap.$length,8))),new at.constructor.elem(at)));$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;i=as[0];j=as[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:EL.ptr.prototype.CreateCRL};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EL.prototype.CreateCRL=function(d,e,f,g,h){return this.$val.CreateCRL(d,e,f,g,h);};GM.methods=[{prop:\"findVerifiedParents\",name:\"findVerifiedParents\",pkg:\"crypto/x509\",typ:$funcType([GU],[GT,GU,$error],false)},{prop:\"contains\",name:\"contains\",pkg:\"crypto/x509\",typ:$funcType([GU],[$Bool],false)},{prop:\"AddCert\",name:\"AddCert\",pkg:\"\",typ:$funcType([GU],[],false)},{prop:\"AppendCertsFromPEM\",name:\"AppendCertsFromPEM\",pkg:\"\",typ:$funcType([GS],[$Bool],false)},{prop:\"Subjects\",name:\"Subjects\",pkg:\"\",typ:$funcType([],[GX],false)}];BO.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];BQ.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];BR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];CL.methods=[{prop:\"isRSAPSS\",name:\"isRSAPSS\",pkg:\"crypto/x509\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];GU.methods=[{prop:\"systemVerify\",name:\"systemVerify\",pkg:\"crypto/x509\",typ:$funcType([IS],[HG,$error],false)},{prop:\"isValid\",name:\"isValid\",pkg:\"crypto/x509\",typ:$funcType([$Int,GV,IS],[$error],false)},{prop:\"Verify\",name:\"Verify\",pkg:\"\",typ:$funcType([BT],[HG,$error],false)},{prop:\"buildChains\",name:\"buildChains\",pkg:\"crypto/x509\",typ:$funcType([IT,GV,IS],[HG,$error],false)},{prop:\"VerifyHostname\",name:\"VerifyHostname\",pkg:\"\",typ:$funcType([$String],[$error],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([GU],[$Bool],false)},{prop:\"CheckSignatureFrom\",name:\"CheckSignatureFrom\",pkg:\"\",typ:$funcType([GU],[$error],false)},{prop:\"CheckSignature\",name:\"CheckSignature\",pkg:\"\",typ:$funcType([CL,GS,GS],[$error],false)},{prop:\"CheckCRLSignature\",name:\"CheckCRLSignature\",pkg:\"\",typ:$funcType([IJ],[$error],false)},{prop:\"CreateCRL\",name:\"CreateCRL\",pkg:\"\",typ:$funcType([J.Reader,$emptyInterface,II,AA.Time,AA.Time],[GS,$error],false)}];EM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];EN.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];EQ.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AJ.init(\"crypto/x509\",[{prop:\"bySubjectKeyId\",name:\"bySubjectKeyId\",exported:false,typ:IQ,tag:\"\"},{prop:\"byName\",name:\"byName\",exported:false,typ:IQ,tag:\"\"},{prop:\"certs\",name:\"certs\",exported:false,typ:GV,tag:\"\"}]);AU.init(\"\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"N\",name:\"N\",exported:true,typ:GZ,tag:\"\"},{prop:\"E\",name:\"E\",exported:true,typ:$Int,tag:\"\"},{prop:\"D\",name:\"D\",exported:true,typ:GZ,tag:\"\"},{prop:\"P\",name:\"P\",exported:true,typ:GZ,tag:\"\"},{prop:\"Q\",name:\"Q\",exported:true,typ:GZ,tag:\"\"},{prop:\"Dp\",name:\"Dp\",exported:true,typ:GZ,tag:\"asn1:\\\"optional\\\"\"},{prop:\"Dq\",name:\"Dq\",exported:true,typ:GZ,tag:\"asn1:\\\"optional\\\"\"},{prop:\"Qinv\",name:\"Qinv\",exported:true,typ:GZ,tag:\"asn1:\\\"optional\\\"\"},{prop:\"AdditionalPrimes\",name:\"AdditionalPrimes\",exported:true,typ:HA,tag:\"asn1:\\\"optional,omitempty\\\"\"}]);AV.init(\"\",[{prop:\"Prime\",name:\"Prime\",exported:true,typ:GZ,tag:\"\"},{prop:\"Exp\",name:\"Exp\",exported:true,typ:GZ,tag:\"\"},{prop:\"Coeff\",name:\"Coeff\",exported:true,typ:GZ,tag:\"\"}]);AY.init(\"\",[{prop:\"N\",name:\"N\",exported:true,typ:GZ,tag:\"\"},{prop:\"E\",name:\"E\",exported:true,typ:$Int,tag:\"\"}]);AZ.init(\"\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"Algo\",name:\"Algo\",exported:true,typ:O.AlgorithmIdentifier,tag:\"\"},{prop:\"PrivateKey\",name:\"PrivateKey\",exported:true,typ:GS,tag:\"\"}]);BJ.init(\"\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"PrivateKey\",name:\"PrivateKey\",exported:true,typ:GS,tag:\"\"},{prop:\"NamedCurveOID\",name:\"NamedCurveOID\",exported:true,typ:M.ObjectIdentifier,tag:\"asn1:\\\"optional,explicit,tag:0\\\"\"},{prop:\"PublicKey\",name:\"PublicKey\",exported:true,typ:M.BitString,tag:\"asn1:\\\"optional,explicit,tag:1\\\"\"}]);BO.init(\"\",[{prop:\"Cert\",name:\"Cert\",exported:true,typ:GU,tag:\"\"},{prop:\"Reason\",name:\"Reason\",exported:true,typ:BN,tag:\"\"}]);BP.init(\"\",[{prop:\"Certificate\",name:\"Certificate\",exported:true,typ:GU,tag:\"\"},{prop:\"Host\",name:\"Host\",exported:true,typ:$String,tag:\"\"}]);BQ.init(\"crypto/x509\",[{prop:\"Cert\",name:\"Cert\",exported:true,typ:GU,tag:\"\"},{prop:\"hintErr\",name:\"hintErr\",exported:false,typ:$error,tag:\"\"},{prop:\"hintCert\",name:\"hintCert\",exported:false,typ:GU,tag:\"\"}]);BR.init(\"\",[{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BT.init(\"\",[{prop:\"DNSName\",name:\"DNSName\",exported:true,typ:$String,tag:\"\"},{prop:\"Intermediates\",name:\"Intermediates\",exported:true,typ:GM,tag:\"\"},{prop:\"Roots\",name:\"Roots\",exported:true,typ:GM,tag:\"\"},{prop:\"CurrentTime\",name:\"CurrentTime\",exported:true,typ:AA.Time,tag:\"\"},{prop:\"KeyUsages\",name:\"KeyUsages\",exported:true,typ:HK,tag:\"\"}]);CD.init(\"\",[{prop:\"Raw\",name:\"Raw\",exported:true,typ:M.RawContent,tag:\"\"},{prop:\"TBSCertificate\",name:\"TBSCertificate\",exported:true,typ:CE,tag:\"\"},{prop:\"SignatureAlgorithm\",name:\"SignatureAlgorithm\",exported:true,typ:O.AlgorithmIdentifier,tag:\"\"},{prop:\"SignatureValue\",name:\"SignatureValue\",exported:true,typ:M.BitString,tag:\"\"}]);CE.init(\"\",[{prop:\"Raw\",name:\"Raw\",exported:true,typ:M.RawContent,tag:\"\"},{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"asn1:\\\"optional,explicit,default:0,tag:0\\\"\"},{prop:\"SerialNumber\",name:\"SerialNumber\",exported:true,typ:GZ,tag:\"\"},{prop:\"SignatureAlgorithm\",name:\"SignatureAlgorithm\",exported:true,typ:O.AlgorithmIdentifier,tag:\"\"},{prop:\"Issuer\",name:\"Issuer\",exported:true,typ:M.RawValue,tag:\"\"},{prop:\"Validity\",name:\"Validity\",exported:true,typ:CI,tag:\"\"},{prop:\"Subject\",name:\"Subject\",exported:true,typ:M.RawValue,tag:\"\"},{prop:\"PublicKey\",name:\"PublicKey\",exported:true,typ:CJ,tag:\"\"},{prop:\"UniqueId\",name:\"UniqueId\",exported:true,typ:M.BitString,tag:\"asn1:\\\"optional,tag:1\\\"\"},{prop:\"SubjectUniqueId\",name:\"SubjectUniqueId\",exported:true,typ:M.BitString,tag:\"asn1:\\\"optional,tag:2\\\"\"},{prop:\"Extensions\",name:\"Extensions\",exported:true,typ:HS,tag:\"asn1:\\\"optional,explicit,tag:3\\\"\"}]);CF.init(\"\",[{prop:\"P\",name:\"P\",exported:true,typ:GZ,tag:\"\"},{prop:\"Q\",name:\"Q\",exported:true,typ:GZ,tag:\"\"},{prop:\"G\",name:\"G\",exported:true,typ:GZ,tag:\"\"}]);CG.init(\"\",[{prop:\"R\",name:\"R\",exported:true,typ:GZ,tag:\"\"},{prop:\"S\",name:\"S\",exported:true,typ:GZ,tag:\"\"}]);CH.init(\"\",[{prop:\"R\",name:\"R\",exported:true,typ:GZ,tag:\"\"},{prop:\"S\",name:\"S\",exported:true,typ:GZ,tag:\"\"}]);CI.init(\"\",[{prop:\"NotBefore\",name:\"NotBefore\",exported:true,typ:AA.Time,tag:\"\"},{prop:\"NotAfter\",name:\"NotAfter\",exported:true,typ:AA.Time,tag:\"\"}]);CJ.init(\"\",[{prop:\"Raw\",name:\"Raw\",exported:true,typ:M.RawContent,tag:\"\"},{prop:\"Algorithm\",name:\"Algorithm\",exported:true,typ:O.AlgorithmIdentifier,tag:\"\"},{prop:\"PublicKey\",name:\"PublicKey\",exported:true,typ:M.BitString,tag:\"\"}]);CK.init(\"\",[{prop:\"Id\",name:\"Id\",exported:true,typ:GS,tag:\"asn1:\\\"optional,tag:0\\\"\"}]);DH.init(\"\",[{prop:\"Hash\",name:\"Hash\",exported:true,typ:O.AlgorithmIdentifier,tag:\"asn1:\\\"explicit,tag:0\\\"\"},{prop:\"MGF\",name:\"MGF\",exported:true,typ:O.AlgorithmIdentifier,tag:\"asn1:\\\"explicit,tag:1\\\"\"},{prop:\"SaltLength\",name:\"SaltLength\",exported:true,typ:$Int,tag:\"asn1:\\\"explicit,tag:2\\\"\"},{prop:\"TrailerField\",name:\"TrailerField\",exported:true,typ:$Int,tag:\"asn1:\\\"optional,explicit,tag:3,default:1\\\"\"}]);EL.init(\"\",[{prop:\"Raw\",name:\"Raw\",exported:true,typ:GS,tag:\"\"},{prop:\"RawTBSCertificate\",name:\"RawTBSCertificate\",exported:true,typ:GS,tag:\"\"},{prop:\"RawSubjectPublicKeyInfo\",name:\"RawSubjectPublicKeyInfo\",exported:true,typ:GS,tag:\"\"},{prop:\"RawSubject\",name:\"RawSubject\",exported:true,typ:GS,tag:\"\"},{prop:\"RawIssuer\",name:\"RawIssuer\",exported:true,typ:GS,tag:\"\"},{prop:\"Signature\",name:\"Signature\",exported:true,typ:GS,tag:\"\"},{prop:\"SignatureAlgorithm\",name:\"SignatureAlgorithm\",exported:true,typ:CL,tag:\"\"},{prop:\"PublicKeyAlgorithm\",name:\"PublicKeyAlgorithm\",exported:true,typ:CN,tag:\"\"},{prop:\"PublicKey\",name:\"PublicKey\",exported:true,typ:$emptyInterface,tag:\"\"},{prop:\"Version\",name:\"Version\",exported:true,typ:$Int,tag:\"\"},{prop:\"SerialNumber\",name:\"SerialNumber\",exported:true,typ:GZ,tag:\"\"},{prop:\"Issuer\",name:\"Issuer\",exported:true,typ:O.Name,tag:\"\"},{prop:\"Subject\",name:\"Subject\",exported:true,typ:O.Name,tag:\"\"},{prop:\"NotBefore\",name:\"NotBefore\",exported:true,typ:AA.Time,tag:\"\"},{prop:\"NotAfter\",name:\"NotAfter\",exported:true,typ:AA.Time,tag:\"\"},{prop:\"KeyUsage\",name:\"KeyUsage\",exported:true,typ:DU,tag:\"\"},{prop:\"Extensions\",name:\"Extensions\",exported:true,typ:HS,tag:\"\"},{prop:\"ExtraExtensions\",name:\"ExtraExtensions\",exported:true,typ:HS,tag:\"\"},{prop:\"UnhandledCriticalExtensions\",name:\"UnhandledCriticalExtensions\",exported:true,typ:HT,tag:\"\"},{prop:\"ExtKeyUsage\",name:\"ExtKeyUsage\",exported:true,typ:HK,tag:\"\"},{prop:\"UnknownExtKeyUsage\",name:\"UnknownExtKeyUsage\",exported:true,typ:HT,tag:\"\"},{prop:\"BasicConstraintsValid\",name:\"BasicConstraintsValid\",exported:true,typ:$Bool,tag:\"\"},{prop:\"IsCA\",name:\"IsCA\",exported:true,typ:$Bool,tag:\"\"},{prop:\"MaxPathLen\",name:\"MaxPathLen\",exported:true,typ:$Int,tag:\"\"},{prop:\"MaxPathLenZero\",name:\"MaxPathLenZero\",exported:true,typ:$Bool,tag:\"\"},{prop:\"SubjectKeyId\",name:\"SubjectKeyId\",exported:true,typ:GS,tag:\"\"},{prop:\"AuthorityKeyId\",name:\"AuthorityKeyId\",exported:true,typ:GS,tag:\"\"},{prop:\"OCSPServer\",name:\"OCSPServer\",exported:true,typ:HH,tag:\"\"},{prop:\"IssuingCertificateURL\",name:\"IssuingCertificateURL\",exported:true,typ:HH,tag:\"\"},{prop:\"DNSNames\",name:\"DNSNames\",exported:true,typ:HH,tag:\"\"},{prop:\"EmailAddresses\",name:\"EmailAddresses\",exported:true,typ:HH,tag:\"\"},{prop:\"IPAddresses\",name:\"IPAddresses\",exported:true,typ:HP,tag:\"\"},{prop:\"PermittedDNSDomainsCritical\",name:\"PermittedDNSDomainsCritical\",exported:true,typ:$Bool,tag:\"\"},{prop:\"PermittedDNSDomains\",name:\"PermittedDNSDomains\",exported:true,typ:HH,tag:\"\"},{prop:\"CRLDistributionPoints\",name:\"CRLDistributionPoints\",exported:true,typ:HH,tag:\"\"},{prop:\"PolicyIdentifiers\",name:\"PolicyIdentifiers\",exported:true,typ:HT,tag:\"\"}]);EN.init(\"\",[]);EQ.init(\"\",[]);ER.init(\"\",[{prop:\"IsCA\",name:\"IsCA\",exported:true,typ:$Bool,tag:\"asn1:\\\"optional\\\"\"},{prop:\"MaxPathLen\",name:\"MaxPathLen\",exported:true,typ:$Int,tag:\"asn1:\\\"optional,default:-1\\\"\"}]);ES.init(\"\",[{prop:\"Policy\",name:\"Policy\",exported:true,typ:M.ObjectIdentifier,tag:\"\"}]);ET.init(\"\",[{prop:\"Permitted\",name:\"Permitted\",exported:true,typ:HV,tag:\"asn1:\\\"optional,tag:0\\\"\"},{prop:\"Excluded\",name:\"Excluded\",exported:true,typ:HV,tag:\"asn1:\\\"optional,tag:1\\\"\"}]);EU.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"asn1:\\\"tag:2,optional,ia5\\\"\"}]);EV.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:M.ObjectIdentifier,tag:\"\"},{prop:\"Location\",name:\"Location\",exported:true,typ:M.RawValue,tag:\"\"}]);EW.init(\"\",[{prop:\"DistributionPoint\",name:\"DistributionPoint\",exported:true,typ:EX,tag:\"asn1:\\\"optional,tag:0\\\"\"},{prop:\"Reason\",name:\"Reason\",exported:true,typ:M.BitString,tag:\"asn1:\\\"optional,tag:1\\\"\"},{prop:\"CRLIssuer\",name:\"CRLIssuer\",exported:true,typ:M.RawValue,tag:\"asn1:\\\"optional,tag:2\\\"\"}]);EX.init(\"\",[{prop:\"FullName\",name:\"FullName\",exported:true,typ:M.RawValue,tag:\"asn1:\\\"optional,tag:0\\\"\"},{prop:\"RelativeName\",name:\"RelativeName\",exported:true,typ:O.RDNSequence,tag:\"asn1:\\\"optional,tag:1\\\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=R.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=S.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AC.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AD.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=X.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Y.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=T.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AE.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AF.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=U.$init();$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Z.$init();$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=V.$init();$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=W.$init();$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AG.$init();$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Q.$init();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AA.$init();$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AB.$init();$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}BB=new Q.Once.ptr(new Q.Mutex.ptr(0,0),0);BC=GM.nil;BD=$ifaceNil;$pkg.IncorrectPasswordError=C.New(\"x509: decryption password incorrect\");b=A.Getenv(\"GODEBUG\");$s=34;case 34:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=K.Contains(b,\"x509roots=1\");$s=35;case 35:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}BG=c;BS=C.New(\"x509: missing ASN.1 contents; use ParseCertificate\");CM=$toNativeArray($kindString,[\"\",\"MD2-RSA\",\"MD5-RSA\",\"SHA1-RSA\",\"SHA256-RSA\",\"SHA384-RSA\",\"SHA512-RSA\",\"DSA-SHA1\",\"DSA-SHA256\",\"ECDSA-SHA1\",\"ECDSA-SHA256\",\"ECDSA-SHA384\",\"ECDSA-SHA512\",\"SHA256-RSAPSS\",\"SHA384-RSAPSS\",\"SHA512-RSAPSS\"]);CO=new M.ObjectIdentifier([1,2,840,113549,1,1,2]);CP=new M.ObjectIdentifier([1,2,840,113549,1,1,4]);CQ=new M.ObjectIdentifier([1,2,840,113549,1,1,5]);CR=new M.ObjectIdentifier([1,2,840,113549,1,1,11]);CS=new M.ObjectIdentifier([1,2,840,113549,1,1,12]);CT=new M.ObjectIdentifier([1,2,840,113549,1,1,13]);CU=new M.ObjectIdentifier([1,2,840,113549,1,1,10]);CV=new M.ObjectIdentifier([1,2,840,10040,4,3]);CW=new M.ObjectIdentifier([2,16,840,1,101,3,4,3,2]);CX=new M.ObjectIdentifier([1,2,840,10045,4,1]);CY=new M.ObjectIdentifier([1,2,840,10045,4,3,2]);CZ=new M.ObjectIdentifier([1,2,840,10045,4,3,3]);DA=new M.ObjectIdentifier([1,2,840,10045,4,3,4]);DB=new M.ObjectIdentifier([2,16,840,1,101,3,4,2,1]);DC=new M.ObjectIdentifier([2,16,840,1,101,3,4,2,2]);DD=new M.ObjectIdentifier([2,16,840,1,101,3,4,2,3]);DE=new M.ObjectIdentifier([1,2,840,113549,1,1,8]);DF=new M.ObjectIdentifier([1,3,14,3,2,29]);DG=new GP([new GO.ptr(1,CO,1,0),new GO.ptr(2,CP,1,2),new GO.ptr(3,CQ,1,3),new GO.ptr(3,DF,1,3),new GO.ptr(4,CR,1,5),new GO.ptr(5,CS,1,6),new GO.ptr(6,CT,1,7),new GO.ptr(13,CU,1,5),new GO.ptr(14,CU,1,6),new GO.ptr(15,CU,1,7),new GO.ptr(7,CV,2,3),new GO.ptr(8,CW,2,5),new GO.ptr(9,CX,3,3),new GO.ptr(10,CY,3,5),new GO.ptr(11,CZ,3,6),new GO.ptr(12,DA,3,7)]);DK=new M.ObjectIdentifier([1,2,840,113549,1,1,1]);DL=new M.ObjectIdentifier([1,2,840,10040,4,1]);DM=new M.ObjectIdentifier([1,2,840,10045,2,1]);DO=new M.ObjectIdentifier([1,3,132,0,33]);DP=new M.ObjectIdentifier([1,2,840,10045,3,1,7]);DQ=new M.ObjectIdentifier([1,3,132,0,34]);DR=new M.ObjectIdentifier([1,3,132,0,35]);DV=new M.ObjectIdentifier([2,5,29,37,0]);DW=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,1]);DX=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,2]);DY=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,3]);DZ=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,4]);EA=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,5]);EB=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,6]);EC=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,7]);ED=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,8]);EE=new M.ObjectIdentifier([1,3,6,1,5,5,7,3,9]);EF=new M.ObjectIdentifier([1,3,6,1,4,1,311,10,3,3]);EG=new M.ObjectIdentifier([2,16,840,1,113730,4,1]);EI=new GR([new GQ.ptr(0,DV),new GQ.ptr(1,DW),new GQ.ptr(2,DX),new GQ.ptr(3,DY),new GQ.ptr(4,DZ),new GQ.ptr(5,EA),new GQ.ptr(6,EB),new GQ.ptr(7,EC),new GQ.ptr(8,ED),new GQ.ptr(9,EE),new GQ.ptr(10,EF),new GQ.ptr(11,EG)]);$pkg.ErrUnsupportedAlgorithm=C.New(\"x509: cannot verify signature: algorithm unimplemented\");EO=new GS([48,130,1,34,48,13,6,9,42,134,72,134,247,13,1,1,1,5,0,3,130,1,15,0,48,130,1,10,2,130,1,1,0,151,163,45,60,158,222,5,218,19,194,17,141,157,142,227,127,199,75,126,90,159,179,255,98,171,115,200,40,107,186,16,100,130,135,19,205,87,24,255,40,206,192,230,14,6,145,80,41,131,209,242,195,42,219,216,219,78,4,204,0,235,139,182,150,220,188,170,250,82,119,4,193,219,25,228,174,156,253,60,139,3,239,77,188,26,3,101,249,193,177,63,114,134,242,56,170,25,174,16,136,120,40,218,117,195,61,2,130,2,156,185,193,101,119,118,36,76,152,247,109,49,56,251,219,254,219,55,2,118,161,24,151,166,204,222,32,9,73,54,36,105,66,246,228,55,98,241,89,109,169,60,237,52,156,163,142,219,220,58,215,247,10,111,239,46,216,213,147,90,122,237,8,73,104,226,65,227,90,144,193,134,85,252,81,67,157,224,178,196,103,180,203,50,49,37,240,84,159,75,209,111,219,212,221,252,175,94,108,120,144,149,222,202,58,72,185,121,60,155,25,214,117,5,160,249,136,215,193,232,165,9,228,26,21,220,135,35,170,178,117,140,99,37,135,216,248,61,166,194,204,102,255,165,102,104,85,2,3,1,0,1]);EY=new GS([5,0]);FJ=new GT([2,5,29,35]);FP=new GT([1,3,6,1,5,5,7,1,1]);FQ=new M.ObjectIdentifier([1,3,6,1,5,5,7,48,1]);FR=new M.ObjectIdentifier([1,3,6,1,5,5,7,48,2]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20\"]=(function(){var $pkg={},$init,A,D,E,F,B,C;A=$packages[\"encoding/binary\"];D=$sliceType($Uint8);E=$arrayType($Uint8,64);F=$arrayType($Uint8,16);B=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=1634760805;e=857760878;f=2036477234;g=1797285236;h=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),0,4));i=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),4,8));j=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),8,12));k=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),12,16));l=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),16,20));m=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),20,24));n=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),24,28));o=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(c),28,32));p=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(b),0,4));q=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(b),4,8));r=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(b),8,12));s=$clone(A.LittleEndian,A.littleEndian).Uint32($subslice(new D(b),12,16));t=d;u=e;v=f;w=g;x=h;y=i;z=j;aa=k;ab=t;ac=u;ad=v;ae=w;af=x;ag=y;ah=z;ai=aa;aj=l;ak=m;al=n;am=o;an=p;ao=q;ap=r;aq=s;ar=aj;as=ak;at=al;au=am;av=an;aw=ao;ax=ap;ay=aq;az=0;while(true){if(!(az<20)){break;}ab=ab+(af)>>>0;av=(av^(ab))>>>0;av=(((av<<16>>>0))|((av>>>16>>>0)))>>>0;ar=ar+(av)>>>0;af=(af^(ar))>>>0;af=(((af<<12>>>0))|((af>>>20>>>0)))>>>0;ab=ab+(af)>>>0;av=(av^(ab))>>>0;av=(((av<<8>>>0))|((av>>>24>>>0)))>>>0;ar=ar+(av)>>>0;af=(af^(ar))>>>0;af=(((af<<7>>>0))|((af>>>25>>>0)))>>>0;ac=ac+(ag)>>>0;aw=(aw^(ac))>>>0;aw=(((aw<<16>>>0))|((aw>>>16>>>0)))>>>0;as=as+(aw)>>>0;ag=(ag^(as))>>>0;ag=(((ag<<12>>>0))|((ag>>>20>>>0)))>>>0;ac=ac+(ag)>>>0;aw=(aw^(ac))>>>0;aw=(((aw<<8>>>0))|((aw>>>24>>>0)))>>>0;as=as+(aw)>>>0;ag=(ag^(as))>>>0;ag=(((ag<<7>>>0))|((ag>>>25>>>0)))>>>0;ad=ad+(ah)>>>0;ax=(ax^(ad))>>>0;ax=(((ax<<16>>>0))|((ax>>>16>>>0)))>>>0;at=at+(ax)>>>0;ah=(ah^(at))>>>0;ah=(((ah<<12>>>0))|((ah>>>20>>>0)))>>>0;ad=ad+(ah)>>>0;ax=(ax^(ad))>>>0;ax=(((ax<<8>>>0))|((ax>>>24>>>0)))>>>0;at=at+(ax)>>>0;ah=(ah^(at))>>>0;ah=(((ah<<7>>>0))|((ah>>>25>>>0)))>>>0;ae=ae+(ai)>>>0;ay=(ay^(ae))>>>0;ay=(((ay<<16>>>0))|((ay>>>16>>>0)))>>>0;au=au+(ay)>>>0;ai=(ai^(au))>>>0;ai=(((ai<<12>>>0))|((ai>>>20>>>0)))>>>0;ae=ae+(ai)>>>0;ay=(ay^(ae))>>>0;ay=(((ay<<8>>>0))|((ay>>>24>>>0)))>>>0;au=au+(ay)>>>0;ai=(ai^(au))>>>0;ai=(((ai<<7>>>0))|((ai>>>25>>>0)))>>>0;ab=ab+(ag)>>>0;ay=(ay^(ab))>>>0;ay=(((ay<<16>>>0))|((ay>>>16>>>0)))>>>0;at=at+(ay)>>>0;ag=(ag^(at))>>>0;ag=(((ag<<12>>>0))|((ag>>>20>>>0)))>>>0;ab=ab+(ag)>>>0;ay=(ay^(ab))>>>0;ay=(((ay<<8>>>0))|((ay>>>24>>>0)))>>>0;at=at+(ay)>>>0;ag=(ag^(at))>>>0;ag=(((ag<<7>>>0))|((ag>>>25>>>0)))>>>0;ac=ac+(ah)>>>0;av=(av^(ac))>>>0;av=(((av<<16>>>0))|((av>>>16>>>0)))>>>0;au=au+(av)>>>0;ah=(ah^(au))>>>0;ah=(((ah<<12>>>0))|((ah>>>20>>>0)))>>>0;ac=ac+(ah)>>>0;av=(av^(ac))>>>0;av=(((av<<8>>>0))|((av>>>24>>>0)))>>>0;au=au+(av)>>>0;ah=(ah^(au))>>>0;ah=(((ah<<7>>>0))|((ah>>>25>>>0)))>>>0;ad=ad+(ai)>>>0;aw=(aw^(ad))>>>0;aw=(((aw<<16>>>0))|((aw>>>16>>>0)))>>>0;ar=ar+(aw)>>>0;ai=(ai^(ar))>>>0;ai=(((ai<<12>>>0))|((ai>>>20>>>0)))>>>0;ad=ad+(ai)>>>0;aw=(aw^(ad))>>>0;aw=(((aw<<8>>>0))|((aw>>>24>>>0)))>>>0;ar=ar+(aw)>>>0;ai=(ai^(ar))>>>0;ai=(((ai<<7>>>0))|((ai>>>25>>>0)))>>>0;ae=ae+(af)>>>0;ax=(ax^(ae))>>>0;ax=(((ax<<16>>>0))|((ax>>>16>>>0)))>>>0;as=as+(ax)>>>0;af=(af^(as))>>>0;af=(((af<<12>>>0))|((af>>>20>>>0)))>>>0;ae=ae+(af)>>>0;ax=(ax^(ae))>>>0;ax=(((ax<<8>>>0))|((ax>>>24>>>0)))>>>0;as=as+(ax)>>>0;af=(af^(as))>>>0;af=(((af<<7>>>0))|((af>>>25>>>0)))>>>0;az=az+(2)>>0;}ab=ab+(d)>>>0;ac=ac+(e)>>>0;ad=ad+(f)>>>0;ae=ae+(g)>>>0;af=af+(h)>>>0;ag=ag+(i)>>>0;ah=ah+(j)>>>0;ai=ai+(k)>>>0;ar=ar+(l)>>>0;as=as+(m)>>>0;at=at+(n)>>>0;au=au+(o)>>>0;av=av+(p)>>>0;aw=aw+(q)>>>0;ax=ax+(r)>>>0;ay=ay+(s)>>>0;$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),0,4),ab);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),4,8),ac);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),8,12),ad);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),12,16),ae);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),16,20),af);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),20,24),ag);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),24,28),ah);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),28,32),ai);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),32,36),ar);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),36,40),as);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),40,44),at);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),44,48),au);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),48,52),av);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),52,56),aw);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),56,60),ax);$clone(A.LittleEndian,A.littleEndian).PutUint32($subslice(new D(a),60,64),ay);};C=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=E.zero();f=F.zero();$copySlice(new D(f),new D(c));while(true){if(!(b.$length>=64)){break;}B(e,f,d);g=e;h=0;while(true){if(!(h<64)){break;}i=h;j=((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]);((i<0||i>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+i]=((((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i])^j)<<24>>>24));h++;}k=1;l=0;while(true){if(!(l<4)){break;}k=k+(((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])>>>0)))>>>0;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((k<<24>>>24)));k=(m=(8),m<32?(k>>>m):0)>>>0;l=l+(1)>>0;}b=$subslice(b,64);a=$subslice(a,64);}if(b.$length>0){B(e,f,d);n=b;o=0;while(true){if(!(o<n.$length)){break;}p=o;q=((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]);((p<0||p>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+p]=((q^((p<0||p>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[p]))<<24>>>24));o++;}}};$pkg.XORKeyStream=C;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/crypto/poly1305\"]=(function(){var $pkg={},$init,A,B,E,F,C,D;A=$packages[\"crypto/subtle\"];B=$packages[\"math\"];E=$arrayType($Uint8,16);F=$sliceType($Uint8);C=function(a,b,c){var $ptr,a,b,c,d;d=E.zero();D(d,b,c);return A.ConstantTimeCompare(new F(d),new F(a))===1;};$pkg.Verify=C;D=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,ei,ej,ek,el,em,en,eo,ep,eq,er,es,et,eu,ev,ew,ex,ey,ez,f,fa,fb,fc,fd,fe,ff,fg,fh,fi,fj,fk,fl,fm,fn,fo,fp,fq,fr,fs,ft,fu,fv,fw,fx,fy,fz,g,ga,gb,gc,gd,ge,gf,gg,gh,gi,gj,gk,gl,gm,gn,go,gp,gq,gr,gs,gt,gu,gv,gw,gx,gy,gz,h,ha,hb,hc,hd,he,hf,hg,hh,hi,hj,hk,hl,hm,hn,ho,hp,hq,hr,hs,ht,hu,hv,hw,hx,hy,hz,i,ia,ib,ic,id,ie,ig,ih,ii,ij,ik,il,im,io,ip,iq,ir,is,it,iu,iv,iw,ix,iy,iz,j,ja,jb,jc,jd,je,jf,jg,jh,ji,jj,jk,jl,jm,jn,jo,jp,jq,jr,js,jt,ju,jv,jw,jx,jy,jz,k,ka,kb,kc,kd,ke,kf,kg,kh,ki,kj,kk,kl,km,kn,ko,kp,kq,kr,ks,kt,ku,kv,kw,kx,ky,kz,l,la,lb,lc,ld,le,lf,lg,lh,li,lj,lk,ll,lm,ln,lo,lp,lq,lr,ls,lt,lu,lv,lw,lx,ly,lz,m,ma,mb,mc,md,me,mf,mg,mh,mi,mj,mk,ml,mm,mn,mo,mp,mq,mr,ms,mt,mu,mv,mw,mx,my,mz,n,na,nb,nc,nd,ne,nf,ng,nh,ni,nj,nk,nl,nm,nn,no,np,nq,nr,ns,nt,nu,nv,nw,nx,ny,nz,o,oa,ob,oc,od,oe,of,og,oh,oi,oj,ok,ol,om,on,oo,op,p,q,r,s,t,u,v,w,x,y,z,$s;$s=0;s:while(true){switch($s){case 0:d=c;e=$subslice(new F(c),16);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;aa=0;ab=0;ac=0;ad=0;ae=0;af=0;ag=0;ah=0;ai=0;aj=0;ak=0;al=0;am=0;an=0;ao=0;ap=0;aq=0;ar=0;as=0;at=0;au=0;av=0;aw=0;ax=0;ay=0;az=0;ba=0;bb=0;bc=0;bd=0;be=0;bf=0;bg=new $Int64(0,0);bh=new $Int64(0,0);bi=new $Int64(0,0);bj=new $Int64(0,0);bk=0;bl=0;bm=0;bn=0;bo=0;bp=0;bq=0;br=0;bs=0;bt=0;bu=0;bv=0;bw=0;bx=0;by=0;bz=new $Uint64(0,0);ca=0;cb=0;cc=0;cd=0;ce=0;cf=0;cg=0;ch=0;ci=0;cj=0;ck=0;cl=0;cm=0;cn=0;co=0;cp=0;cq=0;cr=0;cs=0;ct=0;cu=0;cv=0;cw=0;cx=0;cy=0;cz=0;da=0;db=0;dc=0;dd=0;de=new $Uint64(0,0);df=new $Uint64(0,0);dg=new $Uint64(0,0);dh=new $Uint64(0,0);di=new $Uint64(0,0);dj=new $Uint64(0,0);dk=new $Uint64(0,0);dl=new $Uint64(0,0);dm=new $Uint64(0,0);dn=new $Uint64(0,0);dp=new $Uint64(0,0);dq=new $Uint64(0,0);dr=new $Uint64(0,0);ds=0;dt=((b.$length>>0));du=(((d.nilCheck,d[0])>>>0));dv=(((d.nilCheck,d[1])>>>0));dw=(((d.nilCheck,d[2])>>>0));dx=new $Int64(0,2151);dy=(((d.nilCheck,d[3])>>>0));dy=(dy&(15))>>>0;dx=$shiftLeft64(dx,(51));dz=(((d.nilCheck,d[4])>>>0));dz=(dz&(252))>>>0;dv=(ea=(8),ea<32?(dv<<ea):0)>>>0;dx=(eb=(new $Int64(0,du)),new $Int64(dx.$high+eb.$high,dx.$low+eb.$low));ec=(((d.nilCheck,d[5])>>>0));dw=(ed=(16),ed<32?(dw<<ed):0)>>>0;dx=(ee=(new $Int64(0,dv)),new $Int64(dx.$high+ee.$high,dx.$low+ee.$low));ef=(((d.nilCheck,d[6])>>>0));dy=(eg=(24),eg<32?(dy<<eg):0)>>>0;dx=(eh=(new $Int64(0,dw)),new $Int64(dx.$high+eh.$high,dx.$low+eh.$low));ei=(((d.nilCheck,d[7])>>>0));ei=(ei&(15))>>>0;ej=new $Int64(0,2215);dx=(ek=(new $Int64(0,dy)),new $Int64(dx.$high+ek.$high,dx.$low+ek.$low));el=dx;ej=$shiftLeft64(ej,(51));em=new $Int64(0,2279);en=(((d.nilCheck,d[8])>>>0));en=(en&(252))>>>0;ec=(eo=(8),eo<32?(ec<<eo):0)>>>0;ej=(ep=(new $Int64(0,dz)),new $Int64(ej.$high+ep.$high,ej.$low+ep.$low));eq=(((d.nilCheck,d[9])>>>0));ef=(er=(16),er<32?(ef<<er):0)>>>0;ej=(es=(new $Int64(0,ec)),new $Int64(ej.$high+es.$high,ej.$low+es.$low));et=(((d.nilCheck,d[10])>>>0));ei=(eu=(24),eu<32?(ei<<eu):0)>>>0;ej=(ev=(new $Int64(0,ef)),new $Int64(ej.$high+ev.$high,ej.$low+ev.$low));ew=(((d.nilCheck,d[11])>>>0));ew=(ew&(15))>>>0;em=$shiftLeft64(em,(51));ej=(ex=(new $Int64(0,ei)),new $Int64(ej.$high+ex.$high,ej.$low+ex.$low));ey=ej;eq=(ez=(8),ez<32?(eq<<ez):0)>>>0;em=(fa=(new $Int64(0,en)),new $Int64(em.$high+fa.$high,em.$low+fa.$low));fb=(((d.nilCheck,d[12])>>>0));fb=(fb&(252))>>>0;et=(fc=(16),fc<32?(et<<fc):0)>>>0;em=(fd=(new $Int64(0,eq)),new $Int64(em.$high+fd.$high,em.$low+fd.$low));fe=(((d.nilCheck,d[13])>>>0));ew=(ff=(24),ff<32?(ew<<ff):0)>>>0;em=(fg=(new $Int64(0,et)),new $Int64(em.$high+fg.$high,em.$low+fg.$low));fh=(((d.nilCheck,d[14])>>>0));em=(fi=(new $Int64(0,ew)),new $Int64(em.$high+fi.$high,em.$low+fi.$low));fj=new $Int64(0,2343);fk=em;fj=$shiftLeft64(fj,(51));fl=(((d.nilCheck,d[15])>>>0));fl=(fl&(15))>>>0;fe=(fm=(8),fm<32?(fe<<fm):0)>>>0;fj=(fn=(new $Int64(0,fb)),new $Int64(fj.$high+fn.$high,fj.$low+fn.$low));fh=(fo=(16),fo<32?(fh<<fo):0)>>>0;fj=(fp=(new $Int64(0,fe)),new $Int64(fj.$high+fp.$high,fj.$low+fp.$low));fl=(fq=(24),fq<32?(fl<<fq):0)>>>0;fj=(fr=(new $Int64(0,fh)),new $Int64(fj.$high+fr.$high,fj.$low+fr.$low));fj=(fs=(new $Int64(0,fl)),new $Int64(fj.$high+fs.$high,fj.$low+fs.$low));ft=0;fu=fj;fv=0;fw=0;fx=0;fy=0;fz=B.Float64frombits((new $Uint64(el.$high,el.$low)));ga=0;gb=B.Float64frombits((new $Uint64(ey.$high,ey.$low)));gc=0;gd=B.Float64frombits((new $Uint64(fk.$high,fk.$low)));ge=0;fz=fz-(6.755399441055744e+15);gb=gb-(2.90142196707511e+25);gd=gd-(1.2461512460483586e+35);gf=fz+1.770887431076117e+21;gg=B.Float64frombits((new $Uint64(fu.$high,fu.$low)));gh=gb+7.605903601369376e+30;gi=3.6734198463196485e-39*gb;gj=gd+3.2667107224410092e+40;gk=3.6734198463196485e-39*gd;gf=gf-(1.770887431076117e+21);gl=gf;gg=gg-(5.3521788476473496e+44);gh=gh-(7.605903601369376e+30);gm=gh;gn=gi+5.587935447692871e-09;fz=fz-(gf);gj=gj-(3.2667107224410092e+40);ad=3.6734198463196485e-39*gg;go=gk+24;gb=gb-(gh);gp=gb;gn=gn-(5.587935447692871e-09);gq=gn;gd=gd-(gj);gr=gd;go=go-(24);gs=go;gt=gg+3.507603929594167e+49;gu=fz;gi=gi-(gn);gv=gi;gw=ad+1.03079215104e+11;gx=gj;gk=gk-(go);gy=gk;gt=gt-(3.507603929594167e+49);gz=gt;gw=gw-(1.03079215104e+11);ha=gw;gg=gg-(gt);hb=gg;ad=ad-(gw);hc=ad;if(dt<16){$s=1;continue;}$s=2;continue;case 1:$s=3;continue;case 2:bk=(((hd=ds+0>>0,((hd<0||hd>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hd]))>>>0));bg=new $Int64(0,2151);bg=$shiftLeft64(bg,(51));bh=new $Int64(0,2215);bl=(((he=ds+1>>0,((he<0||he>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+he]))>>>0));bh=$shiftLeft64(bh,(51));bi=new $Int64(0,2279);bm=(((hf=ds+2>>0,((hf<0||hf>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hf]))>>>0));bi=$shiftLeft64(bi,(51));bj=new $Int64(0,2343);bn=(((hg=ds+3>>0,((hg<0||hg>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hg]))>>>0));bo=(((hh=ds+4>>0,((hh<0||hh>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hh]))>>>0));bl=(hi=(8),hi<32?(bl<<hi):0)>>>0;bg=(hj=(new $Int64(0,bk)),new $Int64(bg.$high+hj.$high,bg.$low+hj.$low));bp=(((hk=ds+5>>0,((hk<0||hk>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hk]))>>>0));bm=(hl=(16),hl<32?(bm<<hl):0)>>>0;bg=(hm=(new $Int64(0,bl)),new $Int64(bg.$high+hm.$high,bg.$low+hm.$low));bq=(((hn=ds+6>>0,((hn<0||hn>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hn]))>>>0));bn=(ho=(24),ho<32?(bn<<ho):0)>>>0;bg=(hp=(new $Int64(0,bm)),new $Int64(bg.$high+hp.$high,bg.$low+hp.$low));br=(((hq=ds+7>>0,((hq<0||hq>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hq]))>>>0));bj=$shiftLeft64(bj,(51));bg=(hr=(new $Int64(0,bn)),new $Int64(bg.$high+hr.$high,bg.$low+hr.$low));bs=(((hs=ds+8>>0,((hs<0||hs>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hs]))>>>0));bp=(ht=(8),ht<32?(bp<<ht):0)>>>0;bh=(hu=(new $Int64(0,bo)),new $Int64(bh.$high+hu.$high,bh.$low+hu.$low));bt=(((hv=ds+9>>0,((hv<0||hv>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hv]))>>>0));bq=(hw=(16),hw<32?(bq<<hw):0)>>>0;bh=(hx=(new $Int64(0,bp)),new $Int64(bh.$high+hx.$high,bh.$low+hx.$low));bu=(((hy=ds+10>>0,((hy<0||hy>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+hy]))>>>0));br=(hz=(24),hz<32?(br<<hz):0)>>>0;bh=(ia=(new $Int64(0,bq)),new $Int64(bh.$high+ia.$high,bh.$low+ia.$low));bv=(((ib=ds+11>>0,((ib<0||ib>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ib]))>>>0));bh=(ic=(new $Int64(0,br)),new $Int64(bh.$high+ic.$high,bh.$low+ic.$low));bw=(((id=ds+12>>0,((id<0||id>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+id]))>>>0));bt=(ie=(8),ie<32?(bt<<ie):0)>>>0;bi=(ig=(new $Int64(0,bs)),new $Int64(bi.$high+ig.$high,bi.$low+ig.$low));bx=(((ih=ds+13>>0,((ih<0||ih>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ih]))>>>0));bu=(ii=(16),ii<32?(bu<<ii):0)>>>0;bi=(ij=(new $Int64(0,bt)),new $Int64(bi.$high+ij.$high,bi.$low+ij.$low));by=(((ik=ds+14>>0,((ik<0||ik>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ik]))>>>0));bv=(il=(24),il<32?(bv<<il):0)>>>0;bi=(im=(new $Int64(0,bu)),new $Int64(bi.$high+im.$high,bi.$low+im.$low));bz=(new $Uint64(0,(io=ds+15>>0,((io<0||io>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+io]))));bi=(ip=(new $Int64(0,bv)),new $Int64(bi.$high+ip.$high,bi.$low+ip.$low));el=bg;bx=(iq=(8),iq<32?(bx<<iq):0)>>>0;bj=(ir=(new $Int64(0,bw)),new $Int64(bj.$high+ir.$high,bj.$low+ir.$low));ey=bh;by=(is=(16),is<32?(by<<is):0)>>>0;bj=(it=(new $Int64(0,bx)),new $Int64(bj.$high+it.$high,bj.$low+it.$low));fk=bi;bz=(iu=new $Uint64(0,256),new $Uint64(bz.$high+iu.$high,bz.$low+iu.$low));bz=$shiftLeft64(bz,(24));bj=(iv=(new $Int64(0,by)),new $Int64(bj.$high+iv.$high,bj.$low+iv.$low));bj=(iw=(new $Int64(bz.$high,bz.$low)),new $Int64(bj.$high+iw.$high,bj.$low+iw.$low));fu=bj;ds=ds+(16)>>0;dt=dt-(16)>>0;bc=B.Float64frombits((new $Uint64(el.$high,el.$low)));bd=B.Float64frombits((new $Uint64(ey.$high,ey.$low)));be=B.Float64frombits((new $Uint64(fk.$high,fk.$low)));bf=B.Float64frombits((new $Uint64(fu.$high,fu.$low)));bc=bc-(6.755399441055744e+15);bd=bd-(2.90142196707511e+25);be=be-(1.2461512460483586e+35);bf=bf-(5.3521788476473496e+44);ft=ft+(bc);fv=fv+(bd);fx=fx+(be);ga=ga+(bf);if(dt<16){$s=4;continue;}$s=5;continue;case 4:$s=6;continue;case 5:case 7:bi=new $Int64(0,2279);bs=(((ix=ds+8>>0,((ix<0||ix>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ix]))>>>0));f=ge+9.194973245195333e+54;bi=$shiftLeft64(bi,(51));bj=new $Int64(0,2343);bt=(((iy=ds+9>>0,((iy<0||iy>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+iy]))>>>0));g=gc+9.194973245195333e+54;bj=$shiftLeft64(bj,(51));bg=new $Int64(0,2151);bu=(((iz=ds+10>>0,((iz<0||iz>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+iz]))>>>0));h=fv+2.90142196707511e+25;bg=$shiftLeft64(bg,(51));bh=new $Int64(0,2215);bv=(((ja=ds+11>>0,((ja<0||ja>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ja]))>>>0));i=ft+2.90142196707511e+25;bh=$shiftLeft64(bh,(51));bw=(((jb=ds+12>>0,((jb<0||jb>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jb]))>>>0));f=f-(9.194973245195333e+54);bt=(jc=(8),jc<32?(bt<<jc):0)>>>0;bi=(jd=(new $Int64(0,bs)),new $Int64(bi.$high+jd.$high,bi.$low+jd.$low));bx=(((je=ds+13>>0,((je<0||je>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+je]))>>>0));g=g-(9.194973245195333e+54);bu=(jf=(16),jf<32?(bu<<jf):0)>>>0;bi=(jg=(new $Int64(0,bt)),new $Int64(bi.$high+jg.$high,bi.$low+jg.$low));by=(((jh=ds+14>>0,((jh<0||jh>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jh]))>>>0));h=h-(2.90142196707511e+25);bv=(ji=(24),ji<32?(bv<<ji):0)>>>0;bi=(jj=(new $Int64(0,bu)),new $Int64(bi.$high+jj.$high,bi.$low+jj.$low));bz=(new $Uint64(0,(jk=ds+15>>0,((jk<0||jk>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jk]))));i=i-(2.90142196707511e+25);bi=(jl=(new $Int64(0,bv)),new $Int64(bi.$high+jl.$high,bi.$low+jl.$low));bk=(((jm=ds+0>>0,((jm<0||jm>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jm]))>>>0));j=ga+5.3521788476473496e+44;bx=(jn=(8),jn<32?(bx<<jn):0)>>>0;bj=(jo=(new $Int64(0,bw)),new $Int64(bj.$high+jo.$high,bj.$low+jo.$low));bl=(((jp=ds+1>>0,((jp<0||jp>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jp]))>>>0));k=fy+5.3521788476473496e+44;by=(jq=(16),jq<32?(by<<jq):0)>>>0;bm=(((jr=ds+2>>0,((jr<0||jr>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jr]))>>>0));l=ge-f;f=f*(3.6734198463196485e-39);bz=(js=new $Uint64(0,256),new $Uint64(bz.$high+js.$high,bz.$low+js.$low));bn=(((jt=ds+3>>0,((jt<0||jt>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jt]))>>>0));m=gc-g;g=g*(3.6734198463196485e-39);bz=$shiftLeft64(bz,(24));bj=(ju=(new $Int64(0,bx)),new $Int64(bj.$high+ju.$high,bj.$low+ju.$low));bo=(((jv=ds+4>>0,((jv<0||jv>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jv]))>>>0));n=fv-h;bl=(jw=(8),jw<32?(bl<<jw):0)>>>0;bj=(jx=(new $Int64(0,by)),new $Int64(bj.$high+jx.$high,bj.$low+jx.$low));bp=(((jy=ds+5>>0,((jy<0||jy>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+jy]))>>>0));o=ft-i;bj=(jz=(new $Int64(bz.$high,bz.$low)),new $Int64(bj.$high+jz.$high,bj.$low+jz.$low));bg=(ka=(new $Int64(0,bk)),new $Int64(bg.$high+ka.$high,bg.$low+ka.$low));bq=(((kb=ds+6>>0,((kb<0||kb>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+kb]))>>>0));j=j-(5.3521788476473496e+44);bm=(kc=(16),kc<32?(bm<<kc):0)>>>0;bg=(kd=(new $Int64(0,bl)),new $Int64(bg.$high+kd.$high,bg.$low+kd.$low));br=(((ke=ds+7>>0,((ke<0||ke>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ke]))>>>0));k=k-(5.3521788476473496e+44);bn=(kf=(24),kf<32?(bn<<kf):0)>>>0;bg=(kg=(new $Int64(0,bm)),new $Int64(bg.$high+kg.$high,bg.$low+kg.$low));fk=bi;n=n+(f);bg=(kh=(new $Int64(0,bn)),new $Int64(bg.$high+kh.$high,bg.$low+kh.$low));fu=bj;o=o+(g);bp=(ki=(8),ki<32?(bp<<ki):0)>>>0;bh=(kj=(new $Int64(0,bo)),new $Int64(bh.$high+kj.$high,bh.$low+kj.$low));el=bg;l=l+(j);bq=(kk=(16),kk<32?(bq<<kk):0)>>>0;bh=(kl=(new $Int64(0,bp)),new $Int64(bh.$high+kl.$high,bh.$low+kl.$low));m=m+(k);br=(km=(24),km<32?(br<<km):0)>>>0;bh=(kn=(new $Int64(0,bq)),new $Int64(bh.$high+kn.$high,bh.$low+kn.$low));p=fx+1.2461512460483586e+35;bh=(ko=(new $Int64(0,br)),new $Int64(bh.$high+ko.$high,bh.$low+ko.$low));ey=bh;q=fw+1.2461512460483586e+35;o=o+(n);m=m+(l);p=p-(1.2461512460483586e+35);gg=hb;q=q-(1.2461512460483586e+35);fz=gu;r=ga-j;s=gg*o;gt=gz;t=fy-k;u=fz*m;gf=gl;v=fx-p;w=gt*o;gi=gv;x=fw-q;y=gf*m;gn=gq;r=r+(p);z=fz*o;gb=gp;gc=s+u;aa=gi*m;gh=gm;t=t+(q);ab=gf*o;gk=gy;ge=w+y;ac=gn*m;go=gs;v=v+(h);ae=gb*o;gd=gr;ft=z+aa;af=gk*m;gj=gx;x=x+(i);ag=gh*o;ad=hc;fv=ab+ac;ah=go*m;gw=ha;t=t+(r);ai=gd*o;be=B.Float64frombits((new $Uint64(fk.$high,fk.$low)));fw=ae+af;aj=ad*m;x=x+(v);ak=gj*o;bf=B.Float64frombits((new $Uint64(fu.$high,fu.$low)));fx=ag+ah;al=gw*m;am=gh*t;be=be-(1.2461512460483586e+35);fy=ai+aj;an=gb*t;ao=gf*t;bf=bf-(5.3521788476473496e+44);ga=ak+al;ap=fz*t;ge=ge+(am);aq=gw*t;gc=gc+(an);ar=ad*t;ga=ga+(ao);as=go*t;fy=fy+(ap);at=gk*t;fx=fx+(aq);au=fz*x;fw=fw+(ar);av=gf*x;fv=fv+(as);aw=gb*x;ft=ft+(at);ax=gh*x;fw=fw+(au);ay=gd*x;fx=fx+(av);az=gj*x;fy=fy+(aw);ba=ad*x;ga=ga+(ax);bb=gw*x;ds=ds+(16)>>0;dt=dt-(16)>>0;gc=gc+(ay);ge=ge+(az);bd=B.Float64frombits((new $Uint64(ey.$high,ey.$low)));ft=ft+(ba);bc=B.Float64frombits((new $Uint64(el.$high,el.$low)));fv=fv+(bb);bd=bd-(2.90142196707511e+25);bc=bc-(6.755399441055744e+15);ga=ga+(bf);fx=fx+(be);fv=fv+(bd);ft=ft+(bc);if(dt>=16){$s=8;continue;}$s=9;continue;case 8:$s=7;continue;case 9:case 6:f=ge+9.194973245195333e+54;g=gc+9.194973245195333e+54;h=fv+2.90142196707511e+25;i=ft+2.90142196707511e+25;f=f-(9.194973245195333e+54);g=g-(9.194973245195333e+54);h=h-(2.90142196707511e+25);i=i-(2.90142196707511e+25);j=ga+5.3521788476473496e+44;k=fy+5.3521788476473496e+44;l=ge-f;f=f*(3.6734198463196485e-39);m=gc-g;g=g*(3.6734198463196485e-39);n=fv-h;o=ft-i;j=j-(5.3521788476473496e+44);k=k-(5.3521788476473496e+44);n=n+(f);o=o+(g);l=l+(j);m=m+(k);p=fx+1.2461512460483586e+35;q=fw+1.2461512460483586e+35;o=o+(n);m=m+(l);p=p-(1.2461512460483586e+35);gg=hb;q=q-(1.2461512460483586e+35);fz=gu;r=ga-j;s=gg*o;gt=gz;t=fy-k;u=fz*m;gf=gl;v=fx-p;w=gt*o;gi=gv;x=fw-q;y=gf*m;gn=gq;r=r+(p);z=fz*o;gb=gp;gc=s+u;aa=gi*m;gh=gm;t=t+(q);ab=gf*o;gk=gy;ge=w+y;ac=gn*m;go=gs;v=v+(h);ae=gb*o;gd=gr;ft=z+aa;af=gk*m;gj=gx;x=x+(i);ag=gh*o;ad=hc;fv=ab+ac;ah=go*m;gw=ha;t=t+(r);ai=gd*o;fw=ae+af;aj=ad*m;x=x+(v);ak=gj*o;fx=ag+ah;al=gw*m;am=gh*t;fy=ai+aj;an=gb*t;ao=gf*t;ga=ak+al;ap=fz*t;ge=ge+(am);aq=gw*t;gc=gc+(an);ar=ad*t;ga=ga+(ao);as=go*t;fy=fy+(ap);at=gk*t;fx=fx+(aq);au=fz*x;fw=fw+(ar);av=gf*x;fv=fv+(as);aw=gb*x;ft=ft+(at);ax=gh*x;fw=fw+(au);ay=gd*x;fx=fx+(av);az=gj*x;fy=fy+(aw);ba=ad*x;ga=ga+(ax);bb=gw*x;gc=gc+(ay);ge=ge+(az);ft=ft+(ba);fv=fv+(bb);case 3:if(dt===0){$s=10;continue;}$s=11;continue;case 10:$s=12;continue;case 11:ca=dt-2>>0;cb=dt-3>>0;ca=(ca>>$min((31),31))>>0;cc=dt-4>>0;bk=(((kp=ds+0>>0,((kp<0||kp>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+kp]))>>>0));cb=(cb>>$min((31),31))>>0;ds=ds+(ca)>>0;bl=(((kq=ds+1>>0,((kq<0||kq>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+kq]))>>>0));cc=(cc>>$min((31),31))>>0;ds=ds+(cb)>>0;bm=(((kr=ds+2>>0,((kr<0||kr>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+kr]))>>>0));ds=ds+(cc)>>0;bg=new $Int64(0,2151);bn=(((ks=ds+3>>0,((ks<0||ks>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ks]))>>>0));bg=$shiftLeft64(bg,(51));bh=new $Int64(0,2215);bg=(kt=(new $Int64(0,bk)),new $Int64(bg.$high+kt.$high,bg.$low+kt.$low));bl=(bl&~(((ca>>>0))))>>>0;bm=(bm&~(((cb>>>0))))>>>0;bl=bl-(((ca>>>0)))>>>0;bl=(ku=(8),ku<32?(bl<<ku):0)>>>0;bn=(bn&~(((cc>>>0))))>>>0;bg=(kv=(new $Int64(0,bl)),new $Int64(bg.$high+kv.$high,bg.$low+kv.$low));ca=ca-(cb)>>0;bm=bm+(((ca>>>0)))>>>0;cb=cb-(cc)>>0;bm=(kw=(16),kw<32?(bm<<kw):0)>>>0;bn=bn+(((cb>>>0)))>>>0;bn=(kx=(24),kx<32?(bn<<kx):0)>>>0;bg=(ky=(new $Int64(0,bm)),new $Int64(bg.$high+ky.$high,bg.$low+ky.$low));bg=(kz=(new $Int64(0,bn)),new $Int64(bg.$high+kz.$high,bg.$low+kz.$low));cd=dt-5>>0;ce=dt-6>>0;cf=dt-7>>0;cd=(cd>>$min((31),31))>>0;cg=dt-8>>0;ce=(ce>>$min((31),31))>>0;ds=ds+(cd)>>0;bo=(((la=ds+4>>0,((la<0||la>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+la]))>>>0));cf=(cf>>$min((31),31))>>0;ds=ds+(ce)>>0;bp=(((lb=ds+5>>0,((lb<0||lb>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+lb]))>>>0));cg=(cg>>$min((31),31))>>0;ds=ds+(cf)>>0;bq=(((lc=ds+6>>0,((lc<0||lc>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+lc]))>>>0));bh=$shiftLeft64(bh,(51));ds=ds+(cg)>>0;br=(((ld=ds+7>>0,((ld<0||ld>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ld]))>>>0));bo=(bo&~(((cd>>>0))))>>>0;cc=cc-(cd)>>0;bo=bo+(((cc>>>0)))>>>0;cd=cd-(ce)>>0;bp=(bp&~(((ce>>>0))))>>>0;bp=bp+(((cd>>>0)))>>>0;bp=(le=(8),le<32?(bp<<le):0)>>>0;bh=(lf=(new $Int64(0,bo)),new $Int64(bh.$high+lf.$high,bh.$low+lf.$low));bh=(lg=(new $Int64(0,bp)),new $Int64(bh.$high+lg.$high,bh.$low+lg.$low));bq=(bq&~(((cf>>>0))))>>>0;ce=ce-(cf)>>0;br=(br&~(((cg>>>0))))>>>0;bq=bq+(((ce>>>0)))>>>0;cf=cf-(cg)>>0;bq=(lh=(16),lh<32?(bq<<lh):0)>>>0;br=br+(((cf>>>0)))>>>0;br=(li=(24),li<32?(br<<li):0)>>>0;bh=(lj=(new $Int64(0,bq)),new $Int64(bh.$high+lj.$high,bh.$low+lj.$low));bh=(lk=(new $Int64(0,br)),new $Int64(bh.$high+lk.$high,bh.$low+lk.$low));bi=new $Int64(0,2279);ch=dt-9>>0;bj=new $Int64(0,2343);ci=dt-10>>0;cj=dt-11>>0;ch=(ch>>$min((31),31))>>0;ck=dt-12>>0;ci=(ci>>$min((31),31))>>0;ds=ds+(ch)>>0;bs=(((ll=ds+8>>0,((ll<0||ll>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ll]))>>>0));cj=(cj>>$min((31),31))>>0;ds=ds+(ci)>>0;bt=(((lm=ds+9>>0,((lm<0||lm>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+lm]))>>>0));ck=(ck>>$min((31),31))>>0;ds=ds+(cj)>>0;bu=(((ln=ds+10>>0,((ln<0||ln>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ln]))>>>0));bi=$shiftLeft64(bi,(51));ds=ds+(ck)>>0;bv=(((lo=ds+11>>0,((lo<0||lo>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+lo]))>>>0));bs=(bs&~(((ch>>>0))))>>>0;cg=cg-(ch)>>0;bs=bs+(((cg>>>0)))>>>0;ch=ch-(ci)>>0;bt=(bt&~(((ci>>>0))))>>>0;bt=bt+(((ch>>>0)))>>>0;bt=(lp=(8),lp<32?(bt<<lp):0)>>>0;bi=(lq=(new $Int64(0,bs)),new $Int64(bi.$high+lq.$high,bi.$low+lq.$low));bi=(lr=(new $Int64(0,bt)),new $Int64(bi.$high+lr.$high,bi.$low+lr.$low));bu=(bu&~(((cj>>>0))))>>>0;ci=ci-(cj)>>0;bv=(bv&~(((ck>>>0))))>>>0;bu=bu+(((ci>>>0)))>>>0;cj=cj-(ck)>>0;bu=(ls=(16),ls<32?(bu<<ls):0)>>>0;bv=bv+(((cj>>>0)))>>>0;bv=(lt=(24),lt<32?(bv<<lt):0)>>>0;bi=(lu=(new $Int64(0,bu)),new $Int64(bi.$high+lu.$high,bi.$low+lu.$low));bj=$shiftLeft64(bj,(51));cl=dt-13>>0;cl=(cl>>$min((31),31))>>0;cm=dt-14>>0;cm=(cm>>$min((31),31))>>0;ds=ds+(cl)>>0;cn=dt-15>>0;bw=(((lv=ds+12>>0,((lv<0||lv>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+lv]))>>>0));cn=(cn>>$min((31),31))>>0;ds=ds+(cm)>>0;bx=(((lw=ds+13>>0,((lw<0||lw>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+lw]))>>>0));ds=ds+(cn)>>0;bi=(lx=(new $Int64(0,bv)),new $Int64(bi.$high+lx.$high,bi.$low+lx.$low));by=(((ly=ds+14>>0,((ly<0||ly>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+ly]))>>>0));bw=(bw&~(((cl>>>0))))>>>0;ck=ck-(cl)>>0;bw=bw+(((ck>>>0)))>>>0;cl=cl-(cm)>>0;bj=(lz=(new $Int64(0,bw)),new $Int64(bj.$high+lz.$high,bj.$low+lz.$low));bx=(bx&~(((cm>>>0))))>>>0;bx=bx+(((cl>>>0)))>>>0;by=(by&~(((cn>>>0))))>>>0;bx=(ma=(8),ma<32?(bx<<ma):0)>>>0;cm=cm-(cn)>>0;bj=(mb=(new $Int64(0,bx)),new $Int64(bj.$high+mb.$high,bj.$low+mb.$low));by=by+(((cm>>>0)))>>>0;el=bg;by=(mc=(16),mc<32?(by<<mc):0)>>>0;bz=(new $Uint64(0,(cn+1>>0)));ey=bh;bz=$shiftLeft64(bz,(24));bj=(md=(new $Int64(0,by)),new $Int64(bj.$high+md.$high,bj.$low+md.$low));fk=bi;bj=(me=(new $Int64(bz.$high,bz.$low)),new $Int64(bj.$high+me.$high,bj.$low+me.$low));fu=bj;bf=B.Float64frombits((new $Uint64(fu.$high,fu.$low)));be=B.Float64frombits((new $Uint64(fk.$high,fk.$low)));bd=B.Float64frombits((new $Uint64(ey.$high,ey.$low)));bc=B.Float64frombits((new $Uint64(el.$high,el.$low)));bf=bf-(5.3521788476473496e+44);be=be-(1.2461512460483586e+35);bd=bd-(2.90142196707511e+25);bc=bc-(6.755399441055744e+15);ga=ga+(bf);fx=fx+(be);fv=fv+(bd);ft=ft+(bc);f=ge+9.194973245195333e+54;g=gc+9.194973245195333e+54;h=fv+2.90142196707511e+25;i=ft+2.90142196707511e+25;f=f-(9.194973245195333e+54);g=g-(9.194973245195333e+54);h=h-(2.90142196707511e+25);i=i-(2.90142196707511e+25);j=ga+5.3521788476473496e+44;k=fy+5.3521788476473496e+44;l=ge-f;f=f*(3.6734198463196485e-39);m=gc-g;g=g*(3.6734198463196485e-39);n=fv-h;o=ft-i;j=j-(5.3521788476473496e+44);k=k-(5.3521788476473496e+44);n=n+(f);o=o+(g);l=l+(j);m=m+(k);p=fx+1.2461512460483586e+35;q=fw+1.2461512460483586e+35;o=o+(n);m=m+(l);p=p-(1.2461512460483586e+35);gg=hb;q=q-(1.2461512460483586e+35);fz=gu;r=ga-j;s=gg*o;gt=gz;t=fy-k;u=fz*m;gf=gl;v=fx-p;w=gt*o;gi=gv;x=fw-q;y=gf*m;gn=gq;r=r+(p);z=fz*o;gb=gp;gc=s+u;aa=gi*m;gh=gm;t=t+(q);ab=gf*o;gk=gy;ge=w+y;ac=gn*m;go=gs;v=v+(h);ae=gb*o;gd=gr;ft=z+aa;af=gk*m;gj=gx;x=x+(i);ag=gh*o;ad=hc;fv=ab+ac;ah=go*m;gw=ha;t=t+(r);ai=gd*o;fw=ae+af;aj=ad*m;x=x+(v);ak=gj*o;fx=ag+ah;al=gw*m;am=gh*t;fy=ai+aj;an=gb*t;ao=gf*t;ga=ak+al;ap=fz*t;ge=ge+(am);aq=gw*t;gc=gc+(an);ar=ad*t;ga=ga+(ao);as=go*t;fy=fy+(ap);at=gk*t;fx=fx+(aq);au=fz*x;fw=fw+(ar);av=gf*x;fv=fv+(as);aw=gb*x;ft=ft+(at);ax=gh*x;fw=fw+(au);ay=gd*x;fx=fx+(av);az=gj*x;fy=fy+(aw);ba=ad*x;ga=ga+(ax);bb=gw*x;gc=gc+(ay);ge=ge+(az);ft=ft+(ba);fv=fv+(bb);case 12:f=ge+9.194973245195333e+54;i=ft+2.90142196707511e+25;h=fv+2.90142196707511e+25;q=fw+1.2461512460483586e+35;f=f-(9.194973245195333e+54);p=fx+1.2461512460483586e+35;k=fy+5.3521788476473496e+44;j=ga+5.3521788476473496e+44;l=ge-f;f=f*(3.6734198463196485e-39);i=i-(2.90142196707511e+25);h=h-(2.90142196707511e+25);q=q-(1.2461512460483586e+35);gc=gc+(l);p=p-(1.2461512460483586e+35);k=k-(5.3521788476473496e+44);j=j-(5.3521788476473496e+44);g=gc+9.194973245195333e+54;o=ft-i;n=fv-h;x=fw-q;g=g-(9.194973245195333e+54);o=o+(f);v=fx-p;t=fy-k;r=ga-j;m=gc-g;g=g*(3.6734198463196485e-39);x=x+(i);v=v+(h);t=t+(q);o=o+(g);r=r+(p);m=m+(k);x=x+(v);o=o+(n);t=t+(r);m=m+(j);x=x+(2.901425656423924e+25);ey=((mf=B.Float64bits(x),new $Int64(mf.$high,mf.$low)));o=o+(6.755408030990331e+15);el=((mg=B.Float64bits(o),new $Int64(mg.$high,mg.$low)));t=t+(1.2461528306116085e+35);fk=((mh=B.Float64bits(t),new $Int64(mh.$high,mh.$low)));m=m+(5.352192458942025e+44);fu=((mi=B.Float64bits(m),new $Int64(mi.$high,mi.$low)));dg=(new $Uint64(el.$high,el.$low));dh=(new $Uint64(ey.$high,ey.$low));de=new $Uint64(4294967295,4294967295);di=(new $Uint64(fk.$high,fk.$low));de=$shiftRightUint64(de,(32));dj=(new $Uint64(fu.$high,fu.$low));df=$shiftRightUint64(dg,32);dg=(mj=de,new $Uint64(dg.$high&mj.$high,(dg.$low&mj.$low)>>>0));df=(mk=new $Uint64(0,255),new $Uint64(df.$high&mk.$high,(df.$low&mk.$low)>>>0));dh=(ml=df,new $Uint64(dh.$high+ml.$high,dh.$low+ml.$low));dm=new $Uint64(dg.$high+0,dg.$low+5);dl=$shiftRightUint64(dm,32);dm=(mm=de,new $Uint64(dm.$high&mm.$high,(dm.$low&mm.$low)>>>0));df=$shiftRightUint64(dh,32);dh=(mn=de,new $Uint64(dh.$high&mn.$high,(dh.$low&mn.$low)>>>0));df=(mo=new $Uint64(0,255),new $Uint64(df.$high&mo.$high,(df.$low&mo.$low)>>>0));dn=new $Uint64(dh.$high+dl.$high,dh.$low+dl.$low);dl=$shiftRightUint64(dn,32);di=(mp=df,new $Uint64(di.$high+mp.$high,di.$low+mp.$low));df=$shiftRightUint64(di,32);dn=(mq=de,new $Uint64(dn.$high&mq.$high,(dn.$low&mq.$low)>>>0));di=(mr=de,new $Uint64(di.$high&mr.$high,(di.$low&mr.$low)>>>0));df=(ms=new $Uint64(0,255),new $Uint64(df.$high&ms.$high,(df.$low&ms.$low)>>>0));dj=(mt=df,new $Uint64(dj.$high+mt.$high,dj.$low+mt.$low));dp=new $Uint64(di.$high+dl.$high,di.$low+dl.$low);dl=$shiftRightUint64(dp,32);dp=(mu=de,new $Uint64(dp.$high&mu.$high,(dp.$low&mu.$low)>>>0));dk=$shiftRightUint64(dj,32);dj=(mv=de,new $Uint64(dj.$high&mv.$high,(dj.$low&mv.$low)>>>0));dk=(mw=new $Uint64(0,255),new $Uint64(dk.$high&mw.$high,(dk.$low&mw.$low)>>>0));dq=new $Uint64(dj.$high+dl.$high,dj.$low+dl.$low);dl=$shiftRightUint64(dq,32);dq=(mx=de,new $Uint64(dq.$high&mx.$high,(dq.$low&mx.$low)>>>0));dr=new $Uint64(dk.$high+dl.$high,dk.$low+dl.$low);dr=new $Uint64(dr.$high-0,dr.$low-4);co=(((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])>>>0));df=((my=$shiftRightInt64((new $Int64(dr.$high,dr.$low)),63),new $Uint64(my.$high,my.$low)));cp=(((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])>>>0));dg=(mz=df,new $Uint64(dg.$high&mz.$high,(dg.$low&mz.$low)>>>0));dm=(na=df,new $Uint64(dm.$high&~na.$high,(dm.$low&~na.$low)>>>0));cq=(((2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2])>>>0));dh=(nb=df,new $Uint64(dh.$high&nb.$high,(dh.$low&nb.$low)>>>0));dg=(nc=dm,new $Uint64(dg.$high|nc.$high,(dg.$low|nc.$low)>>>0));cr=(((3>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+3])>>>0));dn=(nd=df,new $Uint64(dn.$high&~nd.$high,(dn.$low&~nd.$low)>>>0));di=(ne=df,new $Uint64(di.$high&ne.$high,(di.$low&ne.$low)>>>0));cs=(((4>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+4])>>>0));dj=(nf=df,new $Uint64(dj.$high&nf.$high,(dj.$low&nf.$low)>>>0));dp=(ng=df,new $Uint64(dp.$high&~ng.$high,(dp.$low&~ng.$low)>>>0));ct=(((5>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+5])>>>0));dq=(nh=df,new $Uint64(dq.$high&~nh.$high,(dq.$low&~nh.$low)>>>0));dh=(ni=dn,new $Uint64(dh.$high|ni.$high,(dh.$low|ni.$low)>>>0));cu=(((6>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+6])>>>0));di=(nj=dp,new $Uint64(di.$high|nj.$high,(di.$low|nj.$low)>>>0));dj=(nk=dq,new $Uint64(dj.$high|nk.$high,(dj.$low|nk.$low)>>>0));cv=(((7>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+7])>>>0));cp=(nl=(8),nl<32?(cp<<nl):0)>>>0;dg=(nm=(new $Uint64(0,co)),new $Uint64(dg.$high+nm.$high,dg.$low+nm.$low));cw=(((8>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+8])>>>0));cq=(nn=(16),nn<32?(cq<<nn):0)>>>0;dg=(no=(new $Uint64(0,cp)),new $Uint64(dg.$high+no.$high,dg.$low+no.$low));cx=(((9>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+9])>>>0));cr=(np=(24),np<32?(cr<<np):0)>>>0;dg=(nq=(new $Uint64(0,cq)),new $Uint64(dg.$high+nq.$high,dg.$low+nq.$low));cy=(((10>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+10])>>>0));ct=(nr=(8),nr<32?(ct<<nr):0)>>>0;dh=(ns=(new $Uint64(0,cs)),new $Uint64(dh.$high+ns.$high,dh.$low+ns.$low));cz=(((11>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+11])>>>0));cu=(nt=(16),nt<32?(cu<<nt):0)>>>0;dh=(nu=(new $Uint64(0,ct)),new $Uint64(dh.$high+nu.$high,dh.$low+nu.$low));da=(((12>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+12])>>>0));cv=(nv=(24),nv<32?(cv<<nv):0)>>>0;dh=(nw=(new $Uint64(0,cu)),new $Uint64(dh.$high+nw.$high,dh.$low+nw.$low));db=(((13>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+13])>>>0));dg=(nx=(new $Uint64(0,cr)),new $Uint64(dg.$high+nx.$high,dg.$low+nx.$low));dh=(ny=(new $Uint64(0,cv)),new $Uint64(dh.$high+ny.$high,dh.$low+ny.$low));dc=(((14>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+14])>>>0));cx=(nz=(8),nz<32?(cx<<nz):0)>>>0;di=(oa=(new $Uint64(0,cw)),new $Uint64(di.$high+oa.$high,di.$low+oa.$low));dd=(((15>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+15])>>>0));cy=(ob=(16),ob<32?(cy<<ob):0)>>>0;di=(oc=(new $Uint64(0,cx)),new $Uint64(di.$high+oc.$high,di.$low+oc.$low));cz=(od=(24),od<32?(cz<<od):0)>>>0;di=(oe=(new $Uint64(0,cy)),new $Uint64(di.$high+oe.$high,di.$low+oe.$low));db=(of=(8),of<32?(db<<of):0)>>>0;dj=(og=(new $Uint64(0,da)),new $Uint64(dj.$high+og.$high,dj.$low+og.$low));dc=(oh=(16),oh<32?(dc<<oh):0)>>>0;dj=(oi=(new $Uint64(0,db)),new $Uint64(dj.$high+oi.$high,dj.$low+oi.$low));dd=(oj=(24),oj<32?(dd<<oj):0)>>>0;dj=(ok=(new $Uint64(0,dc)),new $Uint64(dj.$high+ok.$high,dj.$low+ok.$low));di=(ol=(new $Uint64(0,cz)),new $Uint64(di.$high+ol.$high,di.$low+ol.$low));dj=(om=(new $Uint64(0,dd)),new $Uint64(dj.$high+om.$high,dj.$low+om.$low));a.nilCheck,a[0]=((dg.$low<<24>>>24));dg=$shiftRightUint64(dg,(8));a.nilCheck,a[1]=((dg.$low<<24>>>24));dg=$shiftRightUint64(dg,(8));a.nilCheck,a[2]=((dg.$low<<24>>>24));dg=$shiftRightUint64(dg,(8));a.nilCheck,a[3]=((dg.$low<<24>>>24));dg=$shiftRightUint64(dg,(8));dh=(on=dg,new $Uint64(dh.$high+on.$high,dh.$low+on.$low));a.nilCheck,a[4]=((dh.$low<<24>>>24));dh=$shiftRightUint64(dh,(8));a.nilCheck,a[5]=((dh.$low<<24>>>24));dh=$shiftRightUint64(dh,(8));a.nilCheck,a[6]=((dh.$low<<24>>>24));dh=$shiftRightUint64(dh,(8));a.nilCheck,a[7]=((dh.$low<<24>>>24));dh=$shiftRightUint64(dh,(8));di=(oo=dh,new $Uint64(di.$high+oo.$high,di.$low+oo.$low));a.nilCheck,a[8]=((di.$low<<24>>>24));di=$shiftRightUint64(di,(8));a.nilCheck,a[9]=((di.$low<<24>>>24));di=$shiftRightUint64(di,(8));a.nilCheck,a[10]=((di.$low<<24>>>24));di=$shiftRightUint64(di,(8));a.nilCheck,a[11]=((di.$low<<24>>>24));di=$shiftRightUint64(di,(8));dj=(op=di,new $Uint64(dj.$high+op.$high,dj.$low+op.$low));a.nilCheck,a[12]=((dj.$low<<24>>>24));dj=$shiftRightUint64(dj,(8));a.nilCheck,a[13]=((dj.$low<<24>>>24));dj=$shiftRightUint64(dj,(8));a.nilCheck,a[14]=((dj.$low<<24>>>24));dj=$shiftRightUint64(dj,(8));a.nilCheck,a[15]=((dj.$low<<24>>>24));$s=-1;return;}return;}};$pkg.Sum=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/crypto/chacha20poly1305\"]=(function(){var $pkg={},$init,A,C,B,D,E,F,N,O,P,Q,H,G,I,J;A=$packages[\"crypto/cipher\"];C=$packages[\"encoding/binary\"];B=$packages[\"errors\"];D=$packages[\"vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20\"];E=$packages[\"vendor/golang_org/x/crypto/poly1305\"];F=$pkg.chacha20poly1305=$newType(0,$kindStruct,\"chacha20poly1305.chacha20poly1305\",true,\"vendor/golang_org/x/crypto/chacha20poly1305\",false,function(key_){this.$val=this;if(arguments.length===0){this.key=N.zero();return;}this.key=key_;});N=$arrayType($Uint8,32);O=$sliceType($Uint8);P=$arrayType($Uint8,16);Q=$ptrType(F);G=function(a){var $ptr,a,b;if(!((a.$length===32))){return[$ifaceNil,B.New(\"chacha20poly1305: bad key length\")];}b=new F.ptr(N.zero());$copySlice(new O(b.key),a);return[b,$ifaceNil];};$pkg.New=G;F.ptr.prototype.NonceSize=function(){var $ptr,a;a=this;return 12;};F.prototype.NonceSize=function(){return this.$val.NonceSize();};F.ptr.prototype.Overhead=function(){var $ptr,a;a=this;return 16;};F.prototype.Overhead=function(){return this.$val.Overhead();};F.ptr.prototype.Seal=function(a,b,c,d){var $ptr,a,b,c,d,e,f;e=this;if(!((b.$length===12))){$panic(new $String(\"chacha20poly1305: bad nonce length passed to Seal\"));}if((f=(new $Uint64(0,c.$length)),(f.$high>63||(f.$high===63&&f.$low>4294967232)))){$panic(new $String(\"chacha20poly1305: plaintext too large\"));}return e.seal(a,b,c,d);};F.prototype.Seal=function(a,b,c,d){return this.$val.Seal(a,b,c,d);};F.ptr.prototype.Open=function(a,b,c,d){var $ptr,a,b,c,d,e,f;e=this;if(!((b.$length===12))){$panic(new $String(\"chacha20poly1305: bad nonce length passed to Open\"));}if(c.$length<16){return[O.nil,H];}if((f=(new $Uint64(0,c.$length)),(f.$high>63||(f.$high===63&&f.$low>4294967248)))){$panic(new $String(\"chacha20poly1305: ciphertext too large\"));}return e.open(a,b,c,d);};F.prototype.Open=function(a,b,c,d){return this.$val.Open(a,b,c,d);};I=function(a,b){var $ptr,a,b,c,d,e;c=O.nil;d=O.nil;e=a.$length+b>>0;if(a.$capacity>=e){c=$subslice(a,0,e);}else{c=$makeSlice(O,e);$copySlice(c,a);}d=$subslice(c,a.$length);return[c,d];};J=function(a){var $ptr,a,b;return $imul(16,((b=((a+15>>0))/16,(b===b&&b!==1/0&&b!==-1/0)?b>>0:$throwRuntimeError(\"integer divide by zero\"))));};F.ptr.prototype.sealGeneric=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;e=this;f=P.zero();$copySlice($subslice(new O(f),4),b);g=N.zero();D.XORKeyStream(new O(g),new O(g),f,e.key);h=I(a,c.$length+16>>0);i=h[0];j=h[1];f[0]=1;D.XORKeyStream(j,c,f,e.key);k=$makeSlice(O,(((J(d.$length)+J(c.$length)>>0)+8>>0)+8>>0));$copySlice(k,d);$copySlice($subslice(k,J(d.$length)),$subslice(j,0,c.$length));$clone(C.LittleEndian,C.littleEndian).PutUint64($subslice(k,(k.$length-16>>0)),(new $Uint64(0,d.$length)));$clone(C.LittleEndian,C.littleEndian).PutUint64($subslice(k,(k.$length-8>>0)),(new $Uint64(0,c.$length)));l=P.zero();E.Sum(l,k,g);$copySlice($subslice(j,c.$length),new O(l));return i;};F.prototype.sealGeneric=function(a,b,c,d){return this.$val.sealGeneric(a,b,c,d);};F.ptr.prototype.openGeneric=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=this;f=P.zero();$copySlice(new O(f),$subslice(c,(c.$length-16>>0)));c=$subslice(c,0,(c.$length-16>>0));g=P.zero();$copySlice($subslice(new O(g),4),b);h=N.zero();D.XORKeyStream(new O(h),new O(h),g,e.key);i=$makeSlice(O,(((J(d.$length)+J(c.$length)>>0)+8>>0)+8>>0));$copySlice(i,d);$copySlice($subslice(i,J(d.$length)),c);$clone(C.LittleEndian,C.littleEndian).PutUint64($subslice(i,(i.$length-16>>0)),(new $Uint64(0,d.$length)));$clone(C.LittleEndian,C.littleEndian).PutUint64($subslice(i,(i.$length-8>>0)),(new $Uint64(0,c.$length)));j=I(a,c.$length);k=j[0];l=j[1];if(!E.Verify(f,i,h)){m=l;n=0;while(true){if(!(n<m.$length)){break;}o=n;((o<0||o>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+o]=0);n++;}return[O.nil,H];}g[0]=1;D.XORKeyStream(l,c,g,e.key);return[k,$ifaceNil];};F.prototype.openGeneric=function(a,b,c,d){return this.$val.openGeneric(a,b,c,d);};F.ptr.prototype.seal=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;return e.sealGeneric(a,b,c,d);};F.prototype.seal=function(a,b,c,d){return this.$val.seal(a,b,c,d);};F.ptr.prototype.open=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;return e.openGeneric(a,b,c,d);};F.prototype.open=function(a,b,c,d){return this.$val.open(a,b,c,d);};Q.methods=[{prop:\"NonceSize\",name:\"NonceSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Overhead\",name:\"Overhead\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Seal\",name:\"Seal\",pkg:\"\",typ:$funcType([O,O,O,O],[O],false)},{prop:\"Open\",name:\"Open\",pkg:\"\",typ:$funcType([O,O,O,O],[O,$error],false)},{prop:\"sealGeneric\",name:\"sealGeneric\",pkg:\"vendor/golang_org/x/crypto/chacha20poly1305\",typ:$funcType([O,O,O,O],[O],false)},{prop:\"openGeneric\",name:\"openGeneric\",pkg:\"vendor/golang_org/x/crypto/chacha20poly1305\",typ:$funcType([O,O,O,O],[O,$error],false)},{prop:\"seal\",name:\"seal\",pkg:\"vendor/golang_org/x/crypto/chacha20poly1305\",typ:$funcType([O,O,O,O],[O],false)},{prop:\"open\",name:\"open\",pkg:\"vendor/golang_org/x/crypto/chacha20poly1305\",typ:$funcType([O,O,O,O],[O,$error],false)}];F.init(\"vendor/golang_org/x/crypto/chacha20poly1305\",[{prop:\"key\",name:\"key\",exported:false,typ:N,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}H=B.New(\"chacha20poly1305: message authentication failed\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/crypto/curve25519\"]=(function(){var $pkg={},$init,A,U,V,W,X,Q,T,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,R,S;A=$pkg.fieldElement=$newType(40,$kindArray,\"curve25519.fieldElement\",true,\"vendor/golang_org/x/crypto/curve25519\",false,null);U=$arrayType($Int32,10);V=$sliceType($Uint8);W=$arrayType($Int64,10);X=$arrayType($Uint8,32);B=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<10)){break;}d=c;a.nilCheck,((d<0||d>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[d]=0);c++;}};C=function(a){var $ptr,a;B(a);a.nilCheck,a[0]=1;};D=function(a,b,c){var $ptr,a,b,c,d,e,f;d=a;e=0;while(true){if(!(e<10)){break;}f=e;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f]))+(c.nilCheck,((f<0||f>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[f]))>>0));e++;}};E=function(a,b,c){var $ptr,a,b,c,d,e,f;d=a;e=0;while(true){if(!(e<10)){break;}f=e;a.nilCheck,((f<0||f>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[f]=((b.nilCheck,((f<0||f>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[f]))-(c.nilCheck,((f<0||f>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[f]))>>0));e++;}};F=function(a,b){var $ptr,a,b,c,d,e;c=a;d=0;while(true){if(!(d<10)){break;}e=d;a.nilCheck,((e<0||e>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[e]=(b.nilCheck,((e<0||e>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[e])));d++;}};G=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=U.zero();c=-c;e=d;f=0;while(true){if(!(f<10)){break;}g=f;((g<0||g>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[g]=(c&((((a.nilCheck,((g<0||g>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[g]))^(b.nilCheck,((g<0||g>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[g])))>>0))));f++;}h=a;i=0;while(true){if(!(i<10)){break;}j=i;a.nilCheck,((j<0||j>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[j]=(((a.nilCheck,((j<0||j>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[j]))^(((j<0||j>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[j])))>>0));i++;}k=b;l=0;while(true){if(!(l<10)){break;}m=l;b.nilCheck,((m<0||m>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[m]=(((b.nilCheck,((m<0||m>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[m]))^(((m<0||m>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[m])))>>0));l++;}};H=function(a){var $ptr,a,b,c,d;b=new $Int64(0,0);b=(new $Int64(0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])));b=(c=$shiftLeft64((new $Int64(0,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]))),8),new $Int64(b.$high|c.$high,(b.$low|c.$low)>>>0));b=(d=$shiftLeft64((new $Int64(0,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))),16),new $Int64(b.$high|d.$high,(b.$low|d.$low)>>>0));return b;};I=function(a){var $ptr,a,b,c,d,e;b=new $Int64(0,0);b=(new $Int64(0,(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])));b=(c=$shiftLeft64((new $Int64(0,(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]))),8),new $Int64(b.$high|c.$high,(b.$low|c.$low)>>>0));b=(d=$shiftLeft64((new $Int64(0,(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]))),16),new $Int64(b.$high|d.$high,(b.$low|d.$low)>>>0));b=(e=$shiftLeft64((new $Int64(0,(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]))),24),new $Int64(b.$high|e.$high,(b.$low|e.$low)>>>0));return b;};J=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=I(new V(b));d=$shiftLeft64(H($subslice(new V(b),4)),6);e=$shiftLeft64(H($subslice(new V(b),7)),5);f=$shiftLeft64(H($subslice(new V(b),10)),3);g=$shiftLeft64(H($subslice(new V(b),13)),2);h=I($subslice(new V(b),16));i=$shiftLeft64(H($subslice(new V(b),20)),7);j=$shiftLeft64(H($subslice(new V(b),23)),5);k=$shiftLeft64(H($subslice(new V(b),26)),4);l=$shiftLeft64(H($subslice(new V(b),29)),2);m=W.zero();m[9]=$shiftRightInt64((new $Int64(l.$high+0,l.$low+16777216)),25);c=(n=$mul64(m[9],new $Int64(0,19)),new $Int64(c.$high+n.$high,c.$low+n.$low));l=(o=$shiftLeft64(m[9],25),new $Int64(l.$high-o.$high,l.$low-o.$low));m[1]=$shiftRightInt64((new $Int64(d.$high+0,d.$low+16777216)),25);e=(p=m[1],new $Int64(e.$high+p.$high,e.$low+p.$low));d=(q=$shiftLeft64(m[1],25),new $Int64(d.$high-q.$high,d.$low-q.$low));m[3]=$shiftRightInt64((new $Int64(f.$high+0,f.$low+16777216)),25);g=(r=m[3],new $Int64(g.$high+r.$high,g.$low+r.$low));f=(s=$shiftLeft64(m[3],25),new $Int64(f.$high-s.$high,f.$low-s.$low));m[5]=$shiftRightInt64((new $Int64(h.$high+0,h.$low+16777216)),25);i=(t=m[5],new $Int64(i.$high+t.$high,i.$low+t.$low));h=(u=$shiftLeft64(m[5],25),new $Int64(h.$high-u.$high,h.$low-u.$low));m[7]=$shiftRightInt64((new $Int64(j.$high+0,j.$low+16777216)),25);k=(v=m[7],new $Int64(k.$high+v.$high,k.$low+v.$low));j=(w=$shiftLeft64(m[7],25),new $Int64(j.$high-w.$high,j.$low-w.$low));m[0]=$shiftRightInt64((new $Int64(c.$high+0,c.$low+33554432)),26);d=(x=m[0],new $Int64(d.$high+x.$high,d.$low+x.$low));c=(y=$shiftLeft64(m[0],26),new $Int64(c.$high-y.$high,c.$low-y.$low));m[2]=$shiftRightInt64((new $Int64(e.$high+0,e.$low+33554432)),26);f=(z=m[2],new $Int64(f.$high+z.$high,f.$low+z.$low));e=(aa=$shiftLeft64(m[2],26),new $Int64(e.$high-aa.$high,e.$low-aa.$low));m[4]=$shiftRightInt64((new $Int64(g.$high+0,g.$low+33554432)),26);h=(ab=m[4],new $Int64(h.$high+ab.$high,h.$low+ab.$low));g=(ac=$shiftLeft64(m[4],26),new $Int64(g.$high-ac.$high,g.$low-ac.$low));m[6]=$shiftRightInt64((new $Int64(i.$high+0,i.$low+33554432)),26);j=(ad=m[6],new $Int64(j.$high+ad.$high,j.$low+ad.$low));i=(ae=$shiftLeft64(m[6],26),new $Int64(i.$high-ae.$high,i.$low-ae.$low));m[8]=$shiftRightInt64((new $Int64(k.$high+0,k.$low+33554432)),26);l=(af=m[8],new $Int64(l.$high+af.$high,l.$low+af.$low));k=(ag=$shiftLeft64(m[8],26),new $Int64(k.$high-ag.$high,k.$low-ag.$low));a.nilCheck,a[0]=(((c.$low+((c.$high>>31)*4294967296))>>0));a.nilCheck,a[1]=(((d.$low+((d.$high>>31)*4294967296))>>0));a.nilCheck,a[2]=(((e.$low+((e.$high>>31)*4294967296))>>0));a.nilCheck,a[3]=(((f.$low+((f.$high>>31)*4294967296))>>0));a.nilCheck,a[4]=(((g.$low+((g.$high>>31)*4294967296))>>0));a.nilCheck,a[5]=(((h.$low+((h.$high>>31)*4294967296))>>0));a.nilCheck,a[6]=(((i.$low+((i.$high>>31)*4294967296))>>0));a.nilCheck,a[7]=(((j.$low+((j.$high>>31)*4294967296))>>0));a.nilCheck,a[8]=(((k.$low+((k.$high>>31)*4294967296))>>0));a.nilCheck,a[9]=(((l.$low+((l.$high>>31)*4294967296))>>0));};K=function(a,b){var $ptr,a,b,c,d;c=U.zero();d=((($imul(19,(b.nilCheck,b[9])))+16777216>>0))>>25>>0;d=(((b.nilCheck,b[0])+d>>0))>>26>>0;d=(((b.nilCheck,b[1])+d>>0))>>25>>0;d=(((b.nilCheck,b[2])+d>>0))>>26>>0;d=(((b.nilCheck,b[3])+d>>0))>>25>>0;d=(((b.nilCheck,b[4])+d>>0))>>26>>0;d=(((b.nilCheck,b[5])+d>>0))>>25>>0;d=(((b.nilCheck,b[6])+d>>0))>>26>>0;d=(((b.nilCheck,b[7])+d>>0))>>25>>0;d=(((b.nilCheck,b[8])+d>>0))>>26>>0;d=(((b.nilCheck,b[9])+d>>0))>>25>>0;b.nilCheck,b[0]=((b.nilCheck,b[0])+(($imul(19,d)))>>0);c[0]=((b.nilCheck,b[0])>>26>>0);b.nilCheck,b[1]=((b.nilCheck,b[1])+(c[0])>>0);b.nilCheck,b[0]=((b.nilCheck,b[0])-((c[0]<<26>>0))>>0);c[1]=((b.nilCheck,b[1])>>25>>0);b.nilCheck,b[2]=((b.nilCheck,b[2])+(c[1])>>0);b.nilCheck,b[1]=((b.nilCheck,b[1])-((c[1]<<25>>0))>>0);c[2]=((b.nilCheck,b[2])>>26>>0);b.nilCheck,b[3]=((b.nilCheck,b[3])+(c[2])>>0);b.nilCheck,b[2]=((b.nilCheck,b[2])-((c[2]<<26>>0))>>0);c[3]=((b.nilCheck,b[3])>>25>>0);b.nilCheck,b[4]=((b.nilCheck,b[4])+(c[3])>>0);b.nilCheck,b[3]=((b.nilCheck,b[3])-((c[3]<<25>>0))>>0);c[4]=((b.nilCheck,b[4])>>26>>0);b.nilCheck,b[5]=((b.nilCheck,b[5])+(c[4])>>0);b.nilCheck,b[4]=((b.nilCheck,b[4])-((c[4]<<26>>0))>>0);c[5]=((b.nilCheck,b[5])>>25>>0);b.nilCheck,b[6]=((b.nilCheck,b[6])+(c[5])>>0);b.nilCheck,b[5]=((b.nilCheck,b[5])-((c[5]<<25>>0))>>0);c[6]=((b.nilCheck,b[6])>>26>>0);b.nilCheck,b[7]=((b.nilCheck,b[7])+(c[6])>>0);b.nilCheck,b[6]=((b.nilCheck,b[6])-((c[6]<<26>>0))>>0);c[7]=((b.nilCheck,b[7])>>25>>0);b.nilCheck,b[8]=((b.nilCheck,b[8])+(c[7])>>0);b.nilCheck,b[7]=((b.nilCheck,b[7])-((c[7]<<25>>0))>>0);c[8]=((b.nilCheck,b[8])>>26>>0);b.nilCheck,b[9]=((b.nilCheck,b[9])+(c[8])>>0);b.nilCheck,b[8]=((b.nilCheck,b[8])-((c[8]<<26>>0))>>0);c[9]=((b.nilCheck,b[9])>>25>>0);b.nilCheck,b[9]=((b.nilCheck,b[9])-((c[9]<<25>>0))>>0);a.nilCheck,a[0]=((((b.nilCheck,b[0])>>0>>0)<<24>>>24));a.nilCheck,a[1]=((((b.nilCheck,b[0])>>8>>0)<<24>>>24));a.nilCheck,a[2]=((((b.nilCheck,b[0])>>16>>0)<<24>>>24));a.nilCheck,a[3]=((((((b.nilCheck,b[0])>>24>>0))|(((b.nilCheck,b[1])<<2>>0)))<<24>>>24));a.nilCheck,a[4]=((((b.nilCheck,b[1])>>6>>0)<<24>>>24));a.nilCheck,a[5]=((((b.nilCheck,b[1])>>14>>0)<<24>>>24));a.nilCheck,a[6]=((((((b.nilCheck,b[1])>>22>>0))|(((b.nilCheck,b[2])<<3>>0)))<<24>>>24));a.nilCheck,a[7]=((((b.nilCheck,b[2])>>5>>0)<<24>>>24));a.nilCheck,a[8]=((((b.nilCheck,b[2])>>13>>0)<<24>>>24));a.nilCheck,a[9]=((((((b.nilCheck,b[2])>>21>>0))|(((b.nilCheck,b[3])<<5>>0)))<<24>>>24));a.nilCheck,a[10]=((((b.nilCheck,b[3])>>3>>0)<<24>>>24));a.nilCheck,a[11]=((((b.nilCheck,b[3])>>11>>0)<<24>>>24));a.nilCheck,a[12]=((((((b.nilCheck,b[3])>>19>>0))|(((b.nilCheck,b[4])<<6>>0)))<<24>>>24));a.nilCheck,a[13]=((((b.nilCheck,b[4])>>2>>0)<<24>>>24));a.nilCheck,a[14]=((((b.nilCheck,b[4])>>10>>0)<<24>>>24));a.nilCheck,a[15]=((((b.nilCheck,b[4])>>18>>0)<<24>>>24));a.nilCheck,a[16]=((((b.nilCheck,b[5])>>0>>0)<<24>>>24));a.nilCheck,a[17]=((((b.nilCheck,b[5])>>8>>0)<<24>>>24));a.nilCheck,a[18]=((((b.nilCheck,b[5])>>16>>0)<<24>>>24));a.nilCheck,a[19]=((((((b.nilCheck,b[5])>>24>>0))|(((b.nilCheck,b[6])<<1>>0)))<<24>>>24));a.nilCheck,a[20]=((((b.nilCheck,b[6])>>7>>0)<<24>>>24));a.nilCheck,a[21]=((((b.nilCheck,b[6])>>15>>0)<<24>>>24));a.nilCheck,a[22]=((((((b.nilCheck,b[6])>>23>>0))|(((b.nilCheck,b[7])<<3>>0)))<<24>>>24));a.nilCheck,a[23]=((((b.nilCheck,b[7])>>5>>0)<<24>>>24));a.nilCheck,a[24]=((((b.nilCheck,b[7])>>13>>0)<<24>>>24));a.nilCheck,a[25]=((((((b.nilCheck,b[7])>>21>>0))|(((b.nilCheck,b[8])<<4>>0)))<<24>>>24));a.nilCheck,a[26]=((((b.nilCheck,b[8])>>4>>0)<<24>>>24));a.nilCheck,a[27]=((((b.nilCheck,b[8])>>12>>0)<<24>>>24));a.nilCheck,a[28]=((((((b.nilCheck,b[8])>>20>>0))|(((b.nilCheck,b[9])<<6>>0)))<<24>>>24));a.nilCheck,a[29]=((((b.nilCheck,b[9])>>2>>0)<<24>>>24));a.nilCheck,a[30]=((((b.nilCheck,b[9])>>10>>0)<<24>>>24));a.nilCheck,a[31]=((((b.nilCheck,b[9])>>18>>0)<<24>>>24));};L=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,ei,ej,ek,el,em,en,eo,ep,eq,er,es,et,eu,ev,ew,ex,ey,ez,f,fa,fb,fc,fd,fe,ff,fg,fh,fi,fj,fk,fl,fm,fn,fo,fp,fq,fr,fs,ft,fu,fv,fw,fx,fy,fz,g,ga,gb,gc,gd,ge,gf,gg,gh,gi,gj,gk,gl,gm,gn,go,gp,gq,gr,gs,gt,gu,gv,gw,gx,gy,gz,h,ha,hb,hc,hd,he,hf,hg,hh,hi,hj,hk,hl,hm,hn,ho,hp,hq,hr,hs,ht,hu,hv,hw,hx,hy,hz,i,ia,ib,ic,id,ie,ig,ih,ii,ij,ik,il,im,io,ip,iq,ir,is,it,iu,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=(b.nilCheck,b[0]);e=(b.nilCheck,b[1]);f=(b.nilCheck,b[2]);g=(b.nilCheck,b[3]);h=(b.nilCheck,b[4]);i=(b.nilCheck,b[5]);j=(b.nilCheck,b[6]);k=(b.nilCheck,b[7]);l=(b.nilCheck,b[8]);m=(b.nilCheck,b[9]);n=(c.nilCheck,c[0]);o=(c.nilCheck,c[1]);p=(c.nilCheck,c[2]);q=(c.nilCheck,c[3]);r=(c.nilCheck,c[4]);s=(c.nilCheck,c[5]);t=(c.nilCheck,c[6]);u=(c.nilCheck,c[7]);v=(c.nilCheck,c[8]);w=(c.nilCheck,c[9]);x=$imul(19,o);y=$imul(19,p);z=$imul(19,q);aa=$imul(19,r);ab=$imul(19,s);ac=$imul(19,t);ad=$imul(19,u);ae=$imul(19,v);af=$imul(19,w);ag=$imul(2,e);ah=$imul(2,g);ai=$imul(2,i);aj=$imul(2,k);ak=$imul(2,m);al=$mul64((new $Int64(0,d)),(new $Int64(0,n)));am=$mul64((new $Int64(0,d)),(new $Int64(0,o)));an=$mul64((new $Int64(0,d)),(new $Int64(0,p)));ao=$mul64((new $Int64(0,d)),(new $Int64(0,q)));ap=$mul64((new $Int64(0,d)),(new $Int64(0,r)));aq=$mul64((new $Int64(0,d)),(new $Int64(0,s)));ar=$mul64((new $Int64(0,d)),(new $Int64(0,t)));as=$mul64((new $Int64(0,d)),(new $Int64(0,u)));at=$mul64((new $Int64(0,d)),(new $Int64(0,v)));au=$mul64((new $Int64(0,d)),(new $Int64(0,w)));av=$mul64((new $Int64(0,e)),(new $Int64(0,n)));aw=$mul64((new $Int64(0,ag)),(new $Int64(0,o)));ax=$mul64((new $Int64(0,e)),(new $Int64(0,p)));ay=$mul64((new $Int64(0,ag)),(new $Int64(0,q)));az=$mul64((new $Int64(0,e)),(new $Int64(0,r)));ba=$mul64((new $Int64(0,ag)),(new $Int64(0,s)));bb=$mul64((new $Int64(0,e)),(new $Int64(0,t)));bc=$mul64((new $Int64(0,ag)),(new $Int64(0,u)));bd=$mul64((new $Int64(0,e)),(new $Int64(0,v)));be=$mul64((new $Int64(0,ag)),(new $Int64(0,af)));bf=$mul64((new $Int64(0,f)),(new $Int64(0,n)));bg=$mul64((new $Int64(0,f)),(new $Int64(0,o)));bh=$mul64((new $Int64(0,f)),(new $Int64(0,p)));bi=$mul64((new $Int64(0,f)),(new $Int64(0,q)));bj=$mul64((new $Int64(0,f)),(new $Int64(0,r)));bk=$mul64((new $Int64(0,f)),(new $Int64(0,s)));bl=$mul64((new $Int64(0,f)),(new $Int64(0,t)));bm=$mul64((new $Int64(0,f)),(new $Int64(0,u)));bn=$mul64((new $Int64(0,f)),(new $Int64(0,ae)));bo=$mul64((new $Int64(0,f)),(new $Int64(0,af)));bp=$mul64((new $Int64(0,g)),(new $Int64(0,n)));bq=$mul64((new $Int64(0,ah)),(new $Int64(0,o)));br=$mul64((new $Int64(0,g)),(new $Int64(0,p)));bs=$mul64((new $Int64(0,ah)),(new $Int64(0,q)));bt=$mul64((new $Int64(0,g)),(new $Int64(0,r)));bu=$mul64((new $Int64(0,ah)),(new $Int64(0,s)));bv=$mul64((new $Int64(0,g)),(new $Int64(0,t)));bw=$mul64((new $Int64(0,ah)),(new $Int64(0,ad)));bx=$mul64((new $Int64(0,g)),(new $Int64(0,ae)));by=$mul64((new $Int64(0,ah)),(new $Int64(0,af)));bz=$mul64((new $Int64(0,h)),(new $Int64(0,n)));ca=$mul64((new $Int64(0,h)),(new $Int64(0,o)));cb=$mul64((new $Int64(0,h)),(new $Int64(0,p)));cc=$mul64((new $Int64(0,h)),(new $Int64(0,q)));cd=$mul64((new $Int64(0,h)),(new $Int64(0,r)));ce=$mul64((new $Int64(0,h)),(new $Int64(0,s)));cf=$mul64((new $Int64(0,h)),(new $Int64(0,ac)));cg=$mul64((new $Int64(0,h)),(new $Int64(0,ad)));ch=$mul64((new $Int64(0,h)),(new $Int64(0,ae)));ci=$mul64((new $Int64(0,h)),(new $Int64(0,af)));cj=$mul64((new $Int64(0,i)),(new $Int64(0,n)));ck=$mul64((new $Int64(0,ai)),(new $Int64(0,o)));cl=$mul64((new $Int64(0,i)),(new $Int64(0,p)));cm=$mul64((new $Int64(0,ai)),(new $Int64(0,q)));cn=$mul64((new $Int64(0,i)),(new $Int64(0,r)));co=$mul64((new $Int64(0,ai)),(new $Int64(0,ab)));cp=$mul64((new $Int64(0,i)),(new $Int64(0,ac)));cq=$mul64((new $Int64(0,ai)),(new $Int64(0,ad)));cr=$mul64((new $Int64(0,i)),(new $Int64(0,ae)));cs=$mul64((new $Int64(0,ai)),(new $Int64(0,af)));ct=$mul64((new $Int64(0,j)),(new $Int64(0,n)));cu=$mul64((new $Int64(0,j)),(new $Int64(0,o)));cv=$mul64((new $Int64(0,j)),(new $Int64(0,p)));cw=$mul64((new $Int64(0,j)),(new $Int64(0,q)));cx=$mul64((new $Int64(0,j)),(new $Int64(0,aa)));cy=$mul64((new $Int64(0,j)),(new $Int64(0,ab)));cz=$mul64((new $Int64(0,j)),(new $Int64(0,ac)));da=$mul64((new $Int64(0,j)),(new $Int64(0,ad)));db=$mul64((new $Int64(0,j)),(new $Int64(0,ae)));dc=$mul64((new $Int64(0,j)),(new $Int64(0,af)));dd=$mul64((new $Int64(0,k)),(new $Int64(0,n)));de=$mul64((new $Int64(0,aj)),(new $Int64(0,o)));df=$mul64((new $Int64(0,k)),(new $Int64(0,p)));dg=$mul64((new $Int64(0,aj)),(new $Int64(0,z)));dh=$mul64((new $Int64(0,k)),(new $Int64(0,aa)));di=$mul64((new $Int64(0,aj)),(new $Int64(0,ab)));dj=$mul64((new $Int64(0,k)),(new $Int64(0,ac)));dk=$mul64((new $Int64(0,aj)),(new $Int64(0,ad)));dl=$mul64((new $Int64(0,k)),(new $Int64(0,ae)));dm=$mul64((new $Int64(0,aj)),(new $Int64(0,af)));dn=$mul64((new $Int64(0,l)),(new $Int64(0,n)));dp=$mul64((new $Int64(0,l)),(new $Int64(0,o)));dq=$mul64((new $Int64(0,l)),(new $Int64(0,y)));dr=$mul64((new $Int64(0,l)),(new $Int64(0,z)));ds=$mul64((new $Int64(0,l)),(new $Int64(0,aa)));dt=$mul64((new $Int64(0,l)),(new $Int64(0,ab)));du=$mul64((new $Int64(0,l)),(new $Int64(0,ac)));dv=$mul64((new $Int64(0,l)),(new $Int64(0,ad)));dw=$mul64((new $Int64(0,l)),(new $Int64(0,ae)));dx=$mul64((new $Int64(0,l)),(new $Int64(0,af)));dy=$mul64((new $Int64(0,m)),(new $Int64(0,n)));dz=$mul64((new $Int64(0,ak)),(new $Int64(0,x)));ea=$mul64((new $Int64(0,m)),(new $Int64(0,y)));eb=$mul64((new $Int64(0,ak)),(new $Int64(0,z)));ec=$mul64((new $Int64(0,m)),(new $Int64(0,aa)));ed=$mul64((new $Int64(0,ak)),(new $Int64(0,ab)));ee=$mul64((new $Int64(0,m)),(new $Int64(0,ac)));ef=$mul64((new $Int64(0,ak)),(new $Int64(0,ad)));eg=$mul64((new $Int64(0,m)),(new $Int64(0,ae)));eh=$mul64((new $Int64(0,ak)),(new $Int64(0,af)));eq=(ei=(ej=(ek=(el=(em=(en=(eo=(ep=new $Int64(al.$high+be.$high,al.$low+be.$low),new $Int64(ep.$high+bn.$high,ep.$low+bn.$low)),new $Int64(eo.$high+bw.$high,eo.$low+bw.$low)),new $Int64(en.$high+cf.$high,en.$low+cf.$low)),new $Int64(em.$high+co.$high,em.$low+co.$low)),new $Int64(el.$high+cx.$high,el.$low+cx.$low)),new $Int64(ek.$high+dg.$high,ek.$low+dg.$low)),new $Int64(ej.$high+dq.$high,ej.$low+dq.$low)),new $Int64(ei.$high+dz.$high,ei.$low+dz.$low));ez=(er=(es=(et=(eu=(ev=(ew=(ex=(ey=new $Int64(am.$high+av.$high,am.$low+av.$low),new $Int64(ey.$high+bo.$high,ey.$low+bo.$low)),new $Int64(ex.$high+bx.$high,ex.$low+bx.$low)),new $Int64(ew.$high+cg.$high,ew.$low+cg.$low)),new $Int64(ev.$high+cp.$high,ev.$low+cp.$low)),new $Int64(eu.$high+cy.$high,eu.$low+cy.$low)),new $Int64(et.$high+dh.$high,et.$low+dh.$low)),new $Int64(es.$high+dr.$high,es.$low+dr.$low)),new $Int64(er.$high+ea.$high,er.$low+ea.$low));fi=(fa=(fb=(fc=(fd=(fe=(ff=(fg=(fh=new $Int64(an.$high+aw.$high,an.$low+aw.$low),new $Int64(fh.$high+bf.$high,fh.$low+bf.$low)),new $Int64(fg.$high+by.$high,fg.$low+by.$low)),new $Int64(ff.$high+ch.$high,ff.$low+ch.$low)),new $Int64(fe.$high+cq.$high,fe.$low+cq.$low)),new $Int64(fd.$high+cz.$high,fd.$low+cz.$low)),new $Int64(fc.$high+di.$high,fc.$low+di.$low)),new $Int64(fb.$high+ds.$high,fb.$low+ds.$low)),new $Int64(fa.$high+eb.$high,fa.$low+eb.$low));fr=(fj=(fk=(fl=(fm=(fn=(fo=(fp=(fq=new $Int64(ao.$high+ax.$high,ao.$low+ax.$low),new $Int64(fq.$high+bg.$high,fq.$low+bg.$low)),new $Int64(fp.$high+bp.$high,fp.$low+bp.$low)),new $Int64(fo.$high+ci.$high,fo.$low+ci.$low)),new $Int64(fn.$high+cr.$high,fn.$low+cr.$low)),new $Int64(fm.$high+da.$high,fm.$low+da.$low)),new $Int64(fl.$high+dj.$high,fl.$low+dj.$low)),new $Int64(fk.$high+dt.$high,fk.$low+dt.$low)),new $Int64(fj.$high+ec.$high,fj.$low+ec.$low));ga=(fs=(ft=(fu=(fv=(fw=(fx=(fy=(fz=new $Int64(ap.$high+ay.$high,ap.$low+ay.$low),new $Int64(fz.$high+bh.$high,fz.$low+bh.$low)),new $Int64(fy.$high+bq.$high,fy.$low+bq.$low)),new $Int64(fx.$high+bz.$high,fx.$low+bz.$low)),new $Int64(fw.$high+cs.$high,fw.$low+cs.$low)),new $Int64(fv.$high+db.$high,fv.$low+db.$low)),new $Int64(fu.$high+dk.$high,fu.$low+dk.$low)),new $Int64(ft.$high+du.$high,ft.$low+du.$low)),new $Int64(fs.$high+ed.$high,fs.$low+ed.$low));gj=(gb=(gc=(gd=(ge=(gf=(gg=(gh=(gi=new $Int64(aq.$high+az.$high,aq.$low+az.$low),new $Int64(gi.$high+bi.$high,gi.$low+bi.$low)),new $Int64(gh.$high+br.$high,gh.$low+br.$low)),new $Int64(gg.$high+ca.$high,gg.$low+ca.$low)),new $Int64(gf.$high+cj.$high,gf.$low+cj.$low)),new $Int64(ge.$high+dc.$high,ge.$low+dc.$low)),new $Int64(gd.$high+dl.$high,gd.$low+dl.$low)),new $Int64(gc.$high+dv.$high,gc.$low+dv.$low)),new $Int64(gb.$high+ee.$high,gb.$low+ee.$low));gs=(gk=(gl=(gm=(gn=(go=(gp=(gq=(gr=new $Int64(ar.$high+ba.$high,ar.$low+ba.$low),new $Int64(gr.$high+bj.$high,gr.$low+bj.$low)),new $Int64(gq.$high+bs.$high,gq.$low+bs.$low)),new $Int64(gp.$high+cb.$high,gp.$low+cb.$low)),new $Int64(go.$high+ck.$high,go.$low+ck.$low)),new $Int64(gn.$high+ct.$high,gn.$low+ct.$low)),new $Int64(gm.$high+dm.$high,gm.$low+dm.$low)),new $Int64(gl.$high+dw.$high,gl.$low+dw.$low)),new $Int64(gk.$high+ef.$high,gk.$low+ef.$low));hb=(gt=(gu=(gv=(gw=(gx=(gy=(gz=(ha=new $Int64(as.$high+bb.$high,as.$low+bb.$low),new $Int64(ha.$high+bk.$high,ha.$low+bk.$low)),new $Int64(gz.$high+bt.$high,gz.$low+bt.$low)),new $Int64(gy.$high+cc.$high,gy.$low+cc.$low)),new $Int64(gx.$high+cl.$high,gx.$low+cl.$low)),new $Int64(gw.$high+cu.$high,gw.$low+cu.$low)),new $Int64(gv.$high+dd.$high,gv.$low+dd.$low)),new $Int64(gu.$high+dx.$high,gu.$low+dx.$low)),new $Int64(gt.$high+eg.$high,gt.$low+eg.$low));hk=(hc=(hd=(he=(hf=(hg=(hh=(hi=(hj=new $Int64(at.$high+bc.$high,at.$low+bc.$low),new $Int64(hj.$high+bl.$high,hj.$low+bl.$low)),new $Int64(hi.$high+bu.$high,hi.$low+bu.$low)),new $Int64(hh.$high+cd.$high,hh.$low+cd.$low)),new $Int64(hg.$high+cm.$high,hg.$low+cm.$low)),new $Int64(hf.$high+cv.$high,hf.$low+cv.$low)),new $Int64(he.$high+de.$high,he.$low+de.$low)),new $Int64(hd.$high+dn.$high,hd.$low+dn.$low)),new $Int64(hc.$high+eh.$high,hc.$low+eh.$low));ht=(hl=(hm=(hn=(ho=(hp=(hq=(hr=(hs=new $Int64(au.$high+bd.$high,au.$low+bd.$low),new $Int64(hs.$high+bm.$high,hs.$low+bm.$low)),new $Int64(hr.$high+bv.$high,hr.$low+bv.$low)),new $Int64(hq.$high+ce.$high,hq.$low+ce.$low)),new $Int64(hp.$high+cn.$high,hp.$low+cn.$low)),new $Int64(ho.$high+cw.$high,ho.$low+cw.$low)),new $Int64(hn.$high+df.$high,hn.$low+df.$low)),new $Int64(hm.$high+dp.$high,hm.$low+dp.$low)),new $Int64(hl.$high+dy.$high,hl.$low+dy.$low));hu=W.zero();hu[0]=$shiftRightInt64((new $Int64(eq.$high+0,eq.$low+33554432)),26);ez=(hv=hu[0],new $Int64(ez.$high+hv.$high,ez.$low+hv.$low));eq=(hw=$shiftLeft64(hu[0],26),new $Int64(eq.$high-hw.$high,eq.$low-hw.$low));hu[4]=$shiftRightInt64((new $Int64(ga.$high+0,ga.$low+33554432)),26);gj=(hx=hu[4],new $Int64(gj.$high+hx.$high,gj.$low+hx.$low));ga=(hy=$shiftLeft64(hu[4],26),new $Int64(ga.$high-hy.$high,ga.$low-hy.$low));hu[1]=$shiftRightInt64((new $Int64(ez.$high+0,ez.$low+16777216)),25);fi=(hz=hu[1],new $Int64(fi.$high+hz.$high,fi.$low+hz.$low));ez=(ia=$shiftLeft64(hu[1],25),new $Int64(ez.$high-ia.$high,ez.$low-ia.$low));hu[5]=$shiftRightInt64((new $Int64(gj.$high+0,gj.$low+16777216)),25);gs=(ib=hu[5],new $Int64(gs.$high+ib.$high,gs.$low+ib.$low));gj=(ic=$shiftLeft64(hu[5],25),new $Int64(gj.$high-ic.$high,gj.$low-ic.$low));hu[2]=$shiftRightInt64((new $Int64(fi.$high+0,fi.$low+33554432)),26);fr=(id=hu[2],new $Int64(fr.$high+id.$high,fr.$low+id.$low));fi=(ie=$shiftLeft64(hu[2],26),new $Int64(fi.$high-ie.$high,fi.$low-ie.$low));hu[6]=$shiftRightInt64((new $Int64(gs.$high+0,gs.$low+33554432)),26);hb=(ig=hu[6],new $Int64(hb.$high+ig.$high,hb.$low+ig.$low));gs=(ih=$shiftLeft64(hu[6],26),new $Int64(gs.$high-ih.$high,gs.$low-ih.$low));hu[3]=$shiftRightInt64((new $Int64(fr.$high+0,fr.$low+16777216)),25);ga=(ii=hu[3],new $Int64(ga.$high+ii.$high,ga.$low+ii.$low));fr=(ij=$shiftLeft64(hu[3],25),new $Int64(fr.$high-ij.$high,fr.$low-ij.$low));hu[7]=$shiftRightInt64((new $Int64(hb.$high+0,hb.$low+16777216)),25);hk=(ik=hu[7],new $Int64(hk.$high+ik.$high,hk.$low+ik.$low));hb=(il=$shiftLeft64(hu[7],25),new $Int64(hb.$high-il.$high,hb.$low-il.$low));hu[4]=$shiftRightInt64((new $Int64(ga.$high+0,ga.$low+33554432)),26);gj=(im=hu[4],new $Int64(gj.$high+im.$high,gj.$low+im.$low));ga=(io=$shiftLeft64(hu[4],26),new $Int64(ga.$high-io.$high,ga.$low-io.$low));hu[8]=$shiftRightInt64((new $Int64(hk.$high+0,hk.$low+33554432)),26);ht=(ip=hu[8],new $Int64(ht.$high+ip.$high,ht.$low+ip.$low));hk=(iq=$shiftLeft64(hu[8],26),new $Int64(hk.$high-iq.$high,hk.$low-iq.$low));hu[9]=$shiftRightInt64((new $Int64(ht.$high+0,ht.$low+16777216)),25);eq=(ir=$mul64(hu[9],new $Int64(0,19)),new $Int64(eq.$high+ir.$high,eq.$low+ir.$low));ht=(is=$shiftLeft64(hu[9],25),new $Int64(ht.$high-is.$high,ht.$low-is.$low));hu[0]=$shiftRightInt64((new $Int64(eq.$high+0,eq.$low+33554432)),26);ez=(it=hu[0],new $Int64(ez.$high+it.$high,ez.$low+it.$low));eq=(iu=$shiftLeft64(hu[0],26),new $Int64(eq.$high-iu.$high,eq.$low-iu.$low));a.nilCheck,a[0]=(((eq.$low+((eq.$high>>31)*4294967296))>>0));a.nilCheck,a[1]=(((ez.$low+((ez.$high>>31)*4294967296))>>0));a.nilCheck,a[2]=(((fi.$low+((fi.$high>>31)*4294967296))>>0));a.nilCheck,a[3]=(((fr.$low+((fr.$high>>31)*4294967296))>>0));a.nilCheck,a[4]=(((ga.$low+((ga.$high>>31)*4294967296))>>0));a.nilCheck,a[5]=(((gj.$low+((gj.$high>>31)*4294967296))>>0));a.nilCheck,a[6]=(((gs.$low+((gs.$high>>31)*4294967296))>>0));a.nilCheck,a[7]=(((hb.$low+((hb.$high>>31)*4294967296))>>0));a.nilCheck,a[8]=(((hk.$low+((hk.$high>>31)*4294967296))>>0));a.nilCheck,a[9]=(((ht.$low+((ht.$high>>31)*4294967296))>>0));};M=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,eh,ei,ej,ek,el,em,en,eo,ep,eq,er,es,et,eu,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=(b.nilCheck,b[0]);d=(b.nilCheck,b[1]);e=(b.nilCheck,b[2]);f=(b.nilCheck,b[3]);g=(b.nilCheck,b[4]);h=(b.nilCheck,b[5]);i=(b.nilCheck,b[6]);j=(b.nilCheck,b[7]);k=(b.nilCheck,b[8]);l=(b.nilCheck,b[9]);m=$imul(2,c);n=$imul(2,d);o=$imul(2,e);p=$imul(2,f);q=$imul(2,g);r=$imul(2,h);s=$imul(2,i);t=$imul(2,j);u=$imul(38,h);v=$imul(19,i);w=$imul(38,j);x=$imul(19,k);y=$imul(38,l);z=$mul64((new $Int64(0,c)),(new $Int64(0,c)));aa=$mul64((new $Int64(0,m)),(new $Int64(0,d)));ab=$mul64((new $Int64(0,m)),(new $Int64(0,e)));ac=$mul64((new $Int64(0,m)),(new $Int64(0,f)));ad=$mul64((new $Int64(0,m)),(new $Int64(0,g)));ae=$mul64((new $Int64(0,m)),(new $Int64(0,h)));af=$mul64((new $Int64(0,m)),(new $Int64(0,i)));ag=$mul64((new $Int64(0,m)),(new $Int64(0,j)));ah=$mul64((new $Int64(0,m)),(new $Int64(0,k)));ai=$mul64((new $Int64(0,m)),(new $Int64(0,l)));aj=$mul64((new $Int64(0,n)),(new $Int64(0,d)));ak=$mul64((new $Int64(0,n)),(new $Int64(0,e)));al=$mul64((new $Int64(0,n)),(new $Int64(0,p)));am=$mul64((new $Int64(0,n)),(new $Int64(0,g)));an=$mul64((new $Int64(0,n)),(new $Int64(0,r)));ao=$mul64((new $Int64(0,n)),(new $Int64(0,i)));ap=$mul64((new $Int64(0,n)),(new $Int64(0,t)));aq=$mul64((new $Int64(0,n)),(new $Int64(0,k)));ar=$mul64((new $Int64(0,n)),(new $Int64(0,y)));as=$mul64((new $Int64(0,e)),(new $Int64(0,e)));at=$mul64((new $Int64(0,o)),(new $Int64(0,f)));au=$mul64((new $Int64(0,o)),(new $Int64(0,g)));av=$mul64((new $Int64(0,o)),(new $Int64(0,h)));aw=$mul64((new $Int64(0,o)),(new $Int64(0,i)));ax=$mul64((new $Int64(0,o)),(new $Int64(0,j)));ay=$mul64((new $Int64(0,o)),(new $Int64(0,x)));az=$mul64((new $Int64(0,e)),(new $Int64(0,y)));ba=$mul64((new $Int64(0,p)),(new $Int64(0,f)));bb=$mul64((new $Int64(0,p)),(new $Int64(0,g)));bc=$mul64((new $Int64(0,p)),(new $Int64(0,r)));bd=$mul64((new $Int64(0,p)),(new $Int64(0,i)));be=$mul64((new $Int64(0,p)),(new $Int64(0,w)));bf=$mul64((new $Int64(0,p)),(new $Int64(0,x)));bg=$mul64((new $Int64(0,p)),(new $Int64(0,y)));bh=$mul64((new $Int64(0,g)),(new $Int64(0,g)));bi=$mul64((new $Int64(0,q)),(new $Int64(0,h)));bj=$mul64((new $Int64(0,q)),(new $Int64(0,v)));bk=$mul64((new $Int64(0,g)),(new $Int64(0,w)));bl=$mul64((new $Int64(0,q)),(new $Int64(0,x)));bm=$mul64((new $Int64(0,g)),(new $Int64(0,y)));bn=$mul64((new $Int64(0,h)),(new $Int64(0,u)));bo=$mul64((new $Int64(0,r)),(new $Int64(0,v)));bp=$mul64((new $Int64(0,r)),(new $Int64(0,w)));bq=$mul64((new $Int64(0,r)),(new $Int64(0,x)));br=$mul64((new $Int64(0,r)),(new $Int64(0,y)));bs=$mul64((new $Int64(0,i)),(new $Int64(0,v)));bt=$mul64((new $Int64(0,i)),(new $Int64(0,w)));bu=$mul64((new $Int64(0,s)),(new $Int64(0,x)));bv=$mul64((new $Int64(0,i)),(new $Int64(0,y)));bw=$mul64((new $Int64(0,j)),(new $Int64(0,w)));bx=$mul64((new $Int64(0,t)),(new $Int64(0,x)));by=$mul64((new $Int64(0,t)),(new $Int64(0,y)));bz=$mul64((new $Int64(0,k)),(new $Int64(0,x)));ca=$mul64((new $Int64(0,k)),(new $Int64(0,y)));cb=$mul64((new $Int64(0,l)),(new $Int64(0,y)));cg=(cc=(cd=(ce=(cf=new $Int64(z.$high+ar.$high,z.$low+ar.$low),new $Int64(cf.$high+ay.$high,cf.$low+ay.$low)),new $Int64(ce.$high+be.$high,ce.$low+be.$low)),new $Int64(cd.$high+bj.$high,cd.$low+bj.$low)),new $Int64(cc.$high+bn.$high,cc.$low+bn.$low));ck=(ch=(ci=(cj=new $Int64(aa.$high+az.$high,aa.$low+az.$low),new $Int64(cj.$high+bf.$high,cj.$low+bf.$low)),new $Int64(ci.$high+bk.$high,ci.$low+bk.$low)),new $Int64(ch.$high+bo.$high,ch.$low+bo.$low));cp=(cl=(cm=(cn=(co=new $Int64(ab.$high+aj.$high,ab.$low+aj.$low),new $Int64(co.$high+bg.$high,co.$low+bg.$low)),new $Int64(cn.$high+bl.$high,cn.$low+bl.$low)),new $Int64(cm.$high+bp.$high,cm.$low+bp.$low)),new $Int64(cl.$high+bs.$high,cl.$low+bs.$low));ct=(cq=(cr=(cs=new $Int64(ac.$high+ak.$high,ac.$low+ak.$low),new $Int64(cs.$high+bm.$high,cs.$low+bm.$low)),new $Int64(cr.$high+bq.$high,cr.$low+bq.$low)),new $Int64(cq.$high+bt.$high,cq.$low+bt.$low));cy=(cu=(cv=(cw=(cx=new $Int64(ad.$high+al.$high,ad.$low+al.$low),new $Int64(cx.$high+as.$high,cx.$low+as.$low)),new $Int64(cw.$high+br.$high,cw.$low+br.$low)),new $Int64(cv.$high+bu.$high,cv.$low+bu.$low)),new $Int64(cu.$high+bw.$high,cu.$low+bw.$low));dc=(cz=(da=(db=new $Int64(ae.$high+am.$high,ae.$low+am.$low),new $Int64(db.$high+at.$high,db.$low+at.$low)),new $Int64(da.$high+bv.$high,da.$low+bv.$low)),new $Int64(cz.$high+bx.$high,cz.$low+bx.$low));dh=(dd=(de=(df=(dg=new $Int64(af.$high+an.$high,af.$low+an.$low),new $Int64(dg.$high+au.$high,dg.$low+au.$low)),new $Int64(df.$high+ba.$high,df.$low+ba.$low)),new $Int64(de.$high+by.$high,de.$low+by.$low)),new $Int64(dd.$high+bz.$high,dd.$low+bz.$low));dl=(di=(dj=(dk=new $Int64(ag.$high+ao.$high,ag.$low+ao.$low),new $Int64(dk.$high+av.$high,dk.$low+av.$low)),new $Int64(dj.$high+bb.$high,dj.$low+bb.$low)),new $Int64(di.$high+ca.$high,di.$low+ca.$low));dr=(dm=(dn=(dp=(dq=new $Int64(ah.$high+ap.$high,ah.$low+ap.$low),new $Int64(dq.$high+aw.$high,dq.$low+aw.$low)),new $Int64(dp.$high+bc.$high,dp.$low+bc.$low)),new $Int64(dn.$high+bh.$high,dn.$low+bh.$low)),new $Int64(dm.$high+cb.$high,dm.$low+cb.$low));dv=(ds=(dt=(du=new $Int64(ai.$high+aq.$high,ai.$low+aq.$low),new $Int64(du.$high+ax.$high,du.$low+ax.$low)),new $Int64(dt.$high+bd.$high,dt.$low+bd.$low)),new $Int64(ds.$high+bi.$high,ds.$low+bi.$low));dw=W.zero();dw[0]=$shiftRightInt64((new $Int64(cg.$high+0,cg.$low+33554432)),26);ck=(dx=dw[0],new $Int64(ck.$high+dx.$high,ck.$low+dx.$low));cg=(dy=$shiftLeft64(dw[0],26),new $Int64(cg.$high-dy.$high,cg.$low-dy.$low));dw[4]=$shiftRightInt64((new $Int64(cy.$high+0,cy.$low+33554432)),26);dc=(dz=dw[4],new $Int64(dc.$high+dz.$high,dc.$low+dz.$low));cy=(ea=$shiftLeft64(dw[4],26),new $Int64(cy.$high-ea.$high,cy.$low-ea.$low));dw[1]=$shiftRightInt64((new $Int64(ck.$high+0,ck.$low+16777216)),25);cp=(eb=dw[1],new $Int64(cp.$high+eb.$high,cp.$low+eb.$low));ck=(ec=$shiftLeft64(dw[1],25),new $Int64(ck.$high-ec.$high,ck.$low-ec.$low));dw[5]=$shiftRightInt64((new $Int64(dc.$high+0,dc.$low+16777216)),25);dh=(ed=dw[5],new $Int64(dh.$high+ed.$high,dh.$low+ed.$low));dc=(ee=$shiftLeft64(dw[5],25),new $Int64(dc.$high-ee.$high,dc.$low-ee.$low));dw[2]=$shiftRightInt64((new $Int64(cp.$high+0,cp.$low+33554432)),26);ct=(ef=dw[2],new $Int64(ct.$high+ef.$high,ct.$low+ef.$low));cp=(eg=$shiftLeft64(dw[2],26),new $Int64(cp.$high-eg.$high,cp.$low-eg.$low));dw[6]=$shiftRightInt64((new $Int64(dh.$high+0,dh.$low+33554432)),26);dl=(eh=dw[6],new $Int64(dl.$high+eh.$high,dl.$low+eh.$low));dh=(ei=$shiftLeft64(dw[6],26),new $Int64(dh.$high-ei.$high,dh.$low-ei.$low));dw[3]=$shiftRightInt64((new $Int64(ct.$high+0,ct.$low+16777216)),25);cy=(ej=dw[3],new $Int64(cy.$high+ej.$high,cy.$low+ej.$low));ct=(ek=$shiftLeft64(dw[3],25),new $Int64(ct.$high-ek.$high,ct.$low-ek.$low));dw[7]=$shiftRightInt64((new $Int64(dl.$high+0,dl.$low+16777216)),25);dr=(el=dw[7],new $Int64(dr.$high+el.$high,dr.$low+el.$low));dl=(em=$shiftLeft64(dw[7],25),new $Int64(dl.$high-em.$high,dl.$low-em.$low));dw[4]=$shiftRightInt64((new $Int64(cy.$high+0,cy.$low+33554432)),26);dc=(en=dw[4],new $Int64(dc.$high+en.$high,dc.$low+en.$low));cy=(eo=$shiftLeft64(dw[4],26),new $Int64(cy.$high-eo.$high,cy.$low-eo.$low));dw[8]=$shiftRightInt64((new $Int64(dr.$high+0,dr.$low+33554432)),26);dv=(ep=dw[8],new $Int64(dv.$high+ep.$high,dv.$low+ep.$low));dr=(eq=$shiftLeft64(dw[8],26),new $Int64(dr.$high-eq.$high,dr.$low-eq.$low));dw[9]=$shiftRightInt64((new $Int64(dv.$high+0,dv.$low+16777216)),25);cg=(er=$mul64(dw[9],new $Int64(0,19)),new $Int64(cg.$high+er.$high,cg.$low+er.$low));dv=(es=$shiftLeft64(dw[9],25),new $Int64(dv.$high-es.$high,dv.$low-es.$low));dw[0]=$shiftRightInt64((new $Int64(cg.$high+0,cg.$low+33554432)),26);ck=(et=dw[0],new $Int64(ck.$high+et.$high,ck.$low+et.$low));cg=(eu=$shiftLeft64(dw[0],26),new $Int64(cg.$high-eu.$high,cg.$low-eu.$low));a.nilCheck,a[0]=(((cg.$low+((cg.$high>>31)*4294967296))>>0));a.nilCheck,a[1]=(((ck.$low+((ck.$high>>31)*4294967296))>>0));a.nilCheck,a[2]=(((cp.$low+((cp.$high>>31)*4294967296))>>0));a.nilCheck,a[3]=(((ct.$low+((ct.$high>>31)*4294967296))>>0));a.nilCheck,a[4]=(((cy.$low+((cy.$high>>31)*4294967296))>>0));a.nilCheck,a[5]=(((dc.$low+((dc.$high>>31)*4294967296))>>0));a.nilCheck,a[6]=(((dh.$low+((dh.$high>>31)*4294967296))>>0));a.nilCheck,a[7]=(((dl.$low+((dl.$high>>31)*4294967296))>>0));a.nilCheck,a[8]=(((dr.$low+((dr.$high>>31)*4294967296))>>0));a.nilCheck,a[9]=(((dv.$low+((dv.$high>>31)*4294967296))>>0));};N=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=$mul64((new $Int64(0,(b.nilCheck,b[0]))),new $Int64(0,121666));d=$mul64((new $Int64(0,(b.nilCheck,b[1]))),new $Int64(0,121666));e=$mul64((new $Int64(0,(b.nilCheck,b[2]))),new $Int64(0,121666));f=$mul64((new $Int64(0,(b.nilCheck,b[3]))),new $Int64(0,121666));g=$mul64((new $Int64(0,(b.nilCheck,b[4]))),new $Int64(0,121666));h=$mul64((new $Int64(0,(b.nilCheck,b[5]))),new $Int64(0,121666));i=$mul64((new $Int64(0,(b.nilCheck,b[6]))),new $Int64(0,121666));j=$mul64((new $Int64(0,(b.nilCheck,b[7]))),new $Int64(0,121666));k=$mul64((new $Int64(0,(b.nilCheck,b[8]))),new $Int64(0,121666));l=$mul64((new $Int64(0,(b.nilCheck,b[9]))),new $Int64(0,121666));m=W.zero();m[9]=$shiftRightInt64((new $Int64(l.$high+0,l.$low+16777216)),25);c=(n=$mul64(m[9],new $Int64(0,19)),new $Int64(c.$high+n.$high,c.$low+n.$low));l=(o=$shiftLeft64(m[9],25),new $Int64(l.$high-o.$high,l.$low-o.$low));m[1]=$shiftRightInt64((new $Int64(d.$high+0,d.$low+16777216)),25);e=(p=m[1],new $Int64(e.$high+p.$high,e.$low+p.$low));d=(q=$shiftLeft64(m[1],25),new $Int64(d.$high-q.$high,d.$low-q.$low));m[3]=$shiftRightInt64((new $Int64(f.$high+0,f.$low+16777216)),25);g=(r=m[3],new $Int64(g.$high+r.$high,g.$low+r.$low));f=(s=$shiftLeft64(m[3],25),new $Int64(f.$high-s.$high,f.$low-s.$low));m[5]=$shiftRightInt64((new $Int64(h.$high+0,h.$low+16777216)),25);i=(t=m[5],new $Int64(i.$high+t.$high,i.$low+t.$low));h=(u=$shiftLeft64(m[5],25),new $Int64(h.$high-u.$high,h.$low-u.$low));m[7]=$shiftRightInt64((new $Int64(j.$high+0,j.$low+16777216)),25);k=(v=m[7],new $Int64(k.$high+v.$high,k.$low+v.$low));j=(w=$shiftLeft64(m[7],25),new $Int64(j.$high-w.$high,j.$low-w.$low));m[0]=$shiftRightInt64((new $Int64(c.$high+0,c.$low+33554432)),26);d=(x=m[0],new $Int64(d.$high+x.$high,d.$low+x.$low));c=(y=$shiftLeft64(m[0],26),new $Int64(c.$high-y.$high,c.$low-y.$low));m[2]=$shiftRightInt64((new $Int64(e.$high+0,e.$low+33554432)),26);f=(z=m[2],new $Int64(f.$high+z.$high,f.$low+z.$low));e=(aa=$shiftLeft64(m[2],26),new $Int64(e.$high-aa.$high,e.$low-aa.$low));m[4]=$shiftRightInt64((new $Int64(g.$high+0,g.$low+33554432)),26);h=(ab=m[4],new $Int64(h.$high+ab.$high,h.$low+ab.$low));g=(ac=$shiftLeft64(m[4],26),new $Int64(g.$high-ac.$high,g.$low-ac.$low));m[6]=$shiftRightInt64((new $Int64(i.$high+0,i.$low+33554432)),26);j=(ad=m[6],new $Int64(j.$high+ad.$high,j.$low+ad.$low));i=(ae=$shiftLeft64(m[6],26),new $Int64(i.$high-ae.$high,i.$low-ae.$low));m[8]=$shiftRightInt64((new $Int64(k.$high+0,k.$low+33554432)),26);l=(af=m[8],new $Int64(l.$high+af.$high,l.$low+af.$low));k=(ag=$shiftLeft64(m[8],26),new $Int64(k.$high-ag.$high,k.$low-ag.$low));a.nilCheck,a[0]=(((c.$low+((c.$high>>31)*4294967296))>>0));a.nilCheck,a[1]=(((d.$low+((d.$high>>31)*4294967296))>>0));a.nilCheck,a[2]=(((e.$low+((e.$high>>31)*4294967296))>>0));a.nilCheck,a[3]=(((f.$low+((f.$high>>31)*4294967296))>>0));a.nilCheck,a[4]=(((g.$low+((g.$high>>31)*4294967296))>>0));a.nilCheck,a[5]=(((h.$low+((h.$high>>31)*4294967296))>>0));a.nilCheck,a[6]=(((i.$low+((i.$high>>31)*4294967296))>>0));a.nilCheck,a[7]=(((j.$low+((j.$high>>31)*4294967296))>>0));a.nilCheck,a[8]=(((k.$low+((k.$high>>31)*4294967296))>>0));a.nilCheck,a[9]=(((l.$low+((l.$high>>31)*4294967296))>>0));};O=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k;c=U.zero();d=U.zero();e=U.zero();f=U.zero();g=$clone(c,A);h=$clone(d,A);i=$clone(e,A);j=$clone(f,A);k=0;M(g,b);k=1;while(true){if(!(k<1)){break;}M(g,g);k=k+(1)>>0;}M(h,g);k=1;while(true){if(!(k<2)){break;}M(h,h);k=k+(1)>>0;}L(h,b,h);L(g,g,h);M(i,g);k=1;while(true){if(!(k<1)){break;}M(i,i);k=k+(1)>>0;}L(h,h,i);M(i,h);k=1;while(true){if(!(k<5)){break;}M(i,i);k=k+(1)>>0;}L(h,i,h);M(i,h);k=1;while(true){if(!(k<10)){break;}M(i,i);k=k+(1)>>0;}L(i,i,h);M(j,i);k=1;while(true){if(!(k<20)){break;}M(j,j);k=k+(1)>>0;}L(i,j,i);M(i,i);k=1;while(true){if(!(k<10)){break;}M(i,i);k=k+(1)>>0;}L(h,i,h);M(i,h);k=1;while(true){if(!(k<50)){break;}M(i,i);k=k+(1)>>0;}L(i,i,h);M(j,i);k=1;while(true){if(!(k<100)){break;}M(j,j);k=k+(1)>>0;}L(i,j,i);M(i,i);k=1;while(true){if(!(k<50)){break;}M(i,i);k=k+(1)>>0;}L(h,i,h);M(h,h);k=1;while(true){if(!(k<5)){break;}M(h,h);k=k+(1)>>0;}L(a,h,g);};P=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;d=X.zero();$copySlice(new V(d),new V(b));d[0]=((d[0]&(248))>>>0);d[31]=((d[31]&(127))>>>0);d[31]=((d[31]|(64))>>>0);e=U.zero();f=U.zero();g=U.zero();h=U.zero();i=U.zero();j=U.zero();k=U.zero();l=$clone(e,A);m=$clone(f,A);n=$clone(g,A);o=$clone(h,A);p=$clone(i,A);q=$clone(j,A);r=$clone(k,A);J(l,c);C(m);F(o,l);C(p);s=0;t=254;while(true){if(!(t>=0)){break;}x=(u=(((t&7)>>>0)),u<32?((v=(w=t/8,(w===w&&w!==1/0&&w!==-1/0)?w>>0:$throwRuntimeError(\"integer divide by zero\")),((v<0||v>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[v]))>>>u):0)<<24>>>24;x=(x&(1))>>>0;s=(s^(((x>>0))))>>0;G(m,o,s);G(n,p,s);s=((x>>0));E(q,o,p);E(r,m,n);D(m,m,n);D(n,o,p);L(p,q,m);L(n,n,r);M(q,r);M(r,m);D(o,p,n);E(n,p,n);L(m,r,q);E(r,r,q);M(n,n);N(p,r);M(o,o);D(q,q,p);L(p,l,n);L(n,r,q);t=t-(1)>>0;}G(m,o,s);G(n,p,s);O(n,n);L(m,m,n);K(a,m);};R=function(a,b,c){var $ptr,a,b,c;P(a,b,c);};$pkg.ScalarMult=R;S=function(a,b){var $ptr,a,b;R(a,b,Q);};$pkg.ScalarBaseMult=S;A.init($Int32,10);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:Q=$toNativeArray($kindUint8,[9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"crypto/tls\"]=(function(){var $pkg={},$init,Y,L,M,B,C,D,AB,AE,E,N,AF,O,F,AC,G,H,P,Z,I,AD,AH,Q,R,J,S,AI,T,U,A,V,W,AA,X,K,AG,AJ,AL,AM,AT,AU,AV,AW,AZ,BC,BD,BF,BK,BL,BM,BO,BP,BQ,BR,BS,BT,BU,BV,BW,BX,CB,CH,CQ,CR,CV,CX,CY,DC,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,DS,DT,DZ,ED,EJ,EZ,FD,FG,FJ,FQ,FR,FS,FT,FU,FV,FW,FX,FY,FZ,GA,GB,GC,GD,GE,GF,GG,GH,GI,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC,HD,HE,HF,HG,HH,HI,HJ,HK,HL,HM,HN,HO,HP,HQ,HR,HS,HT,HU,HV,HW,HX,HY,HZ,IA,IB,IC,ID,IE,IF,IG,IH,II,IJ,IK,IL,IO,IP,IQ,IR,IS,IT,IU,AK,AN,BA,BB,BN,BZ,CA,CI,FP,CK,CL,CZ,DA,DB,DD,EA,EB,EC,EP,EQ,ER,ES,FB,FC,AO,AP,AQ,AR,AS,AX,AY,BE,BG,BH,BI,BJ,BY,CJ,CM,CN,CO,CP,CS,CT,CU,CW,DE,DF,DG,EE,EF,EG,EH,EI,EK,EL,EM,EN,EO,ET,EU,EV,EW,EX,EY,FA,FE,FF,FH,FK,FL,FM,FN,FO;Y=$packages[\"bytes\"];L=$packages[\"container/list\"];M=$packages[\"crypto\"];B=$packages[\"crypto/aes\"];C=$packages[\"crypto/cipher\"];D=$packages[\"crypto/des\"];AB=$packages[\"crypto/ecdsa\"];AE=$packages[\"crypto/elliptic\"];E=$packages[\"crypto/hmac\"];N=$packages[\"crypto/internal/cipherhw\"];AF=$packages[\"crypto/md5\"];O=$packages[\"crypto/rand\"];F=$packages[\"crypto/rc4\"];AC=$packages[\"crypto/rsa\"];G=$packages[\"crypto/sha1\"];H=$packages[\"crypto/sha256\"];P=$packages[\"crypto/sha512\"];Z=$packages[\"crypto/subtle\"];I=$packages[\"crypto/x509\"];AD=$packages[\"encoding/asn1\"];AH=$packages[\"encoding/pem\"];Q=$packages[\"errors\"];R=$packages[\"fmt\"];J=$packages[\"hash\"];S=$packages[\"io\"];AI=$packages[\"io/ioutil\"];T=$packages[\"math/big\"];U=$packages[\"net\"];A=$packages[\"strconv\"];V=$packages[\"strings\"];W=$packages[\"sync\"];AA=$packages[\"sync/atomic\"];X=$packages[\"time\"];K=$packages[\"vendor/golang_org/x/crypto/chacha20poly1305\"];AG=$packages[\"vendor/golang_org/x/crypto/curve25519\"];AJ=$pkg.alert=$newType(1,$kindUint8,\"tls.alert\",true,\"crypto/tls\",false,null);AL=$pkg.keyAgreement=$newType(8,$kindInterface,\"tls.keyAgreement\",true,\"crypto/tls\",false,null);AM=$pkg.cipherSuite=$newType(0,$kindStruct,\"tls.cipherSuite\",true,\"crypto/tls\",false,function(id_,keyLen_,macLen_,ivLen_,ka_,flags_,cipher_,mac_,aead_){this.$val=this;if(arguments.length===0){this.id=0;this.keyLen=0;this.macLen=0;this.ivLen=0;this.ka=$throwNilPointerError;this.flags=0;this.cipher=$throwNilPointerError;this.mac=$throwNilPointerError;this.aead=$throwNilPointerError;return;}this.id=id_;this.keyLen=keyLen_;this.macLen=macLen_;this.ivLen=ivLen_;this.ka=ka_;this.flags=flags_;this.cipher=cipher_;this.mac=mac_;this.aead=aead_;});AT=$pkg.macFunction=$newType(8,$kindInterface,\"tls.macFunction\",true,\"crypto/tls\",false,null);AU=$pkg.aead=$newType(8,$kindInterface,\"tls.aead\",true,\"crypto/tls\",false,null);AV=$pkg.fixedNonceAEAD=$newType(0,$kindStruct,\"tls.fixedNonceAEAD\",true,\"crypto/tls\",false,function(nonce_,aead_){this.$val=this;if(arguments.length===0){this.nonce=GD.zero();this.aead=$ifaceNil;return;}this.nonce=nonce_;this.aead=aead_;});AW=$pkg.xorNonceAEAD=$newType(0,$kindStruct,\"tls.xorNonceAEAD\",true,\"crypto/tls\",false,function(nonceMask_,aead_){this.$val=this;if(arguments.length===0){this.nonceMask=GD.zero();this.aead=$ifaceNil;return;}this.nonceMask=nonceMask_;this.aead=aead_;});AZ=$pkg.ssl30MAC=$newType(0,$kindStruct,\"tls.ssl30MAC\",true,\"crypto/tls\",false,function(h_,key_){this.$val=this;if(arguments.length===0){this.h=$ifaceNil;this.key=GC.nil;return;}this.h=h_;this.key=key_;});BC=$pkg.constantTimeHash=$newType(8,$kindInterface,\"tls.constantTimeHash\",true,\"crypto/tls\",false,null);BD=$pkg.cthWrapper=$newType(0,$kindStruct,\"tls.cthWrapper\",true,\"crypto/tls\",false,function(h_){this.$val=this;if(arguments.length===0){this.h=$ifaceNil;return;}this.h=h_;});BF=$pkg.tls10MAC=$newType(0,$kindStruct,\"tls.tls10MAC\",true,\"crypto/tls\",false,function(h_){this.$val=this;if(arguments.length===0){this.h=$ifaceNil;return;}this.h=h_;});BK=$pkg.recordType=$newType(1,$kindUint8,\"tls.recordType\",true,\"crypto/tls\",false,null);BL=$pkg.CurveID=$newType(2,$kindUint16,\"tls.CurveID\",true,\"crypto/tls\",true,null);BM=$pkg.signatureAndHash=$newType(0,$kindStruct,\"tls.signatureAndHash\",true,\"crypto/tls\",false,function(hash_,signature_){this.$val=this;if(arguments.length===0){this.hash=0;this.signature=0;return;}this.hash=hash_;this.signature=signature_;});BO=$pkg.ConnectionState=$newType(0,$kindStruct,\"tls.ConnectionState\",true,\"crypto/tls\",true,function(Version_,HandshakeComplete_,DidResume_,CipherSuite_,NegotiatedProtocol_,NegotiatedProtocolIsMutual_,ServerName_,PeerCertificates_,VerifiedChains_,SignedCertificateTimestamps_,OCSPResponse_,TLSUnique_){this.$val=this;if(arguments.length===0){this.Version=0;this.HandshakeComplete=false;this.DidResume=false;this.CipherSuite=0;this.NegotiatedProtocol=\"\";this.NegotiatedProtocolIsMutual=false;this.ServerName=\"\";this.PeerCertificates=GU.nil;this.VerifiedChains=GV.nil;this.SignedCertificateTimestamps=GP.nil;this.OCSPResponse=GC.nil;this.TLSUnique=GC.nil;return;}this.Version=Version_;this.HandshakeComplete=HandshakeComplete_;this.DidResume=DidResume_;this.CipherSuite=CipherSuite_;this.NegotiatedProtocol=NegotiatedProtocol_;this.NegotiatedProtocolIsMutual=NegotiatedProtocolIsMutual_;this.ServerName=ServerName_;this.PeerCertificates=PeerCertificates_;this.VerifiedChains=VerifiedChains_;this.SignedCertificateTimestamps=SignedCertificateTimestamps_;this.OCSPResponse=OCSPResponse_;this.TLSUnique=TLSUnique_;});BP=$pkg.ClientAuthType=$newType(4,$kindInt,\"tls.ClientAuthType\",true,\"crypto/tls\",true,null);BQ=$pkg.ClientSessionState=$newType(0,$kindStruct,\"tls.ClientSessionState\",true,\"crypto/tls\",true,function(sessionTicket_,vers_,cipherSuite_,masterSecret_,serverCertificates_,verifiedChains_){this.$val=this;if(arguments.length===0){this.sessionTicket=GC.nil;this.vers=0;this.cipherSuite=0;this.masterSecret=GC.nil;this.serverCertificates=GU.nil;this.verifiedChains=GV.nil;return;}this.sessionTicket=sessionTicket_;this.vers=vers_;this.cipherSuite=cipherSuite_;this.masterSecret=masterSecret_;this.serverCertificates=serverCertificates_;this.verifiedChains=verifiedChains_;});BR=$pkg.ClientSessionCache=$newType(8,$kindInterface,\"tls.ClientSessionCache\",true,\"crypto/tls\",true,null);BS=$pkg.SignatureScheme=$newType(2,$kindUint16,\"tls.SignatureScheme\",true,\"crypto/tls\",true,null);BT=$pkg.ClientHelloInfo=$newType(0,$kindStruct,\"tls.ClientHelloInfo\",true,\"crypto/tls\",true,function(CipherSuites_,ServerName_,SupportedCurves_,SupportedPoints_,SignatureSchemes_,SupportedProtos_,SupportedVersions_,Conn_){this.$val=this;if(arguments.length===0){this.CipherSuites=FT.nil;this.ServerName=\"\";this.SupportedCurves=FV.nil;this.SupportedPoints=GC.nil;this.SignatureSchemes=GB.nil;this.SupportedProtos=FS.nil;this.SupportedVersions=FT.nil;this.Conn=$ifaceNil;return;}this.CipherSuites=CipherSuites_;this.ServerName=ServerName_;this.SupportedCurves=SupportedCurves_;this.SupportedPoints=SupportedPoints_;this.SignatureSchemes=SignatureSchemes_;this.SupportedProtos=SupportedProtos_;this.SupportedVersions=SupportedVersions_;this.Conn=Conn_;});BU=$pkg.CertificateRequestInfo=$newType(0,$kindStruct,\"tls.CertificateRequestInfo\",true,\"crypto/tls\",true,function(AcceptableCAs_,SignatureSchemes_){this.$val=this;if(arguments.length===0){this.AcceptableCAs=GP.nil;this.SignatureSchemes=GB.nil;return;}this.AcceptableCAs=AcceptableCAs_;this.SignatureSchemes=SignatureSchemes_;});BV=$pkg.RenegotiationSupport=$newType(4,$kindInt,\"tls.RenegotiationSupport\",true,\"crypto/tls\",true,null);BW=$pkg.Config=$newType(0,$kindStruct,\"tls.Config\",true,\"crypto/tls\",true,function(Rand_,Time_,Certificates_,NameToCertificate_,GetCertificate_,GetClientCertificate_,GetConfigForClient_,VerifyPeerCertificate_,RootCAs_,NextProtos_,ServerName_,ClientAuth_,ClientCAs_,InsecureSkipVerify_,CipherSuites_,PreferServerCipherSuites_,SessionTicketsDisabled_,SessionTicketKey_,ClientSessionCache_,MinVersion_,MaxVersion_,CurvePreferences_,DynamicRecordSizingDisabled_,Renegotiation_,KeyLogWriter_,serverInitOnce_,mutex_,sessionTicketKeys_,originalConfig_){this.$val=this;if(arguments.length===0){this.Rand=$ifaceNil;this.Time=$throwNilPointerError;this.Certificates=FQ.nil;this.NameToCertificate=false;this.GetCertificate=$throwNilPointerError;this.GetClientCertificate=$throwNilPointerError;this.GetConfigForClient=$throwNilPointerError;this.VerifyPeerCertificate=$throwNilPointerError;this.RootCAs=FR.nil;this.NextProtos=FS.nil;this.ServerName=\"\";this.ClientAuth=0;this.ClientCAs=FR.nil;this.InsecureSkipVerify=false;this.CipherSuites=FT.nil;this.PreferServerCipherSuites=false;this.SessionTicketsDisabled=false;this.SessionTicketKey=FU.zero();this.ClientSessionCache=$ifaceNil;this.MinVersion=0;this.MaxVersion=0;this.CurvePreferences=FV.nil;this.DynamicRecordSizingDisabled=false;this.Renegotiation=0;this.KeyLogWriter=$ifaceNil;this.serverInitOnce=new W.Once.ptr(new W.Mutex.ptr(0,0),0);this.mutex=new W.RWMutex.ptr(new W.Mutex.ptr(0,0),0,0,0,0);this.sessionTicketKeys=FW.nil;this.originalConfig=FX.nil;return;}this.Rand=Rand_;this.Time=Time_;this.Certificates=Certificates_;this.NameToCertificate=NameToCertificate_;this.GetCertificate=GetCertificate_;this.GetClientCertificate=GetClientCertificate_;this.GetConfigForClient=GetConfigForClient_;this.VerifyPeerCertificate=VerifyPeerCertificate_;this.RootCAs=RootCAs_;this.NextProtos=NextProtos_;this.ServerName=ServerName_;this.ClientAuth=ClientAuth_;this.ClientCAs=ClientCAs_;this.InsecureSkipVerify=InsecureSkipVerify_;this.CipherSuites=CipherSuites_;this.PreferServerCipherSuites=PreferServerCipherSuites_;this.SessionTicketsDisabled=SessionTicketsDisabled_;this.SessionTicketKey=SessionTicketKey_;this.ClientSessionCache=ClientSessionCache_;this.MinVersion=MinVersion_;this.MaxVersion=MaxVersion_;this.CurvePreferences=CurvePreferences_;this.DynamicRecordSizingDisabled=DynamicRecordSizingDisabled_;this.Renegotiation=Renegotiation_;this.KeyLogWriter=KeyLogWriter_;this.serverInitOnce=serverInitOnce_;this.mutex=mutex_;this.sessionTicketKeys=sessionTicketKeys_;this.originalConfig=originalConfig_;});BX=$pkg.ticketKey=$newType(0,$kindStruct,\"tls.ticketKey\",true,\"crypto/tls\",false,function(keyName_,aesKey_,hmacKey_){this.$val=this;if(arguments.length===0){this.keyName=GF.zero();this.aesKey=GF.zero();this.hmacKey=GF.zero();return;}this.keyName=keyName_;this.aesKey=aesKey_;this.hmacKey=hmacKey_;});CB=$pkg.Certificate=$newType(0,$kindStruct,\"tls.Certificate\",true,\"crypto/tls\",true,function(Certificate_,PrivateKey_,OCSPStaple_,SignedCertificateTimestamps_,Leaf_){this.$val=this;if(arguments.length===0){this.Certificate=GP.nil;this.PrivateKey=$ifaceNil;this.OCSPStaple=GC.nil;this.SignedCertificateTimestamps=GP.nil;this.Leaf=GT.nil;return;}this.Certificate=Certificate_;this.PrivateKey=PrivateKey_;this.OCSPStaple=OCSPStaple_;this.SignedCertificateTimestamps=SignedCertificateTimestamps_;this.Leaf=Leaf_;});CH=$pkg.ecdsaSignature=$newType(0,$kindStruct,\"tls.ecdsaSignature\",true,\"crypto/tls\",false,function(R_,S_){this.$val=this;if(arguments.length===0){this.R=GE.nil;this.S=GE.nil;return;}this.R=R_;this.S=S_;});CQ=$pkg.Conn=$newType(0,$kindStruct,\"tls.Conn\",true,\"crypto/tls\",true,function(conn_,isClient_,handshakeMutex_,handshakeCond_,handshakeErr_,vers_,haveVers_,config_,handshakeComplete_,handshakes_,didResume_,cipherSuite_,ocspResponse_,scts_,peerCertificates_,verifiedChains_,serverName_,secureRenegotiation_,clientFinishedIsFirst_,closeNotifyErr_,closeNotifySent_,clientFinished_,serverFinished_,clientProtocol_,clientProtocolFallback_,in$25_,out_,rawInput_,input_,hand_,buffering_,sendBuf_,bytesSent_,packetsSent_,activeCall_,tmp_){this.$val=this;if(arguments.length===0){this.conn=$ifaceNil;this.isClient=false;this.handshakeMutex=new W.Mutex.ptr(0,0);this.handshakeCond=GS.nil;this.handshakeErr=$ifaceNil;this.vers=0;this.haveVers=false;this.config=FX.nil;this.handshakeComplete=false;this.handshakes=0;this.didResume=false;this.cipherSuite=0;this.ocspResponse=GC.nil;this.scts=GP.nil;this.peerCertificates=GU.nil;this.verifiedChains=GV.nil;this.serverName=\"\";this.secureRenegotiation=false;this.clientFinishedIsFirst=false;this.closeNotifyErr=$ifaceNil;this.closeNotifySent=false;this.clientFinished=GD.zero();this.serverFinished=GD.zero();this.clientProtocol=\"\";this.clientProtocolFallback=false;this.in$25=new CR.ptr(new W.Mutex.ptr(0,0),$ifaceNil,0,$ifaceNil,$ifaceNil,HR.zero(),GN.nil,HS.zero(),$ifaceNil,$ifaceNil,GC.nil,GC.nil);this.out=new CR.ptr(new W.Mutex.ptr(0,0),$ifaceNil,0,$ifaceNil,$ifaceNil,HR.zero(),GN.nil,HS.zero(),$ifaceNil,$ifaceNil,GC.nil,GC.nil);this.rawInput=GN.nil;this.input=GN.nil;this.hand=new Y.Buffer.ptr(GC.nil,0,GG.zero(),0);this.buffering=false;this.sendBuf=GC.nil;this.bytesSent=new $Int64(0,0);this.packetsSent=new $Int64(0,0);this.activeCall=0;this.tmp=GF.zero();return;}this.conn=conn_;this.isClient=isClient_;this.handshakeMutex=handshakeMutex_;this.handshakeCond=handshakeCond_;this.handshakeErr=handshakeErr_;this.vers=vers_;this.haveVers=haveVers_;this.config=config_;this.handshakeComplete=handshakeComplete_;this.handshakes=handshakes_;this.didResume=didResume_;this.cipherSuite=cipherSuite_;this.ocspResponse=ocspResponse_;this.scts=scts_;this.peerCertificates=peerCertificates_;this.verifiedChains=verifiedChains_;this.serverName=serverName_;this.secureRenegotiation=secureRenegotiation_;this.clientFinishedIsFirst=clientFinishedIsFirst_;this.closeNotifyErr=closeNotifyErr_;this.closeNotifySent=closeNotifySent_;this.clientFinished=clientFinished_;this.serverFinished=serverFinished_;this.clientProtocol=clientProtocol_;this.clientProtocolFallback=clientProtocolFallback_;this.in$25=in$25_;this.out=out_;this.rawInput=rawInput_;this.input=input_;this.hand=hand_;this.buffering=buffering_;this.sendBuf=sendBuf_;this.bytesSent=bytesSent_;this.packetsSent=packetsSent_;this.activeCall=activeCall_;this.tmp=tmp_;});CR=$pkg.halfConn=$newType(0,$kindStruct,\"tls.halfConn\",true,\"crypto/tls\",false,function(Mutex_,err_,version_,cipher_,mac_,seq_,bfree_,additionalData_,nextCipher_,nextMac_,inDigestBuf_,outDigestBuf_){this.$val=this;if(arguments.length===0){this.Mutex=new W.Mutex.ptr(0,0);this.err=$ifaceNil;this.version=0;this.cipher=$ifaceNil;this.mac=$ifaceNil;this.seq=HR.zero();this.bfree=GN.nil;this.additionalData=HS.zero();this.nextCipher=$ifaceNil;this.nextMac=$ifaceNil;this.inDigestBuf=GC.nil;this.outDigestBuf=GC.nil;return;}this.Mutex=Mutex_;this.err=err_;this.version=version_;this.cipher=cipher_;this.mac=mac_;this.seq=seq_;this.bfree=bfree_;this.additionalData=additionalData_;this.nextCipher=nextCipher_;this.nextMac=nextMac_;this.inDigestBuf=inDigestBuf_;this.outDigestBuf=outDigestBuf_;});CV=$pkg.cbcMode=$newType(8,$kindInterface,\"tls.cbcMode\",true,\"crypto/tls\",false,null);CX=$pkg.block=$newType(0,$kindStruct,\"tls.block\",true,\"crypto/tls\",false,function(data_,off_,link_){this.$val=this;if(arguments.length===0){this.data=GC.nil;this.off=0;this.link=GN.nil;return;}this.data=data_;this.off=off_;this.link=link_;});CY=$pkg.RecordHeaderError=$newType(0,$kindStruct,\"tls.RecordHeaderError\",true,\"crypto/tls\",true,function(Msg_,RecordHeader_){this.$val=this;if(arguments.length===0){this.Msg=\"\";this.RecordHeader=GO.zero();return;}this.Msg=Msg_;this.RecordHeader=RecordHeader_;});DC=$pkg.clientHandshakeState=$newType(0,$kindStruct,\"tls.clientHandshakeState\",true,\"crypto/tls\",false,function(c_,serverHello_,hello_,suite_,finishedHash_,masterSecret_,session_){this.$val=this;if(arguments.length===0){this.c=GX.nil;this.serverHello=GW.nil;this.hello=GY.nil;this.suite=FY.nil;this.finishedHash=new EZ.ptr($ifaceNil,$ifaceNil,$ifaceNil,$ifaceNil,GC.nil,0,$throwNilPointerError);this.masterSecret=GC.nil;this.session=GM.nil;return;}this.c=c_;this.serverHello=serverHello_;this.hello=hello_;this.suite=suite_;this.finishedHash=finishedHash_;this.masterSecret=masterSecret_;this.session=session_;});DH=$pkg.clientHelloMsg=$newType(0,$kindStruct,\"tls.clientHelloMsg\",true,\"crypto/tls\",false,function(raw_,vers_,random_,sessionId_,cipherSuites_,compressionMethods_,nextProtoNeg_,serverName_,ocspStapling_,scts_,supportedCurves_,supportedPoints_,ticketSupported_,sessionTicket_,signatureAndHashes_,secureRenegotiation_,secureRenegotiationSupported_,alpnProtocols_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.vers=0;this.random=GC.nil;this.sessionId=GC.nil;this.cipherSuites=FT.nil;this.compressionMethods=GC.nil;this.nextProtoNeg=false;this.serverName=\"\";this.ocspStapling=false;this.scts=false;this.supportedCurves=FV.nil;this.supportedPoints=GC.nil;this.ticketSupported=false;this.sessionTicket=GC.nil;this.signatureAndHashes=GA.nil;this.secureRenegotiation=GC.nil;this.secureRenegotiationSupported=false;this.alpnProtocols=FS.nil;return;}this.raw=raw_;this.vers=vers_;this.random=random_;this.sessionId=sessionId_;this.cipherSuites=cipherSuites_;this.compressionMethods=compressionMethods_;this.nextProtoNeg=nextProtoNeg_;this.serverName=serverName_;this.ocspStapling=ocspStapling_;this.scts=scts_;this.supportedCurves=supportedCurves_;this.supportedPoints=supportedPoints_;this.ticketSupported=ticketSupported_;this.sessionTicket=sessionTicket_;this.signatureAndHashes=signatureAndHashes_;this.secureRenegotiation=secureRenegotiation_;this.secureRenegotiationSupported=secureRenegotiationSupported_;this.alpnProtocols=alpnProtocols_;});DI=$pkg.serverHelloMsg=$newType(0,$kindStruct,\"tls.serverHelloMsg\",true,\"crypto/tls\",false,function(raw_,vers_,random_,sessionId_,cipherSuite_,compressionMethod_,nextProtoNeg_,nextProtos_,ocspStapling_,scts_,ticketSupported_,secureRenegotiation_,secureRenegotiationSupported_,alpnProtocol_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.vers=0;this.random=GC.nil;this.sessionId=GC.nil;this.cipherSuite=0;this.compressionMethod=0;this.nextProtoNeg=false;this.nextProtos=FS.nil;this.ocspStapling=false;this.scts=GP.nil;this.ticketSupported=false;this.secureRenegotiation=GC.nil;this.secureRenegotiationSupported=false;this.alpnProtocol=\"\";return;}this.raw=raw_;this.vers=vers_;this.random=random_;this.sessionId=sessionId_;this.cipherSuite=cipherSuite_;this.compressionMethod=compressionMethod_;this.nextProtoNeg=nextProtoNeg_;this.nextProtos=nextProtos_;this.ocspStapling=ocspStapling_;this.scts=scts_;this.ticketSupported=ticketSupported_;this.secureRenegotiation=secureRenegotiation_;this.secureRenegotiationSupported=secureRenegotiationSupported_;this.alpnProtocol=alpnProtocol_;});DJ=$pkg.certificateMsg=$newType(0,$kindStruct,\"tls.certificateMsg\",true,\"crypto/tls\",false,function(raw_,certificates_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.certificates=GP.nil;return;}this.raw=raw_;this.certificates=certificates_;});DK=$pkg.serverKeyExchangeMsg=$newType(0,$kindStruct,\"tls.serverKeyExchangeMsg\",true,\"crypto/tls\",false,function(raw_,key_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.key=GC.nil;return;}this.raw=raw_;this.key=key_;});DL=$pkg.certificateStatusMsg=$newType(0,$kindStruct,\"tls.certificateStatusMsg\",true,\"crypto/tls\",false,function(raw_,statusType_,response_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.statusType=0;this.response=GC.nil;return;}this.raw=raw_;this.statusType=statusType_;this.response=response_;});DM=$pkg.serverHelloDoneMsg=$newType(0,$kindStruct,\"tls.serverHelloDoneMsg\",true,\"crypto/tls\",false,function(){this.$val=this;if(arguments.length===0){return;}});DN=$pkg.clientKeyExchangeMsg=$newType(0,$kindStruct,\"tls.clientKeyExchangeMsg\",true,\"crypto/tls\",false,function(raw_,ciphertext_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.ciphertext=GC.nil;return;}this.raw=raw_;this.ciphertext=ciphertext_;});DO=$pkg.finishedMsg=$newType(0,$kindStruct,\"tls.finishedMsg\",true,\"crypto/tls\",false,function(raw_,verifyData_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.verifyData=GC.nil;return;}this.raw=raw_;this.verifyData=verifyData_;});DP=$pkg.nextProtoMsg=$newType(0,$kindStruct,\"tls.nextProtoMsg\",true,\"crypto/tls\",false,function(raw_,proto_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.proto=\"\";return;}this.raw=raw_;this.proto=proto_;});DQ=$pkg.certificateRequestMsg=$newType(0,$kindStruct,\"tls.certificateRequestMsg\",true,\"crypto/tls\",false,function(raw_,hasSignatureAndHash_,certificateTypes_,signatureAndHashes_,certificateAuthorities_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.hasSignatureAndHash=false;this.certificateTypes=GC.nil;this.signatureAndHashes=GA.nil;this.certificateAuthorities=GP.nil;return;}this.raw=raw_;this.hasSignatureAndHash=hasSignatureAndHash_;this.certificateTypes=certificateTypes_;this.signatureAndHashes=signatureAndHashes_;this.certificateAuthorities=certificateAuthorities_;});DR=$pkg.certificateVerifyMsg=$newType(0,$kindStruct,\"tls.certificateVerifyMsg\",true,\"crypto/tls\",false,function(raw_,hasSignatureAndHash_,signatureAndHash_,signature_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.hasSignatureAndHash=false;this.signatureAndHash=new BM.ptr(0,0);this.signature=GC.nil;return;}this.raw=raw_;this.hasSignatureAndHash=hasSignatureAndHash_;this.signatureAndHash=signatureAndHash_;this.signature=signature_;});DS=$pkg.newSessionTicketMsg=$newType(0,$kindStruct,\"tls.newSessionTicketMsg\",true,\"crypto/tls\",false,function(raw_,ticket_){this.$val=this;if(arguments.length===0){this.raw=GC.nil;this.ticket=GC.nil;return;}this.raw=raw_;this.ticket=ticket_;});DT=$pkg.helloRequestMsg=$newType(0,$kindStruct,\"tls.helloRequestMsg\",true,\"crypto/tls\",false,function(){this.$val=this;if(arguments.length===0){return;}});DZ=$pkg.serverHandshakeState=$newType(0,$kindStruct,\"tls.serverHandshakeState\",true,\"crypto/tls\",false,function(c_,clientHello_,hello_,suite_,ellipticOk_,ecdsaOk_,rsaDecryptOk_,rsaSignOk_,sessionState_,finishedHash_,masterSecret_,certsFromClient_,cert_,cachedClientHelloInfo_){this.$val=this;if(arguments.length===0){this.c=GX.nil;this.clientHello=GY.nil;this.hello=GW.nil;this.suite=FY.nil;this.ellipticOk=false;this.ecdsaOk=false;this.rsaDecryptOk=false;this.rsaSignOk=false;this.sessionState=HO.nil;this.finishedHash=new EZ.ptr($ifaceNil,$ifaceNil,$ifaceNil,$ifaceNil,GC.nil,0,$throwNilPointerError);this.masterSecret=GC.nil;this.certsFromClient=GP.nil;this.cert=GH.nil;this.cachedClientHelloInfo=HP.nil;return;}this.c=c_;this.clientHello=clientHello_;this.hello=hello_;this.suite=suite_;this.ellipticOk=ellipticOk_;this.ecdsaOk=ecdsaOk_;this.rsaDecryptOk=rsaDecryptOk_;this.rsaSignOk=rsaSignOk_;this.sessionState=sessionState_;this.finishedHash=finishedHash_;this.masterSecret=masterSecret_;this.certsFromClient=certsFromClient_;this.cert=cert_;this.cachedClientHelloInfo=cachedClientHelloInfo_;});ED=$pkg.rsaKeyAgreement=$newType(0,$kindStruct,\"tls.rsaKeyAgreement\",true,\"crypto/tls\",false,function(){this.$val=this;if(arguments.length===0){return;}});EJ=$pkg.ecdheKeyAgreement=$newType(0,$kindStruct,\"tls.ecdheKeyAgreement\",true,\"crypto/tls\",false,function(version_,sigType_,privateKey_,curveid_,publicKey_,x_,y_){this.$val=this;if(arguments.length===0){this.version=0;this.sigType=0;this.privateKey=GC.nil;this.curveid=0;this.publicKey=GC.nil;this.x=GE.nil;this.y=GE.nil;return;}this.version=version_;this.sigType=sigType_;this.privateKey=privateKey_;this.curveid=curveid_;this.publicKey=publicKey_;this.x=x_;this.y=y_;});EZ=$pkg.finishedHash=$newType(0,$kindStruct,\"tls.finishedHash\",true,\"crypto/tls\",false,function(client_,server_,clientMD5_,serverMD5_,buffer_,version_,prf_){this.$val=this;if(arguments.length===0){this.client=$ifaceNil;this.server=$ifaceNil;this.clientMD5=$ifaceNil;this.serverMD5=$ifaceNil;this.buffer=GC.nil;this.version=0;this.prf=$throwNilPointerError;return;}this.client=client_;this.server=server_;this.clientMD5=clientMD5_;this.serverMD5=serverMD5_;this.buffer=buffer_;this.version=version_;this.prf=prf_;});FD=$pkg.sessionState=$newType(0,$kindStruct,\"tls.sessionState\",true,\"crypto/tls\",false,function(vers_,cipherSuite_,masterSecret_,certificates_,usedOldKey_){this.$val=this;if(arguments.length===0){this.vers=0;this.cipherSuite=0;this.masterSecret=GC.nil;this.certificates=GP.nil;this.usedOldKey=false;return;}this.vers=vers_;this.cipherSuite=cipherSuite_;this.masterSecret=masterSecret_;this.certificates=certificates_;this.usedOldKey=usedOldKey_;});FG=$pkg.listener=$newType(0,$kindStruct,\"tls.listener\",true,\"crypto/tls\",false,function(Listener_,config_){this.$val=this;if(arguments.length===0){this.Listener=$ifaceNil;this.config=FX.nil;return;}this.Listener=Listener_;this.config=config_;});FJ=$pkg.timeoutError=$newType(0,$kindStruct,\"tls.timeoutError\",true,\"crypto/tls\",false,function(){this.$val=this;if(arguments.length===0){return;}});FQ=$sliceType(CB);FR=$ptrType(I.CertPool);FS=$sliceType($String);FT=$sliceType($Uint16);FU=$arrayType($Uint8,32);FV=$sliceType(BL);FW=$sliceType(BX);FX=$ptrType(BW);FY=$ptrType(AM);FZ=$sliceType(FY);GA=$sliceType(BM);GB=$sliceType(BS);GC=$sliceType($Uint8);GD=$arrayType($Uint8,12);GE=$ptrType(T.Int);GF=$arrayType($Uint8,16);GG=$arrayType($Uint8,64);GH=$ptrType(CB);GI=$sliceType($emptyInterface);GM=$ptrType(BQ);GN=$ptrType(CX);GO=$arrayType($Uint8,5);GP=$sliceType(GC);GQ=$ptrType($Int32);GR=$ptrType(DT);GS=$ptrType(W.Cond);GT=$ptrType(I.Certificate);GU=$sliceType(GT);GV=$sliceType(GU);GW=$ptrType(DI);GX=$ptrType(CQ);GY=$ptrType(DH);GZ=$ptrType(DJ);HA=$ptrType(X.Location);HB=$sliceType(I.ExtKeyUsage);HC=$ptrType(AC.PublicKey);HD=$ptrType(AB.PublicKey);HE=$ptrType(DL);HF=$ptrType(DK);HG=$ptrType(DQ);HH=$ptrType(DM);HI=$ptrType(DN);HJ=$arrayType($Uint8,24);HK=$ptrType(DO);HL=$ptrType(DS);HM=$ptrType(DP);HN=$ptrType(DR);HO=$ptrType(FD);HP=$ptrType(BT);HQ=$arrayType($Uint8,11);HR=$arrayType($Uint8,8);HS=$arrayType($Uint8,13);HT=$ptrType(U.Resolver);HU=$ptrType(AH.Block);HV=$ptrType(AC.PrivateKey);HW=$ptrType(AB.PrivateKey);HX=$funcType([$Uint16],[AL],false);HY=$funcType([GC,GC,$Bool],[$emptyInterface],false);HZ=$funcType([$Uint16,GC],[AT],false);IA=$funcType([GC,GC],[C.AEAD],false);IB=$ptrType(AV);IC=$ptrType(AW);ID=$ptrType(BD);IE=$sliceType(FU);IF=$funcType([],[X.Time],false);IG=$mapType($String,GH);IH=$funcType([HP],[GH,$error],false);II=$ptrType(BU);IJ=$funcType([II],[GH,$error],false);IK=$funcType([HP],[FX,$error],false);IL=$funcType([GP,GV],[$error],false);IO=$ptrType(CR);IP=$ptrType(DC);IQ=$ptrType(DZ);IR=$ptrType(EJ);IS=$ptrType(EZ);IT=$funcType([GC,GC,GC,GC],[],false);IU=$ptrType(FG);AJ.prototype.String=function(){var $ptr,a,b,c,d,e;a=this.$val;b=(c=AK[AJ.keyFor(a)],c!==undefined?[c.v,true]:[\"\",false]);d=b[0];e=b[1];if(e){return\"tls: \"+d;}return\"tls: alert(\"+A.Itoa(((a>>0)))+\")\";};$ptrType(AJ).prototype.String=function(){return new AJ(this.$get()).String();};AJ.prototype.Error=function(){var $ptr,a;a=this.$val;return new AJ(a).String();};$ptrType(AJ).prototype.Error=function(){return new AJ(this.$get()).Error();};AO=function(a,b,c){var $ptr,a,b,c,d,e;d=F.NewCipher(a);e=d[0];return e;};AP=function(a,b,c){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=D.NewTripleDESCipher(a);e=d[0];if(c){$s=1;continue;}$s=2;continue;case 1:f=C.NewCBCDecrypter(e,b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 2:g=C.NewCBCEncrypter(e,b);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a,b,c){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=B.NewCipher(a);e=d[0];if(c){$s=1;continue;}$s=2;continue;case 1:f=C.NewCBCDecrypter(e,b);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 2:g=C.NewCBCEncrypter(e,b);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:AQ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AR=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a===768){c=new AZ.ptr(G.New(),$makeSlice(GC,b.$length));$copySlice(c.key,b);$s=-1;return new c.constructor.elem(c);}e=E.New(BE(G.New),b);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return(d=new BF.ptr(e),new d.constructor.elem(d));}return;}if($f===undefined){$f={$blk:AR};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AS=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=E.New(H.New,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return(c=new BF.ptr(d),new c.constructor.elem(c));}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AV.ptr.prototype.NonceSize=function(){var $ptr,a;a=this;return 8;};AV.prototype.NonceSize=function(){return this.$val.NonceSize();};AV.ptr.prototype.Overhead=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.aead.Overhead();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.Overhead};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.Overhead=function(){return this.$val.Overhead();};AV.ptr.prototype.explicitNonceLen=function(){var $ptr,a;a=this;return 8;};AV.prototype.explicitNonceLen=function(){return this.$val.explicitNonceLen();};AV.ptr.prototype.Seal=function(a,b,c,d){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$copySlice($subslice(new GC(e.nonce),4),b);f=e.aead.Seal(a,new GC(e.nonce),c,d);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.Seal};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.Seal=function(a,b,c,d){return this.$val.Seal(a,b,c,d);};AV.ptr.prototype.Open=function(a,b,c,d){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$copySlice($subslice(new GC(e.nonce),4),b);f=e.aead.Open(a,new GC(e.nonce),c,d);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.Open};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.Open=function(a,b,c,d){return this.$val.Open(a,b,c,d);};AW.ptr.prototype.NonceSize=function(){var $ptr,a;a=this;return 8;};AW.prototype.NonceSize=function(){return this.$val.NonceSize();};AW.ptr.prototype.Overhead=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.aead.Overhead();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AW.ptr.prototype.Overhead};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AW.prototype.Overhead=function(){return this.$val.Overhead();};AW.ptr.prototype.explicitNonceLen=function(){var $ptr,a;a=this;return 0;};AW.prototype.explicitNonceLen=function(){return this.$val.explicitNonceLen();};AW.ptr.prototype.Seal=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=b;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);j=4+h>>0;(l=e.nonceMask,((j<0||j>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[j]=(((k=e.nonceMask,((j<0||j>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[j]))^(i))<<24>>>24)));g++;}m=e.aead.Seal(a,new GC(e.nonceMask),c,d);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=b;p=0;while(true){if(!(p<o.$length)){break;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);s=4+q>>0;(u=e.nonceMask,((s<0||s>=u.length)?($throwRuntimeError(\"index out of range\"),undefined):u[s]=(((t=e.nonceMask,((s<0||s>=t.length)?($throwRuntimeError(\"index out of range\"),undefined):t[s]))^(r))<<24>>>24)));p++;}$s=-1;return n;}return;}if($f===undefined){$f={$blk:AW.ptr.prototype.Seal};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};AW.prototype.Seal=function(a,b,c,d){return this.$val.Seal(a,b,c,d);};AW.ptr.prototype.Open=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=b;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);j=4+h>>0;(l=e.nonceMask,((j<0||j>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[j]=(((k=e.nonceMask,((j<0||j>=k.length)?($throwRuntimeError(\"index out of range\"),undefined):k[j]))^(i))<<24>>>24)));g++;}n=e.aead.Open(a,new GC(e.nonceMask),c,d);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=b;r=0;while(true){if(!(r<q.$length)){break;}s=r;t=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);u=4+s>>0;(w=e.nonceMask,((u<0||u>=w.length)?($throwRuntimeError(\"index out of range\"),undefined):w[u]=(((v=e.nonceMask,((u<0||u>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[u]))^(t))<<24>>>24)));r++;}$s=-1;return[o,p];}return;}if($f===undefined){$f={$blk:AW.ptr.prototype.Open};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};AW.prototype.Open=function(a,b,c,d){return this.$val.Open(a,b,c,d);};AX=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=B.NewCipher(a);d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){$panic(e);}g=C.NewGCM(d);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];e=f[1];if(!($interfaceIsEqual(e,$ifaceNil))){$panic(e);}i=new AV.ptr(GD.zero(),h);$copySlice(new GC(i.nonce),b);$s=-1;return i;}return;}if($f===undefined){$f={$blk:AX};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AY=function(a,b){var $ptr,a,b,c,d,e,f;c=K.New(a);d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){$panic(e);}f=new AW.ptr(GD.zero(),d);$copySlice(new GC(f.nonceMask),b);return f;};AZ.ptr.prototype.Size=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.h.Size();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Size};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Size=function(){return this.$val.Size();};AZ.ptr.prototype.MAC=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=48;h=f.h.Size();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}if(h===20){$s=1;continue;}$s=2;continue;case 1:g=40;case 2:$r=f.h.Reset();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=f.h.Write(f.key);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=f.h.Write($subslice(new GC(BA),0,g));$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=f.h.Write(b);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=f.h.Write($subslice(c,0,1));$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=f.h.Write($subslice(c,3,5));$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=f.h.Write(d);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=f.h.Sum($subslice(a,0,0));$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}a=o;$r=f.h.Reset();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=f.h.Write(f.key);$s=13;case 13:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=f.h.Write($subslice(new GC(BB),0,g));$s=14;case 14:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=f.h.Write(a);$s=15;case 15:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=f.h.Sum($subslice(a,0,0));$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.MAC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.MAC=function(a,b,c,d,e){return this.$val.MAC(a,b,c,d,e);};BD.ptr.prototype.Size=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.h.Size();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:BD.ptr.prototype.Size};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};BD.prototype.Size=function(){return this.$val.Size();};BD.ptr.prototype.BlockSize=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.h.BlockSize();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:BD.ptr.prototype.BlockSize};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};BD.prototype.BlockSize=function(){return this.$val.BlockSize();};BD.ptr.prototype.Reset=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.h.Reset();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BD.ptr.prototype.Reset};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};BD.prototype.Reset=function(){return this.$val.Reset();};BD.ptr.prototype.Write=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.h.Write(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:BD.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BD.prototype.Write=function(a){return this.$val.Write(a);};BD.ptr.prototype.Sum=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.h.ConstantTimeSum(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:BD.ptr.prototype.Sum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BD.prototype.Sum=function(a){return this.$val.Sum(a);};BE=function(a){var $ptr,a;return(function $b(){var $ptr,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return new BD.ptr($assertType(b,BC));}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;});};BF.ptr.prototype.Size=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.h.Size();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:BF.ptr.prototype.Size};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};BF.prototype.Size=function(){return this.$val.Size();};BF.ptr.prototype.MAC=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.h.Reset();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=f.h.Write(b);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=f.h.Write(c);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=f.h.Write(d);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=f.h.Sum($subslice(a,0,0));$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(e===GC.nil)){$s=6;continue;}$s=7;continue;case 6:l=f.h.Write(e);$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;case 7:$s=-1;return k;}return;}if($f===undefined){$f={$blk:BF.ptr.prototype.MAC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BF.prototype.MAC=function(a,b,c,d,e){return this.$val.MAC(a,b,c,d,e);};BG=function(a){var $ptr,a,b;return(b=new ED.ptr(),new b.constructor.elem(b));};BH=function(a){var $ptr,a;return new EJ.ptr(a,3,GC.nil,0,GC.nil,GE.nil,GE.nil);};BI=function(a){var $ptr,a;return new EJ.ptr(a,1,GC.nil,0,GC.nil,GE.nil,GE.nil);};BJ=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=a;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(e===b){f=AN;g=0;while(true){if(!(g<f.$length)){break;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h.id===b){return h;}g++;}return FY.nil;}d++;}return FY.nil;};BY=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new BX.ptr(GF.zero(),GF.zero(),GF.zero());c=P.Sum512(new GC(a));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=$clone(c,GG);$copySlice(new GC(b.keyName),$subslice(new GC(d),0,16));$copySlice(new GC(b.aesKey),$subslice(new GC(d),16,32));$copySlice(new GC(b.hmacKey),$subslice(new GC(d),32,48));BX.copy(b,b);$s=-1;return b;}return;}if($f===undefined){$f={$blk:BY};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};BW.ptr.prototype.Clone=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.serverInitOnce.Do($methodVal(a,\"serverInit\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=FW.nil;$r=a.mutex.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=a.sessionTicketKeys;$r=a.mutex.RUnlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return new BW.ptr(a.Rand,a.Time,a.Certificates,a.NameToCertificate,a.GetCertificate,a.GetClientCertificate,a.GetConfigForClient,a.VerifyPeerCertificate,a.RootCAs,a.NextProtos,a.ServerName,a.ClientAuth,a.ClientCAs,a.InsecureSkipVerify,a.CipherSuites,a.PreferServerCipherSuites,a.SessionTicketsDisabled,$clone(a.SessionTicketKey,FU),a.ClientSessionCache,a.MinVersion,a.MaxVersion,a.CurvePreferences,a.DynamicRecordSizingDisabled,a.Renegotiation,a.KeyLogWriter,new W.Once.ptr(new W.Mutex.ptr(0,0),0),new W.RWMutex.ptr(new W.Mutex.ptr(0,0),0,0,0,0),b,FX.nil);}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.Clone};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.Clone=function(){return this.$val.Clone();};BW.ptr.prototype.serverInit=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.SessionTicketsDisabled){b=true;$s=3;continue s;}c=a.ticketKeys();$s=4;case 4:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=!((c.$length===0));case 3:if(b){$s=1;continue;}$s=2;continue;case 1:$s=-1;return;case 2:d=FX.nil;$r=a.mutex.Lock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.originalConfig;f=FX.nil;d=e;a.originalConfig=f;$r=a.mutex.Unlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=false;h=a.SessionTicketKey;i=0;while(true){if(!(i<32)){break;}j=((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]);if(!((j===0))){g=true;break;}i++;}if(!g){$s=7;continue;}$s=8;continue;case 7:if(!(d===FX.nil)){$s=9;continue;}$s=10;continue;case 9:$copySlice(new GC(a.SessionTicketKey),new GC(d.SessionTicketKey));$s=11;continue;case 10:l=S.ReadFull(a.rand(),new GC(a.SessionTicketKey));$s=12;case 12:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){a.SessionTicketsDisabled=true;$s=-1;return;}case 11:case 8:if(!(d===FX.nil)){$s=13;continue;}$s=14;continue;case 13:$r=d.mutex.RLock();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.sessionTicketKeys=d.sessionTicketKeys;$r=d.mutex.RUnlock();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=15;continue;case 14:n=BY($clone(a.SessionTicketKey,FU));$s=18;case 18:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}a.sessionTicketKeys=new FW([$clone(n,BX)]);case 15:$s=-1;return;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.serverInit};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.serverInit=function(){return this.$val.serverInit();};BW.ptr.prototype.ticketKeys=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.mutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=a.sessionTicketKeys;$r=a.mutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.ticketKeys};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.ticketKeys=function(){return this.$val.ticketKeys();};BW.ptr.prototype.SetSessionTicketKeys=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(a.$length===0){$panic(new $String(\"tls: keys must have at least one key\"));}c=$makeSlice(FW,a.$length);d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=$clone(((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]),FU);h=BY($clone(g,FU));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}BX.copy(((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]),h);e++;$s=1;continue;case 2:$r=b.mutex.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.sessionTicketKeys=c;$r=b.mutex.Unlock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.SetSessionTicketKeys};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.SetSessionTicketKeys=function(a){return this.$val.SetSessionTicketKeys(a);};BW.ptr.prototype.rand=function(){var $ptr,a,b;a=this;b=a.Rand;if($interfaceIsEqual(b,$ifaceNil)){return O.Reader;}return b;};BW.prototype.rand=function(){return this.$val.rand();};BW.ptr.prototype.time=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.Time;if(b===$throwNilPointerError){b=X.Now;}c=b();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.time};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.time=function(){return this.$val.time();};BW.ptr.prototype.cipherSuites=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.CipherSuites;if(b===FT.nil){$s=1;continue;}$s=2;continue;case 1:c=CM();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;case 2:$s=-1;return b;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.cipherSuites};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.cipherSuites=function(){return this.$val.cipherSuites();};BW.ptr.prototype.minVersion=function(){var $ptr,a;a=this;if(a===FX.nil||(a.MinVersion===0)){return 769;}return a.MinVersion;};BW.prototype.minVersion=function(){return this.$val.minVersion();};BW.ptr.prototype.maxVersion=function(){var $ptr,a;a=this;if(a===FX.nil||(a.MaxVersion===0)){return 771;}return a.MaxVersion;};BW.prototype.maxVersion=function(){return this.$val.maxVersion();};BW.ptr.prototype.curvePreferences=function(){var $ptr,a;a=this;if(a===FX.nil||(a.CurvePreferences.$length===0)){return BZ;}return a.CurvePreferences;};BW.prototype.curvePreferences=function(){return this.$val.curvePreferences();};BW.ptr.prototype.mutualVersion=function(a){var $ptr,a,b,c,d;b=this;c=b.minVersion();d=b.maxVersion();if(a<c){return[0,false];}if(a>d){a=d;}return[a,true];};BW.prototype.mutualVersion=function(a){return this.$val.mutualVersion(a);};BW.ptr.prototype.getCertificate=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!(b.GetCertificate===$throwNilPointerError)&&((b.Certificates.$length===0)||a.ServerName.length>0)){$s=1;continue;}$s=2;continue;case 1:d=b.GetCertificate(a);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!(e===GH.nil)||!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[e,f];}case 2:if(b.Certificates.$length===0){$s=-1;return[GH.nil,Q.New(\"tls: no certificates configured\")];}if((b.Certificates.$length===1)||b.NameToCertificate===false){$s=-1;return[(g=b.Certificates,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0])),$ifaceNil];}h=V.ToLower(a.ServerName);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;while(true){if(!(i.length>0&&(i.charCodeAt((i.length-1>>0))===46))){break;}i=$substring(i,0,(i.length-1>>0));}j=(k=b.NameToCertificate[$String.keyFor(i)],k!==undefined?[k.v,true]:[GH.nil,false]);l=j[0];m=j[1];if(m){$s=-1;return[l,$ifaceNil];}n=V.Split(i,\".\");o=n;p=0;while(true){if(!(p<o.$length)){break;}q=p;((q<0||q>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+q]=\"*\");r=V.Join(n,\".\");s=(t=b.NameToCertificate[$String.keyFor(r)],t!==undefined?[t.v,true]:[GH.nil,false]);u=s[0];v=s[1];if(v){$s=-1;return[u,$ifaceNil];}p++;}$s=-1;return[(w=b.Certificates,(0>=w.$length?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+0])),$ifaceNil];}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.getCertificate};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.getCertificate=function(a){return this.$val.getCertificate(a);};BW.ptr.prototype.BuildNameToCertificate=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;a.NameToCertificate={};b=a.Certificates;c=0;case 1:if(!(c<b.$length)){$s=2;continue;}d=c;f=(e=a.Certificates,((d<0||d>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+d]));i=I.ParseCertificate((h=f.Certificate,(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0])));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g=i;j=g[0];k=g[1];if(!($interfaceIsEqual(k,$ifaceNil))){c++;$s=1;continue;}if(j.Subject.CommonName.length>0){l=j.Subject.CommonName;(a.NameToCertificate||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(l)]={k:l,v:f};}m=j.DNSNames;n=0;while(true){if(!(n<m.$length)){break;}o=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);p=o;(a.NameToCertificate||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(p)]={k:p,v:f};n++;}c++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.BuildNameToCertificate};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.BuildNameToCertificate=function(){return this.$val.BuildNameToCertificate();};BW.ptr.prototype.writeKeyLog=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if($interfaceIsEqual(c.KeyLogWriter,$ifaceNil)){$s=-1;return $ifaceNil;}d=R.Sprintf(\"CLIENT_RANDOM %x %x\\n\",new GI([a,b]));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=(new GC($stringToBytes(d)));$r=CA.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=c.KeyLogWriter.Write(e);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];$r=CA.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:BW.ptr.prototype.writeKeyLog};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};BW.prototype.writeKeyLog=function(a,b){return this.$val.writeKeyLog(a,b);};CJ=function(){var $ptr;return CI;};CM=function(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=CK.Do(CN);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return CL;}return;}if($f===undefined){$f={$blk:CM};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};CN=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=FT.nil;if(N.AESGCMSupport()){a=new FT([49199,49200,49195,49196,52392,52393]);}else{a=new FT([52392,52393,49199,49200,49195,49196]);}CL=$makeSlice(FT,0,AN.$length);b=a;c=0;while(true){if(!(c<b.$length)){break;}d=((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]);CL=$append(CL,d);c++;}e=AN;f=0;NextCipherSuite:while(true){if(!(f<e.$length)){break;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);if(!(((g.flags&16)===0))){f++;continue;}h=CL;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if(j===g.id){f++;continue NextCipherSuite;}i++;}CL=$append(CL,g.id);f++;}};CO=function(a,b){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R.Errorf(\"tls: received unexpected handshake message of type %T when waiting for %T\",new GI([b,a]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:CO};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};CP=function(a,b){var $ptr,a,b,c,d,e;c=b;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if($equal(e,a,BM)){return true;}d++;}return false;};CQ.ptr.prototype.LocalAddr=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.conn.LocalAddr();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.LocalAddr};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.LocalAddr=function(){return this.$val.LocalAddr();};CQ.ptr.prototype.RemoteAddr=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.conn.RemoteAddr();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.RemoteAddr};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.RemoteAddr=function(){return this.$val.RemoteAddr();};CQ.ptr.prototype.SetDeadline=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.conn.SetDeadline($clone(a,X.Time));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.SetDeadline};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.SetDeadline=function(a){return this.$val.SetDeadline(a);};CQ.ptr.prototype.SetReadDeadline=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.conn.SetReadDeadline($clone(a,X.Time));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.SetReadDeadline};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.SetReadDeadline=function(a){return this.$val.SetReadDeadline(a);};CQ.ptr.prototype.SetWriteDeadline=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.conn.SetWriteDeadline($clone(a,X.Time));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.SetWriteDeadline};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.SetWriteDeadline=function(a){return this.$val.SetWriteDeadline(a);};CR.ptr.prototype.setErrorLocked=function(a){var $ptr,a,b;b=this;b.err=a;return a;};CR.prototype.setErrorLocked=function(a){return this.$val.setErrorLocked(a);};CR.ptr.prototype.prepareCipherSpec=function(a,b,c){var $ptr,a,b,c,d;d=this;d.version=a;d.nextCipher=b;d.nextMac=c;};CR.prototype.prepareCipherSpec=function(a,b,c){return this.$val.prepareCipherSpec(a,b,c);};CR.ptr.prototype.changeCipherSpec=function(){var $ptr,a,b,c,d,e;a=this;if($interfaceIsEqual(a.nextCipher,$ifaceNil)){return new AJ(80);}a.cipher=a.nextCipher;a.mac=a.nextMac;a.nextCipher=$ifaceNil;a.nextMac=$ifaceNil;b=a.seq;c=0;while(true){if(!(c<8)){break;}d=c;(e=a.seq,((d<0||d>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[d]=0));c++;}return $ifaceNil;};CR.prototype.changeCipherSpec=function(){return this.$val.changeCipherSpec();};CR.ptr.prototype.incSeq=function(){var $ptr,a,b,c,d,e;a=this;b=7;while(true){if(!(b>=0)){break;}(d=a.seq,((b<0||b>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[b]=((c=a.seq,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))+(1)<<24>>>24)));if(!(((e=a.seq,((b<0||b>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[b]))===0))){return;}b=b-(1)>>0;}$panic(new $String(\"TLS: sequence number wraparound\"));};CR.prototype.incSeq=function(){return this.$val.incSeq();};CS=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;b=0;c=0;if(a.$length<1){d=0;e=0;b=d;c=e;return[b,c];}g=(f=a.$length-1>>0,((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f]));h=(((a.$length-1>>0)>>>0))-((g>>>0))>>>0;c=((((((~h>>>0)>>0))>>31>>0)<<24>>>24));i=255;if((i+1>>0)>a.$length){i=a.$length-1>>0;}j=0;while(true){if(!(j<i)){break;}k=((g>>>0))-((j>>>0))>>>0;l=((((((~k>>>0)>>0))>>31>>0)<<24>>>24));n=(m=(a.$length-1>>0)-j>>0,((m<0||m>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+m]));c=(c&~(((((l&g)>>>0)^((l&n)>>>0))<<24>>>24)))<<24>>>24;j=j+(1)>>0;}c=(c&((c<<4<<24>>>24)))>>>0;c=(c&((c<<2<<24>>>24)))>>>0;c=(c&((c<<1<<24>>>24)))>>>0;c=(((((c<<24>>24))>>7<<24>>24)<<24>>>24));b=((g>>0))+1>>0;return[b,c];};CT=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=0;c=0;if(a.$length<1){d=0;e=0;b=d;c=e;return[b,c];}g=(((f=a.$length-1>>0,((f<0||f>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+f]))>>0))+1>>0;if(g>a.$length){h=0;i=0;b=h;c=i;return[b,c];}j=g;k=255;b=j;c=k;return[b,c];};CU=function(a,b){var $ptr,a,b,c,d;return a+(c=((b-(d=a%b,d===d?d:$throwRuntimeError(\"integer divide by zero\"))>>0))%b,c===c?c:$throwRuntimeError(\"integer divide by zero\"))>>0;};CR.ptr.prototype.decrypt=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=false;c=0;d=0;e=this;f=$subslice(a.data,5);g=0;if(!($interfaceIsEqual(e.mac,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:h=e.mac.Size();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;case 2:i=255;j=0;k=0;if(!($interfaceIsEqual(e.cipher,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:l=e.cipher;if($assertType(l,C.Stream,true)[1]){$s=6;continue;}if($assertType(l,AU,true)[1]){$s=7;continue;}if($assertType(l,CV,true)[1]){$s=8;continue;}$s=9;continue;case 6:m=l;$r=m.XORKeyStream(f,f);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 7:n=l;q=n.explicitNonceLen();$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}k=q;if(f.$length<k){r=false;s=0;t=20;b=r;c=s;d=t;$s=-1;return[b,c,d];}u=$subslice(f,0,k);f=$subslice(f,k);if(u.$length===0){u=new GC(e.seq);}$copySlice(new GC(e.additionalData),new GC(e.seq));$copySlice($subslice(new GC(e.additionalData),8),$subslice(a.data,0,3));v=n.Overhead();$s=13;case 13:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=f.$length-v>>0;e.additionalData[11]=(((w>>8>>0)<<24>>>24));e.additionalData[12]=((w<<24>>>24));x=$ifaceNil;z=n.Open($subslice(f,0,0),u,f,new GC(e.additionalData));$s=14;case 14:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;f=y[0];x=y[1];if(!($interfaceIsEqual(x,$ifaceNil))){aa=false;ab=0;ac=20;b=aa;c=ab;d=ac;$s=-1;return[b,c,d];}a.resize((5+k>>0)+f.$length>>0);$s=10;continue;case 8:o=l;ad=o.BlockSize();$s=15;case 15:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;if(e.version>=770){k=ae;}if(!(((af=f.$length%ae,af===af?af:$throwRuntimeError(\"integer divide by zero\"))===0))||f.$length<CU((k+g>>0)+1>>0,ae)){ag=false;ah=0;ai=20;b=ag;c=ah;d=ai;$s=-1;return[b,c,d];}if(k>0){$s=16;continue;}$s=17;continue;case 16:$r=o.SetIV($subslice(f,0,k));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$subslice(f,k);case 17:$r=o.CryptBlocks(f,f);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e.version===768){aj=CT(f);j=aj[0];i=aj[1];}else{ak=CS(f);j=ak[0];i=ak[1];}$s=10;continue;case 9:p=l;$panic(new $String(\"unknown cipher type\"));case 10:case 5:if(!($interfaceIsEqual(e.mac,$ifaceNil))){$s=20;continue;}$s=21;continue;case 20:if(f.$length<g){al=false;am=0;an=20;b=al;c=am;d=an;$s=-1;return[b,c,d];}ao=(f.$length-g>>0)-j>>0;ao=Z.ConstantTimeSelect((((((ao>>>0))>>>31>>>0)>>0)),0,ao);(ap=a.data,(3>=ap.$length?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+3]=(((ao>>8>>0)<<24>>>24))));(aq=a.data,(4>=aq.$length?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+4]=((ao<<24>>>24))));ar=$subslice(f,ao,(ao+g>>0));as=e.mac.MAC(e.inDigestBuf,$subslice(new GC(e.seq),0),$subslice(a.data,0,5),$subslice(f,0,ao),$subslice(f,(ao+g>>0)));$s=22;case 22:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=as;if(!((Z.ConstantTimeCompare(at,ar)===1))||!((i===255))){au=false;av=0;aw=20;b=au;c=av;d=aw;$s=-1;return[b,c,d];}e.inDigestBuf=at;a.resize((5+k>>0)+ao>>0);case 21:e.incSeq();ax=true;ay=5+k>>0;az=0;b=ax;c=ay;d=az;$s=-1;return[b,c,d];}return;}if($f===undefined){$f={$blk:CR.ptr.prototype.decrypt};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CR.prototype.decrypt=function(a){return this.$val.decrypt(a);};CW=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=GC.nil;d=GC.nil;f=(e=a.$length%b,e===e?e:$throwRuntimeError(\"integer divide by zero\"));g=b-f>>0;c=$subslice(a,0,(a.$length-f>>0));d=$makeSlice(GC,b);$copySlice(d,$subslice(a,(a.$length-f>>0)));h=f;while(true){if(!(h<b)){break;}((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]=(((g-1>>0)<<24>>>24)));h=h+(1)>>0;}return[c,d];};CR.ptr.prototype.encrypt=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(!($interfaceIsEqual(c.mac,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:d=c.mac.MAC(c.outDigestBuf,$subslice(new GC(c.seq),0),$subslice(a.data,0,5),$subslice(a.data,(5+b>>0)),GC.nil);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=a.data.$length;a.resize(f+e.$length>>0);$copySlice($subslice(a.data,f),e);c.outDigestBuf=e;case 2:g=$subslice(a.data,5);if(!($interfaceIsEqual(c.cipher,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:h=c.cipher;if($assertType(h,C.Stream,true)[1]){$s=6;continue;}if($assertType(h,AU,true)[1]){$s=7;continue;}if($assertType(h,CV,true)[1]){$s=8;continue;}$s=9;continue;case 6:i=h;$r=i.XORKeyStream(g,g);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 7:j=h;m=(a.data.$length-5>>0)-b>>0;n=j.Overhead();$s=12;case 12:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=a.resize(a.data.$length+n>>0);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=$subslice(a.data,5,(5+b>>0));if(o.$length===0){o=new GC(c.seq);}p=$subslice(a.data,(5+b>>0));p=$subslice(p,0,m);$copySlice(new GC(c.additionalData),new GC(c.seq));$copySlice($subslice(new GC(c.additionalData),8),$subslice(a.data,0,3));c.additionalData[11]=(((m>>8>>0)<<24>>>24));c.additionalData[12]=((m<<24>>>24));q=j.Seal($subslice(p,0,0),o,p,new GC(c.additionalData));$s=14;case 14:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$s=10;continue;case 8:k=h;r=k.BlockSize();$s=15;case 15:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(b>0){$s=16;continue;}$s=17;continue;case 16:$r=k.SetIV($subslice(g,0,b));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=$subslice(g,b);case 17:t=CW(g,s);u=t[0];v=t[1];a.resize(((5+b>>0)+u.$length>>0)+v.$length>>0);$r=k.CryptBlocks($subslice(a.data,(5+b>>0)),u);$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=k.CryptBlocks($subslice(a.data,((5+b>>0)+u.$length>>0)),v);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:l=h;$panic(new $String(\"unknown cipher type\"));case 10:case 5:w=a.data.$length-5>>0;(x=a.data,(3>=x.$length?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+3]=(((w>>8>>0)<<24>>>24))));(y=a.data,(4>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+4]=((w<<24>>>24))));c.incSeq();$s=-1;return[true,0];}return;}if($f===undefined){$f={$blk:CR.ptr.prototype.encrypt};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};CR.prototype.encrypt=function(a,b){return this.$val.encrypt(a,b);};CX.ptr.prototype.resize=function(a){var $ptr,a,b;b=this;if(a>b.data.$capacity){b.reserve(a);}b.data=$subslice(b.data,0,a);};CX.prototype.resize=function(a){return this.$val.resize(a);};CX.ptr.prototype.reserve=function(a){var $ptr,a,b,c,d;b=this;if(b.data.$capacity>=a){return;}c=b.data.$capacity;if(c===0){c=1024;}while(true){if(!(c<a)){break;}c=$imul(c,(2));}d=$makeSlice(GC,b.data.$length,c);$copySlice(d,b.data);b.data=d;};CX.prototype.reserve=function(a){return this.$val.reserve(a);};CX.ptr.prototype.readFromUntil=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(c.data.$length>=b){$s=-1;return $ifaceNil;}c.reserve(b);case 1:e=a.Read($subslice(c.data,c.data.$length,c.data.$capacity));$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=d[1];c.data=$subslice(c.data,0,(c.data.$length+f>>0));if(c.data.$length>=b){$s=2;continue;}if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:CX.ptr.prototype.readFromUntil};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};CX.prototype.readFromUntil=function(a,b){return this.$val.readFromUntil(a,b);};CX.ptr.prototype.Read=function(a){var $ptr,a,b,c,d;b=0;c=$ifaceNil;d=this;b=$copySlice(a,$subslice(d.data,d.off));d.off=d.off+(b)>>0;return[b,c];};CX.prototype.Read=function(a){return this.$val.Read(a);};CR.ptr.prototype.newBlock=function(){var $ptr,a,b;a=this;b=a.bfree;if(b===GN.nil){return new CX.ptr(GC.nil,0,GN.nil);}a.bfree=b.link;b.link=GN.nil;b.resize(0);return b;};CR.prototype.newBlock=function(){return this.$val.newBlock();};CR.ptr.prototype.freeBlock=function(a){var $ptr,a,b;b=this;a.link=b.bfree;b.bfree=a;};CR.prototype.freeBlock=function(a){return this.$val.freeBlock(a);};CR.ptr.prototype.splitBlock=function(a,b){var $ptr,a,b,c,d;c=this;if(a.data.$length<=b){return[a,GN.nil];}d=c.newBlock();d.resize(a.data.$length-b>>0);$copySlice(d.data,$subslice(a.data,b));a.data=$subslice(a.data,0,b);return[a,d];};CR.prototype.splitBlock=function(a,b){return this.$val.splitBlock(a,b);};CY.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"tls: \"+a.Msg;};CY.prototype.Error=function(){return this.$val.Error();};CQ.ptr.prototype.newRecordHeaderError=function(a){var $ptr,a,b,c;b=new CY.ptr(\"\",GO.zero());c=this;b.Msg=a;$copySlice(new GC(b.RecordHeader),c.rawInput.data);CY.copy(b,b);return b;};CQ.prototype.newRecordHeaderError=function(a){return this.$val.newRecordHeaderError(a);};CQ.ptr.prototype.readRecord=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a;if((c===(22))||(c===(20))){$s=2;continue;}if(c===(23)){$s=3;continue;}$s=4;continue;case 2:if(b.handshakeComplete){$s=6;continue;}$s=7;continue;case 6:d=b.sendAlert(80);$s=8;case 8:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;$s=-1;return b.in$25.setErrorLocked(Q.New(\"tls: handshake or ChangeCipherSpec requested while not in handshake\"));case 7:$s=5;continue;case 3:if(!b.handshakeComplete){$s=9;continue;}$s=10;continue;case 9:e=b.sendAlert(80);$s=11;case 11:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return b.in$25.setErrorLocked(Q.New(\"tls: application data record requested while in handshake\"));case 10:$s=5;continue;case 4:f=b.sendAlert(80);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=-1;return b.in$25.setErrorLocked(Q.New(\"tls: unknown record type requested\"));case 5:case 1:case 13:if(b.rawInput===GN.nil){b.rawInput=b.in$25.newBlock();}g=b.rawInput;h=g.readFromUntil(b.conn,5);$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){$s=15;continue;}$s=16;continue;case 15:j=$assertType(i,U.Error,true);k=j[0];l=j[1];if(!l){m=true;$s=19;continue s;}n=k.Temporary();$s=20;case 20:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=!n;case 19:if(m){$s=17;continue;}$s=18;continue;case 17:b.in$25.setErrorLocked(i);case 18:$s=-1;return i;case 16:p=(((o=g.data,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]))<<24>>>24));if((a===22)&&(p===128)){$s=21;continue;}$s=22;continue;case 21:q=b.sendAlert(70);$s=23;case 23:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$s=-1;return b.in$25.setErrorLocked((r=b.newRecordHeaderError(\"unsupported SSLv2 handshake received\"),new r.constructor.elem(r)));case 22:u=(((((s=g.data,(1>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+1]))<<16>>>16))<<8<<16>>>16)|(((t=g.data,(2>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+2]))<<16>>>16)))>>>0;x=((((v=g.data,(3>=v.$length?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+3]))>>0))<<8>>0)|(((w=g.data,(4>=w.$length?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+4]))>>0));if(b.haveVers&&!((u===b.vers))){$s=24;continue;}$s=25;continue;case 24:y=b.sendAlert(70);$s=26;case 26:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}y;z=R.Sprintf(\"received record with version %x when expecting version %x\",new GI([new $Uint16(u),new $Uint16(b.vers)]));$s=27;case 27:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;$s=-1;return b.in$25.setErrorLocked((ab=b.newRecordHeaderError(aa),new ab.constructor.elem(ab)));case 25:if(x>18432){$s=28;continue;}$s=29;continue;case 28:ac=b.sendAlert(22);$s=30;case 30:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;ad=R.Sprintf(\"oversized record received with length %d\",new GI([new $Int(x)]));$s=31;case 31:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;$s=-1;return b.in$25.setErrorLocked((af=b.newRecordHeaderError(ae),new af.constructor.elem(af)));case 29:if(!b.haveVers){$s=32;continue;}$s=33;continue;case 32:if((!((p===21))&&!((p===a)))||u>=4096){$s=34;continue;}$s=35;continue;case 34:ag=b.sendAlert(10);$s=36;case 36:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;$s=-1;return b.in$25.setErrorLocked((ah=b.newRecordHeaderError(\"first record does not look like a TLS handshake\"),new ah.constructor.elem(ah)));case 35:case 33:ai=g.readFromUntil(b.conn,5+x>>0);$s=37;case 37:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=ai;if(!($interfaceIsEqual(aj,$ifaceNil))){$s=38;continue;}$s=39;continue;case 38:if($interfaceIsEqual(aj,S.EOF)){aj=S.ErrUnexpectedEOF;}ak=$assertType(aj,U.Error,true);al=ak[0];am=ak[1];if(!am){an=true;$s=42;continue s;}ao=al.Temporary();$s=43;case 43:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=!ao;case 42:if(an){$s=40;continue;}$s=41;continue;case 40:b.in$25.setErrorLocked(aj);case 41:$s=-1;return aj;case 39:ap=b.in$25.splitBlock(g,5+x>>0);g=ap[0];b.rawInput=ap[1];ar=b.in$25.decrypt(g);$s=44;case 44:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;as=aq[0];at=aq[1];au=aq[2];if(!as){$s=45;continue;}$s=46;continue;case 45:b.in$25.freeBlock(g);av=b.sendAlert(au);$s=47;case 47:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=b.in$25.setErrorLocked(av);$s=48;case 48:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 46:g.off=at;ax=$subslice(g.data,g.off);if(ax.$length>16384){$s=49;continue;}$s=50;continue;case 49:ay=b.sendAlert(22);$s=51;case 51:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=ay;b.in$25.freeBlock(g);$s=-1;return b.in$25.setErrorLocked(az);case 50:ba=p;if(ba===(21)){$s=53;continue;}if(ba===(20)){$s=54;continue;}if(ba===(23)){$s=55;continue;}if(ba===(22)){$s=56;continue;}$s=57;continue;case 53:if(!((ax.$length===2))){$s=59;continue;}$s=60;continue;case 59:bb=b.sendAlert(10);$s=61;case 61:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}bc=b.in$25.setErrorLocked(bb);$s=62;case 62:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bc;$s=52;continue;case 60:if((((1>=ax.$length?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+1])<<24>>>24))===0){b.in$25.setErrorLocked(S.EOF);$s=52;continue;}bd=(0>=ax.$length?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+0]);if(bd===(1)){$s=64;continue;}if(bd===(2)){$s=65;continue;}$s=66;continue;case 64:b.in$25.freeBlock(g);$s=13;continue;$s=67;continue;case 65:b.in$25.setErrorLocked(new U.OpError.ptr(\"remote error\",\"\",$ifaceNil,$ifaceNil,new AJ((((1>=ax.$length?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+1])<<24>>>24)))));$s=67;continue;case 66:be=b.sendAlert(10);$s=68;case 68:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=b.in$25.setErrorLocked(be);$s=69;case 69:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bf;case 67:case 63:$s=58;continue;case 54:if(!((p===a))||!((ax.$length===1))||!(((0>=ax.$length?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+0])===1))){$s=70;continue;}$s=71;continue;case 70:bg=b.sendAlert(10);$s=72;case 72:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=b.in$25.setErrorLocked(bg);$s=73;case 73:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bh;$s=52;continue;case 71:bi=b.in$25.changeCipherSpec();if(!($interfaceIsEqual(bi,$ifaceNil))){$s=74;continue;}$s=75;continue;case 74:bj=b.sendAlert($assertType(bi,AJ));$s=76;case 76:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=b.in$25.setErrorLocked(bj);$s=77;case 77:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bk;case 75:$s=58;continue;case 55:if(!((p===a))){$s=78;continue;}$s=79;continue;case 78:bl=b.sendAlert(10);$s=80;case 80:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=b.in$25.setErrorLocked(bl);$s=81;case 81:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bm;$s=52;continue;case 79:b.input=g;g=GN.nil;$s=58;continue;case 56:if(!((p===a))&&!(b.isClient&&!((b.config.Renegotiation===0)))){$s=82;continue;}$s=83;continue;case 82:bn=b.sendAlert(100);$s=84;case 84:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bo=b.in$25.setErrorLocked(bn);$s=85;case 85:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}$s=-1;return bo;case 83:b.hand.Write(ax);$s=58;continue;case 57:bp=b.sendAlert(10);$s=86;case 86:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=b.in$25.setErrorLocked(bp);$s=87;case 87:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bq;case 58:case 52:if(!(g===GN.nil)){b.in$25.freeBlock(g);}$s=-1;return b.in$25.err;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.readRecord};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.readRecord=function(a){return this.$val.readRecord(a);};CQ.ptr.prototype.sendAlertLocked=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a;if((c===(100))||(c===(0))){b.tmp[0]=1;}else{b.tmp[0]=2;}b.tmp[1]=((a<<24>>>24));e=b.writeRecordLocked(21,$subslice(new GC(b.tmp),0,2));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[1];if(a===0){$s=-1;return f;}$s=-1;return b.out.setErrorLocked(new U.OpError.ptr(\"local error\",\"\",$ifaceNil,$ifaceNil,new AJ(a)));}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.sendAlertLocked};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.sendAlertLocked=function(a){return this.$val.sendAlertLocked(a);};CQ.ptr.prototype.sendAlert=function(a){var $ptr,a,b,c,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;$r=b.out.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(b.out.Mutex,\"Unlock\"),[]]);c=b.sendAlertLocked(a);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.sendAlert};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.sendAlert=function(a){return this.$val.sendAlert(a);};CQ.ptr.prototype.maxPayloadSizeForWrite=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(c.config.DynamicRecordSizingDisabled||!((a===23))){$s=-1;return 16384;}if((d=c.bytesSent,(d.$high>0||(d.$high===0&&d.$low>=131072)))){$s=-1;return 16384;}e=0;if(!($interfaceIsEqual(c.out.mac,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=c.out.mac.Size();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 2:g=1203-b>>0;if(!($interfaceIsEqual(c.out.cipher,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:h=c.out.cipher;if($assertType(h,C.Stream,true)[1]){$s=6;continue;}if($assertType(h,C.AEAD,true)[1]){$s=7;continue;}if($assertType(h,CV,true)[1]){$s=8;continue;}$s=9;continue;case 6:i=h;g=g-(e)>>0;$s=10;continue;case 7:j=h;m=j.Overhead();$s=11;case 11:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}g=g-(m)>>0;$s=10;continue;case 8:k=h;n=k.BlockSize();$s=12;case 12:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;g=((g&(~((o-1>>0))>>0)))-1>>0;g=g-(e)>>0;$s=10;continue;case 9:l=h;$panic(new $String(\"unknown cipher type\"));case 10:case 5:p=c.packetsSent;c.packetsSent=(q=c.packetsSent,r=new $Int64(0,1),new $Int64(q.$high+r.$high,q.$low+r.$low));if((p.$high>0||(p.$high===0&&p.$low>1000))){$s=-1;return 16384;}t=$imul(g,(((s=new $Int64(p.$high+0,p.$low+1),s.$low+((s.$high>>31)*4294967296))>>0)));if(t>16384){t=16384;}$s=-1;return t;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.maxPayloadSizeForWrite};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.maxPayloadSizeForWrite=function(a,b){return this.$val.maxPayloadSizeForWrite(a,b);};CQ.ptr.prototype.write=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(b.buffering){b.sendBuf=$appendSlice(b.sendBuf,a);$s=-1;return[a.$length,$ifaceNil];}d=b.conn.Write(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];b.bytesSent=(g=b.bytesSent,h=(new $Int64(0,e)),new $Int64(g.$high+h.$high,g.$low+h.$low));$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.write=function(a){return this.$val.write(a);};CQ.ptr.prototype.flush=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.sendBuf.$length===0){$s=-1;return[0,$ifaceNil];}c=a.conn.Write(a.sendBuf);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];a.bytesSent=(f=a.bytesSent,g=(new $Int64(0,d)),new $Int64(f.$high+g.$high,f.$low+g.$low));a.sendBuf=GC.nil;a.buffering=false;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.flush};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.flush=function(){return this.$val.flush();};CQ.ptr.prototype.writeRecordLocked=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=this;d=c.out.newBlock();$deferred.push([$methodVal(c.out,\"freeBlock\"),[d]]);e=0;case 1:if(!(b.$length>0)){$s=2;continue;}f=0;g=false;h=$ifaceNil;if(c.out.version>=770){$s=3;continue;}$s=4;continue;case 3:i=false;j=$assertType(c.out.cipher,CV,true);h=j[0];i=j[1];if(i){$s=5;continue;}$s=6;continue;case 5:k=h.BlockSize();$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}f=k;case 6:case 4:if(f===0){$s=8;continue;}$s=9;continue;case 8:l=$assertType(c.out.cipher,AU,true);m=l[0];n=l[1];if(n){$s=10;continue;}$s=11;continue;case 10:o=m.explicitNonceLen();$s=12;case 12:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}f=o;g=f>0;case 11:case 9:p=b.$length;q=c.maxPayloadSizeForWrite(a,f);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(p>r){p=r;}d.resize((5+f>>0)+p>>0);(s=d.data,(0>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+0]=((a<<24>>>24))));t=c.vers;if(t===0){t=769;}(u=d.data,(1>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+1]=(((t>>>8<<16>>>16)<<24>>>24))));(v=d.data,(2>=v.$length?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+2]=((t<<24>>>24))));(w=d.data,(3>=w.$length?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+3]=(((p>>8>>0)<<24>>>24))));(x=d.data,(4>=x.$length?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+4]=((p<<24>>>24))));if(f>0){$s=14;continue;}$s=15;continue;case 14:y=$subslice(d.data,5,(5+f>>0));if(g){$s=16;continue;}$s=17;continue;case 16:$copySlice(y,new GC(c.out.seq));$s=18;continue;case 17:aa=S.ReadFull(c.config.rand(),y);$s=19;case 19:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[1];if(!($interfaceIsEqual(ab,$ifaceNil))){$s=-1;return[e,ab];}case 18:case 15:$copySlice($subslice(d.data,(5+f>>0)),b);ac=c.out.encrypt(d,f);$s=20;case 20:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;ae=c.write(d.data);$s=21;case 21:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;af=ad[1];if(!($interfaceIsEqual(af,$ifaceNil))){$s=-1;return[e,af];}e=e+(p)>>0;b=$subslice(b,p);$s=1;continue;case 2:if(a===20){$s=22;continue;}$s=23;continue;case 22:ag=c.out.changeCipherSpec();if(!($interfaceIsEqual(ag,$ifaceNil))){$s=24;continue;}$s=25;continue;case 24:ah=c.sendAlertLocked($assertType(ag,AJ));$s=26;case 26:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}$s=-1;return[e,ah];case 25:case 23:$s=-1;return[e,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.writeRecordLocked};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.writeRecordLocked=function(a,b){return this.$val.writeRecordLocked(a,b);};CQ.ptr.prototype.writeRecord=function(a,b){var $ptr,a,b,c,d,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=this;$r=c.out.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(c.out.Mutex,\"Unlock\"),[]]);d=c.writeRecordLocked(a,b);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.writeRecord};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.writeRecord=function(a,b){return this.$val.writeRecord(a,b);};CQ.ptr.prototype.readHandshake=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;case 1:if(!(a.hand.Len()<4)){$s=2;continue;}b=a.in$25.err;if(!($interfaceIsEqual(b,$ifaceNil))){$s=-1;return[$ifaceNil,b];}c=a.readRecord(22);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[$ifaceNil,d];}$s=1;continue;case 2:e=a.hand.Bytes();f=(((((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])>>0))<<16>>0)|((((2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2])>>0))<<8>>0))|(((3>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+3])>>0));if(f>65536){$s=4;continue;}$s=5;continue;case 4:g=a.sendAlertLocked(80);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=R.Errorf(\"tls: handshake message of length %d bytes exceeds maximum of %d bytes\",new GI([new $Int(f),new $Int(65536)]));$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=a.in$25.setErrorLocked(h);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,i];case 5:case 9:if(!(a.hand.Len()<(4+f>>0))){$s=10;continue;}j=a.in$25.err;if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[$ifaceNil,j];}k=a.readRecord(22);$s=11;case 11:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[$ifaceNil,l];}$s=9;continue;case 10:e=a.hand.Next(4+f>>0);m=$ifaceNil;n=(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);if(n===(0)){$s=13;continue;}if(n===(1)){$s=14;continue;}if(n===(2)){$s=15;continue;}if(n===(4)){$s=16;continue;}if(n===(11)){$s=17;continue;}if(n===(13)){$s=18;continue;}if(n===(22)){$s=19;continue;}if(n===(12)){$s=20;continue;}if(n===(14)){$s=21;continue;}if(n===(16)){$s=22;continue;}if(n===(15)){$s=23;continue;}if(n===(67)){$s=24;continue;}if(n===(20)){$s=25;continue;}$s=26;continue;case 13:m=new DT.ptr();$s=27;continue;case 14:m=new DH.ptr(GC.nil,0,GC.nil,GC.nil,FT.nil,GC.nil,false,\"\",false,false,FV.nil,GC.nil,false,GC.nil,GA.nil,GC.nil,false,FS.nil);$s=27;continue;case 15:m=new DI.ptr(GC.nil,0,GC.nil,GC.nil,0,0,false,FS.nil,false,GP.nil,false,GC.nil,false,\"\");$s=27;continue;case 16:m=new DS.ptr(GC.nil,GC.nil);$s=27;continue;case 17:m=new DJ.ptr(GC.nil,GP.nil);$s=27;continue;case 18:m=new DQ.ptr(GC.nil,a.vers>=771,GC.nil,GA.nil,GP.nil);$s=27;continue;case 19:m=new DL.ptr(GC.nil,0,GC.nil);$s=27;continue;case 20:m=new DK.ptr(GC.nil,GC.nil);$s=27;continue;case 21:m=new DM.ptr();$s=27;continue;case 22:m=new DN.ptr(GC.nil,GC.nil);$s=27;continue;case 23:m=new DR.ptr(GC.nil,a.vers>=771,new BM.ptr(0,0),GC.nil);$s=27;continue;case 24:m=new DP.ptr(GC.nil,\"\");$s=27;continue;case 25:m=new DO.ptr(GC.nil,GC.nil);$s=27;continue;case 26:o=a.sendAlert(10);$s=28;case 28:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=a.in$25.setErrorLocked(o);$s=29;case 29:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,p];case 27:case 12:e=$appendSlice((GC.nil),e);q=m.unmarshal(e);$s=32;case 32:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}if(!q){$s=30;continue;}$s=31;continue;case 30:r=a.sendAlert(10);$s=33;case 33:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=a.in$25.setErrorLocked(r);$s=34;case 34:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,s];case 31:$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.readHandshake};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.readHandshake=function(){return this.$val.readHandshake();};CQ.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;while(true){c=AA.LoadInt32((b.$ptr_activeCall||(b.$ptr_activeCall=new GQ(function(){return this.$target.activeCall;},function($v){this.$target.activeCall=$v;},b))));if(!(((c&1)===0))){$s=-1;return[0,CZ];}if(AA.CompareAndSwapInt32((b.$ptr_activeCall||(b.$ptr_activeCall=new GQ(function(){return this.$target.activeCall;},function($v){this.$target.activeCall=$v;},b))),c,c+2>>0)){$deferred.push([AA.AddInt32,[(b.$ptr_activeCall||(b.$ptr_activeCall=new GQ(function(){return this.$target.activeCall;},function($v){this.$target.activeCall=$v;},b))),-2]]);break;}}d=b.Handshake();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[0,e];}$r=b.out.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(b.out.Mutex,\"Unlock\"),[]]);f=b.out.err;if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[0,f];}if(!b.handshakeComplete){$s=-1;return[0,new AJ(80)];}if(b.closeNotifySent){$s=-1;return[0,DA];}g=0;if(a.$length>1&&b.vers<=769){$s=3;continue;}$s=4;continue;case 3:h=$assertType(b.out.cipher,C.BlockMode,true);i=h[1];if(i){$s=5;continue;}$s=6;continue;case 5:k=b.writeRecordLocked(23,$subslice(a,0,1));$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[l,b.out.setErrorLocked(m)];}n=1;o=$subslice(a,1);g=n;a=o;case 6:case 4:q=b.writeRecordLocked(23,a);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];$s=-1;return[r+g>>0,b.out.setErrorLocked(s)];}return;}}catch(err){$err=err;$s=-1;return[0,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.Write=function(a){return this.$val.Write(a);};CQ.ptr.prototype.handleRenegotiation=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;c=a.readHandshake();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return e;}f=$assertType(d,GR,true);g=f[1];if(!g){$s=2;continue;}$s=3;continue;case 2:h=a.sendAlert(10);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return new AJ(10);case 3:if(!a.isClient){$s=5;continue;}$s=6;continue;case 5:i=a.sendAlert(100);$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;case 6:j=a.config.Renegotiation;if(j===(0)){$s=9;continue;}if(j===(1)){$s=10;continue;}if(j===(2)){$s=11;continue;}$s=12;continue;case 9:k=a.sendAlert(100);$s=14;case 14:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 10:if(a.handshakes>1){$s=15;continue;}$s=16;continue;case 15:l=a.sendAlert(100);$s=17;case 17:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;case 16:$s=13;continue;case 11:$s=13;continue;case 12:m=a.sendAlert(80);$s=18;case 18:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=-1;return Q.New(\"tls: unknown Renegotiation value\");case 13:case 8:$r=a.handshakeMutex.Lock();$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.handshakeMutex,\"Unlock\"),[]]);a.handshakeComplete=false;n=a.clientHandshake();$s=20;case 20:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}a.handshakeErr=n;if($interfaceIsEqual(a.handshakeErr,$ifaceNil)){a.handshakes=a.handshakes+(1)>>0;}$s=-1;return a.handshakeErr;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.handleRenegotiation};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.handleRenegotiation=function(){return this.$val.handleRenegotiation();};CQ.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=0;c=$ifaceNil;d=this;e=d.Handshake();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}c=e;if(!($interfaceIsEqual(c,$ifaceNil))){$s=-1;return[b,c];}if(a.$length===0){$s=-1;return[b,c];}$r=d.in$25.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(d.in$25.Mutex,\"Unlock\"),[]]);f=0;case 3:if(!(f<=100)){$s=4;continue;}case 5:if(!(d.input===GN.nil&&$interfaceIsEqual(d.in$25.err,$ifaceNil))){$s=6;continue;}g=d.readRecord(23);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;b=i;c=j;$s=-1;return[b,c];}if(d.hand.Len()>0){$s=8;continue;}$s=9;continue;case 8:k=d.handleRenegotiation();$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!($interfaceIsEqual(l,$ifaceNil))){m=0;n=l;b=m;c=n;$s=-1;return[b,c];}case 9:$s=5;continue;case 6:o=d.in$25.err;if(!($interfaceIsEqual(o,$ifaceNil))){p=0;q=o;b=p;c=q;$s=-1;return[b,c];}r=d.input.Read(a);b=r[0];c=r[1];if(d.input.off>=d.input.data.$length){d.in$25.freeBlock(d.input);d.input=GN.nil;}s=d.rawInput;if(!(s===GN.nil)&&!((b===0))&&$interfaceIsEqual(c,$ifaceNil)&&d.input===GN.nil&&s.data.$length>0&&((((t=s.data,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))<<24>>>24))===21)){$s=11;continue;}$s=12;continue;case 11:u=d.readRecord(23);$s=13;case 13:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;if(!($interfaceIsEqual(v,$ifaceNil))){c=v;}case 12:if(!((b===0))||!($interfaceIsEqual(c,$ifaceNil))){w=b;x=c;b=w;c=x;$s=-1;return[b,c];}f=f+(1)>>0;$s=3;continue;case 4:y=0;z=S.ErrNoProgress;b=y;c=z;$s=-1;return[b,c];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[b,c];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.Read=function(a){return this.$val.Read(a);};CQ.ptr.prototype.Close=function(){var $ptr,a,b,c,d,e,f,g,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;b=0;while(true){b=AA.LoadInt32((a.$ptr_activeCall||(a.$ptr_activeCall=new GQ(function(){return this.$target.activeCall;},function($v){this.$target.activeCall=$v;},a))));if(!(((b&1)===0))){$s=-1;return CZ;}if(AA.CompareAndSwapInt32((a.$ptr_activeCall||(a.$ptr_activeCall=new GQ(function(){return this.$target.activeCall;},function($v){this.$target.activeCall=$v;},a))),b,b|1)){break;}}if(!((b===0))){$s=1;continue;}$s=2;continue;case 1:c=a.conn.Close();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;case 2:d=$ifaceNil;$r=a.handshakeMutex.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.handshakeMutex,\"Unlock\"),[]]);if(a.handshakeComplete){$s=5;continue;}$s=6;continue;case 5:e=a.closeNotify();$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 6:f=a.conn.Close();$s=8;case 8:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}$s=-1;return d;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.Close};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.Close=function(){return this.$val.Close();};CQ.ptr.prototype.CloseWrite=function(){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;$r=a.handshakeMutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.handshakeMutex,\"Unlock\"),[]]);if(!a.handshakeComplete){$s=-1;return DB;}b=a.closeNotify();$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.CloseWrite};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.CloseWrite=function(){return this.$val.CloseWrite();};CQ.ptr.prototype.closeNotify=function(){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;$r=a.out.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.out.Mutex,\"Unlock\"),[]]);if(!a.closeNotifySent){$s=2;continue;}$s=3;continue;case 2:b=a.sendAlertLocked(0);$s=4;case 4:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.closeNotifyErr=b;a.closeNotifySent=true;case 3:$s=-1;return a.closeNotifyErr;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.closeNotify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.closeNotify=function(){return this.$val.closeNotify();};CQ.ptr.prototype.Handshake=function(){var $ptr,a,b,c,d,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;$r=a.handshakeMutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.handshakeMutex,\"Unlock\"),[]]);case 2:b=a.handshakeErr;if(!($interfaceIsEqual(b,$ifaceNil))){$s=-1;return b;}if(a.handshakeComplete){$s=-1;return $ifaceNil;}if(a.handshakeCond===GS.nil){$s=3;continue;}$r=a.handshakeCond.Wait();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=2;continue;case 3:a.handshakeCond=W.NewCond(a.handshakeMutex);$r=a.handshakeMutex.Unlock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=a.in$25.Mutex.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.in$25.Mutex,\"Unlock\"),[]]);$r=a.handshakeMutex.Lock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(a.handshakeErr,$ifaceNil))||a.handshakeComplete){$panic(new $String(\"handshake should not have been able to complete after handshakeCond was set\"));}if(a.isClient){$s=8;continue;}$s=9;continue;case 8:c=a.clientHandshake();$s=11;case 11:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.handshakeErr=c;$s=10;continue;case 9:d=a.serverHandshake();$s=12;case 12:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}a.handshakeErr=d;case 10:if($interfaceIsEqual(a.handshakeErr,$ifaceNil)){$s=13;continue;}$s=14;continue;case 13:a.handshakes=a.handshakes+(1)>>0;$s=15;continue;case 14:e=a.flush();$s=16;case 16:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 15:if($interfaceIsEqual(a.handshakeErr,$ifaceNil)&&!a.handshakeComplete){$panic(new $String(\"handshake should have had a result.\"));}$r=a.handshakeCond.Broadcast();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.handshakeCond=GS.nil;$s=-1;return a.handshakeErr;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.Handshake};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.Handshake=function(){return this.$val.Handshake();};CQ.ptr.prototype.ConnectionState=function(){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;$r=a.handshakeMutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.handshakeMutex,\"Unlock\"),[]]);b=new BO.ptr(0,false,false,0,\"\",false,\"\",GU.nil,GV.nil,GP.nil,GC.nil,GC.nil);b.HandshakeComplete=a.handshakeComplete;b.ServerName=a.serverName;if(a.handshakeComplete){b.Version=a.vers;b.NegotiatedProtocol=a.clientProtocol;b.DidResume=a.didResume;b.NegotiatedProtocolIsMutual=!a.clientProtocolFallback;b.CipherSuite=a.cipherSuite;b.PeerCertificates=a.peerCertificates;b.VerifiedChains=a.verifiedChains;b.SignedCertificateTimestamps=a.scts;b.OCSPResponse=a.ocspResponse;if(!a.didResume){if(a.clientFinishedIsFirst){b.TLSUnique=new GC(a.clientFinished);}else{b.TLSUnique=new GC(a.serverFinished);}}}$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;return new BO.ptr(0,false,false,0,\"\",false,\"\",GU.nil,GV.nil,GP.nil,GC.nil,GC.nil);}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.ConnectionState};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.ConnectionState=function(){return this.$val.ConnectionState();};CQ.ptr.prototype.OCSPResponse=function(){var $ptr,a,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;$r=a.handshakeMutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(a.handshakeMutex,\"Unlock\"),[]]);$s=-1;return a.ocspResponse;}return;}}catch(err){$err=err;$s=-1;return GC.nil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.OCSPResponse};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.OCSPResponse=function(){return this.$val.OCSPResponse();};CQ.ptr.prototype.VerifyHostname=function(a){var $ptr,a,b,c,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;$r=b.handshakeMutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(b.handshakeMutex,\"Unlock\"),[]]);if(!b.isClient){$s=-1;return Q.New(\"tls: VerifyHostname called on TLS server connection\");}if(!b.handshakeComplete){$s=-1;return Q.New(\"tls: handshake has not yet been performed\");}if(b.verifiedChains.$length===0){$s=-1;return Q.New(\"tls: handshake did not verify certificate chain\");}$s=-1;return(c=b.peerCertificates,(0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])).VerifyHostname(a);}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:CQ.ptr.prototype.VerifyHostname};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};CQ.prototype.VerifyHostname=function(a){return this.$val.VerifyHostname(a);};CQ.ptr.prototype.clientHandshake=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;c=$f.c;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.config===FX.nil){a.config=CJ();}a.didResume=false;if((a.config.ServerName.length===0)&&!a.config.InsecureSkipVerify){$s=-1;return Q.New(\"tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config\");}b=0;c=a.config.NextProtos;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=e.length;if((f===0)||f>255){$s=-1;return Q.New(\"tls: invalid NextProtos value\");}else{b=b+((1+f>>0))>>0;}d++;}if(b>65535){$s=-1;return Q.New(\"tls: NextProtos values too large\");}g=new DH.ptr(GC.nil,a.config.maxVersion(),$makeSlice(GC,32),GC.nil,FT.nil,new GC([0]),a.config.NextProtos.$length>0,DG(a.config.ServerName),true,true,a.config.curvePreferences(),new GC([0]),false,GC.nil,GA.nil,GC.nil,true,a.config.NextProtos);if(a.handshakes>0){g.secureRenegotiation=new GC(a.clientFinished);}h=a.config.cipherSuites();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;g.cipherSuites=$makeSlice(FT,0,i.$length);j=i;k=0;case 2:if(!(k<j.$length)){$s=3;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=AN;n=0;while(true){if(!(n<m.$length)){break;}o=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);if(!((o.id===l))){n++;continue;}if(g.vers<771&&!(((o.flags&4)===0))){n++;continue;}g.cipherSuites=$append(g.cipherSuites,l);k++;$s=2;continue s;}k++;$s=2;continue;case 3:q=S.ReadFull(a.config.rand(),g.random);$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:s=a.sendAlert(80);$s=7;case 7:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=r.Error();$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=Q.New(\"tls: short read from Rand: \"+t);$s=9;case 9:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return u;case 6:if(g.vers>=771){g.signatureAndHashes=BN;}v=GM.nil;w=\"\";x=a.config.ClientSessionCache;if(a.config.SessionTicketsDisabled){x=$ifaceNil;}if(!($interfaceIsEqual(x,$ifaceNil))){g.ticketSupported=true;}if(!($interfaceIsEqual(x,$ifaceNil))&&(a.handshakes===0)){$s=10;continue;}$s=11;continue;case 10:y=a.conn.RemoteAddr();$s=12;case 12:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=DE(y,a.config);$s=13;case 13:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}w=z;ab=x.Get(w);$s=14;case 14:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[0];ad=aa[1];if(ad){ae=false;af=g.cipherSuites;ag=0;while(true){if(!(ag<af.$length)){break;}ah=((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]);if(ah===ac.cipherSuite){ae=true;break;}ag++;}ai=ac.vers>=a.config.minVersion()&&ac.vers<=a.config.maxVersion();if(ai&&ae){v=ac;}}case 11:if(!(v===GM.nil)){$s=15;continue;}$s=16;continue;case 15:g.sessionTicket=v.sessionTicket;g.sessionId=$makeSlice(GC,16);ak=S.ReadFull(a.config.rand(),g.sessionId);$s=17;case 17:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;al=aj[1];if(!($interfaceIsEqual(al,$ifaceNil))){$s=18;continue;}$s=19;continue;case 18:am=a.sendAlert(80);$s=20;case 20:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am;an=al.Error();$s=21;case 21:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}ao=Q.New(\"tls: short read from Rand: \"+an);$s=22;case 22:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 19:case 16:aq=a.writeRecord(22,g.marshal());$s=23;case 23:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];if(!($interfaceIsEqual(ar,$ifaceNil))){$s=-1;return ar;}at=a.readHandshake();$s=24;case 24:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}as=at;au=as[0];r=as[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}av=$assertType(au,GW,true);aw=av[0];ax=av[1];if(!ax){$s=25;continue;}$s=26;continue;case 25:ay=a.sendAlert(10);$s=27;case 27:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;az=CO(aw,au);$s=28;case 28:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}$s=-1;return az;case 26:ba=a.config.mutualVersion(aw.vers);bb=ba[0];ax=ba[1];if(!ax||bb<769){$s=29;continue;}$s=30;continue;case 29:bc=a.sendAlert(70);$s=31;case 31:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bc;bd=R.Errorf(\"tls: server selected unsupported protocol version %x\",new GI([new $Uint16(aw.vers)]));$s=32;case 32:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return bd;case 30:a.vers=bb;a.haveVers=true;be=BJ(g.cipherSuites,aw.cipherSuite);if(be===FY.nil){$s=33;continue;}$s=34;continue;case 33:bf=a.sendAlert(40);$s=35;case 35:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bf;$s=-1;return Q.New(\"tls: server chose an unconfigured cipher suite\");case 34:bg=EY(a.vers,be);$s=36;case 36:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=new DC.ptr(a,aw,g,be,$clone(bg,EZ),GC.nil,v);bj=bh.processServerHello();$s=37;case 37:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bi=bj;bk=bi[0];r=bi[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}if(bk||((a.config.Certificates.$length===0)&&a.config.GetClientCertificate===$throwNilPointerError)){bh.finishedHash.discardHandshakeBuffer();}bl=bh.finishedHash.Write(bh.hello.marshal());$s=38;case 38:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bl;bm=bh.finishedHash.Write(bh.serverHello.marshal());$s=39;case 39:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bm;a.buffering=true;if(bk){$s=40;continue;}$s=41;continue;case 40:bn=bh.establishKeys();$s=43;case 43:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bo=bn;if(!($interfaceIsEqual(bo,$ifaceNil))){$s=-1;return bo;}bp=bh.readSessionTicket();$s=44;case 44:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;if(!($interfaceIsEqual(bq,$ifaceNil))){$s=-1;return bq;}br=bh.readFinished(new GC(a.serverFinished));$s=45;case 45:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}bs=br;if(!($interfaceIsEqual(bs,$ifaceNil))){$s=-1;return bs;}a.clientFinishedIsFirst=false;bt=bh.sendFinished(new GC(a.clientFinished));$s=46;case 46:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bu=bt;if(!($interfaceIsEqual(bu,$ifaceNil))){$s=-1;return bu;}bw=a.flush();$s=47;case 47:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bv=bw;bx=bv[1];if(!($interfaceIsEqual(bx,$ifaceNil))){$s=-1;return bx;}$s=42;continue;case 41:by=bh.doFullHandshake();$s=48;case 48:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bz=by;if(!($interfaceIsEqual(bz,$ifaceNil))){$s=-1;return bz;}ca=bh.establishKeys();$s=49;case 49:if($c){$c=false;ca=ca.$blk();}if(ca&&ca.$blk!==undefined){break s;}cb=ca;if(!($interfaceIsEqual(cb,$ifaceNil))){$s=-1;return cb;}cc=bh.sendFinished(new GC(a.clientFinished));$s=50;case 50:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;if(!($interfaceIsEqual(cd,$ifaceNil))){$s=-1;return cd;}cf=a.flush();$s=51;case 51:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}ce=cf;cg=ce[1];if(!($interfaceIsEqual(cg,$ifaceNil))){$s=-1;return cg;}a.clientFinishedIsFirst=true;ch=bh.readSessionTicket();$s=52;case 52:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=ch;if(!($interfaceIsEqual(ci,$ifaceNil))){$s=-1;return ci;}cj=bh.readFinished(new GC(a.serverFinished));$s=53;case 53:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;if(!($interfaceIsEqual(ck,$ifaceNil))){$s=-1;return ck;}case 42:if(!($interfaceIsEqual(x,$ifaceNil))&&!(bh.session===GM.nil)&&!(v===bh.session)){$s=54;continue;}$s=55;continue;case 54:$r=x.Put(w,bh.session);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 55:a.didResume=bk;a.handshakeComplete=true;a.cipherSuite=be.id;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.clientHandshake};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.c=c;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.clientHandshake=function(){return this.$val.clientHandshake();};DC.ptr.prototype.doFullHandshake=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;c=$f.c;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;d=$f.d;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.c;d=b.readHandshake();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}g=$assertType(e,GZ,true);h=g[0];i=g[1];if(!i||(h.certificates.$length===0)){$s=2;continue;}$s=3;continue;case 2:j=b.sendAlert(10);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=CO(h,e);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 3:l=a.finishedHash.Write(h.marshal());$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;if(b.handshakes===0){$s=7;continue;}$s=8;continue;case 7:m=$makeSlice(GU,h.certificates.$length);n=h.certificates;o=0;case 10:if(!(o<n.$length)){$s=11;continue;}p=o;q=((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]);s=I.ParseCertificate(q);$s=12;case 12:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=13;continue;}$s=14;continue;case 13:v=b.sendAlert(42);$s=15;case 15:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;w=u.Error();$s=16;case 16:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=Q.New(\"tls: failed to parse certificate from server: \"+w);$s=17;case 17:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$s=-1;return x;case 14:((p<0||p>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+p]=t);o++;$s=10;continue;case 11:if(!b.config.InsecureSkipVerify){$s=18;continue;}$s=19;continue;case 18:y=b.config.time();$s=20;case 20:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=new I.VerifyOptions.ptr(b.config.ServerName,I.NewCertPool(),b.config.RootCAs,$clone(y,X.Time),HB.nil);aa=m;ab=0;case 21:if(!(ab<aa.$length)){$s=22;continue;}ac=ab;ad=((ab<0||ab>=aa.$length)?($throwRuntimeError(\"index out of range\"),undefined):aa.$array[aa.$offset+ab]);if(ac===0){ab++;$s=21;continue;}z.Intermediates.AddCert(ad);ab++;$s=21;continue;case 22:af=(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]).Verify($clone(z,I.VerifyOptions));$s=23;case 23:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;b.verifiedChains=ae[0];f=ae[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=24;continue;}$s=25;continue;case 24:ag=b.sendAlert(42);$s=26;case 26:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;$s=-1;return f;case 25:case 19:if(!(b.config.VerifyPeerCertificate===$throwNilPointerError)){$s=27;continue;}$s=28;continue;case 27:ah=b.config.VerifyPeerCertificate(h.certificates,b.verifiedChains);$s=29;case 29:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=ah;if(!($interfaceIsEqual(ai,$ifaceNil))){$s=30;continue;}$s=31;continue;case 30:aj=b.sendAlert(42);$s=32;case 32:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;$s=-1;return ai;case 31:case 28:ak=(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]).PublicKey;if($assertType(ak,HC,true)[1]||$assertType(ak,HD,true)[1]){$s=33;continue;}$s=34;continue;case 33:$s=35;continue;$s=35;continue;case 34:al=b.sendAlert(43);$s=36;case 36:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}al;am=R.Errorf(\"tls: server's certificate contains an unsupported type of public key: %T\",new GI([(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]).PublicKey]));$s=37;case 37:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}$s=-1;return am;case 35:b.peerCertificates=m;$s=9;continue;case 8:if(!Y.Equal((an=b.peerCertificates,(0>=an.$length?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+0])).Raw,(ao=h.certificates,(0>=ao.$length?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+0])))){$s=38;continue;}$s=39;continue;case 38:ap=b.sendAlert(42);$s=40;case 40:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ap;$s=-1;return Q.New(\"tls: server's identity changed during renegotiation\");case 39:case 9:if(a.serverHello.ocspStapling){$s=41;continue;}$s=42;continue;case 41:ar=b.readHandshake();$s=43;case 43:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;e=aq[0];f=aq[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}as=$assertType(e,HE,true);at=as[0];au=as[1];if(!au){$s=44;continue;}$s=45;continue;case 44:av=b.sendAlert(10);$s=46;case 46:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}av;aw=CO(at,e);$s=47;case 47:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 45:ax=a.finishedHash.Write(at.marshal());$s=48;case 48:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ax;if(at.statusType===1){b.ocspResponse=at.response;}case 42:az=b.readHandshake();$s=49;case 49:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;e=ay[0];f=ay[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}ba=a.suite.ka(b.vers);$s=50;case 50:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;bc=$assertType(e,HF,true);bd=bc[0];i=bc[1];if(i){$s=51;continue;}$s=52;continue;case 51:be=a.finishedHash.Write(bd.marshal());$s=53;case 53:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}be;bg=bb.processServerKeyExchange(b.config,a.hello,a.serverHello,(bf=b.peerCertificates,(0>=bf.$length?($throwRuntimeError(\"index out of range\"),undefined):bf.$array[bf.$offset+0])),bd);$s=54;case 54:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}f=bg;if(!($interfaceIsEqual(f,$ifaceNil))){$s=55;continue;}$s=56;continue;case 55:bh=b.sendAlert(10);$s=57;case 57:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bh;$s=-1;return f;case 56:bj=b.readHandshake();$s=58;case 58:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bi=bj;e=bi[0];f=bi[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}case 52:bk=GH.nil;bl=false;bm=$assertType(e,HG,true);bn=bm[0];i=bm[1];if(i){$s=59;continue;}$s=60;continue;case 59:bl=true;bo=a.finishedHash.Write(bn.marshal());$s=61;case 61:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bo;bq=a.getCertificate(bn);$s=62;case 62:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bp=bq;bk=bp[0];f=bp[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=63;continue;}$s=64;continue;case 63:br=b.sendAlert(80);$s=65;case 65:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}br;$s=-1;return f;case 64:bt=b.readHandshake();$s=66;case 66:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bs=bt;e=bs[0];f=bs[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}case 60:bu=$assertType(e,HH,true);bv=bu[0];i=bu[1];if(!i){$s=67;continue;}$s=68;continue;case 67:bw=b.sendAlert(10);$s=69;case 69:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bw;bx=CO(bv,e);$s=70;case 70:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}$s=-1;return bx;case 68:by=a.finishedHash.Write(bv.marshal());$s=71;case 71:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}by;if(bl){$s=72;continue;}$s=73;continue;case 72:h=new DJ.ptr(GC.nil,GP.nil);h.certificates=bk.Certificate;bz=a.finishedHash.Write(h.marshal());$s=74;case 74:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}bz;cb=b.writeRecord(22,h.marshal());$s=75;case 75:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}ca=cb;cc=ca[1];if(!($interfaceIsEqual(cc,$ifaceNil))){$s=-1;return cc;}case 73:cf=bb.generateClientKeyExchange(b.config,a.hello,(ce=b.peerCertificates,(0>=ce.$length?($throwRuntimeError(\"index out of range\"),undefined):ce.$array[ce.$offset+0])));$s=76;case 76:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cd=cf;cg=cd[0];ch=cd[1];f=cd[2];if(!($interfaceIsEqual(f,$ifaceNil))){$s=77;continue;}$s=78;continue;case 77:ci=b.sendAlert(80);$s=79;case 79:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}ci;$s=-1;return f;case 78:if(!(ch===HI.nil)){$s=80;continue;}$s=81;continue;case 80:cj=a.finishedHash.Write(ch.marshal());$s=82;case 82:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}cj;cl=b.writeRecord(22,ch.marshal());$s=83;case 83:if($c){$c=false;cl=cl.$blk();}if(cl&&cl.$blk!==undefined){break s;}ck=cl;cm=ck[1];if(!($interfaceIsEqual(cm,$ifaceNil))){$s=-1;return cm;}case 81:if(!(bk===GH.nil)&&bk.Certificate.$length>0){$s=84;continue;}$s=85;continue;case 84:cn=new DR.ptr(GC.nil,b.vers>=771,new BM.ptr(0,0),GC.nil);co=$assertType(bk.PrivateKey,M.Signer,true);cp=co[0];cq=co[1];if(!cq){$s=86;continue;}$s=87;continue;case 86:cr=b.sendAlert(80);$s=88;case 88:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cr;cs=R.Errorf(\"tls: client certificate private key of type %T does not implement crypto.Signer\",new GI([bk.PrivateKey]));$s=89;case 89:if($c){$c=false;cs=cs.$blk();}if(cs&&cs.$blk!==undefined){break s;}$s=-1;return cs;case 87:ct=0;cv=cp.Public();$s=90;case 90:if($c){$c=false;cv=cv.$blk();}if(cv&&cv.$blk!==undefined){break s;}cu=cv;if($assertType(cu,HD,true)[1]){$s=91;continue;}if($assertType(cu,HC,true)[1]){$s=92;continue;}$s=93;continue;case 91:ct=3;$s=94;continue;case 92:ct=1;$s=94;continue;case 93:cw=b.sendAlert(80);$s=95;case 95:if($c){$c=false;cw=cw.$blk();}if(cw&&cw.$blk!==undefined){break s;}cw;cx=R.Errorf(\"tls: failed to sign handshake with client certificate: unknown client certificate key type: %T\",new GI([cp]));$s=96;case 96:if($c){$c=false;cx=cx.$blk();}if(cx&&cx.$blk!==undefined){break s;}$s=-1;return cx;case 94:cy=$clone(a.finishedHash,EZ).selectClientCertSignatureAlgorithm(bn.signatureAndHashes,ct);BM.copy(cn.signatureAndHash,cy[0]);f=cy[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=97;continue;}$s=98;continue;case 97:cz=b.sendAlert(80);$s=99;case 99:if($c){$c=false;cz=cz.$blk();}if(cz&&cz.$blk!==undefined){break s;}cz;$s=-1;return f;case 98:db=$clone(a.finishedHash,EZ).hashForClientCertificate($clone(cn.signatureAndHash,BM),a.masterSecret);$s=100;case 100:if($c){$c=false;db=db.$blk();}if(db&&db.$blk!==undefined){break s;}da=db;dc=da[0];dd=da[1];de=da[2];if(!($interfaceIsEqual(de,$ifaceNil))){$s=101;continue;}$s=102;continue;case 101:df=b.sendAlert(80);$s=103;case 103:if($c){$c=false;df=df.$blk();}if(df&&df.$blk!==undefined){break s;}df;$s=-1;return de;case 102:dh=cp.Sign(b.config.rand(),dc,new M.Hash(dd));$s=104;case 104:if($c){$c=false;dh=dh.$blk();}if(dh&&dh.$blk!==undefined){break s;}dg=dh;cn.signature=dg[0];de=dg[1];if(!($interfaceIsEqual(de,$ifaceNil))){$s=105;continue;}$s=106;continue;case 105:di=b.sendAlert(80);$s=107;case 107:if($c){$c=false;di=di.$blk();}if(di&&di.$blk!==undefined){break s;}di;$s=-1;return de;case 106:dj=a.finishedHash.Write(cn.marshal());$s=108;case 108:if($c){$c=false;dj=dj.$blk();}if(dj&&dj.$blk!==undefined){break s;}dj;dl=b.writeRecord(22,cn.marshal());$s=109;case 109:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}dk=dl;dm=dk[1];if(!($interfaceIsEqual(dm,$ifaceNil))){$s=-1;return dm;}case 85:dn=EV(b.vers,a.suite,cg,a.hello.random,a.serverHello.random);$s=110;case 110:if($c){$c=false;dn=dn.$blk();}if(dn&&dn.$blk!==undefined){break s;}a.masterSecret=dn;dp=b.config.writeKeyLog(a.hello.random,a.masterSecret);$s=111;case 111:if($c){$c=false;dp=dp.$blk();}if(dp&&dp.$blk!==undefined){break s;}dq=dp;if(!($interfaceIsEqual(dq,$ifaceNil))){$s=112;continue;}$s=113;continue;case 112:dr=b.sendAlert(80);$s=114;case 114:if($c){$c=false;dr=dr.$blk();}if(dr&&dr.$blk!==undefined){break s;}dr;ds=dq.Error();$s=115;case 115:if($c){$c=false;ds=ds.$blk();}if(ds&&ds.$blk!==undefined){break s;}dt=Q.New(\"tls: failed to write to key log: \"+ds);$s=116;case 116:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}$s=-1;return dt;case 113:a.finishedHash.discardHandshakeBuffer();$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.doFullHandshake};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.c=c;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.d=d;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.doFullHandshake=function(){return this.$val.doFullHandshake();};DC.ptr.prototype.establishKeys=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.c;d=EW(b.vers,a.suite,a.masterSecret,a.hello.random,a.serverHello.random,a.suite.macLen,a.suite.keyLen,a.suite.ivLen);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];g=c[2];h=c[3];i=c[4];j=c[5];k=$ifaceNil;l=$ifaceNil;m=k;n=l;o=$ifaceNil;p=$ifaceNil;q=o;r=p;if(!(a.suite.cipher===$throwNilPointerError)){$s=2;continue;}$s=3;continue;case 2:s=a.suite.cipher(g,i,false);$s=5;case 5:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}m=s;t=a.suite.mac(b.vers,e);$s=6;case 6:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}q=t;u=a.suite.cipher(h,j,true);$s=7;case 7:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}n=u;v=a.suite.mac(b.vers,f);$s=8;case 8:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}r=v;$s=4;continue;case 3:w=a.suite.aead(g,i);$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}m=w;x=a.suite.aead(h,j);$s=10;case 10:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}n=x;case 4:b.in$25.prepareCipherSpec(b.vers,n,r);b.out.prepareCipherSpec(b.vers,m,q);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.establishKeys};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.establishKeys=function(){return this.$val.establishKeys();};DC.ptr.prototype.serverResumedSession=function(){var $ptr,a;a=this;return!(a.session===GM.nil)&&!(a.hello.sessionId===GC.nil)&&Y.Equal(a.serverHello.sessionId,a.hello.sessionId);};DC.prototype.serverResumedSession=function(){return this.$val.serverResumedSession();};DC.ptr.prototype.processServerHello=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.c;if(!((a.serverHello.compressionMethod===0))){$s=1;continue;}$s=2;continue;case 1:c=b.sendAlert(10);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return[false,Q.New(\"tls: server selected unsupported compression format\")];case 2:if((b.handshakes===0)&&a.serverHello.secureRenegotiationSupported){$s=4;continue;}$s=5;continue;case 4:b.secureRenegotiation=true;if(!((a.serverHello.secureRenegotiation.$length===0))){$s=6;continue;}$s=7;continue;case 6:d=b.sendAlert(40);$s=8;case 8:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;$s=-1;return[false,Q.New(\"tls: initial handshake had non-empty renegotiation extension\")];case 7:case 5:if(b.handshakes>0&&b.secureRenegotiation){$s=9;continue;}$s=10;continue;case 9:e=HJ.zero();$copySlice(new GC(e),new GC(b.clientFinished));$copySlice($subslice(new GC(e),12),new GC(b.serverFinished));if(!Y.Equal(a.serverHello.secureRenegotiation,new GC(e))){$s=11;continue;}$s=12;continue;case 11:f=b.sendAlert(40);$s=13;case 13:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=-1;return[false,Q.New(\"tls: incorrect renegotiation extension contents\")];case 12:case 10:g=a.hello.nextProtoNeg;h=a.hello.alpnProtocols.$length>0;i=a.serverHello.nextProtoNeg;j=a.serverHello.alpnProtocol.length>0;if(!g&&i){$s=14;continue;}$s=15;continue;case 14:k=b.sendAlert(40);$s=16;case 16:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;$s=-1;return[false,Q.New(\"tls: server advertised unrequested NPN extension\")];case 15:if(!h&&j){$s=17;continue;}$s=18;continue;case 17:l=b.sendAlert(40);$s=19;case 19:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=-1;return[false,Q.New(\"tls: server advertised unrequested ALPN extension\")];case 18:if(i&&j){$s=20;continue;}$s=21;continue;case 20:m=b.sendAlert(40);$s=22;case 22:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=-1;return[false,Q.New(\"tls: server advertised both NPN and ALPN extensions\")];case 21:if(j){b.clientProtocol=a.serverHello.alpnProtocol;b.clientProtocolFallback=false;}b.scts=a.serverHello.scts;if(!a.serverResumedSession()){$s=-1;return[false,$ifaceNil];}if(!((a.session.vers===b.vers))){$s=23;continue;}$s=24;continue;case 23:n=b.sendAlert(40);$s=25;case 25:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=-1;return[false,Q.New(\"tls: server resumed a session with a different version\")];case 24:if(!((a.session.cipherSuite===a.suite.id))){$s=26;continue;}$s=27;continue;case 26:o=b.sendAlert(40);$s=28;case 28:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=-1;return[false,Q.New(\"tls: server resumed a session with a different cipher suite\")];case 27:a.masterSecret=a.session.masterSecret;b.peerCertificates=a.session.serverCertificates;b.verifiedChains=a.session.verifiedChains;$s=-1;return[true,$ifaceNil];}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.processServerHello};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.processServerHello=function(){return this.$val.processServerHello();};DC.ptr.prototype.readFinished=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.c;d=c.readRecord(20);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;if(!($interfaceIsEqual(c.in$25.err,$ifaceNil))){$s=-1;return c.in$25.err;}f=c.readHandshake();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}i=$assertType(g,HK,true);j=i[0];k=i[1];if(!k){$s=3;continue;}$s=4;continue;case 3:l=c.sendAlert(10);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=CO(j,g);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return m;case 4:n=$clone(b.finishedHash,EZ).serverSum(b.masterSecret);$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;if(!((o.$length===j.verifyData.$length))||!((Z.ConstantTimeCompare(o,j.verifyData)===1))){$s=8;continue;}$s=9;continue;case 8:p=c.sendAlert(40);$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;$s=-1;return Q.New(\"tls: server's Finished message was incorrect\");case 9:q=b.finishedHash.Write(j.marshal());$s=11;case 11:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$copySlice(a,o);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.readFinished};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.readFinished=function(a){return this.$val.readFinished(a);};DC.ptr.prototype.readSessionTicket=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(!a.serverHello.ticketSupported){$s=-1;return $ifaceNil;}b=a.c;d=b.readHandshake();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}g=$assertType(e,HL,true);h=g[0];i=g[1];if(!i){$s=2;continue;}$s=3;continue;case 2:j=b.sendAlert(10);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=CO(h,e);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 3:l=a.finishedHash.Write(h.marshal());$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;a.session=new BQ.ptr(h.ticket,b.vers,a.suite.id,a.masterSecret,b.peerCertificates,b.verifiedChains);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.readSessionTicket};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.readSessionTicket=function(){return this.$val.readSessionTicket();};DC.ptr.prototype.sendFinished=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.c;e=c.writeRecord(20,new GC([1]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}if(b.serverHello.nextProtoNeg){$s=2;continue;}$s=3;continue;case 2:g=new DP.ptr(GC.nil,\"\");h=DF(c.config.NextProtos,b.serverHello.nextProtos);i=h[0];j=h[1];g.proto=i;c.clientProtocol=i;c.clientProtocolFallback=j;k=b.finishedHash.Write(g.marshal());$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;m=c.writeRecord(22,g.marshal());$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}case 3:o=new DO.ptr(GC.nil,GC.nil);p=$clone(b.finishedHash,EZ).clientSum(b.masterSecret);$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o.verifyData=p;q=b.finishedHash.Write(o.marshal());$s=7;case 7:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;s=c.writeRecord(22,o.marshal());$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return t;}$copySlice(a,o.verifyData);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.sendFinished};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.sendFinished=function(a){return this.$val.sendFinished(a);};DC.ptr.prototype.getCertificate=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=this;d=c.c;e=false;f=false;g=e;h=f;i=a.certificateTypes;j=0;while(true){if(!(j<i.$length)){break;}k=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);l=k;if(l===(1)){g=true;}else if(l===(64)){h=true;}j++;}if(!(d.config.GetClientCertificate===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:m=GB.nil;if(!a.hasSignatureAndHash){m=DD;if(!h){m=$subslice(m,3);}if(!g){m=$subslice(m,0,(m.$length-4>>0));}}else{m=$makeSlice(GB,0,a.signatureAndHashes.$length);n=a.signatureAndHashes;o=0;while(true){if(!(o<n.$length)){break;}p=$clone(((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]),BM);m=$append(m,(((p.hash<<16>>>16))<<8<<16>>>16)+((p.signature<<16>>>16))<<16>>>16);o++;}}q=d.config.GetClientCertificate(new BU.ptr(a.certificateAuthorities,m));$s=3;case 3:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;case 2:r=d.config.Certificates;s=0;case 4:if(!(s<r.$length)){$s=5;continue;}t=s;b[0]=$clone(((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]),CB);if(!g&&!h){$s=6;continue;}$s=7;continue;case 6:s++;$s=4;continue;case 7:u=b[0].Certificate;v=0;case 8:if(!(v<u.$length)){$s=9;continue;}w=v;x=((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]);y=b[0].Leaf;if(!((w===0))||y===GT.nil){$s=10;continue;}$s=11;continue;case 10:z=$ifaceNil;ab=I.ParseCertificate(x);$s=12;case 12:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;y=aa[0];z=aa[1];if(!($interfaceIsEqual(z,$ifaceNil))){$s=13;continue;}$s=14;continue;case 13:ac=d.sendAlert(80);$s=15;case 15:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;ad=z.Error();$s=16;case 16:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=Q.New(\"tls: failed to parse client certificate #\"+A.Itoa(t)+\": \"+ad);$s=17;case 17:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}$s=-1;return[GH.nil,ae];case 14:case 11:if(g&&(y.PublicKeyAlgorithm===1)){}else if(h&&(y.PublicKeyAlgorithm===3)){}else{s++;$s=4;continue s;}if(a.certificateAuthorities.$length===0){$s=-1;return[b[0],$ifaceNil];}af=a.certificateAuthorities;ag=0;while(true){if(!(ag<af.$length)){break;}ah=((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]);if(Y.Equal(y.RawIssuer,ah)){$s=-1;return[b[0],$ifaceNil];}ag++;}v++;$s=8;continue;case 9:s++;$s=4;continue;case 5:$s=-1;return[new CB.ptr(GP.nil,$ifaceNil,GC.nil,GP.nil,GT.nil),$ifaceNil];}return;}if($f===undefined){$f={$blk:DC.ptr.prototype.getCertificate};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DC.prototype.getCertificate=function(a){return this.$val.getCertificate(a);};DE=function(a,b){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(b.ServerName.length>0){$s=-1;return b.ServerName;}c=a.String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:DE};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};DF=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=b;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(e===h){return[e,false];}g++;}d++;}return[(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]),true];};DG=function(a){var $ptr,a,b,c;b=a;if(b.length>0&&(b.charCodeAt(0)===91)&&(b.charCodeAt((b.length-1>>0))===93)){b=$substring(b,1,(b.length-1>>0));}c=V.LastIndex(b,\"%\");if(c>0){b=$substring(b,0,c);}if(!(U.ParseIP(b)===U.IP.nil)){return\"\";}if(a.length>0&&(a.charCodeAt((a.length-1>>0))===46)){a=$substring(a,0,(a.length-1>>0));}return a;};DH.ptr.prototype.marshal=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;a=this;if(!(a.raw===GC.nil)){return a.raw;}b=((((35+a.sessionId.$length>>0)+2>>0)+($imul(a.cipherSuites.$length,2))>>0)+1>>0)+a.compressionMethods.$length>>0;c=0;d=0;if(a.nextProtoNeg){c=c+(1)>>0;}if(a.ocspStapling){d=d+(5)>>0;c=c+(1)>>0;}if(a.serverName.length>0){d=d+((5+a.serverName.length>>0))>>0;c=c+(1)>>0;}if(a.supportedCurves.$length>0){d=d+((2+($imul(2,a.supportedCurves.$length))>>0))>>0;c=c+(1)>>0;}if(a.supportedPoints.$length>0){d=d+((1+a.supportedPoints.$length>>0))>>0;c=c+(1)>>0;}if(a.ticketSupported){d=d+(a.sessionTicket.$length)>>0;c=c+(1)>>0;}if(a.signatureAndHashes.$length>0){d=d+((2+($imul(2,a.signatureAndHashes.$length))>>0))>>0;c=c+(1)>>0;}if(a.secureRenegotiationSupported){d=d+((1+a.secureRenegotiation.$length>>0))>>0;c=c+(1)>>0;}if(a.alpnProtocols.$length>0){d=d+(2)>>0;e=a.alpnProtocols;f=0;while(true){if(!(f<e.$length)){break;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.length;if((h===0)||h>255){$panic(new $String(\"invalid ALPN protocol\"));}d=d+(1)>>0;d=d+(g.length)>>0;f++;}c=c+(1)>>0;}if(a.scts){c=c+(1)>>0;}if(c>0){d=d+(($imul(4,c)))>>0;b=b+((2+d>>0))>>0;}i=$makeSlice(GC,(4+b>>0));(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]=1);(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]=(((b>>16>>0)<<24>>>24)));(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]=(((b>>8>>0)<<24>>>24)));(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]=((b<<24>>>24)));(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]=(((a.vers>>>8<<16>>>16)<<24>>>24)));(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]=((a.vers<<24>>>24)));$copySlice($subslice(i,6,38),a.random);(38>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+38]=((a.sessionId.$length<<24>>>24)));$copySlice($subslice(i,39,(39+a.sessionId.$length>>0)),a.sessionId);j=$subslice(i,(39+a.sessionId.$length>>0));(0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0]=(((a.cipherSuites.$length>>7>>0)<<24>>>24)));(1>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+1]=(((a.cipherSuites.$length<<1>>0)<<24>>>24)));k=a.cipherSuites;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);(o=2+($imul(m,2))>>0,((o<0||o>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+o]=(((n>>>8<<16>>>16)<<24>>>24))));(p=3+($imul(m,2))>>0,((p<0||p>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+p]=((n<<24>>>24))));l++;}q=$subslice(j,(2+($imul(a.cipherSuites.$length,2))>>0));(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=((a.compressionMethods.$length<<24>>>24)));$copySlice($subslice(q,1),a.compressionMethods);q=$subslice(q,(1+a.compressionMethods.$length>>0));if(c>0){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=(((d>>8>>0)<<24>>>24)));(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=((d<<24>>>24)));q=$subslice(q,2);}if(a.nextProtoNeg){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=51);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=116);q=$subslice(q,4);}if(a.serverName.length>0){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=0);r=a.serverName.length+5>>0;(2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2]=(((r>>8>>0)<<24>>>24)));(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=((r<<24>>>24)));q=$subslice(q,4);(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=(((((a.serverName.length+3>>0))>>8>>0)<<24>>>24)));(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=(((a.serverName.length+3>>0)<<24>>>24)));(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=(((a.serverName.length>>8>>0)<<24>>>24)));(4>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+4]=((a.serverName.length<<24>>>24)));$copySlice($subslice(q,5),(new GC($stringToBytes(a.serverName))));q=$subslice(q,r);}if(a.ocspStapling){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=5);(2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2]=0);(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=5);(4>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+4]=1);q=$subslice(q,9);}if(a.supportedCurves.$length>0){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=10);s=2+($imul(2,a.supportedCurves.$length))>>0;(2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2]=(((s>>8>>0)<<24>>>24)));(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=((s<<24>>>24)));s=s-(2)>>0;(4>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+4]=(((s>>8>>0)<<24>>>24)));(5>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+5]=((s<<24>>>24)));q=$subslice(q,6);t=a.supportedCurves;u=0;while(true){if(!(u<t.$length)){break;}v=((u<0||u>=t.$length)?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+u]);(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=(((v>>>8<<16>>>16)<<24>>>24)));(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=((v<<24>>>24)));q=$subslice(q,2);u++;}}if(a.supportedPoints.$length>0){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=11);w=1+a.supportedPoints.$length>>0;(2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2]=(((w>>8>>0)<<24>>>24)));(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=((w<<24>>>24)));w=w-(1)>>0;(4>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+4]=((w<<24>>>24)));q=$subslice(q,5);x=a.supportedPoints;y=0;while(true){if(!(y<x.$length)){break;}z=((y<0||y>=x.$length)?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+y]);(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=z);q=$subslice(q,1);y++;}}if(a.ticketSupported){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=35);aa=a.sessionTicket.$length;(2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2]=(((aa>>8>>0)<<24>>>24)));(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=((aa<<24>>>24)));q=$subslice(q,4);$copySlice(q,a.sessionTicket);q=$subslice(q,a.sessionTicket.$length);}if(a.signatureAndHashes.$length>0){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=13);ab=2+($imul(2,a.signatureAndHashes.$length))>>0;(2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2]=(((ab>>8>>0)<<24>>>24)));(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=((ab<<24>>>24)));q=$subslice(q,4);ab=ab-(2)>>0;(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=(((ab>>8>>0)<<24>>>24)));(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=((ab<<24>>>24)));q=$subslice(q,2);ac=a.signatureAndHashes;ad=0;while(true){if(!(ad<ac.$length)){break;}ae=$clone(((ad<0||ad>=ac.$length)?($throwRuntimeError(\"index out of range\"),undefined):ac.$array[ac.$offset+ad]),BM);(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=ae.hash);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=ae.signature);q=$subslice(q,2);ad++;}}if(a.secureRenegotiationSupported){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=255);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=1);(2>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+2]=0);(3>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+3]=(((a.secureRenegotiation.$length+1>>0)<<24>>>24)));(4>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+4]=((a.secureRenegotiation.$length<<24>>>24)));q=$subslice(q,5);$copySlice(q,a.secureRenegotiation);q=$subslice(q,a.secureRenegotiation.$length);}if(a.alpnProtocols.$length>0){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=16);af=$subslice(q,2);q=$subslice(q,6);ag=0;ah=a.alpnProtocols;ai=0;while(true){if(!(ai<ah.$length)){break;}aj=((ai<0||ai>=ah.$length)?($throwRuntimeError(\"index out of range\"),undefined):ah.$array[ah.$offset+ai]);ak=aj.length;(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=((ak<<24>>>24)));$copyString($subslice(q,1),aj);q=$subslice(q,(1+ak>>0));ag=ag+((1+ak>>0))>>0;ai++;}(2>=af.$length?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+2]=(((ag>>8>>0)<<24>>>24)));(3>=af.$length?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+3]=((ag<<24>>>24)));ag=ag+(2)>>0;(0>=af.$length?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+0]=(((ag>>8>>0)<<24>>>24)));(1>=af.$length?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+1]=((ag<<24>>>24)));}if(a.scts){(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0]=0);(1>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+1]=18);q=$subslice(q,4);}a.raw=i;return i;};DH.prototype.marshal=function(){return this.$val.marshal();};DH.ptr.prototype.unmarshal=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=this;if(a.$length<42){return false;}b.raw=a;b.vers=(((((4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4])<<16>>>16))<<8<<16>>>16)|(((5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5])<<16>>>16)))>>>0;b.random=$subslice(a,6,38);c=(((38>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+38])>>0));if(c>32||a.$length<(39+c>>0)){return false;}b.sessionId=$subslice(a,39,(39+c>>0));a=$subslice(a,(39+c>>0));if(a.$length<2){return false;}d=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0));if(((e=d%2,e===e?e:$throwRuntimeError(\"integer divide by zero\"))===1)||a.$length<(2+d>>0)){return false;}g=(f=d/2,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));b.cipherSuites=$makeSlice(FT,g);h=0;while(true){if(!(h<g)){break;}(k=b.cipherSuites,((h<0||h>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+h]=((((((i=2+($imul(2,h))>>0,((i<0||i>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+i]))<<16>>>16))<<8<<16>>>16)|(((j=3+($imul(2,h))>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]))<<16>>>16)))>>>0)));if((l=b.cipherSuites,((h<0||h>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+h]))===255){b.secureRenegotiationSupported=true;}h=h+(1)>>0;}a=$subslice(a,(2+d>>0));if(a.$length<1){return false;}m=(((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0));if(a.$length<(1+m>>0)){return false;}b.compressionMethods=$subslice(a,1,(1+m>>0));a=$subslice(a,(1+m>>0));b.nextProtoNeg=false;b.serverName=\"\";b.ocspStapling=false;b.ticketSupported=false;b.sessionTicket=GC.nil;b.signatureAndHashes=GA.nil;b.alpnProtocols=FS.nil;b.scts=false;if(a.$length===0){return true;}if(a.$length<2){return false;}n=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0));a=$subslice(a,2);if(!((n===a.$length))){return false;}while(true){if(!(!((a.$length===0)))){break;}if(a.$length<4){return false;}o=(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16)))>>>0;p=((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>0))<<8>>0)|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>0));a=$subslice(a,4);if(a.$length<p){return false;}q=o;if(q===(0)){r=$subslice(a,0,p);if(r.$length<2){return false;}s=((((0>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+0])>>0))<<8>>0)|(((1>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+1])>>0));r=$subslice(r,2);if(!((r.$length===s))){return false;}while(true){if(!(r.$length>0)){break;}if(r.$length<3){return false;}t=(0>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+0]);u=((((1>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+1])>>0))<<8>>0)|(((2>=r.$length?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+2])>>0));r=$subslice(r,3);if(r.$length<u){return false;}if(t===0){b.serverName=($bytesToString($subslice(r,0,u)));break;}r=$subslice(r,u);}}else if(q===(13172)){if(p>0){return false;}b.nextProtoNeg=true;}else if(q===(5)){b.ocspStapling=p>0&&((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===1);}else if(q===(10)){if(p<2){return false;}v=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0));if(((w=v%2,w===w?w:$throwRuntimeError(\"integer divide by zero\"))===1)||!((p===(v+2>>0)))){return false;}y=(x=v/2,(x===x&&x!==1/0&&x!==-1/0)?x>>0:$throwRuntimeError(\"integer divide by zero\"));b.supportedCurves=$makeSlice(FV,y);z=$subslice(a,2);aa=0;while(true){if(!(aa<y)){break;}(ab=b.supportedCurves,((aa<0||aa>=ab.$length)?($throwRuntimeError(\"index out of range\"),undefined):ab.$array[ab.$offset+aa]=((((((0>=z.$length?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=z.$length?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+1])<<16>>>16)))>>>0)));z=$subslice(z,2);aa=aa+(1)>>0;}}else if(q===(11)){if(p<1){return false;}ac=(((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0));if(!((p===(ac+1>>0)))){return false;}b.supportedPoints=$makeSlice(GC,ac);$copySlice(b.supportedPoints,$subslice(a,1));}else if(q===(35)){b.ticketSupported=true;b.sessionTicket=$subslice(a,0,p);}else if(q===(13)){if(p<2||!(((p&1)===0))){return false;}ad=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0));if(!((ad===(p-2>>0)))){return false;}af=(ae=ad/2,(ae===ae&&ae!==1/0&&ae!==-1/0)?ae>>0:$throwRuntimeError(\"integer divide by zero\"));ag=$subslice(a,2);b.signatureAndHashes=$makeSlice(GA,af);ah=b.signatureAndHashes;ai=0;while(true){if(!(ai<ah.$length)){break;}aj=ai;(ak=b.signatureAndHashes,((aj<0||aj>=ak.$length)?($throwRuntimeError(\"index out of range\"),undefined):ak.$array[ak.$offset+aj])).hash=(0>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+0]);(al=b.signatureAndHashes,((aj<0||aj>=al.$length)?($throwRuntimeError(\"index out of range\"),undefined):al.$array[al.$offset+aj])).signature=(1>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+1]);ag=$subslice(ag,2);ai++;}}else if(q===(65281)){if(p===0){return false;}am=$subslice(a,0,p);an=(((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0])>>0));am=$subslice(am,1);if(!((an===am.$length))){return false;}b.secureRenegotiation=am;b.secureRenegotiationSupported=true;}else if(q===(16)){if(p<2){return false;}ao=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0));if(!((ao===(p-2>>0)))){return false;}ap=$subslice(a,2,p);while(true){if(!(!((ap.$length===0)))){break;}aq=(((0>=ap.$length?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+0])>>0));ap=$subslice(ap,1);if((aq===0)||aq>ap.$length){return false;}b.alpnProtocols=$append(b.alpnProtocols,($bytesToString($subslice(ap,0,aq))));ap=$subslice(ap,aq);}}else if(q===(18)){b.scts=true;if(!((p===0))){return false;}}a=$subslice(a,p);}return true;};DH.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DI.ptr.prototype.marshal=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;a=this;if(!(a.raw===GC.nil)){return a.raw;}b=38+a.sessionId.$length>>0;c=0;d=0;e=0;if(a.nextProtoNeg){c=c+(1)>>0;f=a.nextProtos;g=0;while(true){if(!(g<f.$length)){break;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);e=e+(h.length)>>0;g++;}e=e+(a.nextProtos.$length)>>0;d=d+(e)>>0;}if(a.ocspStapling){c=c+(1)>>0;}if(a.ticketSupported){c=c+(1)>>0;}if(a.secureRenegotiationSupported){d=d+((1+a.secureRenegotiation.$length>>0))>>0;c=c+(1)>>0;}i=a.alpnProtocol.length;if(i>0){if(i>=256){$panic(new $String(\"invalid ALPN protocol\"));}d=d+((3+i>>0))>>0;c=c+(1)>>0;}j=0;if(a.scts.$length>0){k=a.scts;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);j=j+((m.$length+2>>0))>>0;l++;}d=d+((2+j>>0))>>0;c=c+(1)>>0;}if(c>0){d=d+(($imul(4,c)))>>0;b=b+((2+d>>0))>>0;}n=$makeSlice(GC,(4+b>>0));(0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0]=2);(1>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+1]=(((b>>16>>0)<<24>>>24)));(2>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+2]=(((b>>8>>0)<<24>>>24)));(3>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+3]=((b<<24>>>24)));(4>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+4]=(((a.vers>>>8<<16>>>16)<<24>>>24)));(5>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+5]=((a.vers<<24>>>24)));$copySlice($subslice(n,6,38),a.random);(38>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+38]=((a.sessionId.$length<<24>>>24)));$copySlice($subslice(n,39,(39+a.sessionId.$length>>0)),a.sessionId);o=$subslice(n,(39+a.sessionId.$length>>0));(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=(((a.cipherSuite>>>8<<16>>>16)<<24>>>24)));(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=((a.cipherSuite<<24>>>24)));(2>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+2]=a.compressionMethod);o=$subslice(o,3);if(c>0){(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=(((d>>8>>0)<<24>>>24)));(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=((d<<24>>>24)));o=$subslice(o,2);}if(a.nextProtoNeg){(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=51);(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=116);(2>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+2]=(((e>>8>>0)<<24>>>24)));(3>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+3]=((e<<24>>>24)));o=$subslice(o,4);p=a.nextProtos;q=0;while(true){if(!(q<p.$length)){break;}r=((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]);s=r.length;if(s>255){s=255;}(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=((s<<24>>>24)));$copySlice($subslice(o,1),(new GC($stringToBytes($substring(r,0,s)))));o=$subslice(o,(1+s>>0));q++;}}if(a.ocspStapling){(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=0);(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=5);o=$subslice(o,4);}if(a.ticketSupported){(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=0);(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=35);o=$subslice(o,4);}if(a.secureRenegotiationSupported){(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=255);(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=1);(2>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+2]=0);(3>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+3]=(((a.secureRenegotiation.$length+1>>0)<<24>>>24)));(4>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+4]=((a.secureRenegotiation.$length<<24>>>24)));o=$subslice(o,5);$copySlice(o,a.secureRenegotiation);o=$subslice(o,a.secureRenegotiation.$length);}t=a.alpnProtocol.length;if(t>0){(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=0);(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=16);u=3+t>>0;(2>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+2]=(((u>>8>>0)<<24>>>24)));(3>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+3]=((u<<24>>>24)));u=u-(2)>>0;(4>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+4]=(((u>>8>>0)<<24>>>24)));(5>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+5]=((u<<24>>>24)));u=u-(1)>>0;(6>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+6]=((u<<24>>>24)));$copySlice($subslice(o,7),(new GC($stringToBytes(a.alpnProtocol))));o=$subslice(o,(7+t>>0));}if(j>0){(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=0);(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=18);v=j+2>>0;(2>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+2]=(((v>>8>>0)<<24>>>24)));(3>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+3]=((v<<24>>>24)));(4>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+4]=(((j>>8>>0)<<24>>>24)));(5>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+5]=((j<<24>>>24)));o=$subslice(o,6);w=a.scts;x=0;while(true){if(!(x<w.$length)){break;}y=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=(((y.$length>>8>>0)<<24>>>24)));(1>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+1]=((y.$length<<24>>>24)));$copySlice($subslice(o,2),y);o=$subslice(o,(y.$length+2>>0));x++;}}a.raw=n;return n;};DI.prototype.marshal=function(){return this.$val.marshal();};DI.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;b=this;if(a.$length<42){return false;}b.raw=a;b.vers=(((((4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4])<<16>>>16))<<8<<16>>>16)|(((5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5])<<16>>>16)))>>>0;b.random=$subslice(a,6,38);c=(((38>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+38])>>0));if(c>32||a.$length<(39+c>>0)){return false;}b.sessionId=$subslice(a,39,(39+c>>0));a=$subslice(a,(39+c>>0));if(a.$length<3){return false;}b.cipherSuite=(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16)))>>>0;b.compressionMethod=(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]);a=$subslice(a,3);b.nextProtoNeg=false;b.nextProtos=FS.nil;b.ocspStapling=false;b.scts=GP.nil;b.ticketSupported=false;b.alpnProtocol=\"\";if(a.$length===0){return true;}if(a.$length<2){return false;}d=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0));a=$subslice(a,2);if(!((a.$length===d))){return false;}while(true){if(!(!((a.$length===0)))){break;}if(a.$length<4){return false;}e=(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16)))>>>0;f=((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>0))<<8>>0)|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>0));a=$subslice(a,4);if(a.$length<f){return false;}g=e;if(g===(13172)){b.nextProtoNeg=true;h=$subslice(a,0,f);while(true){if(!(h.$length>0)){break;}i=(((0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0])>>0));h=$subslice(h,1);if((i===0)||i>h.$length){return false;}b.nextProtos=$append(b.nextProtos,($bytesToString($subslice(h,0,i))));h=$subslice(h,i);}}else if(g===(5)){if(f>0){return false;}b.ocspStapling=true;}else if(g===(35)){if(f>0){return false;}b.ticketSupported=true;}else if(g===(65281)){if(f===0){return false;}j=$subslice(a,0,f);k=(((0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0])>>0));j=$subslice(j,1);if(!((k===j.$length))){return false;}b.secureRenegotiation=j;b.secureRenegotiationSupported=true;}else if(g===(16)){l=$subslice(a,0,f);if(l.$length<3){return false;}m=((((0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])>>0))<<8>>0)|(((1>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+1])>>0));if(!((m===(l.$length-2>>0)))){return false;}l=$subslice(l,2);m=(((0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])>>0));if(!((m===(l.$length-1>>0)))){return false;}l=$subslice(l,1);if(l.$length===0){return false;}b.alpnProtocol=($bytesToString(l));}else if(g===(18)){n=$subslice(a,0,f);if(n.$length<2){return false;}o=((((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0])>>0))<<8>>0)|(((1>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+1])>>0));n=$subslice(n,2);if(!((n.$length===o))||(o===0)){return false;}b.scts=$makeSlice(GP,0,3);while(true){if(!(!((n.$length===0)))){break;}if(n.$length<2){return false;}p=((((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0])>>0))<<8>>0)|(((1>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+1])>>0));n=$subslice(n,2);if((p===0)||n.$length<p){return false;}b.scts=$append(b.scts,$subslice(n,0,p));n=$subslice(n,p);}}a=$subslice(a,f);}return true;};DI.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DJ.ptr.prototype.marshal=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;a=GC.nil;b=this;if(!(b.raw===GC.nil)){a=b.raw;return a;}c=0;d=b.certificates;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);c=c+(f.$length)>>0;e++;}g=(3+($imul(3,b.certificates.$length))>>0)+c>>0;a=$makeSlice(GC,(4+g>>0));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=11);(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((g>>16>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((g>>8>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((g<<24>>>24)));h=g-3>>0;(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]=(((h>>16>>0)<<24>>>24)));(5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5]=(((h>>8>>0)<<24>>>24)));(6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6]=((h<<24>>>24)));i=$subslice(a,7);j=b.certificates;k=0;while(true){if(!(k<j.$length)){break;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]=(((l.$length>>16>>0)<<24>>>24)));(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]=(((l.$length>>8>>0)<<24>>>24)));(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]=((l.$length<<24>>>24)));$copySlice($subslice(i,3),l);i=$subslice(i,(3+l.$length>>0));k++;}b.raw=a;return a;};DJ.prototype.marshal=function(){return this.$val.marshal();};DJ.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c,d,e,f,g,h,i;b=this;if(a.$length<7){return false;}b.raw=a;c=(((((((4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4])>>>0))<<16>>>0)|((((5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5])>>>0))<<8>>>0))>>>0)|(((6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6])>>>0)))>>>0;if(!((((a.$length>>>0))===(c+7>>>0)))){return false;}d=0;e=$subslice(a,7);while(true){if(!(c>0)){break;}if(e.$length<4){return false;}f=(((((((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])>>>0))<<16>>>0)|((((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])>>>0))<<8>>>0))>>>0)|(((2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2])>>>0)))>>>0;if(((e.$length>>>0))<(3+f>>>0)){return false;}e=$subslice(e,(3+f>>>0));c=c-((3+f>>>0))>>>0;d=d+(1)>>0;}b.certificates=$makeSlice(GP,d);e=$subslice(a,7);g=0;while(true){if(!(g<d)){break;}h=(((((((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])>>>0))<<16>>>0)|((((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])>>>0))<<8>>>0))>>>0)|(((2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2])>>>0)))>>>0;(i=b.certificates,((g<0||g>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+g]=$subslice(e,3,(3+h>>>0))));e=$subslice(e,(3+h>>>0));g=g+(1)>>0;}return true;};DJ.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DK.ptr.prototype.marshal=function(){var $ptr,a,b,c;a=this;if(!(a.raw===GC.nil)){return a.raw;}b=a.key.$length;c=$makeSlice(GC,(b+4>>0));(0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0]=12);(1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1]=(((b>>16>>0)<<24>>>24)));(2>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+2]=(((b>>8>>0)<<24>>>24)));(3>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+3]=((b<<24>>>24)));$copySlice($subslice(c,4),a.key);a.raw=c;return c;};DK.prototype.marshal=function(){return this.$val.marshal();};DK.ptr.prototype.unmarshal=function(a){var $ptr,a,b;b=this;b.raw=a;if(a.$length<4){return false;}b.key=$subslice(a,4);return true;};DK.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DL.ptr.prototype.marshal=function(){var $ptr,a,b,c;a=this;if(!(a.raw===GC.nil)){return a.raw;}b=GC.nil;if(a.statusType===1){b=$makeSlice(GC,(8+a.response.$length>>0));(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]=22);c=a.response.$length+4>>0;(1>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+1]=(((c>>16>>0)<<24>>>24)));(2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2]=(((c>>8>>0)<<24>>>24)));(3>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+3]=((c<<24>>>24)));(4>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+4]=1);c=c-(4)>>0;(5>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+5]=(((c>>16>>0)<<24>>>24)));(6>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+6]=(((c>>8>>0)<<24>>>24)));(7>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+7]=((c<<24>>>24)));$copySlice($subslice(b,8),a.response);}else{b=new GC([22,0,0,1,a.statusType]);}a.raw=b;return b;};DL.prototype.marshal=function(){return this.$val.marshal();};DL.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c;b=this;b.raw=a;if(a.$length<5){return false;}b.statusType=(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]);b.response=GC.nil;if(b.statusType===1){if(a.$length<8){return false;}c=(((((((5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5])>>>0))<<16>>>0)|((((6>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+6])>>>0))<<8>>>0))>>>0)|(((7>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+7])>>>0)))>>>0;if(!((((a.$length>>>0))===(8+c>>>0)))){return false;}b.response=$subslice(a,8);}return true;};DL.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DM.ptr.prototype.marshal=function(){var $ptr,a,b;a=this;b=$makeSlice(GC,4);(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]=14);return b;};DM.prototype.marshal=function(){return this.$val.marshal();};DM.ptr.prototype.unmarshal=function(a){var $ptr,a,b;b=this;return a.$length===4;};DM.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DN.ptr.prototype.marshal=function(){var $ptr,a,b,c;a=this;if(!(a.raw===GC.nil)){return a.raw;}b=a.ciphertext.$length;c=$makeSlice(GC,(b+4>>0));(0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0]=16);(1>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+1]=(((b>>16>>0)<<24>>>24)));(2>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+2]=(((b>>8>>0)<<24>>>24)));(3>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+3]=((b<<24>>>24)));$copySlice($subslice(c,4),a.ciphertext);a.raw=c;return c;};DN.prototype.marshal=function(){return this.$val.marshal();};DN.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c;b=this;b.raw=a;if(a.$length<4){return false;}c=(((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0))<<16>>0)|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>0))<<8>>0))|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>0));if(!((c===(a.$length-4>>0)))){return false;}b.ciphertext=$subslice(a,4);return true;};DN.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DO.ptr.prototype.marshal=function(){var $ptr,a,b;a=GC.nil;b=this;if(!(b.raw===GC.nil)){a=b.raw;return a;}a=$makeSlice(GC,(4+b.verifyData.$length>>0));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=20);(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((b.verifyData.$length<<24>>>24)));$copySlice($subslice(a,4),b.verifyData);b.raw=a;return a;};DO.prototype.marshal=function(){return this.$val.marshal();};DO.ptr.prototype.unmarshal=function(a){var $ptr,a,b;b=this;b.raw=a;if(a.$length<4){return false;}b.verifyData=$subslice(a,4);return true;};DO.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DP.ptr.prototype.marshal=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(!(a.raw===GC.nil)){return a.raw;}b=a.proto.length;if(b>255){b=255;}d=32-(c=((b+2>>0))%32,c===c?c:$throwRuntimeError(\"integer divide by zero\"))>>0;e=(b+d>>0)+2>>0;f=$makeSlice(GC,(e+4>>0));(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=67);(1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1]=(((e>>16>>0)<<24>>>24)));(2>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+2]=(((e>>8>>0)<<24>>>24)));(3>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+3]=((e<<24>>>24)));g=$subslice(f,4);(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]=((b<<24>>>24)));$copySlice($subslice(g,1),(new GC($stringToBytes($substring(a.proto,0,b)))));g=$subslice(g,(1+b>>0));(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]=((d<<24>>>24)));a.raw=f;return f;};DP.prototype.marshal=function(){return this.$val.marshal();};DP.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c,d;b=this;b.raw=a;if(a.$length<5){return false;}a=$subslice(a,4);c=(((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0));a=$subslice(a,1);if(a.$length<c){return false;}b.proto=($bytesToString($subslice(a,0,c)));a=$subslice(a,c);if(a.$length<1){return false;}d=(((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0));a=$subslice(a,1);if(!((a.$length===d))){return false;}return true;};DP.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DQ.ptr.prototype.marshal=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;a=GC.nil;b=this;if(!(b.raw===GC.nil)){a=b.raw;return a;}c=(1+b.certificateTypes.$length>>0)+2>>0;d=0;e=b.certificateAuthorities;f=0;while(true){if(!(f<e.$length)){break;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);d=d+((2+g.$length>>0))>>0;f++;}c=c+(d)>>0;if(b.hasSignatureAndHash){c=c+((2+($imul(2,b.signatureAndHashes.$length))>>0))>>0;}a=$makeSlice(GC,(4+c>>0));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=13);(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((c>>16>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((c>>8>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((c<<24>>>24)));(4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4]=((b.certificateTypes.$length<<24>>>24)));$copySlice($subslice(a,5),b.certificateTypes);h=$subslice(a,(5+b.certificateTypes.$length>>0));if(b.hasSignatureAndHash){i=$imul(b.signatureAndHashes.$length,2);(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]=(((i>>8>>0)<<24>>>24)));(1>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+1]=((i<<24>>>24)));h=$subslice(h,2);j=b.signatureAndHashes;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),BM);(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]=l.hash);(1>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+1]=l.signature);h=$subslice(h,2);k++;}}(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]=(((d>>8>>0)<<24>>>24)));(1>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+1]=((d<<24>>>24)));h=$subslice(h,2);m=b.certificateAuthorities;n=0;while(true){if(!(n<m.$length)){break;}o=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]=(((o.$length>>8>>0)<<24>>>24)));(1>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+1]=((o.$length<<24>>>24)));h=$subslice(h,2);$copySlice(h,o);h=$subslice(h,o.$length);n++;}b.raw=a;return a;};DQ.prototype.marshal=function(){return this.$val.marshal();};DQ.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=this;b.raw=a;if(a.$length<5){return false;}c=(((((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>>0))<<16>>>0)|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>>0))<<8>>>0))>>>0)|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>>0)))>>>0;if(!(((((a.$length>>>0))-4>>>0)===c))){return false;}d=(((4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4])>>0));a=$subslice(a,5);if((d===0)||a.$length<=d){return false;}b.certificateTypes=$makeSlice(GC,d);if(!(($copySlice(b.certificateTypes,a)===d))){return false;}a=$subslice(a,d);if(b.hasSignatureAndHash){if(a.$length<2){return false;}e=(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16)))>>>0;a=$subslice(a,2);if(!((((e&1)>>>0)===0))){return false;}if(a.$length<((e>>0))){return false;}g=(f=e/2,(f===f&&f!==1/0&&f!==-1/0)?f>>>0:$throwRuntimeError(\"integer divide by zero\"));b.signatureAndHashes=$makeSlice(GA,g);h=b.signatureAndHashes;i=0;while(true){if(!(i<h.$length)){break;}j=i;(k=b.signatureAndHashes,((j<0||j>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+j])).hash=(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]);(l=b.signatureAndHashes,((j<0||j>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+j])).signature=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);a=$subslice(a,2);i++;}}if(a.$length<2){return false;}m=(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16)))>>>0;a=$subslice(a,2);if(a.$length<((m>>0))){return false;}n=$makeSlice(GC,m);$copySlice(n,a);a=$subslice(a,m);b.certificateAuthorities=GP.nil;while(true){if(!(n.$length>0)){break;}if(n.$length<2){return false;}o=(((((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+1])<<16>>>16)))>>>0;n=$subslice(n,2);if(n.$length<((o>>0))){return false;}b.certificateAuthorities=$append(b.certificateAuthorities,$subslice(n,0,o));n=$subslice(n,o);}return a.$length===0;};DQ.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DR.ptr.prototype.marshal=function(){var $ptr,a,b,c,d,e;a=GC.nil;b=this;if(!(b.raw===GC.nil)){a=b.raw;return a;}c=b.signature.$length;d=2+c>>0;if(b.hasSignatureAndHash){d=d+(2)>>0;}a=$makeSlice(GC,(4+d>>0));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=15);(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((d>>16>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((d>>8>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((d<<24>>>24)));e=$subslice(a,4);if(b.hasSignatureAndHash){(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=b.signatureAndHash.hash);(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]=b.signatureAndHash.signature);e=$subslice(e,2);}(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=(((c>>8>>0)<<24>>>24)));(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]=((c<<24>>>24)));$copySlice($subslice(e,2),b.signature);b.raw=a;return a;};DR.prototype.marshal=function(){return this.$val.marshal();};DR.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c,d;b=this;b.raw=a;if(a.$length<6){return false;}c=(((((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>>0))<<16>>>0)|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>>0))<<8>>>0))>>>0)|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>>0)))>>>0;if(!(((((a.$length>>>0))-4>>>0)===c))){return false;}a=$subslice(a,4);if(b.hasSignatureAndHash){b.signatureAndHash.hash=(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]);b.signatureAndHash.signature=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);a=$subslice(a,2);}if(a.$length<2){return false;}d=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)+(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0))>>0;a=$subslice(a,2);if(!((a.$length===d))){return false;}b.signature=a;return true;};DR.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DS.ptr.prototype.marshal=function(){var $ptr,a,b,c,d;a=GC.nil;b=this;if(!(b.raw===GC.nil)){a=b.raw;return a;}c=b.ticket.$length;d=6+c>>0;a=$makeSlice(GC,(4+d>>0));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=4);(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=(((d>>16>>0)<<24>>>24)));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=(((d>>8>>0)<<24>>>24)));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((d<<24>>>24)));(8>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+8]=(((c>>8>>0)<<24>>>24)));(9>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+9]=((c<<24>>>24)));$copySlice($subslice(a,10),b.ticket);b.raw=a;return a;};DS.prototype.marshal=function(){return this.$val.marshal();};DS.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c,d;b=this;b.raw=a;if(a.$length<10){return false;}c=(((((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>>0))<<16>>>0)|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>>0))<<8>>>0))>>>0)|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>>0)))>>>0;if(!(((((a.$length>>>0))-4>>>0)===c))){return false;}d=((((8>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+8])>>0))<<8>>0)+(((9>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+9])>>0))>>0;if(!(((a.$length-10>>0)===d))){return false;}b.ticket=$subslice(a,10);return true;};DS.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};DT.ptr.prototype.marshal=function(){var $ptr;return new GC([0,0,0,0]);};DT.prototype.marshal=function(){return this.$val.marshal();};DT.ptr.prototype.unmarshal=function(a){var $ptr,a;return a.$length===4;};DT.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};CQ.ptr.prototype.serverHandshake=function(){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.config.serverInitOnce.Do($methodVal(a.config,\"serverInit\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=new DZ.ptr(a,GY.nil,GW.nil,FY.nil,false,false,false,false,HO.nil,new EZ.ptr($ifaceNil,$ifaceNil,$ifaceNil,$ifaceNil,GC.nil,0,$throwNilPointerError),GC.nil,GP.nil,GH.nil,HP.nil);d=b.readClientHello();$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}a.buffering=true;if(e){$s=3;continue;}$s=4;continue;case 3:g=b.doResumeHandshake();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}i=b.establishKeys();$s=7;case 7:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}if(b.hello.ticketSupported){$s=8;continue;}$s=9;continue;case 8:k=b.sendSessionTicket();$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return l;}case 9:m=b.sendFinished(new GC(a.serverFinished));$s=11;case 11:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}p=a.flush();$s=12;case 12:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[1];if(!($interfaceIsEqual(q,$ifaceNil))){$s=-1;return q;}a.clientFinishedIsFirst=false;r=b.readFinished(GC.nil);$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return s;}a.didResume=true;$s=5;continue;case 4:t=b.doFullHandshake();$s=14;case 14:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return u;}v=b.establishKeys();$s=15;case 15:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return w;}x=b.readFinished(new GC(a.clientFinished));$s=16;case 16:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){$s=-1;return y;}a.clientFinishedIsFirst=true;a.buffering=true;z=b.sendSessionTicket();$s=17;case 17:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;if(!($interfaceIsEqual(aa,$ifaceNil))){$s=-1;return aa;}ab=b.sendFinished(GC.nil);$s=18;case 18:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return ac;}ae=a.flush();$s=19;case 19:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;af=ad[1];if(!($interfaceIsEqual(af,$ifaceNil))){$s=-1;return af;}case 5:a.handshakeComplete=true;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.serverHandshake};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.serverHandshake=function(){return this.$val.serverHandshake();};DZ.ptr.prototype.readClientHello=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;c=$f.c;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;d=$f.d;da=$f.da;db=$f.db;dc=$f.dc;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=false;b=$ifaceNil;c=this;d=c.c;f=d.readHandshake();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];b=e[1];if(!($interfaceIsEqual(b,$ifaceNil))){h=false;i=b;a=h;b=i;$s=-1;return[a,b];}j=false;k=$assertType(g,GY,true);c.clientHello=k[0];j=k[1];if(!j){$s=2;continue;}$s=3;continue;case 2:l=d.sendAlert(10);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=false;o=CO(c.clientHello,g);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;a=m;b=n;$s=-1;return[a,b];case 3:if(!(d.config.GetConfigForClient===$throwNilPointerError)){$s=6;continue;}$s=7;continue;case 6:q=d.config.GetConfigForClient(c.clientHelloInfo());$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=9;continue;}if(!(r===FX.nil)){$s=10;continue;}$s=11;continue;case 9:t=d.sendAlert(80);$s=12;case 12:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=false;v=s;a=u;b=v;$s=-1;return[a,b];case 10:$r=r.mutex.Lock();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r.originalConfig=d.config;$r=r.mutex.Unlock();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=r.serverInitOnce.Do($methodVal(r,\"serverInit\"));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.config=r;case 11:case 7:w=d.config.mutualVersion(c.clientHello.vers);d.vers=w[0];j=w[1];if(!j){$s=16;continue;}$s=17;continue;case 16:x=d.sendAlert(70);$s=18;case 18:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;y=false;aa=R.Errorf(\"tls: client offered an unsupported, maximum protocol version of %x\",new GI([new $Uint16(c.clientHello.vers)]));$s=19;case 19:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;a=y;b=z;$s=-1;return[a,b];case 17:d.haveVers=true;c.hello=new DI.ptr(GC.nil,0,GC.nil,GC.nil,0,0,false,FS.nil,false,GP.nil,false,GC.nil,false,\"\");ab=false;ac=d.config.curvePreferences();ad=c.clientHello.supportedCurves;ae=0;Curves:while(true){if(!(ae<ad.$length)){break;}af=((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]);ag=ac;ah=0;while(true){if(!(ah<ag.$length)){break;}ai=((ah<0||ah>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+ah]);if(ai===af){ab=true;break Curves;}ah++;}ae++;}aj=false;ak=c.clientHello.supportedPoints;al=0;while(true){if(!(al<ak.$length)){break;}am=((al<0||al>=ak.$length)?($throwRuntimeError(\"index out of range\"),undefined):ak.$array[ak.$offset+al]);if(am===0){aj=true;break;}al++;}c.ellipticOk=ab&&aj;an=false;ao=c.clientHello.compressionMethods;ap=0;while(true){if(!(ap<ao.$length)){break;}aq=((ap<0||ap>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+ap]);if(aq===0){an=true;break;}ap++;}if(!an){$s=20;continue;}$s=21;continue;case 20:ar=d.sendAlert(40);$s=22;case 22:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}ar;as=false;at=Q.New(\"tls: client does not support uncompressed connections\");a=as;b=at;$s=-1;return[a,b];case 21:c.hello.vers=d.vers;c.hello.random=$makeSlice(GC,32);av=S.ReadFull(d.config.rand(),c.hello.random);$s=23;case 23:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}au=av;b=au[1];if(!($interfaceIsEqual(b,$ifaceNil))){$s=24;continue;}$s=25;continue;case 24:aw=d.sendAlert(80);$s=26;case 26:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}aw;ax=false;ay=b;a=ax;b=ay;$s=-1;return[a,b];case 25:if(!((c.clientHello.secureRenegotiation.$length===0))){$s=27;continue;}$s=28;continue;case 27:az=d.sendAlert(40);$s=29;case 29:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}az;ba=false;bb=Q.New(\"tls: initial handshake had non-empty renegotiation extension\");a=ba;b=bb;$s=-1;return[a,b];case 28:c.hello.secureRenegotiationSupported=c.clientHello.secureRenegotiationSupported;c.hello.compressionMethod=0;if(c.clientHello.serverName.length>0){d.serverName=c.clientHello.serverName;}if(c.clientHello.alpnProtocols.$length>0){bc=DF(c.clientHello.alpnProtocols,d.config.NextProtos);bd=bc[0];be=bc[1];if(!be){c.hello.alpnProtocol=bd;d.clientProtocol=bd;}}else{if(c.clientHello.nextProtoNeg&&d.config.NextProtos.$length>0){c.hello.nextProtoNeg=true;c.hello.nextProtos=d.config.NextProtos;}}bg=d.config.getCertificate(c.clientHelloInfo());$s=30;case 30:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bf=bg;c.cert=bf[0];b=bf[1];if(!($interfaceIsEqual(b,$ifaceNil))){$s=31;continue;}$s=32;continue;case 31:bh=d.sendAlert(80);$s=33;case 33:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bh;bi=false;bj=b;a=bi;b=bj;$s=-1;return[a,b];case 32:if(c.clientHello.scts){c.hello.scts=c.cert.SignedCertificateTimestamps;}bk=$assertType(c.cert.PrivateKey,M.Signer,true);bl=bk[0];bm=bk[1];if(bm){$s=34;continue;}$s=35;continue;case 34:bo=bl.Public();$s=36;case 36:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bn=bo;if($assertType(bn,HD,true)[1]){$s=37;continue;}if($assertType(bn,HC,true)[1]){$s=38;continue;}$s=39;continue;case 37:c.ecdsaOk=true;$s=40;continue;case 38:c.rsaSignOk=true;$s=40;continue;case 39:bp=d.sendAlert(80);$s=41;case 41:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bp;bq=false;bs=bl.Public();$s=42;case 42:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=bs;bu=R.Errorf(\"tls: unsupported signing key type (%T)\",new GI([bt]));$s=43;case 43:if($c){$c=false;bu=bu.$blk();}if(bu&&bu.$blk!==undefined){break s;}br=bu;a=bq;b=br;$s=-1;return[a,b];case 40:case 35:bv=$assertType(c.cert.PrivateKey,M.Decrypter,true);bw=bv[0];bx=bv[1];if(bx){$s=44;continue;}$s=45;continue;case 44:bz=bw.Public();$s=46;case 46:if($c){$c=false;bz=bz.$blk();}if(bz&&bz.$blk!==undefined){break s;}by=bz;if($assertType(by,HC,true)[1]){$s=47;continue;}$s=48;continue;case 47:c.rsaDecryptOk=true;$s=49;continue;case 48:ca=d.sendAlert(80);$s=50;case 50:if($c){$c=false;ca=ca.$blk();}if(ca&&ca.$blk!==undefined){break s;}ca;cb=false;cd=bw.Public();$s=51;case 51:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;cf=R.Errorf(\"tls: unsupported decryption key type (%T)\",new GI([ce]));$s=52;case 52:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cc=cf;a=cb;b=cc;$s=-1;return[a,b];case 49:case 45:cg=c.checkForResumption();$s=55;case 55:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}if(cg){$s=53;continue;}$s=54;continue;case 53:ch=true;ci=$ifaceNil;a=ch;b=ci;$s=-1;return[a,b];case 54:cj=FT.nil;ck=FT.nil;cl=cj;cm=ck;if(d.config.PreferServerCipherSuites){$s=56;continue;}$s=57;continue;case 56:cn=d.config.cipherSuites();$s=59;case 59:if($c){$c=false;cn=cn.$blk();}if(cn&&cn.$blk!==undefined){break s;}cl=cn;cm=c.clientHello.cipherSuites;$s=58;continue;case 57:cl=c.clientHello.cipherSuites;co=d.config.cipherSuites();$s=60;case 60:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}cm=co;case 58:cp=cl;cq=0;while(true){if(!(cq<cp.$length)){break;}cr=((cq<0||cq>=cp.$length)?($throwRuntimeError(\"index out of range\"),undefined):cp.$array[cp.$offset+cq]);if(c.setCipherSuite(cr,cm,d.vers)){break;}cq++;}if(c.suite===FY.nil){$s=61;continue;}$s=62;continue;case 61:cs=d.sendAlert(40);$s=63;case 63:if($c){$c=false;cs=cs.$blk();}if(cs&&cs.$blk!==undefined){break s;}cs;ct=false;cu=Q.New(\"tls: no cipher suite supported by both client and server\");a=ct;b=cu;$s=-1;return[a,b];case 62:cv=c.clientHello.cipherSuites;cw=0;case 64:if(!(cw<cv.$length)){$s=65;continue;}cx=((cw<0||cw>=cv.$length)?($throwRuntimeError(\"index out of range\"),undefined):cv.$array[cv.$offset+cw]);if(cx===22016){$s=66;continue;}$s=67;continue;case 66:if(c.clientHello.vers<d.config.maxVersion()){$s=68;continue;}$s=69;continue;case 68:cy=d.sendAlert(86);$s=70;case 70:if($c){$c=false;cy=cy.$blk();}if(cy&&cy.$blk!==undefined){break s;}cy;cz=false;da=Q.New(\"tls: client using inappropriate protocol fallback\");a=cz;b=da;$s=-1;return[a,b];case 69:$s=65;continue;case 67:cw++;$s=64;continue;case 65:db=false;dc=$ifaceNil;a=db;b=dc;$s=-1;return[a,b];}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.readClientHello};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.c=c;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.d=d;$f.da=da;$f.db=db;$f.dc=dc;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.readClientHello=function(){return this.$val.readClientHello();};DZ.ptr.prototype.checkForResumption=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.c;if(b.config.SessionTicketsDisabled){$s=-1;return false;}c=false;d=$appendSlice(new GC([]),a.clientHello.sessionTicket);f=b.decryptTicket(d);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a.sessionState=e[0];c=e[1];if(!c){$s=-1;return false;}if(!((b.vers===a.sessionState.vers))){$s=-1;return false;}g=false;h=a.clientHello.cipherSuites;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if(j===a.sessionState.cipherSuite){g=true;break;}i++;}if(!g){$s=-1;return false;}k=a.sessionState.cipherSuite;l=b.config.cipherSuites();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=a.sessionState.vers;o=a.setCipherSuite(k,m,n);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}if(!o){$s=2;continue;}$s=3;continue;case 2:$s=-1;return false;case 3:p=!((a.sessionState.certificates.$length===0));q=(b.config.ClientAuth===2)||(b.config.ClientAuth===4);if(q&&!p){$s=-1;return false;}if(p&&(b.config.ClientAuth===0)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.checkForResumption};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.checkForResumption=function(){return this.$val.checkForResumption();};DZ.ptr.prototype.doResumeHandshake=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.c;a.hello.cipherSuite=a.suite.id;a.hello.sessionId=a.clientHello.sessionId;a.hello.ticketSupported=a.sessionState.usedOldKey;c=EY(b.vers,a.suite);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}EZ.copy(a.finishedHash,c);a.finishedHash.discardHandshakeBuffer();d=a.finishedHash.Write(a.clientHello.marshal());$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=a.finishedHash.Write(a.hello.marshal());$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;g=b.writeRecord(22,a.hello.marshal());$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}if(a.sessionState.certificates.$length>0){$s=5;continue;}$s=6;continue;case 5:j=a.processCertsFromClient(a.sessionState.certificates);$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}case 6:a.masterSecret=a.sessionState.masterSecret;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.doResumeHandshake};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.doResumeHandshake=function(){return this.$val.doResumeHandshake();};DZ.ptr.prototype.doFullHandshake=function(){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;c=$f.c;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.c;if(a.clientHello.ocspStapling&&a.cert.OCSPStaple.$length>0){a.hello.ocspStapling=true;}a.hello.ticketSupported=a.clientHello.ticketSupported&&!b.config.SessionTicketsDisabled;a.hello.cipherSuite=a.suite.id;c=EY(a.c.vers,a.suite);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}EZ.copy(a.finishedHash,c);if(b.config.ClientAuth===0){a.finishedHash.discardHandshakeBuffer();}d=a.finishedHash.Write(a.clientHello.marshal());$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=a.finishedHash.Write(a.hello.marshal());$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;g=b.writeRecord(22,a.hello.marshal());$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}i=new DJ.ptr(GC.nil,GP.nil);i.certificates=a.cert.Certificate;j=a.finishedHash.Write(i.marshal());$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;l=b.writeRecord(22,i.marshal());$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return m;}if(a.hello.ocspStapling){$s=7;continue;}$s=8;continue;case 7:n=new DL.ptr(GC.nil,0,GC.nil);n.statusType=1;n.response=a.cert.OCSPStaple;o=a.finishedHash.Write(n.marshal());$s=9;case 9:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;q=b.writeRecord(22,n.marshal());$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}case 8:s=a.suite.ka(b.vers);$s=11;case 11:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;v=t.generateServerKeyExchange(b.config,a.cert,a.clientHello,a.hello);$s=12;case 12:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=u[0];x=u[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=13;continue;}$s=14;continue;case 13:y=b.sendAlert(40);$s=15;case 15:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}y;$s=-1;return x;case 14:if(!(w===HF.nil)){$s=16;continue;}$s=17;continue;case 16:z=a.finishedHash.Write(w.marshal());$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;ab=b.writeRecord(22,w.marshal());$s=19;case 19:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[1];if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return ac;}case 17:if(b.config.ClientAuth>=1){$s=20;continue;}$s=21;continue;case 20:ad=new DQ.ptr(GC.nil,false,GC.nil,GA.nil,GP.nil);ad.certificateTypes=new GC([1,64]);if(b.vers>=771){ad.hasSignatureAndHash=true;ad.signatureAndHashes=BN;}if(!(b.config.ClientCAs===FR.nil)){ad.certificateAuthorities=b.config.ClientCAs.Subjects();}ae=a.finishedHash.Write(ad.marshal());$s=22;case 22:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ae;ag=b.writeRecord(22,ad.marshal());$s=23;case 23:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;ah=af[1];if(!($interfaceIsEqual(ah,$ifaceNil))){$s=-1;return ah;}case 21:ai=new DM.ptr();aj=a.finishedHash.Write(ai.marshal());$s=24;case 24:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;al=b.writeRecord(22,ai.marshal());$s=25;case 25:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[1];if(!($interfaceIsEqual(am,$ifaceNil))){$s=-1;return am;}ao=b.flush();$s=26;case 26:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;ap=an[1];if(!($interfaceIsEqual(ap,$ifaceNil))){$s=-1;return ap;}aq=$ifaceNil;as=b.readHandshake();$s=27;case 27:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;at=ar[0];x=ar[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return x;}au=false;if(b.config.ClientAuth>=1){$s=28;continue;}$s=29;continue;case 28:av=$assertType(at,GZ,true);i=av[0];au=av[1];if(!au){$s=30;continue;}$s=31;continue;case 30:aw=b.sendAlert(10);$s=32;case 32:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}aw;ax=CO(i,at);$s=33;case 33:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 31:ay=a.finishedHash.Write(i.marshal());$s=34;case 34:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ay;if(i.certificates.$length===0){$s=35;continue;}$s=36;continue;case 35:az=b.config.ClientAuth;if((az===(2))||(az===(4))){$s=38;continue;}$s=39;continue;case 38:ba=b.sendAlert(42);$s=40;case 40:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ba;$s=-1;return Q.New(\"tls: client didn't provide a certificate\");case 39:case 37:case 36:bc=a.processCertsFromClient(i.certificates);$s=41;case 41:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bb=bc;aq=bb[0];x=bb[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return x;}be=b.readHandshake();$s=42;case 42:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bd=be;at=bd[0];x=bd[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return x;}case 29:bf=$assertType(at,HI,true);bg=bf[0];au=bf[1];if(!au){$s=43;continue;}$s=44;continue;case 43:bh=b.sendAlert(10);$s=45;case 45:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bh;bi=CO(bg,at);$s=46;case 46:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 44:bj=a.finishedHash.Write(bg.marshal());$s=47;case 47:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bj;bl=t.processClientKeyExchange(b.config,a.cert,bg,b.vers);$s=48;case 48:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bk=bl;bm=bk[0];x=bk[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=49;continue;}$s=50;continue;case 49:bn=b.sendAlert(40);$s=51;case 51:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bn;$s=-1;return x;case 50:bo=EV(b.vers,a.suite,bm,a.clientHello.random,a.hello.random);$s=52;case 52:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}a.masterSecret=bo;bp=b.config.writeKeyLog(a.clientHello.random,a.masterSecret);$s=53;case 53:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}bq=bp;if(!($interfaceIsEqual(bq,$ifaceNil))){$s=54;continue;}$s=55;continue;case 54:br=b.sendAlert(80);$s=56;case 56:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}br;$s=-1;return bq;case 55:if(b.peerCertificates.$length>0){$s=57;continue;}$s=58;continue;case 57:bt=b.readHandshake();$s=59;case 59:if($c){$c=false;bt=bt.$blk();}if(bt&&bt.$blk!==undefined){break s;}bs=bt;at=bs[0];x=bs[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=-1;return x;}bu=$assertType(at,HN,true);bv=bu[0];bw=bu[1];if(!bw){$s=60;continue;}$s=61;continue;case 60:bx=b.sendAlert(10);$s=62;case 62:if($c){$c=false;bx=bx.$blk();}if(bx&&bx.$blk!==undefined){break s;}bx;by=CO(bv,at);$s=63;case 63:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}$s=-1;return by;case 61:bz=new BM.ptr(0,0);if(bv.hasSignatureAndHash){BM.copy(bz,bv.signatureAndHash);if(!CP($clone(bz,BM),BN)){$s=-1;return Q.New(\"tls: unsupported hash function for client certificate\");}}else{ca=aq;if($assertType(ca,HD,true)[1]){bz.signature=3;}else if($assertType(ca,HC,true)[1]){bz.signature=1;}}cb=aq;if($assertType(cb,HD,true)[1]){$s=64;continue;}if($assertType(cb,HC,true)[1]){$s=65;continue;}$s=66;continue;case 64:cc=cb.$val;if(!((bz.signature===3))){x=Q.New(\"tls: bad signature type for client's ECDSA certificate\");$s=66;continue;}ce=new CH.ptr(GE.nil,GE.nil);cg=AD.Unmarshal(bv.signature,ce);$s=67;case 67:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=cg;x=cf[1];if(!($interfaceIsEqual(x,$ifaceNil))){$s=66;continue;}if(ce.R.Sign()<=0||ce.S.Sign()<=0){x=Q.New(\"tls: ECDSA signature contained zero or negative values\");$s=66;continue;}ch=GC.nil;cj=$clone(a.finishedHash,EZ).hashForClientCertificate($clone(bz,BM),a.masterSecret);$s=68;case 68:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ci=cj;ch=ci[0];x=ci[2];if(!($interfaceIsEqual(x,$ifaceNil))){$s=66;continue;}ck=AB.Verify(cc,ch,ce.R,ce.S);$s=71;case 71:if($c){$c=false;ck=ck.$blk();}if(ck&&ck.$blk!==undefined){break s;}if(!ck){$s=69;continue;}$s=70;continue;case 69:x=Q.New(\"tls: ECDSA verification failure\");case 70:$s=66;continue;case 65:cd=cb.$val;if(!((bz.signature===1))){x=Q.New(\"tls: bad signature type for client's RSA certificate\");$s=66;continue;}cl=GC.nil;cm=0;co=$clone(a.finishedHash,EZ).hashForClientCertificate($clone(bz,BM),a.masterSecret);$s=72;case 72:if($c){$c=false;co=co.$blk();}if(co&&co.$blk!==undefined){break s;}cn=co;cl=cn[0];cm=cn[1];x=cn[2];if(!($interfaceIsEqual(x,$ifaceNil))){$s=66;continue;}cp=AC.VerifyPKCS1v15(cd,cm,cl,bv.signature);$s=73;case 73:if($c){$c=false;cp=cp.$blk();}if(cp&&cp.$blk!==undefined){break s;}x=cp;case 66:if(!($interfaceIsEqual(x,$ifaceNil))){$s=74;continue;}$s=75;continue;case 74:cq=b.sendAlert(42);$s=76;case 76:if($c){$c=false;cq=cq.$blk();}if(cq&&cq.$blk!==undefined){break s;}cq;cr=x.Error();$s=77;case 77:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}cs=Q.New(\"tls: could not validate signature of connection nonces: \"+cr);$s=78;case 78:if($c){$c=false;cs=cs.$blk();}if(cs&&cs.$blk!==undefined){break s;}$s=-1;return cs;case 75:ct=a.finishedHash.Write(bv.marshal());$s=79;case 79:if($c){$c=false;ct=ct.$blk();}if(ct&&ct.$blk!==undefined){break s;}ct;case 58:a.finishedHash.discardHandshakeBuffer();$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.doFullHandshake};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.c=c;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.doFullHandshake=function(){return this.$val.doFullHandshake();};DZ.ptr.prototype.establishKeys=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.c;d=EW(b.vers,a.suite,a.masterSecret,a.clientHello.random,a.hello.random,a.suite.macLen,a.suite.keyLen,a.suite.ivLen);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];g=c[2];h=c[3];i=c[4];j=c[5];k=$ifaceNil;l=$ifaceNil;m=k;n=l;o=$ifaceNil;p=$ifaceNil;q=o;r=p;if(a.suite.aead===$throwNilPointerError){$s=2;continue;}$s=3;continue;case 2:s=a.suite.cipher(g,i,true);$s=5;case 5:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}m=s;t=a.suite.mac(b.vers,e);$s=6;case 6:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}q=t;u=a.suite.cipher(h,j,false);$s=7;case 7:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}n=u;v=a.suite.mac(b.vers,f);$s=8;case 8:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}r=v;$s=4;continue;case 3:w=a.suite.aead(g,i);$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}m=w;x=a.suite.aead(h,j);$s=10;case 10:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}n=x;case 4:b.in$25.prepareCipherSpec(b.vers,m,q);b.out.prepareCipherSpec(b.vers,n,r);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.establishKeys};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.establishKeys=function(){return this.$val.establishKeys();};DZ.ptr.prototype.readFinished=function(a){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.c;d=c.readRecord(20);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;if(!($interfaceIsEqual(c.in$25.err,$ifaceNil))){$s=-1;return c.in$25.err;}if(b.hello.nextProtoNeg){$s=2;continue;}$s=3;continue;case 2:f=c.readHandshake();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}i=$assertType(g,HM,true);j=i[0];k=i[1];if(!k){$s=5;continue;}$s=6;continue;case 5:l=c.sendAlert(10);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=CO(j,g);$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return m;case 6:n=b.finishedHash.Write(j.marshal());$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;c.clientProtocol=j.proto;case 3:p=c.readHandshake();$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];r=o[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}s=$assertType(q,HK,true);t=s[0];u=s[1];if(!u){$s=11;continue;}$s=12;continue;case 11:v=c.sendAlert(10);$s=13;case 13:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;w=CO(t,q);$s=14;case 14:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;case 12:x=$clone(b.finishedHash,EZ).clientSum(b.masterSecret);$s=15;case 15:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!((y.$length===t.verifyData.$length))||!((Z.ConstantTimeCompare(y,t.verifyData)===1))){$s=16;continue;}$s=17;continue;case 16:z=c.sendAlert(40);$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;$s=-1;return Q.New(\"tls: client's Finished message is incorrect\");case 17:aa=b.finishedHash.Write(t.marshal());$s=19;case 19:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;$copySlice(a,y);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.readFinished};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.readFinished=function(a){return this.$val.readFinished(a);};DZ.ptr.prototype.sendSessionTicket=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=this;if(!b.hello.ticketSupported){$s=-1;return $ifaceNil;}c=b.c;d=new DS.ptr(GC.nil,GC.nil);e=$ifaceNil;a[0]=new FD.ptr(c.vers,b.suite.id,b.masterSecret,b.certsFromClient,false);g=c.encryptTicket(a[0]);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;d.ticket=f[0];e=f[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return e;}h=b.finishedHash.Write(d.marshal());$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;j=c.writeRecord(22,d.marshal());$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.sendSessionTicket};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.sendSessionTicket=function(){return this.$val.sendSessionTicket();};DZ.ptr.prototype.sendFinished=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.c;e=c.writeRecord(20,new GC([1]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}g=new DO.ptr(GC.nil,GC.nil);h=$clone(b.finishedHash,EZ).serverSum(b.masterSecret);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g.verifyData=h;i=b.finishedHash.Write(g.marshal());$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;k=c.writeRecord(22,g.marshal());$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return l;}c.cipherSuite=b.suite.id;$copySlice(a,g.verifyData);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.sendFinished};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.sendFinished=function(a){return this.$val.sendFinished(a);};DZ.ptr.prototype.processCertsFromClient=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.c;b.certsFromClient=a;d=$makeSlice(GU,a.$length);e=$ifaceNil;f=a;g=0;case 1:if(!(g<f.$length)){$s=2;continue;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);k=I.ParseCertificate(i);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]=j[0]);e=j[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:l=c.sendAlert(42);$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=e.Error();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=Q.New(\"tls: failed to parse client certificate: \"+m);$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,n];case 5:g++;$s=1;continue;case 2:if(c.config.ClientAuth>=3&&d.$length>0){$s=9;continue;}$s=10;continue;case 9:o=c.config.time();$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=new I.VerifyOptions.ptr(\"\",I.NewCertPool(),c.config.ClientCAs,$clone(o,X.Time),new HB([2]));q=$subslice(d,1);r=0;while(true){if(!(r<q.$length)){break;}s=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);p.Intermediates.AddCert(s);r++;}u=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]).Verify($clone(p,I.VerifyOptions));$s=12;case 12:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){$s=13;continue;}$s=14;continue;case 13:x=c.sendAlert(42);$s=15;case 15:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;y=w.Error();$s=16;case 16:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=Q.New(\"tls: failed to verify client's certificate: \"+y);$s=17;case 17:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,z];case 14:c.verifiedChains=v;case 10:if(!(c.config.VerifyPeerCertificate===$throwNilPointerError)){$s=18;continue;}$s=19;continue;case 18:aa=c.config.VerifyPeerCertificate(a,c.verifiedChains);$s=20;case 20:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=aa;if(!($interfaceIsEqual(ab,$ifaceNil))){$s=21;continue;}$s=22;continue;case 21:ac=c.sendAlert(42);$s=23;case 23:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ac;$s=-1;return[$ifaceNil,ab];case 22:case 19:if(d.$length===0){$s=-1;return[$ifaceNil,$ifaceNil];}ad=$ifaceNil;ae=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]).PublicKey;if($assertType(ae,HD,true)[1]||$assertType(ae,HC,true)[1]){$s=24;continue;}$s=25;continue;case 24:af=ae;ad=af;$s=26;continue;case 25:ag=ae;ah=c.sendAlert(43);$s=27;case 27:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;ai=R.Errorf(\"tls: client's certificate contains an unsupported public key of type %T\",new GI([(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]).PublicKey]));$s=28;case 28:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,ai];case 26:c.peerCertificates=d;$s=-1;return[ad,$ifaceNil];}return;}if($f===undefined){$f={$blk:DZ.ptr.prototype.processCertsFromClient};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DZ.prototype.processCertsFromClient=function(a){return this.$val.processCertsFromClient(a);};DZ.ptr.prototype.setCipherSuite=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k;d=this;e=b;f=0;while(true){if(!(f<e.$length)){break;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);if(a===g){h=FY.nil;i=AN;j=0;while(true){if(!(j<i.$length)){break;}k=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);if(k.id===a){h=k;break;}j++;}if(h===FY.nil){f++;continue;}if(!(((h.flags&1)===0))){if(!d.ellipticOk){f++;continue;}if(!(((h.flags&2)===0))){if(!d.ecdsaOk){f++;continue;}}else if(!d.rsaSignOk){f++;continue;}}else if(!d.rsaDecryptOk){f++;continue;}if(c<771&&!(((h.flags&4)===0))){f++;continue;}d.suite=h;return true;}f++;}return false;};DZ.prototype.setCipherSuite=function(a,b,c){return this.$val.setCipherSuite(a,b,c);};DZ.ptr.prototype.clientHelloInfo=function(){var $ptr,a,b,c,d,e,f;a=this;if(!(a.cachedClientHelloInfo===HP.nil)){return a.cachedClientHelloInfo;}b=FT.nil;if(a.clientHello.vers>771){b=new FT(EA);}else if(a.clientHello.vers>=768){b=$subslice(new FT(EA),(771-a.clientHello.vers<<16>>>16));}c=$makeSlice(GB,0,a.clientHello.signatureAndHashes.$length);d=a.clientHello.signatureAndHashes;e=0;while(true){if(!(e<d.$length)){break;}f=$clone(((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]),BM);c=$append(c,(((f.hash<<16>>>16))<<8<<16>>>16)+((f.signature<<16>>>16))<<16>>>16);e++;}a.cachedClientHelloInfo=new BT.ptr(a.clientHello.cipherSuites,a.clientHello.serverName,a.clientHello.supportedCurves,a.clientHello.supportedPoints,c,a.clientHello.alpnProtocols,b,a.c.conn);return a.cachedClientHelloInfo;};DZ.prototype.clientHelloInfo=function(){return this.$val.clientHelloInfo();};ED.ptr.prototype.generateServerKeyExchange=function(a,b,c,d){var $ptr,a,b,c,d,e;e=this;return[HF.nil,$ifaceNil];};ED.prototype.generateServerKeyExchange=function(a,b,c,d){return this.$val.generateServerKeyExchange(a,b,c,d);};ED.ptr.prototype.processClientKeyExchange=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(c.ciphertext.$length<2){$s=-1;return[GC.nil,EB];}f=c.ciphertext;if(!((d===768))){i=((((g=c.ciphertext,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]))>>0))<<8>>0)|(((h=c.ciphertext,(1>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+1]))>>0));if(!((i===(c.ciphertext.$length-2>>0)))){$s=-1;return[GC.nil,EB];}f=$subslice(c.ciphertext,2);}j=$assertType(b.PrivateKey,M.Decrypter,true);k=j[0];l=j[1];if(!l){$s=-1;return[GC.nil,Q.New(\"tls: certificate private key does not implement crypto.Decrypter\")];}n=k.Decrypt(a.rand(),f,new AC.PKCS1v15DecryptOptions.ptr(48));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){$s=-1;return[GC.nil,p];}$s=-1;return[o,$ifaceNil];}return;}if($f===undefined){$f={$blk:ED.ptr.prototype.processClientKeyExchange};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};ED.prototype.processClientKeyExchange=function(a,b,c,d){return this.$val.processClientKeyExchange(a,b,c,d);};ED.ptr.prototype.processServerKeyExchange=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f;f=this;return Q.New(\"tls: unexpected ServerKeyExchange\");};ED.prototype.processServerKeyExchange=function(a,b,c,d,e){return this.$val.processServerKeyExchange(a,b,c,d,e);};ED.ptr.prototype.generateClientKeyExchange=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=$makeSlice(GC,48);(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=(((b.vers>>>8<<16>>>16)<<24>>>24)));(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]=((b.vers<<24>>>24)));g=S.ReadFull(a.rand(),$subslice(e,2));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[GC.nil,HI.nil,h];}j=AC.EncryptPKCS1v15(a.rand(),$assertType(c.PublicKey,HC),e);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];h=i[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[GC.nil,HI.nil,h];}l=new DN.ptr(GC.nil,GC.nil);l.ciphertext=$makeSlice(GC,(k.$length+2>>0));(m=l.ciphertext,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]=(((k.$length>>8>>0)<<24>>>24))));(n=l.ciphertext,(1>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+1]=((k.$length<<24>>>24))));$copySlice($subslice(l.ciphertext,2),k);$s=-1;return[e,l,$ifaceNil];}return;}if($f===undefined){$f={$blk:ED.ptr.prototype.generateClientKeyExchange};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};ED.prototype.generateClientKeyExchange=function(a,b,c){return this.$val.generateClientKeyExchange(a,b,c);};EE=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=G.New();c=a;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=b.Write(e);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;d++;$s=1;continue;case 2:g=b.Sum(GC.nil);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:EE};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};EF=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$makeSlice(GC,36);c=AF.New();d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=c.Write(f);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;e++;$s=1;continue;case 2:h=c.Sum(GC.nil);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$copySlice(b,h);i=EE(a);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$copySlice($subslice(b,16),i);$s=-1;return b;}return;}if($f===undefined){$f={$blk:EF};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EG=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(b>=771){$s=1;continue;}$s=2;continue;case 1:if(!CP($clone(a,BM),BN)){$s=-1;return[GC.nil,0,Q.New(\"tls: unsupported hash function used by peer\")];}d=EX(a.hash);e=d[0];f=d[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[GC.nil,0,f];}g=new M.Hash(e).New();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=c;j=0;case 4:if(!(j<i.$length)){$s=5;continue;}k=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);l=h.Write(k);$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;j++;$s=4;continue;case 5:m=h.Sum(GC.nil);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$s=-1;return[n,e,$ifaceNil];case 2:if(a.signature===3){$s=8;continue;}$s=9;continue;case 8:o=EE(c);$s=10;case 10:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return[o,3,$ifaceNil];case 9:p=EF(c);$s=11;case 11:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return[p,8,$ifaceNil];}return;}if($f===undefined){$f={$blk:EG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};EH=function(a,b){var $ptr,a,b,c,d,e;if(b.$length===0){return[2,$ifaceNil];}c=b;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(!((e.signature===a))){d++;continue;}if(CP($clone(e,BM),BN)){return[e.hash,$ifaceNil];}d++;}return[0,Q.New(\"tls: client doesn't support any common hash functions\")];};EI=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if(b===(23)){$s=2;continue;}if(b===(24)){$s=3;continue;}if(b===(25)){$s=4;continue;}$s=5;continue;case 2:c=AE.P256();$s=7;case 7:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return[c,true];case 3:d=AE.P384();$s=8;case 8:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return[d,true];case 4:e=AE.P521();$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return[e,true];case 5:$s=-1;return[$ifaceNil,false];case 6:case 1:$s=-1;return[$ifaceNil,false];}return;}if($f===undefined){$f={$blk:EI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};EJ.ptr.prototype.generateServerKeyExchange=function(a,b,c,d){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=this;h=a.curvePreferences();i=h;j=0;NextCandidate:while(true){if(!(j<i.$length)){break;}k=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);l=c.supportedCurves;m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);if(k===n){g.curveid=n;break NextCandidate;}m++;}j++;}if(g.curveid===0){$s=-1;return[HF.nil,Q.New(\"tls: no supported elliptic curves offered\")];}o=GC.nil;if(g.curveid===29){$s=1;continue;}$s=2;continue;case 1:p=FU.zero();q=FU.zero();f[0]=$clone(p,FU);e[0]=$clone(q,FU);s=S.ReadFull(a.rand(),new GC(f[0]));$s=4;case 4:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return[HF.nil,t];}AG.ScalarBaseMult(e[0],f[0]);g.privateKey=new GC(f[0]);o=new GC(e[0]);$s=3;continue;case 2:v=EI(g.curveid);$s=5;case 5:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;w=u[0];x=u[1];if(!x){$s=-1;return[HF.nil,Q.New(\"tls: preferredCurves includes unsupported curve\")];}y=GE.nil;z=GE.nil;aa=y;ab=z;ac=$ifaceNil;ae=AE.GenerateKey(w,a.rand());$s=6;case 6:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;g.privateKey=ad[0];aa=ad[1];ab=ad[2];ac=ad[3];if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return[HF.nil,ac];}af=AE.Marshal(w,aa,ab);$s=7;case 7:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}o=af;case 3:ag=$makeSlice(GC,(4+o.$length>>0));(0>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+0]=3);(1>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+1]=(((g.curveid>>>8<<16>>>16)<<24>>>24)));(2>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+2]=((g.curveid<<24>>>24)));(3>=ag.$length?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+3]=((o.$length<<24>>>24)));$copySlice($subslice(ag,4),o);ah=new BM.ptr(0,g.sigType);if(g.version>=771){ai=$ifaceNil;aj=EH(g.sigType,c.signatureAndHashes);ah.hash=aj[0];ai=aj[1];if(!($interfaceIsEqual(ai,$ifaceNil))){$s=-1;return[HF.nil,ai];}}al=EG($clone(ah,BM),g.version,new GP([c.random,d.random,ag]));$s=8;case 8:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];ao=ak[2];if(!($interfaceIsEqual(ao,$ifaceNil))){$s=-1;return[HF.nil,ao];}ap=$assertType(b.PrivateKey,M.Signer,true);aq=ap[0];ar=ap[1];if(!ar){$s=-1;return[HF.nil,Q.New(\"tls: certificate private key does not implement crypto.Signer\")];}as=GC.nil;at=g.sigType;if(at===(3)){$s=10;continue;}if(at===(1)){$s=11;continue;}$s=12;continue;case 10:av=aq.Public();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}au=$assertType(av,HD,true);aw=au[1];if(!aw){$s=-1;return[HF.nil,Q.New(\"tls: ECDHE ECDSA requires an ECDSA server key\")];}$s=13;continue;case 11:ay=aq.Public();$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$assertType(ay,HC,true);az=ax[1];if(!az){$s=-1;return[HF.nil,Q.New(\"tls: ECDHE RSA requires a RSA server key\")];}$s=13;continue;case 12:$s=-1;return[HF.nil,Q.New(\"tls: unknown ECDHE signature algorithm\")];case 13:case 9:bb=aq.Sign(a.rand(),am,new M.Hash(an));$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;as=ba[0];ao=ba[1];if(!($interfaceIsEqual(ao,$ifaceNil))){$s=17;continue;}$s=18;continue;case 17:bc=ao.Error();$s=19;case 19:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=Q.New(\"tls: failed to sign ECDHE parameters: \"+bc);$s=20;case 20:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return[HF.nil,bd];case 18:be=new DK.ptr(GC.nil,GC.nil);bf=0;if(g.version>=771){bf=2;}be.key=$makeSlice(GC,(((ag.$length+bf>>0)+2>>0)+as.$length>>0));$copySlice(be.key,ag);bg=$subslice(be.key,ag.$length);if(g.version>=771){(0>=bg.$length?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+0]=ah.hash);(1>=bg.$length?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+1]=ah.signature);bg=$subslice(bg,2);}(0>=bg.$length?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+0]=(((as.$length>>8>>0)<<24>>>24)));(1>=bg.$length?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+1]=((as.$length<<24>>>24)));$copySlice($subslice(bg,2),as);$s=-1;return[be,$ifaceNil];}return;}if($f===undefined){$f={$blk:EJ.ptr.prototype.generateServerKeyExchange};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EJ.prototype.generateServerKeyExchange=function(a,b,c,d){return this.$val.generateServerKeyExchange(a,b,c,d);};EJ.ptr.prototype.processClientKeyExchange=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=[g];h=this;if((c.ciphertext.$length===0)||!(((((i=c.ciphertext,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))>>0))===(c.ciphertext.$length-1>>0)))){$s=-1;return[GC.nil,EB];}if(h.curveid===29){if(!((c.ciphertext.$length===33))){$s=-1;return[GC.nil,EB];}j=FU.zero();k=FU.zero();l=FU.zero();g[0]=$clone(j,FU);f[0]=$clone(k,FU);e[0]=$clone(l,FU);$copySlice(new GC(g[0]),$subslice(c.ciphertext,1));$copySlice(new GC(e[0]),h.privateKey);AG.ScalarMult(f[0],e[0],g[0]);$s=-1;return[new GC(f[0]),$ifaceNil];}n=EI(h.curveid);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(!p){$panic(new $String(\"internal error\"));}r=AE.Unmarshal(o,$subslice(c.ciphertext,1));$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(s===GE.nil){$s=-1;return[GC.nil,EB];}u=o.IsOnCurve(s,t);$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!u){$s=3;continue;}$s=4;continue;case 3:$s=-1;return[GC.nil,EB];case 4:w=o.ScalarMult(s,t,h.privateKey);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;s=v[0];x=o.Params();$s=7;case 7:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=$makeSlice(GC,(((x.BitSize+7>>0))>>3>>0));z=s.Bytes();$copySlice($subslice(y,(y.$length-z.$length>>0)),z);$s=-1;return[y,$ifaceNil];}return;}if($f===undefined){$f={$blk:EJ.ptr.prototype.processClientKeyExchange};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EJ.prototype.processClientKeyExchange=function(a,b,c,d){return this.$val.processClientKeyExchange(a,b,c,d);};EJ.ptr.prototype.processServerKeyExchange=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(e.key.$length<4){$s=-1;return EC;}if(!(((g=e.key,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]))===3))){$s=-1;return Q.New(\"tls: server selected unsupported curve\");}f.curveid=(((((h=e.key,(1>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+1]))<<16>>>16))<<8<<16>>>16)|(((i=e.key,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))<<16>>>16)))>>>0;k=(((j=e.key,(3>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+3]))>>0));if((k+4>>0)>e.key.$length){$s=-1;return EC;}l=$subslice(e.key,0,(4+k>>0));m=$subslice(l,4);n=$subslice(e.key,(4+k>>0));if(n.$length<2){$s=-1;return EC;}if(f.curveid===29){$s=1;continue;}$s=2;continue;case 1:if(!((m.$length===32))){$s=-1;return Q.New(\"tls: bad X25519 public value\");}f.publicKey=m;$s=3;continue;case 2:p=EI(f.curveid);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];r=o[1];if(!r){$s=-1;return Q.New(\"tls: server selected unsupported curve\");}t=AE.Unmarshal(q,m);$s=5;case 5:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;f.x=s[0];f.y=s[1];if(f.x===GE.nil){$s=-1;return EC;}u=q.IsOnCurve(f.x,f.y);$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}if(!u){$s=6;continue;}$s=7;continue;case 6:$s=-1;return EC;case 7:case 3:v=new BM.ptr(0,f.sigType);if(f.version>=771){BM.copy(v,new BM.ptr((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0]),(1>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+1])));if(!((v.signature===f.sigType))){$s=-1;return EC;}n=$subslice(n,2);if(n.$length<2){$s=-1;return EC;}}w=((((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0])>>0))<<8>>0)|(((1>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+1])>>0));if(!(((w+2>>0)===n.$length))){$s=-1;return EC;}n=$subslice(n,2);y=EG($clone(v,BM),f.version,new GP([b.random,c.random,l]));$s=9;case 9:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];ab=x[2];if(!($interfaceIsEqual(ab,$ifaceNil))){$s=-1;return ab;}ac=f.sigType;if(ac===(3)){$s=11;continue;}if(ac===(1)){$s=12;continue;}$s=13;continue;case 11:ad=$assertType(d.PublicKey,HD,true);ae=ad[0];af=ad[1];if(!af){$s=-1;return Q.New(\"tls: ECDHE ECDSA requires a ECDSA server public key\");}ag=new CH.ptr(GE.nil,GE.nil);ai=AD.Unmarshal(n,ag);$s=15;case 15:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;aj=ah[1];if(!($interfaceIsEqual(aj,$ifaceNil))){$s=-1;return aj;}if(ag.R.Sign()<=0||ag.S.Sign()<=0){$s=-1;return Q.New(\"tls: ECDSA signature contained zero or negative values\");}ak=AB.Verify(ae,z,ag.R,ag.S);$s=18;case 18:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}if(!ak){$s=16;continue;}$s=17;continue;case 16:$s=-1;return Q.New(\"tls: ECDSA verification failure\");case 17:$s=14;continue;case 12:al=$assertType(d.PublicKey,HC,true);am=al[0];an=al[1];if(!an){$s=-1;return Q.New(\"tls: ECDHE RSA requires a RSA server public key\");}ao=AC.VerifyPKCS1v15(am,aa,z,n);$s=19;case 19:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;if(!($interfaceIsEqual(ap,$ifaceNil))){$s=-1;return ap;}$s=14;continue;case 13:$s=-1;return Q.New(\"tls: unknown ECDHE signature algorithm\");case 14:case 10:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EJ.ptr.prototype.processServerKeyExchange};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EJ.prototype.processServerKeyExchange=function(a,b,c,d,e){return this.$val.processServerKeyExchange(a,b,c,d,e);};EJ.ptr.prototype.generateClientKeyExchange=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=[d];e=[e];f=[f];g=[g];h=this;if(h.curveid===0){$s=-1;return[GC.nil,HI.nil,Q.New(\"tls: missing ServerKeyExchange message\")];}i=GC.nil;j=GC.nil;k=i;l=j;if(h.curveid===29){$s=1;continue;}$s=2;continue;case 1:m=FU.zero();n=FU.zero();o=FU.zero();p=FU.zero();d[0]=$clone(m,FU);g[0]=$clone(n,FU);f[0]=$clone(o,FU);e[0]=$clone(p,FU);r=S.ReadFull(a.rand(),new GC(e[0]));$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];if(!($interfaceIsEqual(s,$ifaceNil))){$s=-1;return[GC.nil,HI.nil,s];}$copySlice(new GC(g[0]),h.publicKey);AG.ScalarBaseMult(d[0],e[0]);AG.ScalarMult(f[0],e[0],g[0]);k=new GC(d[0]);l=new GC(f[0]);$s=3;continue;case 2:u=EI(h.curveid);$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!w){$panic(new $String(\"internal error\"));}y=AE.GenerateKey(v,a.rand());$s=6;case 6:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;z=x[0];aa=x[1];ab=x[2];ac=x[3];if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return[GC.nil,HI.nil,ac];}ae=v.ScalarMult(h.x,h.y,z);$s=7;case 7:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;af=ad[0];ag=v.Params();$s=8;case 8:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}l=$makeSlice(GC,(((ag.BitSize+7>>0))>>3>>0));ah=af.Bytes();$copySlice($subslice(l,(l.$length-ah.$length>>0)),ah);ai=AE.Marshal(v,aa,ab);$s=9;case 9:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}k=ai;case 3:aj=new DN.ptr(GC.nil,GC.nil);aj.ciphertext=$makeSlice(GC,(1+k.$length>>0));(ak=aj.ciphertext,(0>=ak.$length?($throwRuntimeError(\"index out of range\"),undefined):ak.$array[ak.$offset+0]=((k.$length<<24>>>24))));$copySlice($subslice(aj.ciphertext,1),k);$s=-1;return[l,aj,$ifaceNil];}return;}if($f===undefined){$f={$blk:EJ.ptr.prototype.generateClientKeyExchange};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EJ.prototype.generateClientKeyExchange=function(a,b,c){return this.$val.generateClientKeyExchange(a,b,c);};EK=function(a){var $ptr,a,b,c,d,e;b=GC.nil;c=GC.nil;b=$subslice(a,0,(d=((a.$length+1>>0))/2,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\")));c=$subslice(a,(e=a.$length/2,(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\")));return[b,c];};EL=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=E.New(d,b);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=f.Write(c);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=f.Sum(GC.nil);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=0;case 4:if(!(j<a.$length)){$s=5;continue;}$r=f.Reset();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=f.Write(i);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=f.Write(c);$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=f.Sum(GC.nil);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n.$length;if((j+o>>0)>a.$length){o=a.$length-j>>0;}$copySlice($subslice(a,j,(j+o>>0)),n);j=j+(o)>>0;$r=f.Reset();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=f.Write(i);$s=11;case 11:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=f.Sum(GC.nil);$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}i=q;$s=4;continue;case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:EL};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};EM=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=G.New;f=AF.New;g=$makeSlice(GC,(c.$length+d.$length>>0));$copySlice(g,c);$copySlice($subslice(g,c.$length),d);h=EK(b);i=h[0];j=h[1];$r=EL(a,i,g,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=$makeSlice(GC,a.$length);$r=EL(k,j,g,e);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=k;m=0;while(true){if(!(m<l.$length)){break;}n=m;o=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]=((((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n])^(o))<<24>>>24));m++;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EM};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};EN=function(a){var $ptr,a;return(function $b(b,c,d,e){var $ptr,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$makeSlice(GC,(d.$length+e.$length>>0));$copySlice(f,d);$copySlice($subslice(f,d.$length),e);$r=EL(b,c,f,a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;});};EO=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=G.New();f=AF.New();g=0;h=0;i=HQ.zero();case 1:if(!(g<a.$length)){$s=2;continue;}j=0;while(true){if(!(j<=h)){break;}((j<0||j>=i.length)?($throwRuntimeError(\"index out of range\"),undefined):i[j]=(65+((h<<24>>>24))<<24>>>24));j=j+(1)>>0;}$r=e.Reset();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=e.Write($subslice(new GC(i),0,(h+1>>0)));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=e.Write(b);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=e.Write(d);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=e.Sum(GC.nil);$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$r=f.Reset();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=f.Write(b);$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=f.Write(o);$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=f.Sum(GC.nil);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}g=g+($copySlice($subslice(a,g),r))>>0;h=h+(1)>>0;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:EO};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};ET=function(a,b){var $ptr,a,b,c;c=a;if(c===(768)){return[EO,0];}else if((c===(769))||(c===(770))){return[EM,0];}else if(c===(771)){if(!(((b.flags&8)===0))){return[EN(P.New384),6];}return[EN(H.New),5];}else{$panic(new $String(\"unknown version\"));}};EU=function(a,b){var $ptr,a,b,c,d;c=ET(a,b);d=c[0];return d;};EV=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$makeSlice(GC,0,(d.$length+e.$length>>0));f=$appendSlice(f,d);f=$appendSlice(f,e);g=$makeSlice(GC,48);$r=EU(a,b)(g,c,EP,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:EV};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};EW=function(a,b,c,d,e,f,g,h){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=GC.nil;j=GC.nil;k=GC.nil;l=GC.nil;m=GC.nil;n=GC.nil;o=$makeSlice(GC,0,(e.$length+d.$length>>0));o=$appendSlice(o,e);o=$appendSlice(o,d);p=(($imul(2,f))+($imul(2,g))>>0)+($imul(2,h))>>0;q=$makeSlice(GC,p);$r=EU(a,b)(q,c,EQ,o);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=$subslice(q,0,f);q=$subslice(q,f);j=$subslice(q,0,f);q=$subslice(q,f);k=$subslice(q,0,g);q=$subslice(q,g);l=$subslice(q,0,g);q=$subslice(q,g);m=$subslice(q,0,h);q=$subslice(q,h);n=$subslice(q,0,h);$s=-1;return[i,j,k,l,m,n];}return;}if($f===undefined){$f={$blk:EW};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};EX=function(a){var $ptr,a,b;b=a;if(b===(2)){return[3,$ifaceNil];}else if(b===(4)){return[5,$ifaceNil];}else if(b===(5)){return[6,$ifaceNil];}else{return[0,Q.New(\"tls: unsupported hash algorithm\")];}};EY=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=GC.nil;if((a===768)||a>=771){c=new GC([]);}d=ET(a,b);e=d[0];f=d[1];if(!((f===0))){$s=1;continue;}$s=2;continue;case 1:g=new M.Hash(f).New();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new M.Hash(f).New();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(g,h,$ifaceNil,$ifaceNil,c,a,e);case 2:$s=-1;return new EZ.ptr(G.New(),G.New(),AF.New(),AF.New(),c,a,e);}return;}if($f===undefined){$f={$blk:EY};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EZ.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;e=d.client.Write(a);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=d.server.Write(a);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;if(d.version<771){$s=3;continue;}$s=4;continue;case 3:g=d.clientMD5.Write(a);$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=d.serverMD5.Write(a);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 4:if(!(d.buffer===GC.nil)){d.buffer=$appendSlice(d.buffer,a);}i=a.$length;j=$ifaceNil;b=i;c=j;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Write=function(a){return this.$val.Write(a);};EZ.ptr.prototype.Sum=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.version>=771){$s=1;continue;}$s=2;continue;case 1:b=a.client.Sum(GC.nil);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;case 2:c=$makeSlice(GC,0,36);d=a.clientMD5.Sum(c);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=a.client.Sum(c);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Sum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Sum=function(){return this.$val.Sum();};FA=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=a.Write(d);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=a.Write(c);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;g=a.Write(new GC(BA));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=a.Sum(GC.nil);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$r=a.Reset();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=a.Write(c);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=a.Write(new GC(BB));$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=a.Write(i);$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=a.Sum(GC.nil);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}i=m;n=b.Write(d);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=b.Write(c);$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=b.Write($subslice(new GC(BA),0,40));$s=12;case 12:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=b.Sum(GC.nil);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;$r=b.Reset();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=b.Write(c);$s=15;case 15:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=b.Write($subslice(new GC(BB),0,40));$s=16;case 16:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;u=b.Write(r);$s=17;case 17:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=b.Sum(GC.nil);$s=18;case 18:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}r=v;w=$makeSlice(GC,(i.$length+r.$length>>0));$copySlice(w,i);$copySlice($subslice(w,i.$length),r);$s=-1;return w;}return;}if($f===undefined){$f={$blk:FA};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};EZ.ptr.prototype.clientSum=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(b.version===768){$s=1;continue;}$s=2;continue;case 1:c=FA(b.clientMD5,b.client,a,new GC(FB));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;case 2:d=$makeSlice(GC,12);e=d;f=a;g=ER;h=$clone(b,EZ).Sum();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$r=b.prf(e,f,g,i);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.clientSum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.clientSum=function(a){return this.$val.clientSum(a);};EZ.ptr.prototype.serverSum=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(b.version===768){$s=1;continue;}$s=2;continue;case 1:c=FA(b.serverMD5,b.server,a,new GC(FC));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;case 2:d=$makeSlice(GC,12);e=d;f=a;g=ES;h=$clone(b,EZ).Sum();$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$r=b.prf(e,f,g,i);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.serverSum};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.serverSum=function(a){return this.$val.serverSum(a);};EZ.ptr.prototype.selectClientCertSignatureAlgorithm=function(a,b){var $ptr,a,b,c,d,e,f;c=this;if(c.version<771){return[new BM.ptr(0,b),$ifaceNil];}d=a;e=0;while(true){if(!(e<d.$length)){break;}f=$clone(((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]),BM);if((f.signature===b)&&CP($clone(f,BM),BN)){return[f,$ifaceNil];}e++;}return[new BM.ptr(0,0),Q.New(\"tls: no supported signature algorithm found for signing client certificate\")];};EZ.prototype.selectClientCertSignatureAlgorithm=function(a,b){return this.$val.selectClientCertSignatureAlgorithm(a,b);};EZ.ptr.prototype.hashForClientCertificate=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(((c.version===768)||c.version>=771)&&c.buffer===GC.nil){$panic(new $String(\"a handshake hash for a client-certificate was requested after discarding the handshake buffer\"));}if(c.version===768){$s=1;continue;}$s=2;continue;case 1:if(!((a.signature===1))){$s=-1;return[GC.nil,0,Q.New(\"tls: unsupported signature type for client certificate\")];}d=AF.New();e=d.Write(c.buffer);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;f=G.New();g=f.Write(c.buffer);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=FA(d,f,b,GC.nil);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return[h,8,$ifaceNil];case 2:if(c.version>=771){$s=6;continue;}$s=7;continue;case 6:i=EX(a.hash);j=i[0];k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[GC.nil,0,k];}l=new M.Hash(j).New();$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=m.Write(c.buffer);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;o=m.Sum(GC.nil);$s=10;case 10:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return[o,j,$ifaceNil];case 7:if(a.signature===3){$s=11;continue;}$s=12;continue;case 11:p=c.server.Sum(GC.nil);$s=13;case 13:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return[p,3,$ifaceNil];case 12:q=$clone(c,EZ).Sum();$s=14;case 14:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return[q,8,$ifaceNil];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.hashForClientCertificate};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.hashForClientCertificate=function(a,b){return this.$val.hashForClientCertificate(a,b);};EZ.ptr.prototype.discardHandshakeBuffer=function(){var $ptr,a;a=this;a.buffer=GC.nil;};EZ.prototype.discardHandshakeBuffer=function(){return this.$val.discardHandshakeBuffer();};FD.ptr.prototype.marshal=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=this;b=(6+a.masterSecret.$length>>0)+2>>0;c=a.certificates;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);b=b+((4+e.$length>>0))>>0;d++;}f=$makeSlice(GC,b);g=f;(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]=(((a.vers>>>8<<16>>>16)<<24>>>24)));(1>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+1]=((a.vers<<24>>>24)));(2>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+2]=(((a.cipherSuite>>>8<<16>>>16)<<24>>>24)));(3>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+3]=((a.cipherSuite<<24>>>24)));(4>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+4]=(((a.masterSecret.$length>>8>>0)<<24>>>24)));(5>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+5]=((a.masterSecret.$length<<24>>>24)));g=$subslice(g,6);$copySlice(g,a.masterSecret);g=$subslice(g,a.masterSecret.$length);(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]=(((a.certificates.$length>>8>>0)<<24>>>24)));(1>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+1]=((a.certificates.$length<<24>>>24)));g=$subslice(g,2);h=a.certificates;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]=(((j.$length>>24>>0)<<24>>>24)));(1>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+1]=(((j.$length>>16>>0)<<24>>>24)));(2>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+2]=(((j.$length>>8>>0)<<24>>>24)));(3>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+3]=((j.$length<<24>>>24)));$copySlice($subslice(g,4),j);g=$subslice(g,(4+j.$length>>0));i++;}return f;};FD.prototype.marshal=function(){return this.$val.marshal();};FD.ptr.prototype.unmarshal=function(a){var $ptr,a,b,c,d,e,f,g,h,i;b=this;if(a.$length<8){return false;}b.vers=(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])<<16>>>16))<<8<<16>>>16)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])<<16>>>16)))>>>0;b.cipherSuite=(((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])<<16>>>16))<<8<<16>>>16)|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])<<16>>>16)))>>>0;c=((((4>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+4])>>0))<<8>>0)|(((5>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+5])>>0));a=$subslice(a,6);if(a.$length<c){return false;}b.masterSecret=$subslice(a,0,c);a=$subslice(a,c);if(a.$length<2){return false;}d=((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<8>>0)|(((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0));a=$subslice(a,2);b.certificates=$makeSlice(GP,d);e=b.certificates;f=0;while(true){if(!(f<e.$length)){break;}g=f;if(a.$length<4){return false;}h=((((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])>>0))<<24>>0)|((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])>>0))<<16>>0))|((((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])>>0))<<8>>0))|(((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3])>>0));a=$subslice(a,4);if(h<0){return false;}if(a.$length<h){return false;}(i=b.certificates,((g<0||g>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+g]=$subslice(a,0,h)));a=$subslice(a,h);f++;}return a.$length===0;};FD.prototype.unmarshal=function(a){return this.$val.unmarshal(a);};CQ.ptr.prototype.encryptTicket=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a.marshal();d=$makeSlice(GC,((32+c.$length>>0)+32>>0));e=$subslice(d,0,16);f=$subslice(d,16,32);g=$subslice(d,(d.$length-32>>0));i=S.ReadFull(b.config.rand(),f);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[GC.nil,j];}l=b.config.ticketKeys();$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=$clone((k=l,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])),BX);$copySlice(e,new GC(m.keyName));n=B.NewCipher(new GC(m.aesKey));o=n[0];p=n[1];if(!($interfaceIsEqual(p,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:q=p.Error();$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=Q.New(\"tls: failed to create cipher while encrypting ticket: \"+q);$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return[GC.nil,r];case 4:s=C.NewCTR(o,f);$s=7;case 7:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=s.XORKeyStream($subslice(d,32),c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=E.New(H.New,new GC(m.hmacKey));$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=u.Write($subslice(d,0,(d.$length-32>>0)));$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;w=u.Sum($subslice(g,0,0));$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;$s=-1;return[d,$ifaceNil];}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.encryptTicket};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.encryptTicket=function(a){return this.$val.encryptTicket(a);};CQ.ptr.prototype.decryptTicket=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(b.config.SessionTicketsDisabled||a.$length<64){$s=-1;return[HO.nil,false];}c=$subslice(a,0,16);d=$subslice(a,16,32);e=$subslice(a,(a.$length-32>>0));f=b.config.ticketKeys();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=-1;i=g;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=$clone(((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]),BX);if(Y.Equal(c,new GC(l.keyName))){h=k;break;}j++;}if(h===-1){$s=-1;return[HO.nil,false];}m=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);n=E.New(H.New,new GC(m.hmacKey));$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=o.Write($subslice(a,0,(a.$length-32>>0)));$s=3;case 3:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=o.Sum(GC.nil);$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;if(!((Z.ConstantTimeCompare(e,r)===1))){$s=-1;return[HO.nil,false];}s=B.NewCipher(new GC(m.aesKey));t=s[0];u=s[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=-1;return[HO.nil,false];}v=$subslice(a,32,(a.$length-32>>0));w=v;x=C.NewCTR(t,d);$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=x.XORKeyStream(w,v);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}y=new FD.ptr(0,0,GC.nil,GP.nil,h>0);z=y.unmarshal(w);$s=-1;return[y,z];}return;}if($f===undefined){$f={$blk:CQ.ptr.prototype.decryptTicket};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CQ.prototype.decryptTicket=function(a){return this.$val.decryptTicket(a);};FE=function(a,b){var $ptr,a,b;return new CQ.ptr(a,false,new W.Mutex.ptr(0,0),GS.nil,$ifaceNil,0,false,b,false,0,false,0,GC.nil,GP.nil,GU.nil,GV.nil,\"\",false,false,$ifaceNil,false,GD.zero(),GD.zero(),\"\",false,new CR.ptr(new W.Mutex.ptr(0,0),$ifaceNil,0,$ifaceNil,$ifaceNil,HR.zero(),GN.nil,HS.zero(),$ifaceNil,$ifaceNil,GC.nil,GC.nil),new CR.ptr(new W.Mutex.ptr(0,0),$ifaceNil,0,$ifaceNil,$ifaceNil,HR.zero(),GN.nil,HS.zero(),$ifaceNil,$ifaceNil,GC.nil,GC.nil),GN.nil,GN.nil,new Y.Buffer.ptr(GC.nil,0,GG.zero(),0),false,GC.nil,new $Int64(0,0),new $Int64(0,0),0,GF.zero());};$pkg.Server=FE;FF=function(a,b){var $ptr,a,b;return new CQ.ptr(a,true,new W.Mutex.ptr(0,0),GS.nil,$ifaceNil,0,false,b,false,0,false,0,GC.nil,GP.nil,GU.nil,GV.nil,\"\",false,false,$ifaceNil,false,GD.zero(),GD.zero(),\"\",false,new CR.ptr(new W.Mutex.ptr(0,0),$ifaceNil,0,$ifaceNil,$ifaceNil,HR.zero(),GN.nil,HS.zero(),$ifaceNil,$ifaceNil,GC.nil,GC.nil),new CR.ptr(new W.Mutex.ptr(0,0),$ifaceNil,0,$ifaceNil,$ifaceNil,HR.zero(),GN.nil,HS.zero(),$ifaceNil,$ifaceNil,GC.nil,GC.nil),GN.nil,GN.nil,new Y.Buffer.ptr(GC.nil,0,GG.zero(),0),false,GC.nil,new $Int64(0,0),new $Int64(0,0),0,GF.zero());};$pkg.Client=FF;FG.ptr.prototype.Accept=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.Listener.Accept();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[$ifaceNil,e];}$s=-1;return[FE(d,a.config),$ifaceNil];}return;}if($f===undefined){$f={$blk:FG.ptr.prototype.Accept};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};FG.prototype.Accept=function(){return this.$val.Accept();};FH=function(a,b){var $ptr,a,b,c;c=new FG.ptr($ifaceNil,FX.nil);c.Listener=a;c.config=b;return c;};$pkg.NewListener=FH;FJ.ptr.prototype.Error=function(){var $ptr;return\"tls: DialWithDialer timed out\";};FJ.prototype.Error=function(){return this.$val.Error();};FJ.ptr.prototype.Timeout=function(){var $ptr;return true;};FJ.prototype.Timeout=function(){return this.$val.Timeout();};FJ.ptr.prototype.Temporary=function(){var $ptr;return true;};FJ.prototype.Temporary=function(){return this.$val.Temporary();};FK=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=a.Timeout;if(!$clone(a.Deadline,X.Time).IsZero()){h=X.Until($clone(a.Deadline,X.Time));if((g.$high===0&&g.$low===0)||(h.$high<g.$high||(h.$high===g.$high&&h.$low<g.$low))){g=h;}}f[0]=$chanNil;if(!((g.$high===0&&g.$low===0))){$s=1;continue;}$s=2;continue;case 1:f[0]=new $Chan($error,2);X.AfterFunc(g,(function(e,f){return function $b(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(f[0],(i=new FJ.ptr(),new i.constructor.elem(i)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};})(e,f));case 2:i=a.Dial(b,c);j=i[0];k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[GX.nil,k];}l=V.LastIndex(c,\":\");if(l===-1){l=c.length;}m=$substring(c,0,l);if(d===FX.nil){d=CJ();}if(d.ServerName===\"\"){$s=3;continue;}$s=4;continue;case 3:n=d.Clone();$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;o.ServerName=m;d=o;case 4:e[0]=FF(j,d);if((g.$high===0&&g.$low===0)){$s=6;continue;}$s=7;continue;case 6:p=e[0].Handshake();$s=9;case 9:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}k=p;$s=8;continue;case 7:$go((function(e,f){return function $b(){var $ptr,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:q=e[0].Handshake();$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$r=$send(f[0],q);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};})(e,f),[]);q=$recv(f[0]);$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}k=q[0];case 8:if(!($interfaceIsEqual(k,$ifaceNil))){$s=11;continue;}$s=12;continue;case 11:r=j.Close();$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;$s=-1;return[GX.nil,k];case 12:$s=-1;return[e[0],$ifaceNil];}return;}if($f===undefined){$f={$blk:FK};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DialWithDialer=FK;FL=function(a,b,c){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=FK(new U.Dialer.ptr(new X.Duration(0,0),new X.Time.ptr(new $Int64(0,0),0,HA.nil),$ifaceNil,false,new X.Duration(0,0),new X.Duration(0,0),HT.nil,$chanNil),a,b,c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:FL};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Dial=FL;FM=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=AI.ReadFile(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[new CB.ptr(GP.nil,$ifaceNil,GC.nil,GP.nil,GT.nil),f];}h=AI.ReadFile(b);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];f=g[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[new CB.ptr(GP.nil,$ifaceNil,GC.nil,GP.nil,GT.nil),f];}j=FN(e,i);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:FM};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.LoadX509KeyPair=FM;FN=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=(function(c){var $ptr,c;return[new CB.ptr(GP.nil,$ifaceNil,GC.nil,GP.nil,GT.nil),c];});d=new CB.ptr(GP.nil,$ifaceNil,GC.nil,GP.nil,GT.nil);e=FS.nil;case 1:f=HU.nil;h=AH.Decode(a);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;f=g[0];a=g[1];if(f===HU.nil){$s=2;continue;}if(f.Type===\"CERTIFICATE\"){d.Certificate=$append(d.Certificate,f.Bytes);}else{e=$append(e,f.Type);}$s=1;continue;case 2:if(d.Certificate.$length===0){$s=4;continue;}$s=5;continue;case 4:if(e.$length===0){$s=6;continue;}$s=7;continue;case 6:i=c(Q.New(\"tls: failed to find any PEM data in certificate input\"));$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;case 7:if((e.$length===1)&&V.HasSuffix((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]),\"PRIVATE KEY\")){$s=9;continue;}$s=10;continue;case 9:j=c(Q.New(\"tls: failed to find certificate PEM data in certificate input, but did find a private key; PEM inputs may have been switched\"));$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;case 10:k=R.Errorf(\"tls: failed to find \\\"CERTIFICATE\\\" PEM block in certificate input after skipping PEM blocks of the following types: %v\",new GI([e]));$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=c(k);$s=13;case 13:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;case 5:e=$subslice(e,0,0);m=HU.nil;case 14:o=AH.Decode(b);$s=16;case 16:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;m=n[0];b=n[1];if(m===HU.nil){$s=17;continue;}$s=18;continue;case 17:if(e.$length===0){$s=19;continue;}$s=20;continue;case 19:p=c(Q.New(\"tls: failed to find any PEM data in key input\"));$s=21;case 21:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return p;case 20:if((e.$length===1)&&(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])===\"CERTIFICATE\"){$s=22;continue;}$s=23;continue;case 22:q=c(Q.New(\"tls: found a certificate rather than a key in the PEM for the private key\"));$s=24;case 24:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;case 23:r=R.Errorf(\"tls: failed to find PEM block with type ending in \\\"PRIVATE KEY\\\" in key input after skipping PEM blocks of the following types: %v\",new GI([e]));$s=25;case 25:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=c(r);$s=26;case 26:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;case 18:if(m.Type===\"PRIVATE KEY\"||V.HasSuffix(m.Type,\" PRIVATE KEY\")){$s=15;continue;}e=$append(e,m.Type);$s=14;continue;case 15:t=$ifaceNil;v=FO(m.Bytes);$s=27;case 27:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;d.PrivateKey=u[0];t=u[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=28;continue;}$s=29;continue;case 28:w=c(t);$s=30;case 30:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;case 29:z=I.ParseCertificate((y=d.Certificate,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])));$s=31;case 31:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}x=z;aa=x[0];t=x[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=32;continue;}$s=33;continue;case 32:ab=c(t);$s=34;case 34:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}$s=-1;return ab;case 33:ac=aa.PublicKey;if($assertType(ac,HC,true)[1]){$s=35;continue;}if($assertType(ac,HD,true)[1]){$s=36;continue;}$s=37;continue;case 35:ad=ac.$val;ag=$assertType(d.PrivateKey,HV,true);ah=ag[0];ai=ag[1];if(!ai){$s=39;continue;}$s=40;continue;case 39:aj=c(Q.New(\"tls: private key type does not match public key type\"));$s=41;case 41:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}$s=-1;return aj;case 40:if(!((ad.N.Cmp(ah.PublicKey.N)===0))){$s=42;continue;}$s=43;continue;case 42:ak=c(Q.New(\"tls: private key does not match public key\"));$s=44;case 44:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}$s=-1;return ak;case 43:$s=38;continue;case 36:ae=ac.$val;al=$assertType(d.PrivateKey,HW,true);am=al[0];an=al[1];if(!an){$s=45;continue;}$s=46;continue;case 45:ao=c(Q.New(\"tls: private key type does not match public key type\"));$s=47;case 47:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 46:if(!((ae.X.Cmp(am.PublicKey.X)===0))||!((ae.Y.Cmp(am.PublicKey.Y)===0))){$s=48;continue;}$s=49;continue;case 48:ap=c(Q.New(\"tls: private key does not match public key\"));$s=50;case 50:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 49:$s=38;continue;case 37:af=ac;aq=c(Q.New(\"tls: unknown public key algorithm\"));$s=51;case 51:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;case 38:$s=-1;return[d,$ifaceNil];}return;}if($f===undefined){$f={$blk:FN};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.X509KeyPair=FN;FO=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=I.ParsePKCS1PrivateKey(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if($interfaceIsEqual(e,$ifaceNil)){$s=-1;return[d,$ifaceNil];}g=I.ParsePKCS8PrivateKey(a);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if($interfaceIsEqual(i,$ifaceNil)){j=h;if($assertType(j,HV,true)[1]||$assertType(j,HW,true)[1]){k=j;$s=-1;return[k,$ifaceNil];}else{l=j;$s=-1;return[$ifaceNil,Q.New(\"tls: found unknown private key type in PKCS#8 wrapping\")];}}n=I.ParseECPrivateKey(a);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if($interfaceIsEqual(p,$ifaceNil)){$s=-1;return[o,$ifaceNil];}$s=-1;return[$ifaceNil,Q.New(\"tls: failed to parse private key\")];}return;}if($f===undefined){$f={$blk:FO};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};AJ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];IB.methods=[{prop:\"NonceSize\",name:\"NonceSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Overhead\",name:\"Overhead\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"explicitNonceLen\",name:\"explicitNonceLen\",pkg:\"crypto/tls\",typ:$funcType([],[$Int],false)},{prop:\"Seal\",name:\"Seal\",pkg:\"\",typ:$funcType([GC,GC,GC,GC],[GC],false)},{prop:\"Open\",name:\"Open\",pkg:\"\",typ:$funcType([GC,GC,GC,GC],[GC,$error],false)}];IC.methods=[{prop:\"NonceSize\",name:\"NonceSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Overhead\",name:\"Overhead\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"explicitNonceLen\",name:\"explicitNonceLen\",pkg:\"crypto/tls\",typ:$funcType([],[$Int],false)},{prop:\"Seal\",name:\"Seal\",pkg:\"\",typ:$funcType([GC,GC,GC,GC],[GC],false)},{prop:\"Open\",name:\"Open\",pkg:\"\",typ:$funcType([GC,GC,GC,GC],[GC,$error],false)}];AZ.methods=[{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MAC\",name:\"MAC\",pkg:\"\",typ:$funcType([GC,GC,GC,GC,GC],[GC],false)}];ID.methods=[{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([GC],[$Int,$error],false)},{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([GC],[GC],false)}];BF.methods=[{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MAC\",name:\"MAC\",pkg:\"\",typ:$funcType([GC,GC,GC,GC,GC],[GC],false)}];FX.methods=[{prop:\"Clone\",name:\"Clone\",pkg:\"\",typ:$funcType([],[FX],false)},{prop:\"serverInit\",name:\"serverInit\",pkg:\"crypto/tls\",typ:$funcType([],[],false)},{prop:\"ticketKeys\",name:\"ticketKeys\",pkg:\"crypto/tls\",typ:$funcType([],[FW],false)},{prop:\"SetSessionTicketKeys\",name:\"SetSessionTicketKeys\",pkg:\"\",typ:$funcType([IE],[],false)},{prop:\"rand\",name:\"rand\",pkg:\"crypto/tls\",typ:$funcType([],[S.Reader],false)},{prop:\"time\",name:\"time\",pkg:\"crypto/tls\",typ:$funcType([],[X.Time],false)},{prop:\"cipherSuites\",name:\"cipherSuites\",pkg:\"crypto/tls\",typ:$funcType([],[FT],false)},{prop:\"minVersion\",name:\"minVersion\",pkg:\"crypto/tls\",typ:$funcType([],[$Uint16],false)},{prop:\"maxVersion\",name:\"maxVersion\",pkg:\"crypto/tls\",typ:$funcType([],[$Uint16],false)},{prop:\"curvePreferences\",name:\"curvePreferences\",pkg:\"crypto/tls\",typ:$funcType([],[FV],false)},{prop:\"mutualVersion\",name:\"mutualVersion\",pkg:\"crypto/tls\",typ:$funcType([$Uint16],[$Uint16,$Bool],false)},{prop:\"getCertificate\",name:\"getCertificate\",pkg:\"crypto/tls\",typ:$funcType([HP],[GH,$error],false)},{prop:\"BuildNameToCertificate\",name:\"BuildNameToCertificate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"writeKeyLog\",name:\"writeKeyLog\",pkg:\"crypto/tls\",typ:$funcType([GC,GC],[$error],false)}];GX.methods=[{prop:\"LocalAddr\",name:\"LocalAddr\",pkg:\"\",typ:$funcType([],[U.Addr],false)},{prop:\"RemoteAddr\",name:\"RemoteAddr\",pkg:\"\",typ:$funcType([],[U.Addr],false)},{prop:\"SetDeadline\",name:\"SetDeadline\",pkg:\"\",typ:$funcType([X.Time],[$error],false)},{prop:\"SetReadDeadline\",name:\"SetReadDeadline\",pkg:\"\",typ:$funcType([X.Time],[$error],false)},{prop:\"SetWriteDeadline\",name:\"SetWriteDeadline\",pkg:\"\",typ:$funcType([X.Time],[$error],false)},{prop:\"newRecordHeaderError\",name:\"newRecordHeaderError\",pkg:\"crypto/tls\",typ:$funcType([$String],[CY],false)},{prop:\"readRecord\",name:\"readRecord\",pkg:\"crypto/tls\",typ:$funcType([BK],[$error],false)},{prop:\"sendAlertLocked\",name:\"sendAlertLocked\",pkg:\"crypto/tls\",typ:$funcType([AJ],[$error],false)},{prop:\"sendAlert\",name:\"sendAlert\",pkg:\"crypto/tls\",typ:$funcType([AJ],[$error],false)},{prop:\"maxPayloadSizeForWrite\",name:\"maxPayloadSizeForWrite\",pkg:\"crypto/tls\",typ:$funcType([BK,$Int],[$Int],false)},{prop:\"write\",name:\"write\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Int,$error],false)},{prop:\"flush\",name:\"flush\",pkg:\"crypto/tls\",typ:$funcType([],[$Int,$error],false)},{prop:\"writeRecordLocked\",name:\"writeRecordLocked\",pkg:\"crypto/tls\",typ:$funcType([BK,GC],[$Int,$error],false)},{prop:\"writeRecord\",name:\"writeRecord\",pkg:\"crypto/tls\",typ:$funcType([BK,GC],[$Int,$error],false)},{prop:\"readHandshake\",name:\"readHandshake\",pkg:\"crypto/tls\",typ:$funcType([],[$emptyInterface,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([GC],[$Int,$error],false)},{prop:\"handleRenegotiation\",name:\"handleRenegotiation\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([GC],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"CloseWrite\",name:\"CloseWrite\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"closeNotify\",name:\"closeNotify\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"Handshake\",name:\"Handshake\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ConnectionState\",name:\"ConnectionState\",pkg:\"\",typ:$funcType([],[BO],false)},{prop:\"OCSPResponse\",name:\"OCSPResponse\",pkg:\"\",typ:$funcType([],[GC],false)},{prop:\"VerifyHostname\",name:\"VerifyHostname\",pkg:\"\",typ:$funcType([$String],[$error],false)},{prop:\"clientHandshake\",name:\"clientHandshake\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"serverHandshake\",name:\"serverHandshake\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"encryptTicket\",name:\"encryptTicket\",pkg:\"crypto/tls\",typ:$funcType([HO],[GC,$error],false)},{prop:\"decryptTicket\",name:\"decryptTicket\",pkg:\"crypto/tls\",typ:$funcType([GC],[HO,$Bool],false)}];IO.methods=[{prop:\"setErrorLocked\",name:\"setErrorLocked\",pkg:\"crypto/tls\",typ:$funcType([$error],[$error],false)},{prop:\"prepareCipherSpec\",name:\"prepareCipherSpec\",pkg:\"crypto/tls\",typ:$funcType([$Uint16,$emptyInterface,AT],[],false)},{prop:\"changeCipherSpec\",name:\"changeCipherSpec\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"incSeq\",name:\"incSeq\",pkg:\"crypto/tls\",typ:$funcType([],[],false)},{prop:\"decrypt\",name:\"decrypt\",pkg:\"crypto/tls\",typ:$funcType([GN],[$Bool,$Int,AJ],false)},{prop:\"encrypt\",name:\"encrypt\",pkg:\"crypto/tls\",typ:$funcType([GN,$Int],[$Bool,AJ],false)},{prop:\"newBlock\",name:\"newBlock\",pkg:\"crypto/tls\",typ:$funcType([],[GN],false)},{prop:\"freeBlock\",name:\"freeBlock\",pkg:\"crypto/tls\",typ:$funcType([GN],[],false)},{prop:\"splitBlock\",name:\"splitBlock\",pkg:\"crypto/tls\",typ:$funcType([GN,$Int],[GN,GN],false)}];GN.methods=[{prop:\"resize\",name:\"resize\",pkg:\"crypto/tls\",typ:$funcType([$Int],[],false)},{prop:\"reserve\",name:\"reserve\",pkg:\"crypto/tls\",typ:$funcType([$Int],[],false)},{prop:\"readFromUntil\",name:\"readFromUntil\",pkg:\"crypto/tls\",typ:$funcType([S.Reader,$Int],[$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([GC],[$Int,$error],false)}];CY.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];IP.methods=[{prop:\"doFullHandshake\",name:\"doFullHandshake\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"establishKeys\",name:\"establishKeys\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"serverResumedSession\",name:\"serverResumedSession\",pkg:\"crypto/tls\",typ:$funcType([],[$Bool],false)},{prop:\"processServerHello\",name:\"processServerHello\",pkg:\"crypto/tls\",typ:$funcType([],[$Bool,$error],false)},{prop:\"readFinished\",name:\"readFinished\",pkg:\"crypto/tls\",typ:$funcType([GC],[$error],false)},{prop:\"readSessionTicket\",name:\"readSessionTicket\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"sendFinished\",name:\"sendFinished\",pkg:\"crypto/tls\",typ:$funcType([GC],[$error],false)},{prop:\"getCertificate\",name:\"getCertificate\",pkg:\"crypto/tls\",typ:$funcType([HG],[GH,$error],false)}];GY.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];GW.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];GZ.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HF.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HE.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HH.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HI.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HK.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HM.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HG.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HN.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];HL.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];GR.methods=[{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];IQ.methods=[{prop:\"readClientHello\",name:\"readClientHello\",pkg:\"crypto/tls\",typ:$funcType([],[$Bool,$error],false)},{prop:\"checkForResumption\",name:\"checkForResumption\",pkg:\"crypto/tls\",typ:$funcType([],[$Bool],false)},{prop:\"doResumeHandshake\",name:\"doResumeHandshake\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"doFullHandshake\",name:\"doFullHandshake\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"establishKeys\",name:\"establishKeys\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"readFinished\",name:\"readFinished\",pkg:\"crypto/tls\",typ:$funcType([GC],[$error],false)},{prop:\"sendSessionTicket\",name:\"sendSessionTicket\",pkg:\"crypto/tls\",typ:$funcType([],[$error],false)},{prop:\"sendFinished\",name:\"sendFinished\",pkg:\"crypto/tls\",typ:$funcType([GC],[$error],false)},{prop:\"processCertsFromClient\",name:\"processCertsFromClient\",pkg:\"crypto/tls\",typ:$funcType([GP],[M.PublicKey,$error],false)},{prop:\"setCipherSuite\",name:\"setCipherSuite\",pkg:\"crypto/tls\",typ:$funcType([$Uint16,FT,$Uint16],[$Bool],false)},{prop:\"clientHelloInfo\",name:\"clientHelloInfo\",pkg:\"crypto/tls\",typ:$funcType([],[HP],false)}];ED.methods=[{prop:\"generateServerKeyExchange\",name:\"generateServerKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GH,GY,GW],[HF,$error],false)},{prop:\"processClientKeyExchange\",name:\"processClientKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GH,HI,$Uint16],[GC,$error],false)},{prop:\"processServerKeyExchange\",name:\"processServerKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GY,GW,GT,HF],[$error],false)},{prop:\"generateClientKeyExchange\",name:\"generateClientKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GY,GT],[GC,HI,$error],false)}];IR.methods=[{prop:\"generateServerKeyExchange\",name:\"generateServerKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GH,GY,GW],[HF,$error],false)},{prop:\"processClientKeyExchange\",name:\"processClientKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GH,HI,$Uint16],[GC,$error],false)},{prop:\"processServerKeyExchange\",name:\"processServerKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GY,GW,GT,HF],[$error],false)},{prop:\"generateClientKeyExchange\",name:\"generateClientKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GY,GT],[GC,HI,$error],false)}];EZ.methods=[{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([],[GC],false)},{prop:\"clientSum\",name:\"clientSum\",pkg:\"crypto/tls\",typ:$funcType([GC],[GC],false)},{prop:\"serverSum\",name:\"serverSum\",pkg:\"crypto/tls\",typ:$funcType([GC],[GC],false)},{prop:\"selectClientCertSignatureAlgorithm\",name:\"selectClientCertSignatureAlgorithm\",pkg:\"crypto/tls\",typ:$funcType([GA,$Uint8],[BM,$error],false)},{prop:\"hashForClientCertificate\",name:\"hashForClientCertificate\",pkg:\"crypto/tls\",typ:$funcType([BM,GC],[GC,M.Hash,$error],false)}];IS.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([GC],[$Int,$error],false)},{prop:\"discardHandshakeBuffer\",name:\"discardHandshakeBuffer\",pkg:\"crypto/tls\",typ:$funcType([],[],false)}];HO.methods=[{prop:\"equal\",name:\"equal\",pkg:\"crypto/tls\",typ:$funcType([$emptyInterface],[$Bool],false)},{prop:\"marshal\",name:\"marshal\",pkg:\"crypto/tls\",typ:$funcType([],[GC],false)},{prop:\"unmarshal\",name:\"unmarshal\",pkg:\"crypto/tls\",typ:$funcType([GC],[$Bool],false)}];IU.methods=[{prop:\"Accept\",name:\"Accept\",pkg:\"\",typ:$funcType([],[U.Conn,$error],false)}];FJ.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];AL.init([{prop:\"generateClientKeyExchange\",name:\"generateClientKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GY,GT],[GC,HI,$error],false)},{prop:\"generateServerKeyExchange\",name:\"generateServerKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GH,GY,GW],[HF,$error],false)},{prop:\"processClientKeyExchange\",name:\"processClientKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GH,HI,$Uint16],[GC,$error],false)},{prop:\"processServerKeyExchange\",name:\"processServerKeyExchange\",pkg:\"crypto/tls\",typ:$funcType([FX,GY,GW,GT,HF],[$error],false)}]);AM.init(\"crypto/tls\",[{prop:\"id\",name:\"id\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"keyLen\",name:\"keyLen\",exported:false,typ:$Int,tag:\"\"},{prop:\"macLen\",name:\"macLen\",exported:false,typ:$Int,tag:\"\"},{prop:\"ivLen\",name:\"ivLen\",exported:false,typ:$Int,tag:\"\"},{prop:\"ka\",name:\"ka\",exported:false,typ:HX,tag:\"\"},{prop:\"flags\",name:\"flags\",exported:false,typ:$Int,tag:\"\"},{prop:\"cipher\",name:\"cipher\",exported:false,typ:HY,tag:\"\"},{prop:\"mac\",name:\"mac\",exported:false,typ:HZ,tag:\"\"},{prop:\"aead\",name:\"aead\",exported:false,typ:IA,tag:\"\"}]);AT.init([{prop:\"MAC\",name:\"MAC\",pkg:\"\",typ:$funcType([GC,GC,GC,GC,GC],[GC],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)}]);AU.init([{prop:\"NonceSize\",name:\"NonceSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Open\",name:\"Open\",pkg:\"\",typ:$funcType([GC,GC,GC,GC],[GC,$error],false)},{prop:\"Overhead\",name:\"Overhead\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Seal\",name:\"Seal\",pkg:\"\",typ:$funcType([GC,GC,GC,GC],[GC],false)},{prop:\"explicitNonceLen\",name:\"explicitNonceLen\",pkg:\"crypto/tls\",typ:$funcType([],[$Int],false)}]);AV.init(\"crypto/tls\",[{prop:\"nonce\",name:\"nonce\",exported:false,typ:GD,tag:\"\"},{prop:\"aead\",name:\"aead\",exported:false,typ:C.AEAD,tag:\"\"}]);AW.init(\"crypto/tls\",[{prop:\"nonceMask\",name:\"nonceMask\",exported:false,typ:GD,tag:\"\"},{prop:\"aead\",name:\"aead\",exported:false,typ:C.AEAD,tag:\"\"}]);AZ.init(\"crypto/tls\",[{prop:\"h\",name:\"h\",exported:false,typ:J.Hash,tag:\"\"},{prop:\"key\",name:\"key\",exported:false,typ:GC,tag:\"\"}]);BC.init([{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ConstantTimeSum\",name:\"ConstantTimeSum\",pkg:\"\",typ:$funcType([GC],[GC],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Sum\",name:\"Sum\",pkg:\"\",typ:$funcType([GC],[GC],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([GC],[$Int,$error],false)}]);BD.init(\"crypto/tls\",[{prop:\"h\",name:\"h\",exported:false,typ:BC,tag:\"\"}]);BF.init(\"crypto/tls\",[{prop:\"h\",name:\"h\",exported:false,typ:J.Hash,tag:\"\"}]);BM.init(\"crypto/tls\",[{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"signature\",name:\"signature\",exported:false,typ:$Uint8,tag:\"\"}]);BO.init(\"\",[{prop:\"Version\",name:\"Version\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"HandshakeComplete\",name:\"HandshakeComplete\",exported:true,typ:$Bool,tag:\"\"},{prop:\"DidResume\",name:\"DidResume\",exported:true,typ:$Bool,tag:\"\"},{prop:\"CipherSuite\",name:\"CipherSuite\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"NegotiatedProtocol\",name:\"NegotiatedProtocol\",exported:true,typ:$String,tag:\"\"},{prop:\"NegotiatedProtocolIsMutual\",name:\"NegotiatedProtocolIsMutual\",exported:true,typ:$Bool,tag:\"\"},{prop:\"ServerName\",name:\"ServerName\",exported:true,typ:$String,tag:\"\"},{prop:\"PeerCertificates\",name:\"PeerCertificates\",exported:true,typ:GU,tag:\"\"},{prop:\"VerifiedChains\",name:\"VerifiedChains\",exported:true,typ:GV,tag:\"\"},{prop:\"SignedCertificateTimestamps\",name:\"SignedCertificateTimestamps\",exported:true,typ:GP,tag:\"\"},{prop:\"OCSPResponse\",name:\"OCSPResponse\",exported:true,typ:GC,tag:\"\"},{prop:\"TLSUnique\",name:\"TLSUnique\",exported:true,typ:GC,tag:\"\"}]);BQ.init(\"crypto/tls\",[{prop:\"sessionTicket\",name:\"sessionTicket\",exported:false,typ:GC,tag:\"\"},{prop:\"vers\",name:\"vers\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"cipherSuite\",name:\"cipherSuite\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"masterSecret\",name:\"masterSecret\",exported:false,typ:GC,tag:\"\"},{prop:\"serverCertificates\",name:\"serverCertificates\",exported:false,typ:GU,tag:\"\"},{prop:\"verifiedChains\",name:\"verifiedChains\",exported:false,typ:GV,tag:\"\"}]);BR.init([{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[GM,$Bool],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$String,GM],[],false)}]);BT.init(\"\",[{prop:\"CipherSuites\",name:\"CipherSuites\",exported:true,typ:FT,tag:\"\"},{prop:\"ServerName\",name:\"ServerName\",exported:true,typ:$String,tag:\"\"},{prop:\"SupportedCurves\",name:\"SupportedCurves\",exported:true,typ:FV,tag:\"\"},{prop:\"SupportedPoints\",name:\"SupportedPoints\",exported:true,typ:GC,tag:\"\"},{prop:\"SignatureSchemes\",name:\"SignatureSchemes\",exported:true,typ:GB,tag:\"\"},{prop:\"SupportedProtos\",name:\"SupportedProtos\",exported:true,typ:FS,tag:\"\"},{prop:\"SupportedVersions\",name:\"SupportedVersions\",exported:true,typ:FT,tag:\"\"},{prop:\"Conn\",name:\"Conn\",exported:true,typ:U.Conn,tag:\"\"}]);BU.init(\"\",[{prop:\"AcceptableCAs\",name:\"AcceptableCAs\",exported:true,typ:GP,tag:\"\"},{prop:\"SignatureSchemes\",name:\"SignatureSchemes\",exported:true,typ:GB,tag:\"\"}]);BW.init(\"crypto/tls\",[{prop:\"Rand\",name:\"Rand\",exported:true,typ:S.Reader,tag:\"\"},{prop:\"Time\",name:\"Time\",exported:true,typ:IF,tag:\"\"},{prop:\"Certificates\",name:\"Certificates\",exported:true,typ:FQ,tag:\"\"},{prop:\"NameToCertificate\",name:\"NameToCertificate\",exported:true,typ:IG,tag:\"\"},{prop:\"GetCertificate\",name:\"GetCertificate\",exported:true,typ:IH,tag:\"\"},{prop:\"GetClientCertificate\",name:\"GetClientCertificate\",exported:true,typ:IJ,tag:\"\"},{prop:\"GetConfigForClient\",name:\"GetConfigForClient\",exported:true,typ:IK,tag:\"\"},{prop:\"VerifyPeerCertificate\",name:\"VerifyPeerCertificate\",exported:true,typ:IL,tag:\"\"},{prop:\"RootCAs\",name:\"RootCAs\",exported:true,typ:FR,tag:\"\"},{prop:\"NextProtos\",name:\"NextProtos\",exported:true,typ:FS,tag:\"\"},{prop:\"ServerName\",name:\"ServerName\",exported:true,typ:$String,tag:\"\"},{prop:\"ClientAuth\",name:\"ClientAuth\",exported:true,typ:BP,tag:\"\"},{prop:\"ClientCAs\",name:\"ClientCAs\",exported:true,typ:FR,tag:\"\"},{prop:\"InsecureSkipVerify\",name:\"InsecureSkipVerify\",exported:true,typ:$Bool,tag:\"\"},{prop:\"CipherSuites\",name:\"CipherSuites\",exported:true,typ:FT,tag:\"\"},{prop:\"PreferServerCipherSuites\",name:\"PreferServerCipherSuites\",exported:true,typ:$Bool,tag:\"\"},{prop:\"SessionTicketsDisabled\",name:\"SessionTicketsDisabled\",exported:true,typ:$Bool,tag:\"\"},{prop:\"SessionTicketKey\",name:\"SessionTicketKey\",exported:true,typ:FU,tag:\"\"},{prop:\"ClientSessionCache\",name:\"ClientSessionCache\",exported:true,typ:BR,tag:\"\"},{prop:\"MinVersion\",name:\"MinVersion\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"MaxVersion\",name:\"MaxVersion\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"CurvePreferences\",name:\"CurvePreferences\",exported:true,typ:FV,tag:\"\"},{prop:\"DynamicRecordSizingDisabled\",name:\"DynamicRecordSizingDisabled\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Renegotiation\",name:\"Renegotiation\",exported:true,typ:BV,tag:\"\"},{prop:\"KeyLogWriter\",name:\"KeyLogWriter\",exported:true,typ:S.Writer,tag:\"\"},{prop:\"serverInitOnce\",name:\"serverInitOnce\",exported:false,typ:W.Once,tag:\"\"},{prop:\"mutex\",name:\"mutex\",exported:false,typ:W.RWMutex,tag:\"\"},{prop:\"sessionTicketKeys\",name:\"sessionTicketKeys\",exported:false,typ:FW,tag:\"\"},{prop:\"originalConfig\",name:\"originalConfig\",exported:false,typ:FX,tag:\"\"}]);BX.init(\"crypto/tls\",[{prop:\"keyName\",name:\"keyName\",exported:false,typ:GF,tag:\"\"},{prop:\"aesKey\",name:\"aesKey\",exported:false,typ:GF,tag:\"\"},{prop:\"hmacKey\",name:\"hmacKey\",exported:false,typ:GF,tag:\"\"}]);CB.init(\"\",[{prop:\"Certificate\",name:\"Certificate\",exported:true,typ:GP,tag:\"\"},{prop:\"PrivateKey\",name:\"PrivateKey\",exported:true,typ:M.PrivateKey,tag:\"\"},{prop:\"OCSPStaple\",name:\"OCSPStaple\",exported:true,typ:GC,tag:\"\"},{prop:\"SignedCertificateTimestamps\",name:\"SignedCertificateTimestamps\",exported:true,typ:GP,tag:\"\"},{prop:\"Leaf\",name:\"Leaf\",exported:true,typ:GT,tag:\"\"}]);CH.init(\"\",[{prop:\"R\",name:\"R\",exported:true,typ:GE,tag:\"\"},{prop:\"S\",name:\"S\",exported:true,typ:GE,tag:\"\"}]);CQ.init(\"crypto/tls\",[{prop:\"conn\",name:\"conn\",exported:false,typ:U.Conn,tag:\"\"},{prop:\"isClient\",name:\"isClient\",exported:false,typ:$Bool,tag:\"\"},{prop:\"handshakeMutex\",name:\"handshakeMutex\",exported:false,typ:W.Mutex,tag:\"\"},{prop:\"handshakeCond\",name:\"handshakeCond\",exported:false,typ:GS,tag:\"\"},{prop:\"handshakeErr\",name:\"handshakeErr\",exported:false,typ:$error,tag:\"\"},{prop:\"vers\",name:\"vers\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"haveVers\",name:\"haveVers\",exported:false,typ:$Bool,tag:\"\"},{prop:\"config\",name:\"config\",exported:false,typ:FX,tag:\"\"},{prop:\"handshakeComplete\",name:\"handshakeComplete\",exported:false,typ:$Bool,tag:\"\"},{prop:\"handshakes\",name:\"handshakes\",exported:false,typ:$Int,tag:\"\"},{prop:\"didResume\",name:\"didResume\",exported:false,typ:$Bool,tag:\"\"},{prop:\"cipherSuite\",name:\"cipherSuite\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"ocspResponse\",name:\"ocspResponse\",exported:false,typ:GC,tag:\"\"},{prop:\"scts\",name:\"scts\",exported:false,typ:GP,tag:\"\"},{prop:\"peerCertificates\",name:\"peerCertificates\",exported:false,typ:GU,tag:\"\"},{prop:\"verifiedChains\",name:\"verifiedChains\",exported:false,typ:GV,tag:\"\"},{prop:\"serverName\",name:\"serverName\",exported:false,typ:$String,tag:\"\"},{prop:\"secureRenegotiation\",name:\"secureRenegotiation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"clientFinishedIsFirst\",name:\"clientFinishedIsFirst\",exported:false,typ:$Bool,tag:\"\"},{prop:\"closeNotifyErr\",name:\"closeNotifyErr\",exported:false,typ:$error,tag:\"\"},{prop:\"closeNotifySent\",name:\"closeNotifySent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"clientFinished\",name:\"clientFinished\",exported:false,typ:GD,tag:\"\"},{prop:\"serverFinished\",name:\"serverFinished\",exported:false,typ:GD,tag:\"\"},{prop:\"clientProtocol\",name:\"clientProtocol\",exported:false,typ:$String,tag:\"\"},{prop:\"clientProtocolFallback\",name:\"clientProtocolFallback\",exported:false,typ:$Bool,tag:\"\"},{prop:\"in$25\",name:\"in\",exported:false,typ:CR,tag:\"\"},{prop:\"out\",name:\"out\",exported:false,typ:CR,tag:\"\"},{prop:\"rawInput\",name:\"rawInput\",exported:false,typ:GN,tag:\"\"},{prop:\"input\",name:\"input\",exported:false,typ:GN,tag:\"\"},{prop:\"hand\",name:\"hand\",exported:false,typ:Y.Buffer,tag:\"\"},{prop:\"buffering\",name:\"buffering\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sendBuf\",name:\"sendBuf\",exported:false,typ:GC,tag:\"\"},{prop:\"bytesSent\",name:\"bytesSent\",exported:false,typ:$Int64,tag:\"\"},{prop:\"packetsSent\",name:\"packetsSent\",exported:false,typ:$Int64,tag:\"\"},{prop:\"activeCall\",name:\"activeCall\",exported:false,typ:$Int32,tag:\"\"},{prop:\"tmp\",name:\"tmp\",exported:false,typ:GF,tag:\"\"}]);CR.init(\"crypto/tls\",[{prop:\"Mutex\",name:\"\",exported:true,typ:W.Mutex,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"version\",name:\"version\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"cipher\",name:\"cipher\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"mac\",name:\"mac\",exported:false,typ:AT,tag:\"\"},{prop:\"seq\",name:\"seq\",exported:false,typ:HR,tag:\"\"},{prop:\"bfree\",name:\"bfree\",exported:false,typ:GN,tag:\"\"},{prop:\"additionalData\",name:\"additionalData\",exported:false,typ:HS,tag:\"\"},{prop:\"nextCipher\",name:\"nextCipher\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"nextMac\",name:\"nextMac\",exported:false,typ:AT,tag:\"\"},{prop:\"inDigestBuf\",name:\"inDigestBuf\",exported:false,typ:GC,tag:\"\"},{prop:\"outDigestBuf\",name:\"outDigestBuf\",exported:false,typ:GC,tag:\"\"}]);CV.init([{prop:\"BlockSize\",name:\"BlockSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"CryptBlocks\",name:\"CryptBlocks\",pkg:\"\",typ:$funcType([GC,GC],[],false)},{prop:\"SetIV\",name:\"SetIV\",pkg:\"\",typ:$funcType([GC],[],false)}]);CX.init(\"crypto/tls\",[{prop:\"data\",name:\"data\",exported:false,typ:GC,tag:\"\"},{prop:\"off\",name:\"off\",exported:false,typ:$Int,tag:\"\"},{prop:\"link\",name:\"link\",exported:false,typ:GN,tag:\"\"}]);CY.init(\"\",[{prop:\"Msg\",name:\"Msg\",exported:true,typ:$String,tag:\"\"},{prop:\"RecordHeader\",name:\"RecordHeader\",exported:true,typ:GO,tag:\"\"}]);DC.init(\"crypto/tls\",[{prop:\"c\",name:\"c\",exported:false,typ:GX,tag:\"\"},{prop:\"serverHello\",name:\"serverHello\",exported:false,typ:GW,tag:\"\"},{prop:\"hello\",name:\"hello\",exported:false,typ:GY,tag:\"\"},{prop:\"suite\",name:\"suite\",exported:false,typ:FY,tag:\"\"},{prop:\"finishedHash\",name:\"finishedHash\",exported:false,typ:EZ,tag:\"\"},{prop:\"masterSecret\",name:\"masterSecret\",exported:false,typ:GC,tag:\"\"},{prop:\"session\",name:\"session\",exported:false,typ:GM,tag:\"\"}]);DH.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"vers\",name:\"vers\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"random\",name:\"random\",exported:false,typ:GC,tag:\"\"},{prop:\"sessionId\",name:\"sessionId\",exported:false,typ:GC,tag:\"\"},{prop:\"cipherSuites\",name:\"cipherSuites\",exported:false,typ:FT,tag:\"\"},{prop:\"compressionMethods\",name:\"compressionMethods\",exported:false,typ:GC,tag:\"\"},{prop:\"nextProtoNeg\",name:\"nextProtoNeg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"serverName\",name:\"serverName\",exported:false,typ:$String,tag:\"\"},{prop:\"ocspStapling\",name:\"ocspStapling\",exported:false,typ:$Bool,tag:\"\"},{prop:\"scts\",name:\"scts\",exported:false,typ:$Bool,tag:\"\"},{prop:\"supportedCurves\",name:\"supportedCurves\",exported:false,typ:FV,tag:\"\"},{prop:\"supportedPoints\",name:\"supportedPoints\",exported:false,typ:GC,tag:\"\"},{prop:\"ticketSupported\",name:\"ticketSupported\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sessionTicket\",name:\"sessionTicket\",exported:false,typ:GC,tag:\"\"},{prop:\"signatureAndHashes\",name:\"signatureAndHashes\",exported:false,typ:GA,tag:\"\"},{prop:\"secureRenegotiation\",name:\"secureRenegotiation\",exported:false,typ:GC,tag:\"\"},{prop:\"secureRenegotiationSupported\",name:\"secureRenegotiationSupported\",exported:false,typ:$Bool,tag:\"\"},{prop:\"alpnProtocols\",name:\"alpnProtocols\",exported:false,typ:FS,tag:\"\"}]);DI.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"vers\",name:\"vers\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"random\",name:\"random\",exported:false,typ:GC,tag:\"\"},{prop:\"sessionId\",name:\"sessionId\",exported:false,typ:GC,tag:\"\"},{prop:\"cipherSuite\",name:\"cipherSuite\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"compressionMethod\",name:\"compressionMethod\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"nextProtoNeg\",name:\"nextProtoNeg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nextProtos\",name:\"nextProtos\",exported:false,typ:FS,tag:\"\"},{prop:\"ocspStapling\",name:\"ocspStapling\",exported:false,typ:$Bool,tag:\"\"},{prop:\"scts\",name:\"scts\",exported:false,typ:GP,tag:\"\"},{prop:\"ticketSupported\",name:\"ticketSupported\",exported:false,typ:$Bool,tag:\"\"},{prop:\"secureRenegotiation\",name:\"secureRenegotiation\",exported:false,typ:GC,tag:\"\"},{prop:\"secureRenegotiationSupported\",name:\"secureRenegotiationSupported\",exported:false,typ:$Bool,tag:\"\"},{prop:\"alpnProtocol\",name:\"alpnProtocol\",exported:false,typ:$String,tag:\"\"}]);DJ.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"certificates\",name:\"certificates\",exported:false,typ:GP,tag:\"\"}]);DK.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"key\",name:\"key\",exported:false,typ:GC,tag:\"\"}]);DL.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"statusType\",name:\"statusType\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"response\",name:\"response\",exported:false,typ:GC,tag:\"\"}]);DM.init(\"\",[]);DN.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"ciphertext\",name:\"ciphertext\",exported:false,typ:GC,tag:\"\"}]);DO.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"verifyData\",name:\"verifyData\",exported:false,typ:GC,tag:\"\"}]);DP.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"proto\",name:\"proto\",exported:false,typ:$String,tag:\"\"}]);DQ.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"hasSignatureAndHash\",name:\"hasSignatureAndHash\",exported:false,typ:$Bool,tag:\"\"},{prop:\"certificateTypes\",name:\"certificateTypes\",exported:false,typ:GC,tag:\"\"},{prop:\"signatureAndHashes\",name:\"signatureAndHashes\",exported:false,typ:GA,tag:\"\"},{prop:\"certificateAuthorities\",name:\"certificateAuthorities\",exported:false,typ:GP,tag:\"\"}]);DR.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"hasSignatureAndHash\",name:\"hasSignatureAndHash\",exported:false,typ:$Bool,tag:\"\"},{prop:\"signatureAndHash\",name:\"signatureAndHash\",exported:false,typ:BM,tag:\"\"},{prop:\"signature\",name:\"signature\",exported:false,typ:GC,tag:\"\"}]);DS.init(\"crypto/tls\",[{prop:\"raw\",name:\"raw\",exported:false,typ:GC,tag:\"\"},{prop:\"ticket\",name:\"ticket\",exported:false,typ:GC,tag:\"\"}]);DT.init(\"\",[]);DZ.init(\"crypto/tls\",[{prop:\"c\",name:\"c\",exported:false,typ:GX,tag:\"\"},{prop:\"clientHello\",name:\"clientHello\",exported:false,typ:GY,tag:\"\"},{prop:\"hello\",name:\"hello\",exported:false,typ:GW,tag:\"\"},{prop:\"suite\",name:\"suite\",exported:false,typ:FY,tag:\"\"},{prop:\"ellipticOk\",name:\"ellipticOk\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ecdsaOk\",name:\"ecdsaOk\",exported:false,typ:$Bool,tag:\"\"},{prop:\"rsaDecryptOk\",name:\"rsaDecryptOk\",exported:false,typ:$Bool,tag:\"\"},{prop:\"rsaSignOk\",name:\"rsaSignOk\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sessionState\",name:\"sessionState\",exported:false,typ:HO,tag:\"\"},{prop:\"finishedHash\",name:\"finishedHash\",exported:false,typ:EZ,tag:\"\"},{prop:\"masterSecret\",name:\"masterSecret\",exported:false,typ:GC,tag:\"\"},{prop:\"certsFromClient\",name:\"certsFromClient\",exported:false,typ:GP,tag:\"\"},{prop:\"cert\",name:\"cert\",exported:false,typ:GH,tag:\"\"},{prop:\"cachedClientHelloInfo\",name:\"cachedClientHelloInfo\",exported:false,typ:HP,tag:\"\"}]);ED.init(\"\",[]);EJ.init(\"crypto/tls\",[{prop:\"version\",name:\"version\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"sigType\",name:\"sigType\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"privateKey\",name:\"privateKey\",exported:false,typ:GC,tag:\"\"},{prop:\"curveid\",name:\"curveid\",exported:false,typ:BL,tag:\"\"},{prop:\"publicKey\",name:\"publicKey\",exported:false,typ:GC,tag:\"\"},{prop:\"x\",name:\"x\",exported:false,typ:GE,tag:\"\"},{prop:\"y\",name:\"y\",exported:false,typ:GE,tag:\"\"}]);EZ.init(\"crypto/tls\",[{prop:\"client\",name:\"client\",exported:false,typ:J.Hash,tag:\"\"},{prop:\"server\",name:\"server\",exported:false,typ:J.Hash,tag:\"\"},{prop:\"clientMD5\",name:\"clientMD5\",exported:false,typ:J.Hash,tag:\"\"},{prop:\"serverMD5\",name:\"serverMD5\",exported:false,typ:J.Hash,tag:\"\"},{prop:\"buffer\",name:\"buffer\",exported:false,typ:GC,tag:\"\"},{prop:\"version\",name:\"version\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"prf\",name:\"prf\",exported:false,typ:IT,tag:\"\"}]);FD.init(\"crypto/tls\",[{prop:\"vers\",name:\"vers\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"cipherSuite\",name:\"cipherSuite\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"masterSecret\",name:\"masterSecret\",exported:false,typ:GC,tag:\"\"},{prop:\"certificates\",name:\"certificates\",exported:false,typ:GP,tag:\"\"},{prop:\"usedOldKey\",name:\"usedOldKey\",exported:false,typ:$Bool,tag:\"\"}]);FG.init(\"crypto/tls\",[{prop:\"Listener\",name:\"\",exported:true,typ:U.Listener,tag:\"\"},{prop:\"config\",name:\"config\",exported:false,typ:FX,tag:\"\"}]);FJ.init(\"\",[]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=Y.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AB.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AE.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AF.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AC.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Z.$init();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AD.$init();$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AH.$init();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Q.$init();$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=R.$init();$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=S.$init();$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AI.$init();$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=T.$init();$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=U.$init();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=V.$init();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=W.$init();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AA.$init();$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=X.$init();$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AG.$init();$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CA=new W.Mutex.ptr(0,0);CI=new BW.ptr($ifaceNil,$throwNilPointerError,FQ.nil,false,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,FR.nil,FS.nil,\"\",0,FR.nil,false,FT.nil,false,false,FU.zero(),$ifaceNil,0,0,FV.nil,false,0,$ifaceNil,new W.Once.ptr(new W.Mutex.ptr(0,0),0),new W.RWMutex.ptr(new W.Mutex.ptr(0,0),0,0,0,0),FW.nil,FX.nil);CK=new W.Once.ptr(new W.Mutex.ptr(0,0),0);CL=FT.nil;AK=$makeMap(AJ.keyFor,[{k:0,v:\"close notify\"},{k:10,v:\"unexpected message\"},{k:20,v:\"bad record MAC\"},{k:21,v:\"decryption failed\"},{k:22,v:\"record overflow\"},{k:30,v:\"decompression failure\"},{k:40,v:\"handshake failure\"},{k:42,v:\"bad certificate\"},{k:43,v:\"unsupported certificate\"},{k:44,v:\"revoked certificate\"},{k:45,v:\"expired certificate\"},{k:46,v:\"unknown certificate\"},{k:47,v:\"illegal parameter\"},{k:48,v:\"unknown certificate authority\"},{k:49,v:\"access denied\"},{k:50,v:\"error decoding message\"},{k:51,v:\"error decrypting message\"},{k:70,v:\"protocol version not supported\"},{k:71,v:\"insufficient security level\"},{k:80,v:\"internal error\"},{k:86,v:\"inappropriate fallback\"},{k:90,v:\"user canceled\"},{k:100,v:\"no renegotiation\"},{k:120,v:\"no application protocol\"}]);BA=$toNativeArray($kindUint8,[54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54,54]);BB=$toNativeArray($kindUint8,[92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92,92]);AN=new FZ([new AM.ptr(52392,32,0,12,BI,5,$throwNilPointerError,$throwNilPointerError,AY),new AM.ptr(52393,32,0,12,BH,7,$throwNilPointerError,$throwNilPointerError,AY),new AM.ptr(49199,16,0,4,BI,5,$throwNilPointerError,$throwNilPointerError,AX),new AM.ptr(49195,16,0,4,BH,7,$throwNilPointerError,$throwNilPointerError,AX),new AM.ptr(49200,32,0,4,BI,13,$throwNilPointerError,$throwNilPointerError,AX),new AM.ptr(49196,32,0,4,BH,15,$throwNilPointerError,$throwNilPointerError,AX),new AM.ptr(49191,16,32,16,BI,21,AQ,AS,$throwNilPointerError),new AM.ptr(49171,16,20,16,BI,1,AQ,AR,$throwNilPointerError),new AM.ptr(49187,16,32,16,BH,23,AQ,AS,$throwNilPointerError),new AM.ptr(49161,16,20,16,BH,3,AQ,AR,$throwNilPointerError),new AM.ptr(49172,32,20,16,BI,1,AQ,AR,$throwNilPointerError),new AM.ptr(49162,32,20,16,BH,3,AQ,AR,$throwNilPointerError),new AM.ptr(156,16,0,4,BG,4,$throwNilPointerError,$throwNilPointerError,AX),new AM.ptr(157,32,0,4,BG,12,$throwNilPointerError,$throwNilPointerError,AX),new AM.ptr(60,16,32,16,BG,20,AQ,AS,$throwNilPointerError),new AM.ptr(47,16,20,16,BG,0,AQ,AR,$throwNilPointerError),new AM.ptr(53,32,20,16,BG,0,AQ,AR,$throwNilPointerError),new AM.ptr(49170,24,20,8,BI,1,AP,AR,$throwNilPointerError),new AM.ptr(10,24,20,8,BG,0,AP,AR,$throwNilPointerError),new AM.ptr(5,16,20,0,BG,16,AO,AR,$throwNilPointerError),new AM.ptr(49169,16,20,0,BI,17,AO,AR,$throwNilPointerError),new AM.ptr(49159,16,20,0,BH,19,AO,AR,$throwNilPointerError)]);BN=new GA([new BM.ptr(4,1),new BM.ptr(4,3),new BM.ptr(5,1),new BM.ptr(5,3),new BM.ptr(2,1),new BM.ptr(2,3)]);BZ=new FV([29,23,24,25]);CZ=Q.New(\"tls: use of closed connection\");DA=Q.New(\"tls: protocol is shutdown\");DB=Q.New(\"tls: CloseWrite called before handshake complete\");DD=new GB([1027,1283,1539,1025,1281,1537,513]);EA=$toNativeArray($kindUint16,[771,770,769,768]);EB=Q.New(\"tls: invalid ClientKeyExchange message\");EC=Q.New(\"tls: invalid ServerKeyExchange message\");EP=(new GC($stringToBytes(\"master secret\")));EQ=(new GC($stringToBytes(\"key expansion\")));ER=(new GC($stringToBytes(\"client finished\")));ES=(new GC($stringToBytes(\"server finished\")));FB=$toNativeArray($kindUint8,[67,76,78,84]);FC=$toNativeArray($kindUint8,[83,82,86,82]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"log\"]=(function(){var $pkg={},$init,A,E,B,C,D,F,G,Z,AA,AB,AC,AD,I,H,J,Q,T;A=$packages[\"fmt\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];B=$packages[\"io\"];C=$packages[\"os\"];D=$packages[\"runtime\"];F=$packages[\"time\"];G=$pkg.Logger=$newType(0,$kindStruct,\"log.Logger\",true,\"log\",true,function(mu_,prefix_,flag_,out_,buf_){this.$val=this;if(arguments.length===0){this.mu=new E.Mutex.ptr(false);this.prefix=\"\";this.flag=0;this.out=$ifaceNil;this.buf=Z.nil;return;}this.mu=mu_;this.prefix=prefix_;this.flag=flag_;this.out=out_;this.buf=buf_;});Z=$sliceType($Uint8);AA=$arrayType($Uint8,20);AB=$ptrType(Z);AC=$sliceType($emptyInterface);AD=$ptrType(G);H=function(a,b,c){var $ptr,a,b,c;return new G.ptr(new E.Mutex.ptr(false),b,c,a,Z.nil);};$pkg.New=H;G.ptr.prototype.SetOutput=function(a){var $ptr,a,b,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;b.mu.Lock();$deferred.push([$methodVal(b.mu,\"Unlock\"),[]]);b.out=a;}catch(err){$err=err;}finally{$callDeferred($deferred,$err);}};G.prototype.SetOutput=function(a){return this.$val.SetOutput(a);};J=function(a,b,c){var $ptr,a,b,c,d,e,f,g;d=AA.zero();e=19;while(true){if(!(b>=10||c>1)){break;}c=c-(1)>>0;g=(f=b/10,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((((48+b>>0)-($imul(g,10))>>0)<<24>>>24)));e=e-(1)>>0;b=g;}((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=(((48+b>>0)<<24>>>24)));a.$set($appendSlice(a.$get(),$subslice(new Z(d),e)));};G.ptr.prototype.formatHeader=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;a.$set($appendSlice(a.$get(),e.prefix));if(!(((e.flag&32)===0))){F.Time.copy(b,$clone(b,F.Time).UTC());}if(!(((e.flag&7)===0))){$s=1;continue;}$s=2;continue;case 1:if(!(((e.flag&1)===0))){$s=3;continue;}$s=4;continue;case 3:g=$clone(b,F.Time).Date();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=f[2];J(a,h,4);a.$set($append(a.$get(),47));J(a,((i>>0)),2);a.$set($append(a.$get(),47));J(a,j,2);a.$set($append(a.$get(),32));case 4:if(!(((e.flag&6)===0))){$s=6;continue;}$s=7;continue;case 6:l=$clone(b,F.Time).Clock();$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];o=k[2];J(a,m,2);a.$set($append(a.$get(),58));J(a,n,2);a.$set($append(a.$get(),58));J(a,o,2);if(!(((e.flag&4)===0))){a.$set($append(a.$get(),46));J(a,(p=$clone(b,F.Time).Nanosecond()/1000,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\")),6);}a.$set($append(a.$get(),32));case 7:case 2:if(!(((e.flag&24)===0))){if(!(((e.flag&16)===0))){q=c;r=c.length-1>>0;while(true){if(!(r>0)){break;}if(c.charCodeAt(r)===47){q=$substring(c,(r+1>>0));break;}r=r-(1)>>0;}c=q;}a.$set($appendSlice(a.$get(),c));a.$set($append(a.$get(),58));J(a,d,-1);a.$set($appendSlice(a.$get(),\": \"));}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.formatHeader};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.formatHeader=function(a,b,c,d){return this.$val.formatHeader(a,b,c,d);};G.ptr.prototype.Output=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=this;d=$clone(F.Now(),F.Time);e=\"\";f=0;c.mu.Lock();$deferred.push([$methodVal(c.mu,\"Unlock\"),[]]);if(!(((c.flag&24)===0))){c.mu.Unlock();g=false;h=D.Caller(a);e=h[1];f=h[2];g=h[3];if(!g){e=\"???\";f=0;}c.mu.Lock();}c.buf=$subslice(c.buf,0,0);$r=c.formatHeader((c.$ptr_buf||(c.$ptr_buf=new AB(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))),$clone(d,F.Time),e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.buf=$appendSlice(c.buf,b);if((b.length===0)||!((b.charCodeAt((b.length-1>>0))===10))){c.buf=$append(c.buf,10);}j=c.out.Write(c.buf);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];$s=-1;return k;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:G.ptr.prototype.Output};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};G.prototype.Output=function(a,b){return this.$val.Output(a,b);};G.ptr.prototype.Printf=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=c.Output(2,e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Printf};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Printf=function(a,b){return this.$val.Printf(a,b);};G.ptr.prototype.Print=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprint(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Print};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Print=function(a){return this.$val.Print(a);};G.ptr.prototype.Println=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprintln(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Println};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Println=function(a){return this.$val.Println(a);};G.ptr.prototype.Fatal=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprint(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;C.Exit(1);$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Fatal};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Fatal=function(a){return this.$val.Fatal(a);};G.ptr.prototype.Fatalf=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=c.Output(2,e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;C.Exit(1);$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Fatalf};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Fatalf=function(a,b){return this.$val.Fatalf(a,b);};G.ptr.prototype.Fatalln=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprintln(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;C.Exit(1);$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Fatalln};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Fatalln=function(a){return this.$val.Fatalln(a);};G.ptr.prototype.Panic=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprint(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$panic(new $String(d));$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Panic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Panic=function(a){return this.$val.Panic(a);};G.ptr.prototype.Panicf=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=c.Output(2,e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$panic(new $String(e));$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Panicf};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Panicf=function(a,b){return this.$val.Panicf(a,b);};G.ptr.prototype.Panicln=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprintln(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$panic(new $String(d));$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Panicln};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Panicln=function(a){return this.$val.Panicln(a);};G.ptr.prototype.Flags=function(){var $ptr,a,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;a.mu.Lock();$deferred.push([$methodVal(a.mu,\"Unlock\"),[]]);return a.flag;}catch(err){$err=err;return 0;}finally{$callDeferred($deferred,$err);}};G.prototype.Flags=function(){return this.$val.Flags();};G.ptr.prototype.SetFlags=function(a){var $ptr,a,b,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;b.mu.Lock();$deferred.push([$methodVal(b.mu,\"Unlock\"),[]]);b.flag=a;}catch(err){$err=err;}finally{$callDeferred($deferred,$err);}};G.prototype.SetFlags=function(a){return this.$val.SetFlags(a);};G.ptr.prototype.Prefix=function(){var $ptr,a,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;a.mu.Lock();$deferred.push([$methodVal(a.mu,\"Unlock\"),[]]);return a.prefix;}catch(err){$err=err;return\"\";}finally{$callDeferred($deferred,$err);}};G.prototype.Prefix=function(){return this.$val.Prefix();};G.ptr.prototype.SetPrefix=function(a){var $ptr,a,b,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;b.mu.Lock();$deferred.push([$methodVal(b.mu,\"Unlock\"),[]]);b.prefix=a;}catch(err){$err=err;}finally{$callDeferred($deferred,$err);}};G.prototype.SetPrefix=function(a){return this.$val.SetPrefix(a);};Q=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=I.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return;}return;}if($f===undefined){$f={$blk:Q};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Printf=Q;T=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=I.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;C.Exit(1);$s=-1;return;}return;}if($f===undefined){$f={$blk:T};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Fatalf=T;AD.methods=[{prop:\"SetOutput\",name:\"SetOutput\",pkg:\"\",typ:$funcType([B.Writer],[],false)},{prop:\"formatHeader\",name:\"formatHeader\",pkg:\"log\",typ:$funcType([AB,F.Time,$String,$Int],[],false)},{prop:\"Output\",name:\"Output\",pkg:\"\",typ:$funcType([$Int,$String],[$error],false)},{prop:\"Printf\",name:\"Printf\",pkg:\"\",typ:$funcType([$String,AC],[],true)},{prop:\"Print\",name:\"Print\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Println\",name:\"Println\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Fatal\",name:\"Fatal\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Fatalf\",name:\"Fatalf\",pkg:\"\",typ:$funcType([$String,AC],[],true)},{prop:\"Fatalln\",name:\"Fatalln\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Panic\",name:\"Panic\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Panicf\",name:\"Panicf\",pkg:\"\",typ:$funcType([$String,AC],[],true)},{prop:\"Panicln\",name:\"Panicln\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Flags\",name:\"Flags\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"SetFlags\",name:\"SetFlags\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Prefix\",name:\"Prefix\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"SetPrefix\",name:\"SetPrefix\",pkg:\"\",typ:$funcType([$String],[],false)}];G.init(\"log\",[{prop:\"mu\",name:\"mu\",exported:false,typ:E.Mutex,tag:\"\"},{prop:\"prefix\",name:\"prefix\",exported:false,typ:$String,tag:\"\"},{prop:\"flag\",name:\"flag\",exported:false,typ:$Int,tag:\"\"},{prop:\"out\",name:\"out\",exported:false,typ:B.Writer,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:Z,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=H(C.Stderr,\"\",3);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"mime\"]=(function(){var $pkg={},$init,K,A,B,C,D,E,L,J,F,G,H,I,BL,BM,BN,BO,N,P,Z,AQ,AR,AS,AT,BA,BH,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,BF,BG,BI,BJ;K=$packages[\"bufio\"];A=$packages[\"bytes\"];B=$packages[\"encoding/base64\"];C=$packages[\"errors\"];D=$packages[\"fmt\"];E=$packages[\"io\"];L=$packages[\"os\"];J=$packages[\"sort\"];F=$packages[\"strings\"];G=$packages[\"sync\"];H=$packages[\"unicode\"];I=$packages[\"unicode/utf8\"];BL=$sliceType($emptyInterface);BM=$sliceType($Uint8);BN=$arrayType($Uint8,64);BO=$sliceType($String);AC=function(a){var $ptr,a;return F.ContainsRune(\"()<>@,;:\\\\\\\"/[]?=\",a);};AD=function(a){var $ptr,a;return a>32&&a<127&&!AC(a);};AE=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a===\"\"){$s=-1;return false;}b=F.IndexFunc(a,AJ);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b<0;}return;}if($f===undefined){$f={$blk:AE};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AF=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=new A.Buffer.ptr(BM.nil,0,BN.zero(),0);d=F.Index(a,\"/\");if(d===-1){$s=1;continue;}$s=2;continue;case 1:e=AE(a);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(!e){$s=4;continue;}$s=5;continue;case 4:$s=-1;return\"\";case 5:f=F.ToLower(a);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=c.WriteString(f);$s=8;case 8:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=3;continue;case 2:h=$substring(a,0,d);i=$substring(a,(d+1>>0));j=h;k=i;m=AE(j);$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}if(!m){l=true;$s=11;continue s;}n=AE(k);$s=13;case 13:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=!n;case 11:if(l){$s=9;continue;}$s=10;continue;case 9:$s=-1;return\"\";case 10:o=F.ToLower(j);$s=14;case 14:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=c.WriteString(o);$s=15;case 15:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;c.WriteByte(47);q=F.ToLower(k);$s=16;case 16:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=c.WriteString(q);$s=17;case 17:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 3:s=$makeSlice(BO,0,$keys(b).length);t=b;u=0;v=$keys(t);while(true){if(!(u<v.length)){break;}w=t[v[u]];if(w===undefined){u++;continue;}x=w.k;s=$append(s,x);u++;}$r=J.Strings(s);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}y=s;z=0;case 19:if(!(z<y.$length)){$s=20;continue;}aa=((z<0||z>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+z]);ac=(ab=b[$String.keyFor(aa)],ab!==undefined?ab.v:\"\");c.WriteByte(59);c.WriteByte(32);ad=AE(aa);$s=23;case 23:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(!ad){$s=21;continue;}$s=22;continue;case 21:$s=-1;return\"\";case 22:ae=F.ToLower(aa);$s=24;case 24:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=c.WriteString(ae);$s=25;case 25:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}af;c.WriteByte(61);ag=AE(ac);$s=28;case 28:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}if(ag){$s=26;continue;}$s=27;continue;case 26:c.WriteString(ac);z++;$s=19;continue;case 27:c.WriteByte(34);ah=0;ai=ac;aj=0;while(true){if(!(aj<ai.length)){break;}ak=$decodeRune(ai,aj);al=aj;am=ak[0];if((am===34)||(am===92)){c.WriteString($substring(ac,ah,al));ah=al;c.WriteByte(92);}if(!(((am&128)===0))){$s=-1;return\"\";}aj+=ak[1];}c.WriteString($substring(ac,ah));c.WriteByte(34);z++;$s=19;continue;case 20:$s=-1;return c.String();}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FormatMediaType=AF;AG=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AK(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(d===\"\"){$s=-1;return C.New(\"mime: no media type\");}if(e===\"\"){$s=-1;return $ifaceNil;}if(!F.HasPrefix(e,\"/\")){$s=-1;return C.New(\"mime: expected slash after first token\");}g=AK($substring(e,1));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];e=f[1];if(h===\"\"){$s=-1;return C.New(\"mime: expected token after slash\");}if(!(e===\"\")){$s=-1;return C.New(\"mime: unexpected content after media subtype\");}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=\"\";c=false;d=$ifaceNil;e=F.Index(a,\";\");if(e===-1){e=a.length;}f=F.ToLower($substring(a,0,e));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=F.TrimSpace(f);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}b=g;h=AG(b);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=h;if(!($interfaceIsEqual(d,$ifaceNil))){i=\"\";j=false;k=d;b=i;c=j;d=k;$s=-1;return[b,c,d];}c={};l=false;a=$substring(a,e);case 4:if(!(a.length>0)){$s=5;continue;}m=F.TrimLeftFunc(a,H.IsSpace);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}a=m;if(a.length===0){$s=5;continue;}o=AM(a);$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n[0];q=n[1];r=n[2];if(p===\"\"){$s=8;continue;}$s=9;continue;case 8:s=F.TrimSpace(r);$s=12;case 12:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}if(s===\";\"){$s=10;continue;}$s=11;continue;case 10:$s=-1;return[b,c,d];case 11:t=\"\";u=false;v=C.New(\"mime: invalid media parameter\");b=t;c=u;d=v;$s=-1;return[b,c,d];case 9:w=c;x=F.Index(p,\"*\");if(!((x===-1))){y=$substring(p,0,x);if(l===false){l={};}z=false;aa=(ab=l[$String.keyFor(y)],ab!==undefined?[ab.v,true]:[false,false]);w=aa[0];z=aa[1];if(!z){ac=y;(l||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(ac)]={k:ac,v:{}};w=(ad=l[$String.keyFor(y)],ad!==undefined?ad.v:false);}}ae=(af=w[$String.keyFor(p)],af!==undefined?[af.v,true]:[\"\",false]);ag=ae[1];if(ag){ah=\"\";ai=false;aj=C.New(\"mime: duplicate parameter name\");b=ah;c=ai;d=aj;$s=-1;return[b,c,d];}ak=p;(w||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(ak)]={k:ak,v:q};a=r;$s=4;continue;case 5:al=new A.Buffer.ptr(BM.nil,0,BN.zero(),0);am=l;an=0;ao=$keys(am);case 13:if(!(an<ao.length)){$s=14;continue;}ap=am[ao[an]];if(ap===undefined){an++;$s=13;continue;}aq=ap.k;ar=ap.v;as=aq+\"*\";at=(au=ar[$String.keyFor(as)],au!==undefined?[au.v,true]:[\"\",false]);av=at[0];aw=at[1];if(aw){$s=15;continue;}$s=16;continue;case 15:ax=AI(av);$s=17;case 17:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=aq;(c||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(az)]={k:az,v:ay};an++;$s=13;continue;case 16:al.Reset();ba=false;bb=0;case 18:bc=D.Sprintf(\"%s*%d\",new BL([new $String(aq),new $Int(bb)]));$s=20;case 20:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=bc;be=(bf=ar[$String.keyFor(bd)],bf!==undefined?[bf.v,true]:[\"\",false]);bg=be[0];bh=be[1];if(bh){ba=true;al.WriteString(bg);bb=bb+(1)>>0;$s=18;continue;}bi=bd+\"*\";bj=(bk=ar[$String.keyFor(bi)],bk!==undefined?[bk.v,true]:[\"\",false]);bl=bj[0];bm=bj[1];if(bm){$s=21;continue;}$s=22;continue;case 21:ba=true;if(bb===0){$s=24;continue;}$s=25;continue;case 24:bn=AI(bl);$s=27;case 27:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bo=al.WriteString(bn);$s=28;case 28:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bo;$s=26;continue;case 25:bq=AN(bl);$s=29;case 29:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}bp=bq;br=bp[0];al.WriteString(br);case 26:$s=23;continue;case 22:$s=19;continue;case 23:bb=bb+(1)>>0;$s=18;continue;case 19:if(ba){bs=aq;(c||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(bs)]={k:bs,v:al.String()};}an++;$s=13;continue;case 14:$s=-1;return[b,c,d];}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ParseMediaType=AH;AI=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=F.SplitN(a,\"'\",3);if(!((b.$length===3))){$s=-1;return\"\";}c=F.ToLower((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!(d===\"us-ascii\")&&!(d===\"utf-8\")){$s=-1;return\"\";}f=AN((2>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+2]));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];$s=-1;return g;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a){var $ptr,a;return!AD(a);};AK=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=\"\";c=\"\";d=F.IndexFunc(a,AJ);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){f=a;g=\"\";b=f;c=g;$s=-1;return[b,c];}if(e===0){h=\"\";i=a;b=h;c=i;$s=-1;return[b,c];}j=$substring(a,0,e);k=$substring(a,e);b=j;c=k;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AL=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=\"\";c=\"\";if(a===\"\"){$s=-1;return[b,c];}if(!((a.charCodeAt(0)===34))){$s=1;continue;}$s=2;continue;case 1:e=AK(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;b=d[0];c=d[1];$s=-1;return[b,c];case 2:f=new A.Buffer.ptr(BM.nil,0,BN.zero(),0);g=1;while(true){if(!(g<a.length)){break;}h=a.charCodeAt(g);if(h===34){i=f.String();j=$substring(a,(g+1>>0));b=i;c=j;$s=-1;return[b,c];}if((h===92)&&(g+1>>0)<a.length&&!AD(((a.charCodeAt((g+1>>0))>>0)))){f.WriteByte(a.charCodeAt((g+1>>0)));g=g+(1)>>0;g=g+(1)>>0;continue;}if((h===13)||(h===10)){k=\"\";l=a;b=k;c=l;$s=-1;return[b,c];}f.WriteByte(a.charCodeAt(g));g=g+(1)>>0;}m=\"\";n=a;b=m;c=n;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AM=function(a){var $ptr,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=\"\";c=\"\";d=\"\";e=F.TrimLeftFunc(a,H.IsSpace);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;if(!F.HasPrefix(d,\";\")){f=\"\";g=\"\";h=a;b=f;c=g;d=h;$s=-1;return[b,c,d];}d=$substring(d,1);i=F.TrimLeftFunc(d,H.IsSpace);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d=i;k=AK(d);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;b=j[0];d=j[1];l=F.ToLower(b);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}b=l;if(b===\"\"){m=\"\";n=\"\";o=a;b=m;c=n;d=o;$s=-1;return[b,c,d];}p=F.TrimLeftFunc(d,H.IsSpace);$s=5;case 5:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}d=p;if(!F.HasPrefix(d,\"=\")){q=\"\";r=\"\";s=a;b=q;c=r;d=s;$s=-1;return[b,c,d];}d=$substring(d,1);t=F.TrimLeftFunc(d,H.IsSpace);$s=6;case 6:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}d=t;v=AL(d);$s=7;case 7:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;c=u[0];w=u[1];if(c===\"\"&&w===d){x=\"\";y=\"\";z=a;b=x;c=y;d=z;$s=-1;return[b,c,d];}d=w;aa=b;ab=c;ac=d;b=aa;c=ab;d=ac;$s=-1;return[b,c,d];}return;}if($f===undefined){$f={$blk:AM};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AN=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=0;case 1:if(!(c<a.length)){$s=2;continue;}if(!((a.charCodeAt(c)===37))){$s=3;continue;}$s=4;continue;case 3:c=c+(1)>>0;$s=1;continue;case 4:b=b+(1)>>0;if((c+2>>0)>=a.length||!AO(a.charCodeAt((c+1>>0)))||!AO(a.charCodeAt((c+2>>0)))){$s=5;continue;}$s=6;continue;case 5:a=$substring(a,c);if(a.length>3){a=$substring(a,0,3);}d=D.Errorf(\"mime: bogus characters after %%: %q\",new BL([new $String(a)]));$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return[\"\",d];case 6:c=c+(3)>>0;$s=1;continue;case 2:if(b===0){$s=-1;return[a,$ifaceNil];}e=$makeSlice(BM,(a.length-($imul(2,b))>>0));f=0;g=0;while(true){if(!(g<a.length)){break;}h=a.charCodeAt(g);if(h===(37)){((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]=(((AP(a.charCodeAt((g+1>>0)))<<4<<24>>>24)|AP(a.charCodeAt((g+2>>0))))>>>0));f=f+(1)>>0;g=g+(3)>>0;}else{((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]=a.charCodeAt(g));f=f+(1)>>0;g=g+(1)>>0;}}$s=-1;return[($bytesToString(e)),$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AO=function(a){var $ptr,a;if(48<=a&&a<=57){return true;}else if(97<=a&&a<=102){return true;}else if(65<=a&&a<=70){return true;}return false;};AP=function(a){var $ptr,a;if(48<=a&&a<=57){return a-48<<24>>>24;}else if(97<=a&&a<=102){return(a-97<<24>>>24)+10<<24>>>24;}else if(65<=a&&a<=70){return(a-65<<24>>>24)+10<<24>>>24;}return 0;};BF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);d=AH(b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];g=c[2];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}if(F.HasPrefix(b,\"text/\")&&(h=f[$String.keyFor(\"charset\")],h!==undefined?h.v:\"\")===\"\"){$s=2;continue;}$s=3;continue;case 2:i=\"charset\";(f||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:\"utf-8\"};j=AF(b,f);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}b=j;case 3:k=F.ToLower(a);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=AQ.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AQ,\"Unlock\"),[]]);m=a;(AR||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:b};n=l;(AS||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(n)]={k:n,v:b};o=(p=AT[$String.keyFor(e)],p!==undefined?p.v:BO.nil);q=0;while(true){if(!(q<o.$length)){break;}r=((q<0||q>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+q]);if(r===l){$s=-1;return $ifaceNil;}q++;}s=e;(AT||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(s)]={k:s,v:$append((t=AT[$String.keyFor(e)],t!==undefined?t.v:BO.nil),l)};$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};BG=function(){var $ptr;BA=BJ;};BI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=L.Open(a);c=b[0];d=b[1];if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return;}$deferred.push([$methodVal(c,\"Close\"),[]]);e=K.NewScanner(c);case 1:f=e.Scan();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!(f)){$s=2;continue;}g=F.Fields(e.Text());$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h.$length<=1||((0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]).charCodeAt(0)===35)){$s=5;continue;}$s=6;continue;case 5:$s=1;continue;case 6:i=(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]);j=$subslice(h,1);k=0;case 7:if(!(k<j.$length)){$s=8;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l.charCodeAt(0)===35){$s=8;continue;}m=BF(\".\"+l,i);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;k++;$s=7;continue;case 8:$s=1;continue;case 2:n=e.Err();if(!($interfaceIsEqual(n,$ifaceNil))){$panic(n);}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};BJ=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=BH;b=0;case 1:if(!(b<a.$length)){$s=2;continue;}c=((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]);$r=BI(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=K.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AQ=new G.RWMutex.ptr(new G.Mutex.ptr(0,0),0,0,0,0);AR=false;AS=false;AT=false;BA=$throwNilPointerError;N=C.New(\"mime: invalid RFC 2047 encoded-word\");P=B.StdEncoding.DecodedLen(63);Z=new G.Pool.ptr(0,0,BL.nil,(function(){var $ptr;return new A.Buffer.ptr(BM.nil,0,BN.zero(),0);}));BH=new BO([\"/etc/mime.types\",\"/etc/apache2/mime.types\",\"/etc/apache/mime.types\"]);BG();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"mime/quotedprintable\"]=(function(){var $pkg={},$init,A,B,C,D,E,P,Q,R,T,J,K,L,F,G,H,I;A=$packages[\"bufio\"];B=$packages[\"bytes\"];C=$packages[\"fmt\"];D=$packages[\"io\"];E=$pkg.Reader=$newType(0,$kindStruct,\"quotedprintable.Reader\",true,\"mime/quotedprintable\",true,function(br_,rerr_,line_){this.$val=this;if(arguments.length===0){this.br=Q.nil;this.rerr=$ifaceNil;this.line=P.nil;return;}this.br=br_;this.rerr=rerr_;this.line=line_;});P=$sliceType($Uint8);Q=$ptrType(A.Reader);R=$sliceType($emptyInterface);T=$ptrType(E);F=function(a){var $ptr,a;return new E.ptr(A.NewReader(a),$ifaceNil,P.nil);};$pkg.NewReader=F;G=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a>=48&&a<=57){$s=-1;return[a-48<<24>>>24,$ifaceNil];}else if(a>=65&&a<=70){$s=-1;return[(a-65<<24>>>24)+10<<24>>>24,$ifaceNil];}else if(a>=97&&a<=102){$s=-1;return[(a-97<<24>>>24)+10<<24>>>24,$ifaceNil];}b=C.Errorf(\"quotedprintable: invalid hex byte 0x%02x\",new R([new $Uint8(a)]));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return[0,b];}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};H=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;if(a.$length<2){d=0;e=D.ErrUnexpectedEOF;b=d;c=e;$s=-1;return[b,c];}f=0;g=0;h=f;i=g;k=G((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;h=j[0];c=j[1];if(!($interfaceIsEqual(c,$ifaceNil))){l=0;m=c;b=l;c=m;$s=-1;return[b,c];}o=G((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;i=n[0];c=n[1];if(!($interfaceIsEqual(c,$ifaceNil))){p=0;q=c;b=p;c=q;$s=-1;return[b,c];}r=((h<<4<<24>>>24)|i)>>>0;s=$ifaceNil;b=r;c=s;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};I=function(a){var $ptr,a,b;b=a;if((b===(10))||(b===(13))||(b===(32))||(b===(9))){return true;}return false;};E.ptr.prototype.Read=function(a){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;case 1:if(!(a.$length>0)){$s=2;continue;}if(d.line.$length===0){$s=3;continue;}$s=4;continue;case 3:if(!($interfaceIsEqual(d.rerr,$ifaceNil))){e=b;f=d.rerr;b=e;c=f;$s=-1;return[b,c];}h=d.br.ReadSlice(10);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;d.line=g[0];d.rerr=g[1];i=B.HasSuffix(d.line,K);j=B.HasSuffix(d.line,J);k=d.line;l=B.TrimRightFunc(k,I);$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}d.line=l;if(B.HasSuffix(d.line,L)){$s=7;continue;}if(i){$s=8;continue;}$s=9;continue;case 7:m=$subslice(k,d.line.$length);d.line=$subslice(d.line,0,(d.line.$length-1>>0));if(!B.HasPrefix(m,K)&&!B.HasPrefix(m,J)&&!((m.$length===0)&&d.line.$length>0&&$interfaceIsEqual(d.rerr,D.EOF))){$s=10;continue;}$s=11;continue;case 10:n=C.Errorf(\"quotedprintable: invalid bytes after =: %q\",new R([m]));$s=12;case 12:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}d.rerr=n;case 11:$s=9;continue;case 8:if(j){d.line=$append(d.line,13,10);}else{d.line=$append(d.line,10);}case 9:$s=1;continue;case 4:p=(o=d.line,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]));if((p===61)){$s=14;continue;}if((p===9)||(p===13)||(p===10)){$s=15;continue;}if(p<32||p>126){$s=16;continue;}$s=17;continue;case 14:r=H($subslice(d.line,1));$s=18;case 18:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;p=q[0];c=q[1];if(!($interfaceIsEqual(c,$ifaceNil))){if(d.line.$length>=2&&!(((s=d.line,(1>=s.$length?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+1]))===13))&&!(((t=d.line,(1>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+1]))===10))){p=61;$s=13;continue;}u=b;v=c;b=u;c=v;$s=-1;return[b,c];}d.line=$subslice(d.line,2);$s=17;continue;case 15:$s=13;continue;$s=17;continue;case 16:w=b;y=C.Errorf(\"quotedprintable: invalid unescaped byte 0x%02x in body\",new R([new $Uint8(p)]));$s=19;case 19:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;b=w;c=x;$s=-1;return[b,c];case 17:case 13:(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=p);a=$subslice(a,1);d.line=$subslice(d.line,1);b=b+(1)>>0;$s=1;continue;case 2:z=b;aa=$ifaceNil;b=z;c=aa;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Read=function(a){return this.$val.Read(a);};T.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([P],[$Int,$error],false)}];E.init(\"mime/quotedprintable\",[{prop:\"br\",name:\"br\",exported:false,typ:Q,tag:\"\"},{prop:\"rerr\",name:\"rerr\",exported:false,typ:$error,tag:\"\"},{prop:\"line\",name:\"line\",exported:false,typ:P,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}J=(new P($stringToBytes(\"\\r\\n\")));K=(new P($stringToBytes(\"\\n\")));L=(new P($stringToBytes(\"=\")));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"net/textproto\"]=(function(){var $pkg={},$init,B,C,H,D,E,I,F,G,A,J,M,Q,X,Y,AL,AM,AN,AO,AP,AQ,AZ,U,W,N,O,P,R,S,T,V,AC,AE,AF;B=$packages[\"bufio\"];C=$packages[\"bytes\"];H=$packages[\"fmt\"];D=$packages[\"io\"];E=$packages[\"io/ioutil\"];I=$packages[\"net\"];F=$packages[\"strconv\"];G=$packages[\"strings\"];A=$packages[\"sync\"];J=$pkg.MIMEHeader=$newType(4,$kindMap,\"textproto.MIMEHeader\",true,\"net/textproto\",true,null);M=$pkg.Reader=$newType(0,$kindStruct,\"textproto.Reader\",true,\"net/textproto\",true,function(R_,dot_,buf_){this.$val=this;if(arguments.length===0){this.R=AN.nil;this.dot=AO.nil;this.buf=AL.nil;return;}this.R=R_;this.dot=dot_;this.buf=buf_;});Q=$pkg.dotReader=$newType(0,$kindStruct,\"textproto.dotReader\",true,\"net/textproto\",false,function(r_,state_){this.$val=this;if(arguments.length===0){this.r=AP.nil;this.state=0;return;}this.r=r_;this.state=state_;});X=$pkg.Error=$newType(0,$kindStruct,\"textproto.Error\",true,\"net/textproto\",true,function(Code_,Msg_){this.$val=this;if(arguments.length===0){this.Code=0;this.Msg=\"\";return;}this.Code=Code_;this.Msg=Msg_;});Y=$pkg.ProtocolError=$newType(8,$kindString,\"textproto.ProtocolError\",true,\"net/textproto\",true,null);AL=$sliceType($Uint8);AM=$sliceType($String);AN=$ptrType(B.Reader);AO=$ptrType(Q);AP=$ptrType(M);AQ=$sliceType($emptyInterface);AZ=$ptrType(X);J.prototype.Add=function(a,b){var $ptr,a,b,c,d,e;c=this.$val;a=R(a);d=a;(c||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(d)]={k:d,v:$append((e=c[$String.keyFor(a)],e!==undefined?e.v:AM.nil),b)};};$ptrType(J).prototype.Add=function(a,b){return new J(this.$get()).Add(a,b);};J.prototype.Set=function(a,b){var $ptr,a,b,c,d;c=this.$val;d=R(a);(c||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(d)]={k:d,v:new AM([b])};};$ptrType(J).prototype.Set=function(a,b){return new J(this.$get()).Set(a,b);};J.prototype.Get=function(a){var $ptr,a,b,c,d;b=this.$val;if(b===false){return\"\";}d=(c=b[$String.keyFor(R(a))],c!==undefined?c.v:AM.nil);if(d.$length===0){return\"\";}return(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]);};$ptrType(J).prototype.Get=function(a){return new J(this.$get()).Get(a);};J.prototype.Del=function(a){var $ptr,a,b;b=this.$val;delete b[$String.keyFor(R(a))];};$ptrType(J).prototype.Del=function(a){return new J(this.$get()).Del(a);};N=function(a){var $ptr,a;return new M.ptr(a,AO.nil,AL.nil);};$pkg.NewReader=N;M.ptr.prototype.ReadLine=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.readLineSlice();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];$s=-1;return[($bytesToString(d)),e];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadLine};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadLine=function(){return this.$val.ReadLine();};M.ptr.prototype.ReadLineBytes=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.readLineSlice();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!(d===AL.nil)){f=$makeSlice(AL,d.$length);$copySlice(f,d);d=f;}$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadLineBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadLineBytes=function(){return this.$val.ReadLineBytes();};M.ptr.prototype.readLineSlice=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.closeDot();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=AL.nil;case 2:d=a.R.ReadLine();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];g=c[2];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return[AL.nil,g];}if(b===AL.nil&&!f){$s=-1;return[e,$ifaceNil];}b=$appendSlice(b,e);if(!f){$s=3;continue;}$s=2;continue;case 3:$s=-1;return[b,$ifaceNil];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.readLineSlice};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.readLineSlice=function(){return this.$val.readLineSlice();};M.ptr.prototype.ReadContinuedLine=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.readContinuedLineSlice();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];$s=-1;return[($bytesToString(d)),e];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadContinuedLine};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadContinuedLine=function(){return this.$val.ReadContinuedLine();};O=function(a){var $ptr,a,b,c,d,e;b=0;while(true){if(!(b<a.$length&&((((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b])===32)||(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b])===9)))){break;}b=b+(1)>>0;}c=a.$length;while(true){if(!(c>b&&(((d=c-1>>0,((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]))===32)||((e=c-1>>0,((e<0||e>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+e]))===9)))){break;}c=c-(1)>>0;}return $subslice(a,b,c);};M.ptr.prototype.ReadContinuedLineBytes=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.readContinuedLineSlice();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!(d===AL.nil)){f=$makeSlice(AL,d.$length);$copySlice(f,d);d=f;}$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadContinuedLineBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadContinuedLineBytes=function(){return this.$val.ReadContinuedLineBytes();};M.ptr.prototype.readContinuedLineSlice=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=a.readLineSlice();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[AL.nil,e];}if(d.$length===0){$s=-1;return[d,$ifaceNil];}if(a.R.Buffered()>1){$s=2;continue;}$s=3;continue;case 2:g=a.R.Peek(1);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if($interfaceIsEqual(i,$ifaceNil)&&AF((0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]))){$s=-1;return[O(d),$ifaceNil];}case 3:a.buf=$appendSlice($subslice(a.buf,0,0),O(d));case 5:j=a.skipSpace();$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(!(j>0)){$s=6;continue;}l=a.readLineSlice();$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=6;continue;}a.buf=$append(a.buf,32);a.buf=$appendSlice(a.buf,O(m));$s=5;continue;case 6:$s=-1;return[a.buf,$ifaceNil];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.readContinuedLineSlice};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.readContinuedLineSlice=function(){return this.$val.readContinuedLineSlice();};M.ptr.prototype.skipSpace=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=0;case 1:d=a.R.ReadByte();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=2;continue;}if(!((e===32))&&!((e===9))){a.R.UnreadByte();$s=2;continue;}b=b+(1)>>0;$s=1;continue;case 2:$s=-1;return b;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.skipSpace=function(){return this.$val.skipSpace();};M.ptr.prototype.readCodeLine=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=false;d=\"\";e=$ifaceNil;f=this;h=f.ReadLine();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];e=g[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[b,c,d,e];}j=P(i,a);b=j[0];c=j[1];d=j[2];e=j[3];$s=-1;return[b,c,d,e];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.readCodeLine};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.readCodeLine=function(a){return this.$val.readCodeLine(a);};P=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i;c=0;d=false;e=\"\";f=$ifaceNil;if(a.length<4||!((a.charCodeAt(3)===32))&&!((a.charCodeAt(3)===45))){f=new Y((\"short response: \"+a));return[c,d,e,f];}d=a.charCodeAt(3)===45;g=F.Atoi($substring(a,0,3));c=g[0];f=g[1];if(!($interfaceIsEqual(f,$ifaceNil))||c<100){f=new Y((\"invalid response code: \"+a));return[c,d,e,f];}e=$substring(a,4);if(1<=b&&b<10&&!(((h=c/100,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"))===b))||10<=b&&b<100&&!(((i=c/10,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"))===b))||100<=b&&b<1000&&!((c===b))){f=new X.ptr(c,e);}return[c,d,e,f];};M.ptr.prototype.ReadCodeLine=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=\"\";d=$ifaceNil;e=this;g=e.readCodeLine(a);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;b=f[0];h=f[1];c=f[2];d=f[3];if($interfaceIsEqual(d,$ifaceNil)&&h){d=new Y((\"unexpected multi-line response: \"+c));}$s=-1;return[b,c,d];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadCodeLine};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadCodeLine=function(a){return this.$val.ReadCodeLine(a);};M.ptr.prototype.ReadResponse=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=\"\";d=$ifaceNil;e=this;g=e.readCodeLine(a);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;b=f[0];h=f[1];c=f[2];d=f[3];i=h;case 2:if(!(h)){$s=3;continue;}k=e.ReadLine();$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){n=0;o=\"\";p=m;b=n;c=o;d=p;$s=-1;return[b,c,d];}q=0;r=\"\";s=P(l,0);q=s[0];h=s[1];r=s[2];m=s[3];if(!($interfaceIsEqual(m,$ifaceNil))||!((q===b))){$s=5;continue;}$s=6;continue;case 5:t=G.TrimRight(l,\"\\r\\n\");$s=7;case 7:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}c=c+(\"\\n\"+t);h=true;$s=2;continue;case 6:c=c+(\"\\n\"+r);$s=2;continue;case 3:if(!($interfaceIsEqual(d,$ifaceNil))&&i&&!(c===\"\")){d=new X.ptr(b,c);}$s=-1;return[b,c,d];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadResponse};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadResponse=function(a){return this.$val.ReadResponse(a);};M.ptr.prototype.DotReader=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.closeDot();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.dot=new Q.ptr(a,0);$s=-1;return a.dot;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.DotReader};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.DotReader=function(){return this.$val.DotReader();};Q.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;e=d.r.R;case 1:if(!(b<a.$length&&!((d.state===5)))){$s=2;continue;}f=0;h=e.ReadByte();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;f=g[0];c=g[1];if(!($interfaceIsEqual(c,$ifaceNil))){if($interfaceIsEqual(c,D.EOF)){c=D.ErrUnexpectedEOF;}$s=2;continue;}switch(0){default:i=d.state;if(i===(0)){if(f===46){d.state=1;$s=1;continue;}if(f===13){d.state=3;$s=1;continue;}d.state=4;}else if(i===(1)){if(f===13){d.state=2;$s=1;continue;}if(f===10){d.state=5;$s=1;continue;}d.state=4;}else if(i===(2)){if(f===10){d.state=5;$s=1;continue;}e.UnreadByte();f=13;d.state=4;}else if(i===(3)){if(f===10){d.state=0;break;}e.UnreadByte();f=13;d.state=4;}else if(i===(4)){if(f===13){d.state=3;$s=1;continue;}if(f===10){d.state=0;}}}((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]=f);b=b+(1)>>0;$s=1;continue;case 2:if($interfaceIsEqual(c,$ifaceNil)&&(d.state===5)){c=D.EOF;}if(!($interfaceIsEqual(c,$ifaceNil))&&d.r.dot===d){d.r.dot=AO.nil;}$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:Q.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};Q.prototype.Read=function(a){return this.$val.Read(a);};M.ptr.prototype.closeDot=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.dot===AO.nil){$s=-1;return;}b=$makeSlice(AL,128);case 1:if(!(!(a.dot===AO.nil))){$s=2;continue;}c=a.dot.Read(b);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.closeDot};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.closeDot=function(){return this.$val.closeDot();};M.ptr.prototype.ReadDotBytes=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.DotReader();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=E.ReadAll(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadDotBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadDotBytes=function(){return this.$val.ReadDotBytes();};M.ptr.prototype.ReadDotLines=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=AM.nil;c=$ifaceNil;case 1:d=\"\";f=a.ReadLine();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d=e[0];c=e[1];if(!($interfaceIsEqual(c,$ifaceNil))){if($interfaceIsEqual(c,D.EOF)){c=D.ErrUnexpectedEOF;}$s=2;continue;}if(d.length>0&&(d.charCodeAt(0)===46)){if(d.length===1){$s=2;continue;}d=$substring(d,1);}b=$append(b,d);$s=1;continue;case 2:$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadDotLines};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadDotLines=function(){return this.$val.ReadDotLines();};M.ptr.prototype.ReadMIMEHeader=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=AM.nil;c=a.upcomingHeaderNewlines();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d>0){b=$makeSlice(AM,d);}e=((d<0||d>2147483647)?$throwRuntimeError(\"makemap: size out of range\"):{});case 2:g=a.readContinuedLineSlice();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(h.$length===0){$s=-1;return[e,i];}j=C.IndexByte(h,58);if(j<0){$s=-1;return[e,new Y((\"malformed MIME header line: \"+($bytesToString(h))))];}k=j;while(true){if(!(k>0&&((l=k-1>>0,((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]))===32))){break;}k=k-(1)>>0;}m=T($subslice(h,0,k));if(m===\"\"){$s=2;continue;}j=j+(1)>>0;while(true){if(!(j<h.$length&&((((j<0||j>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+j])===32)||(((j<0||j>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+j])===9)))){break;}j=j+(1)>>0;}n=($bytesToString($subslice(h,j)));p=(o=e[$String.keyFor(m)],o!==undefined?o.v:AM.nil);if(p===AM.nil&&b.$length>0){q=$subslice(b,0,1,1);r=$subslice(b,1);p=q;b=r;(0>=p.$length?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+0]=n);s=m;(e||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(s)]={k:s,v:p};}else{t=m;(e||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(t)]={k:t,v:$append(p,n)};}if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[e,i];}$s=2;continue;case 3:$s=-1;return[false,$ifaceNil];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.ReadMIMEHeader};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.ReadMIMEHeader=function(){return this.$val.ReadMIMEHeader();};M.ptr.prototype.upcomingHeaderNewlines=function(){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;c=b.R.Peek(1);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;d=b.R.Buffered();if(d===0){$s=-1;return a;}f=b.R.Peek(d);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];while(true){if(!(g.$length>0)){break;}h=C.IndexByte(g,10);if(h<3){$s=-1;return a;}a=a+(1)>>0;g=$subslice(g,(h+1>>0));}$s=-1;return a;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.upcomingHeaderNewlines};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.upcomingHeaderNewlines=function(){return this.$val.upcomingHeaderNewlines();};R=function(a){var $ptr,a,b,c,d;b=true;c=0;while(true){if(!(c<a.length)){break;}d=a.charCodeAt(c);if(!S(d)){return a;}if(b&&97<=d&&d<=122){return T((new AL($stringToBytes(a))));}if(!b&&65<=d&&d<=90){return T((new AL($stringToBytes(a))));}b=d===45;c=c+(1)>>0;}return a;};$pkg.CanonicalMIMEHeaderKey=R;S=function(a){var $ptr,a;return((a>>0))<127&&((a<0||a>=W.length)?($throwRuntimeError(\"index out of range\"),undefined):W[a]);};T=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c]);if(S(d)){c++;continue;}return($bytesToString(a));}e=true;f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(e&&97<=i&&i<=122){i=i-(32)<<24>>>24;}else if(!e&&65<=i&&i<=90){i=i+(32)<<24>>>24;}((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h]=i);e=i===45;g++;}k=(j=U[$String.keyFor(($bytesToString(a)))],j!==undefined?j.v:\"\");if(!(k===\"\")){return k;}return($bytesToString(a));};V=function(){var $ptr,a,b,c,d;a=new AM([\"Accept\",\"Accept-Charset\",\"Accept-Encoding\",\"Accept-Language\",\"Accept-Ranges\",\"Cache-Control\",\"Cc\",\"Connection\",\"Content-Id\",\"Content-Language\",\"Content-Length\",\"Content-Transfer-Encoding\",\"Content-Type\",\"Cookie\",\"Date\",\"Dkim-Signature\",\"Etag\",\"Expires\",\"From\",\"Host\",\"If-Modified-Since\",\"If-None-Match\",\"In-Reply-To\",\"Last-Modified\",\"Location\",\"Message-Id\",\"Mime-Version\",\"Pragma\",\"Received\",\"Return-Path\",\"Server\",\"Set-Cookie\",\"Subject\",\"To\",\"User-Agent\",\"Via\",\"X-Forwarded-For\",\"X-Imforwards\",\"X-Powered-By\"]);b=0;while(true){if(!(b<a.$length)){break;}c=((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]);d=c;(U||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(d)]={k:d,v:c};b++;}};X.ptr.prototype.Error=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=H.Sprintf(\"%03d %s\",new AQ([new $Int(a.Code),new $String(a.Msg)]));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.prototype.Error=function(){var $ptr,a;a=this.$val;return(a);};$ptrType(Y).prototype.Error=function(){return new Y(this.$get()).Error();};AC=function(a){var $ptr,a;while(true){if(!(a.length>0&&AE(a.charCodeAt(0)))){break;}a=$substring(a,1);}while(true){if(!(a.length>0&&AE(a.charCodeAt((a.length-1>>0))))){break;}a=$substring(a,0,(a.length-1>>0));}return a;};$pkg.TrimString=AC;AE=function(a){var $ptr,a;return(a===32)||(a===9)||(a===10)||(a===13);};AF=function(a){var $ptr,a;a=(a|(32))>>>0;return 97<=a&&a<=122;};J.methods=[{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([$String,$String],[],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$String],[],false)},{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Del\",name:\"Del\",pkg:\"\",typ:$funcType([$String],[],false)}];AP.methods=[{prop:\"ReadLine\",name:\"ReadLine\",pkg:\"\",typ:$funcType([],[$String,$error],false)},{prop:\"ReadLineBytes\",name:\"ReadLineBytes\",pkg:\"\",typ:$funcType([],[AL,$error],false)},{prop:\"readLineSlice\",name:\"readLineSlice\",pkg:\"net/textproto\",typ:$funcType([],[AL,$error],false)},{prop:\"ReadContinuedLine\",name:\"ReadContinuedLine\",pkg:\"\",typ:$funcType([],[$String,$error],false)},{prop:\"ReadContinuedLineBytes\",name:\"ReadContinuedLineBytes\",pkg:\"\",typ:$funcType([],[AL,$error],false)},{prop:\"readContinuedLineSlice\",name:\"readContinuedLineSlice\",pkg:\"net/textproto\",typ:$funcType([],[AL,$error],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"net/textproto\",typ:$funcType([],[$Int],false)},{prop:\"readCodeLine\",name:\"readCodeLine\",pkg:\"net/textproto\",typ:$funcType([$Int],[$Int,$Bool,$String,$error],false)},{prop:\"ReadCodeLine\",name:\"ReadCodeLine\",pkg:\"\",typ:$funcType([$Int],[$Int,$String,$error],false)},{prop:\"ReadResponse\",name:\"ReadResponse\",pkg:\"\",typ:$funcType([$Int],[$Int,$String,$error],false)},{prop:\"DotReader\",name:\"DotReader\",pkg:\"\",typ:$funcType([],[D.Reader],false)},{prop:\"closeDot\",name:\"closeDot\",pkg:\"net/textproto\",typ:$funcType([],[],false)},{prop:\"ReadDotBytes\",name:\"ReadDotBytes\",pkg:\"\",typ:$funcType([],[AL,$error],false)},{prop:\"ReadDotLines\",name:\"ReadDotLines\",pkg:\"\",typ:$funcType([],[AM,$error],false)},{prop:\"ReadMIMEHeader\",name:\"ReadMIMEHeader\",pkg:\"\",typ:$funcType([],[J,$error],false)},{prop:\"upcomingHeaderNewlines\",name:\"upcomingHeaderNewlines\",pkg:\"net/textproto\",typ:$funcType([],[$Int],false)}];AO.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AL],[$Int,$error],false)}];AZ.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];Y.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];J.init($String,AM);M.init(\"net/textproto\",[{prop:\"R\",name:\"R\",exported:true,typ:AN,tag:\"\"},{prop:\"dot\",name:\"dot\",exported:false,typ:AO,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:AL,tag:\"\"}]);Q.init(\"net/textproto\",[{prop:\"r\",name:\"r\",exported:false,typ:AP,tag:\"\"},{prop:\"state\",name:\"state\",exported:false,typ:$Int,tag:\"\"}]);X.init(\"\",[{prop:\"Code\",name:\"Code\",exported:true,typ:$Int,tag:\"\"},{prop:\"Msg\",name:\"Msg\",exported:true,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}U={};W=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,true,true,true,true,true,false,false,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true]);V();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"mime/multipart\"]=(function(){var $pkg={},$init,G,A,K,B,H,C,D,I,J,E,F,L,M,N,O,P,Q,S,U,W,Z,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AR,AV,AW,AX,AY,AZ,R,AE,T,V,X,Y,AA;G=$packages[\"bufio\"];A=$packages[\"bytes\"];K=$packages[\"crypto/rand\"];B=$packages[\"errors\"];H=$packages[\"fmt\"];C=$packages[\"io\"];D=$packages[\"io/ioutil\"];I=$packages[\"mime\"];J=$packages[\"mime/quotedprintable\"];E=$packages[\"net/textproto\"];F=$packages[\"os\"];L=$packages[\"sort\"];M=$packages[\"strings\"];N=$pkg.Form=$newType(0,$kindStruct,\"multipart.Form\",true,\"mime/multipart\",true,function(Value_,File_){this.$val=this;if(arguments.length===0){this.Value=false;this.File=false;return;}this.Value=Value_;this.File=File_;});O=$pkg.FileHeader=$newType(0,$kindStruct,\"multipart.FileHeader\",true,\"mime/multipart\",true,function(Filename_,Header_,content_,tmpfile_){this.$val=this;if(arguments.length===0){this.Filename=\"\";this.Header=false;this.content=AJ.nil;this.tmpfile=\"\";return;}this.Filename=Filename_;this.Header=Header_;this.content=content_;this.tmpfile=tmpfile_;});P=$pkg.File=$newType(8,$kindInterface,\"multipart.File\",true,\"mime/multipart\",true,null);Q=$pkg.sectionReadCloser=$newType(0,$kindStruct,\"multipart.sectionReadCloser\",true,\"mime/multipart\",false,function(SectionReader_){this.$val=this;if(arguments.length===0){this.SectionReader=AX.nil;return;}this.SectionReader=SectionReader_;});S=$pkg.Part=$newType(0,$kindStruct,\"multipart.Part\",true,\"mime/multipart\",true,function(Header_,mr_,disposition_,dispositionParams_,r_,n_,total_,err_,readErr_){this.$val=this;if(arguments.length===0){this.Header=false;this.mr=AQ.nil;this.disposition=\"\";this.dispositionParams=false;this.r=$ifaceNil;this.n=0;this.total=new $Int64(0,0);this.err=$ifaceNil;this.readErr=$ifaceNil;return;}this.Header=Header_;this.mr=mr_;this.disposition=disposition_;this.dispositionParams=dispositionParams_;this.r=r_;this.n=n_;this.total=total_;this.err=err_;this.readErr=readErr_;});U=$pkg.stickyErrorReader=$newType(0,$kindStruct,\"multipart.stickyErrorReader\",true,\"mime/multipart\",false,function(r_,err_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.err=$ifaceNil;return;}this.r=r_;this.err=err_;});W=$pkg.partReader=$newType(0,$kindStruct,\"multipart.partReader\",true,\"mime/multipart\",false,function(p_){this.$val=this;if(arguments.length===0){this.p=AP.nil;return;}this.p=p_;});Z=$pkg.Reader=$newType(0,$kindStruct,\"multipart.Reader\",true,\"mime/multipart\",true,function(bufReader_,currentPart_,partsRead_,nl_,nlDashBoundary_,dashBoundaryDash_,dashBoundary_){this.$val=this;if(arguments.length===0){this.bufReader=AO.nil;this.currentPart=AP.nil;this.partsRead=0;this.nl=AJ.nil;this.nlDashBoundary=AJ.nil;this.dashBoundaryDash=AJ.nil;this.dashBoundary=AJ.nil;return;}this.bufReader=bufReader_;this.currentPart=currentPart_;this.partsRead=partsRead_;this.nl=nl_;this.nlDashBoundary=nlDashBoundary_;this.dashBoundaryDash=dashBoundaryDash_;this.dashBoundary=dashBoundary_;});AH=$sliceType($String);AI=$ptrType(N);AJ=$sliceType($Uint8);AK=$arrayType($Uint8,64);AL=$sliceType(C.Reader);AM=$ptrType(O);AN=$sliceType(AM);AO=$ptrType(G.Reader);AP=$ptrType(S);AQ=$ptrType(Z);AR=$sliceType($emptyInterface);AV=$mapType($String,AH);AW=$mapType($String,AN);AX=$ptrType(C.SectionReader);AY=$mapType($String,$String);AZ=$ptrType(U);Z.ptr.prototype.ReadForm=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.readForm(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:Z.ptr.prototype.ReadForm};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};Z.prototype.ReadForm=function(a){return this.$val.ReadForm(a);};Z.ptr.prototype.readForm=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];c=[c];d=AI.nil;b[0]=$ifaceNil;e=this;c[0]=new N.ptr({},{});$deferred.push([(function(b,c){return function(){var $ptr;if(!($interfaceIsEqual(b[0],$ifaceNil))){c[0].RemoveAll();}};})(b,c),[]]);f=new $Int64(0,10485760);case 1:g=[g];i=e.NextPart();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];if($interfaceIsEqual(k,C.EOF)){$s=2;continue;}if(!($interfaceIsEqual(k,$ifaceNil))){l=AI.nil;m=k;d=l;b[0]=m;$s=-1;return[d,b[0]];}n=j.FormName();$s=4;case 4:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;if(o===\"\"){$s=5;continue;}$s=6;continue;case 5:$s=1;continue;case 6:p=j.FileName();$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;g[0]=new A.Buffer.ptr(AJ.nil,0,AK.zero(),0);if(q===\"\"){$s=8;continue;}$s=9;continue;case 8:s=C.CopyN(g[0],j,f);$s=10;case 10:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))&&!($interfaceIsEqual(u,C.EOF))){v=AI.nil;w=u;d=v;b[0]=w;$s=-1;return[d,b[0]];}f=(x=t,new $Int64(f.$high-x.$high,f.$low-x.$low));if((f.$high===0&&f.$low===0)){y=AI.nil;z=B.New(\"multipart: message too large\");d=y;b[0]=z;$s=-1;return[d,b[0]];}aa=o;(c[0].Value||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(aa)]={k:aa,v:$append((ab=c[0].Value[$String.keyFor(o)],ab!==undefined?ab.v:AH.nil),g[0].String())};$s=1;continue;case 9:ac=new O.ptr(q,j.Header,AJ.nil,\"\");ae=C.CopyN(g[0],j,new $Int64(a.$high+0,a.$low+1));$s=11;case 11:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;af=ad[0];k=ad[1];if(!($interfaceIsEqual(k,$ifaceNil))&&!($interfaceIsEqual(k,C.EOF))){ag=AI.nil;ah=k;d=ag;b[0]=ah;$s=-1;return[d,b[0]];}if((af.$high>a.$high||(af.$high===a.$high&&af.$low>a.$low))){$s=12;continue;}$s=13;continue;case 12:aj=D.TempFile(\"\",\"multipart-\");$s=15;case 15:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;ak=ai[0];al=ai[1];if(!($interfaceIsEqual(al,$ifaceNil))){am=AI.nil;an=al;d=am;b[0]=an;$s=-1;return[d,b[0]];}ap=C.Copy(ak,C.MultiReader(new AL([g[0],j])));$s=16;case 16:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;al=ao[1];aq=ak.Close();if($interfaceIsEqual(al,$ifaceNil)){al=aq;}if(!($interfaceIsEqual(al,$ifaceNil))){F.Remove(ak.Name());ar=AI.nil;as=al;d=ar;b[0]=as;$s=-1;return[d,b[0]];}ac.tmpfile=ak.Name();$s=14;continue;case 13:ac.content=g[0].Bytes();a=(at=af,new $Int64(a.$high-at.$high,a.$low-at.$low));case 14:au=o;(c[0].File||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(au)]={k:au,v:$append((av=c[0].File[$String.keyFor(o)],av!==undefined?av.v:AN.nil),ac)};$s=1;continue;case 2:aw=c[0];ax=$ifaceNil;d=aw;b[0]=ax;$s=-1;return[d,b[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,b[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:Z.ptr.prototype.readForm};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};Z.prototype.readForm=function(a){return this.$val.readForm(a);};N.ptr.prototype.RemoveAll=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k;a=this;b=$ifaceNil;c=a.File;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.v;h=g;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if(!(j.tmpfile===\"\")){k=F.Remove(j.tmpfile);if(!($interfaceIsEqual(k,$ifaceNil))&&$interfaceIsEqual(b,$ifaceNil)){b=k;}}i++;}d++;}return b;};N.prototype.RemoveAll=function(){return this.$val.RemoveAll();};O.ptr.prototype.Open=function(){var $ptr,a,b,c,d,e;a=this;b=a.content;if(!(b===AJ.nil)){c=C.NewSectionReader(A.NewReader(b),new $Int64(0,0),(new $Int64(0,b.$length)));return[(d=new Q.ptr(c),new d.constructor.elem(d)),$ifaceNil];}e=F.Open(a.tmpfile);return[e[0],e[1]];};O.prototype.Open=function(){return this.$val.Open();};Q.ptr.prototype.Close=function(){var $ptr,a;a=this;return $ifaceNil;};Q.prototype.Close=function(){return this.$val.Close();};S.ptr.prototype.FormName=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.dispositionParams===false){$s=1;continue;}$s=2;continue;case 1:$r=a.parseContentDisposition();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(!(a.disposition===\"form-data\")){$s=-1;return\"\";}$s=-1;return(b=a.dispositionParams[$String.keyFor(\"name\")],b!==undefined?b.v:\"\");}return;}if($f===undefined){$f={$blk:S.ptr.prototype.FormName};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};S.prototype.FormName=function(){return this.$val.FormName();};S.ptr.prototype.FileName=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.dispositionParams===false){$s=1;continue;}$s=2;continue;case 1:$r=a.parseContentDisposition();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return(b=a.dispositionParams[$String.keyFor(\"filename\")],b!==undefined?b.v:\"\");}return;}if($f===undefined){$f={$blk:S.ptr.prototype.FileName};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};S.prototype.FileName=function(){return this.$val.FileName();};S.ptr.prototype.parseContentDisposition=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=new E.MIMEHeader(a.Header).Get(\"Content-Disposition\");c=$ifaceNil;e=I.ParseMediaType(b);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;a.disposition=d[0];a.dispositionParams=d[1];c=d[2];if(!($interfaceIsEqual(c,$ifaceNil))){a.dispositionParams=R;}$s=-1;return;}return;}if($f===undefined){$f={$blk:S.ptr.prototype.parseContentDisposition};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};S.prototype.parseContentDisposition=function(){return this.$val.parseContentDisposition();};T=function(a,b){var $ptr,a,b,c;c=(new AJ($stringToBytes(\"\\r\\n--\"+b+\"--\")));return new Z.ptr(G.NewReaderSize(new U.ptr(a,$ifaceNil),4096),AP.nil,0,$subslice(c,0,2),$subslice(c,0,(c.$length-2>>0)),$subslice(c,2),$subslice(c,2,(c.$length-2>>0)));};$pkg.NewReader=T;U.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if(!($interfaceIsEqual(d.err,$ifaceNil))){e=0;f=d.err;b=e;c=f;$s=-1;return[b,c];}h=d.r.Read(a);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;b=g[0];d.err=g[1];i=b;j=d.err;b=i;c=j;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:U.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};U.prototype.Read=function(a){return this.$val.Read(a);};V=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new S.ptr({},a,\"\",false,$ifaceNil,0,new $Int64(0,0),$ifaceNil,$ifaceNil);c=b.populateHeaders();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[AP.nil,d];}b.r=(e=new W.ptr(b),new e.constructor.elem(e));if(new E.MIMEHeader(b.Header).Get(\"Content-Transfer-Encoding\")===\"quoted-printable\"){new E.MIMEHeader(b.Header).Del(\"Content-Transfer-Encoding\");b.r=J.NewReader(b.r);}$s=-1;return[b,$ifaceNil];}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};S.ptr.prototype.populateHeaders=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=E.NewReader(a.mr.bufReader);d=b.ReadMIMEHeader();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if($interfaceIsEqual(f,$ifaceNil)){a.Header=e;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:S.ptr.prototype.populateHeaders};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};S.prototype.populateHeaders=function(){return this.$val.populateHeaders();};S.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;f=d.r.Read(a);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;b=e[0];c=e[1];$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:S.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};S.prototype.Read=function(a){return this.$val.Read(a);};W.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.p;d=c.mr.bufReader;case 1:if(!((c.n===0)&&$interfaceIsEqual(c.err,$ifaceNil))){$s=2;continue;}f=d.Peek(d.Buffered());$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=X(g,c.mr.dashBoundary,c.mr.nlDashBoundary,c.total,c.readErr);c.n=h[0];c.err=h[1];if((c.n===0)&&$interfaceIsEqual(c.err,$ifaceNil)){$s=4;continue;}$s=5;continue;case 4:j=d.Peek(g.$length+1>>0);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;c.readErr=i[1];if($interfaceIsEqual(c.readErr,C.EOF)){c.readErr=C.ErrUnexpectedEOF;}case 5:$s=1;continue;case 2:if(c.n===0){$s=-1;return[0,c.err];}k=a.$length;if(k>c.n){k=c.n;}m=d.Read($subslice(a,0,k));$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;k=l[0];c.total=(n=c.total,o=(new $Int64(0,k)),new $Int64(n.$high+o.$high,n.$low+o.$low));c.n=c.n-(k)>>0;if(c.n===0){$s=-1;return[k,c.err];}$s=-1;return[k,$ifaceNil];}return;}if($f===undefined){$f={$blk:W.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};W.prototype.Read=function(a){return this.$val.Read(a);};X=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i;if((d.$high===0&&d.$low===0)){if(A.HasPrefix(a,b)){f=Y(a,b,e);if(f===(-1)){return[b.$length,$ifaceNil];}else if(f===(0)){return[0,$ifaceNil];}else if(f===(1)){return[0,C.EOF];}}if(A.HasPrefix(b,a)){return[0,e];}}g=A.Index(a,c);if(g>=0){h=Y($subslice(a,g),c,e);if(h===(-1)){return[g+c.$length>>0,$ifaceNil];}else if(h===(0)){return[g,$ifaceNil];}else if(h===(1)){return[g,C.EOF];}}if(A.HasPrefix(c,a)){return[0,e];}i=A.LastIndexByte(a,(0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0]));if(i>=0&&A.HasPrefix(c,$subslice(a,i))){return[i,$ifaceNil];}return[a.$length,e];};Y=function(a,b,c){var $ptr,a,b,c,d,e;if(a.$length===b.$length){if(!($interfaceIsEqual(c,$ifaceNil))){return 1;}return 0;}e=(d=b.$length,((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]));if((e===32)||(e===9)||(e===13)||(e===10)||(e===45)){return 1;}return-1;};S.ptr.prototype.Close=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=C.Copy(D.Discard,a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:S.ptr.prototype.Close};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};S.prototype.Close=function(){return this.$val.Close();};Z.ptr.prototype.NextPart=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(!(a.currentPart===AP.nil)){$s=1;continue;}$s=2;continue;case 1:b=a.currentPart.Close();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;case 2:c=false;case 4:e=a.bufReader.ReadSlice(10);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=d[1];if($interfaceIsEqual(g,C.EOF)&&a.isFinalBoundary(f)){$s=-1;return[AP.nil,C.EOF];}if(!($interfaceIsEqual(g,$ifaceNil))){$s=7;continue;}$s=8;continue;case 7:h=H.Errorf(\"multipart: NextPart: %v\",new AR([g]));$s=9;case 9:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return[AP.nil,h];case 8:if(a.isBoundaryDelimiterLine(f)){$s=10;continue;}$s=11;continue;case 10:a.partsRead=a.partsRead+(1)>>0;j=V(a);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[AP.nil,l];}a.currentPart=k;$s=-1;return[k,$ifaceNil];case 11:if(a.isFinalBoundary(f)){$s=-1;return[AP.nil,C.EOF];}if(c){$s=13;continue;}$s=14;continue;case 13:m=H.Errorf(\"multipart: expecting a new Part; got line %q\",new AR([new $String(($bytesToString(f)))]));$s=15;case 15:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[AP.nil,m];case 14:if(a.partsRead===0){$s=16;continue;}$s=17;continue;case 16:$s=4;continue;case 17:if(A.Equal(f,a.nl)){$s=18;continue;}$s=19;continue;case 18:c=true;$s=4;continue;case 19:n=H.Errorf(\"multipart: unexpected line in Next(): %q\",new AR([f]));$s=20;case 20:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return[AP.nil,n];$s=4;continue;case 5:$s=-1;return[AP.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:Z.ptr.prototype.NextPart};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};Z.prototype.NextPart=function(){return this.$val.NextPart();};Z.ptr.prototype.isFinalBoundary=function(a){var $ptr,a,b,c;b=this;if(!A.HasPrefix(a,b.dashBoundaryDash)){return false;}c=$subslice(a,b.dashBoundaryDash.$length);c=AA(c);return(c.$length===0)||A.Equal(c,b.nl);};Z.prototype.isFinalBoundary=function(a){return this.$val.isFinalBoundary(a);};Z.ptr.prototype.isBoundaryDelimiterLine=function(a){var $ptr,a,b,c,d;b=false;c=this;if(!A.HasPrefix(a,c.dashBoundary)){b=false;return b;}d=$subslice(a,c.dashBoundary.$length);d=AA(d);if((c.partsRead===0)&&(d.$length===1)&&((0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0])===10)){c.nl=$subslice(c.nl,1);c.nlDashBoundary=$subslice(c.nlDashBoundary,1);}b=A.Equal(d,c.nl);return b;};Z.prototype.isBoundaryDelimiterLine=function(a){return this.$val.isBoundaryDelimiterLine(a);};AA=function(a){var $ptr,a;while(true){if(!(a.$length>0&&(((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===32)||((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===9)))){break;}a=$subslice(a,1);}return a;};AI.methods=[{prop:\"RemoveAll\",name:\"RemoveAll\",pkg:\"\",typ:$funcType([],[$error],false)}];AM.methods=[{prop:\"Open\",name:\"Open\",pkg:\"\",typ:$funcType([],[P,$error],false)}];Q.methods=[{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];AP.methods=[{prop:\"FormName\",name:\"FormName\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"FileName\",name:\"FileName\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"parseContentDisposition\",name:\"parseContentDisposition\",pkg:\"mime/multipart\",typ:$funcType([],[],false)},{prop:\"populateHeaders\",name:\"populateHeaders\",pkg:\"mime/multipart\",typ:$funcType([],[$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AJ],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];AZ.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AJ],[$Int,$error],false)}];W.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AJ],[$Int,$error],false)}];AQ.methods=[{prop:\"ReadForm\",name:\"ReadForm\",pkg:\"\",typ:$funcType([$Int64],[AI,$error],false)},{prop:\"readForm\",name:\"readForm\",pkg:\"mime/multipart\",typ:$funcType([$Int64],[AI,$error],false)},{prop:\"NextPart\",name:\"NextPart\",pkg:\"\",typ:$funcType([],[AP,$error],false)},{prop:\"isFinalBoundary\",name:\"isFinalBoundary\",pkg:\"mime/multipart\",typ:$funcType([AJ],[$Bool],false)},{prop:\"isBoundaryDelimiterLine\",name:\"isBoundaryDelimiterLine\",pkg:\"mime/multipart\",typ:$funcType([AJ],[$Bool],false)}];N.init(\"\",[{prop:\"Value\",name:\"Value\",exported:true,typ:AV,tag:\"\"},{prop:\"File\",name:\"File\",exported:true,typ:AW,tag:\"\"}]);O.init(\"mime/multipart\",[{prop:\"Filename\",name:\"Filename\",exported:true,typ:$String,tag:\"\"},{prop:\"Header\",name:\"Header\",exported:true,typ:E.MIMEHeader,tag:\"\"},{prop:\"content\",name:\"content\",exported:false,typ:AJ,tag:\"\"},{prop:\"tmpfile\",name:\"tmpfile\",exported:false,typ:$String,tag:\"\"}]);P.init([{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([AJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([AJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)}]);Q.init(\"\",[{prop:\"SectionReader\",name:\"\",exported:true,typ:AX,tag:\"\"}]);S.init(\"mime/multipart\",[{prop:\"Header\",name:\"Header\",exported:true,typ:E.MIMEHeader,tag:\"\"},{prop:\"mr\",name:\"mr\",exported:false,typ:AQ,tag:\"\"},{prop:\"disposition\",name:\"disposition\",exported:false,typ:$String,tag:\"\"},{prop:\"dispositionParams\",name:\"dispositionParams\",exported:false,typ:AY,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:C.Reader,tag:\"\"},{prop:\"n\",name:\"n\",exported:false,typ:$Int,tag:\"\"},{prop:\"total\",name:\"total\",exported:false,typ:$Int64,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"readErr\",name:\"readErr\",exported:false,typ:$error,tag:\"\"}]);U.init(\"mime/multipart\",[{prop:\"r\",name:\"r\",exported:false,typ:C.Reader,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);W.init(\"mime/multipart\",[{prop:\"p\",name:\"p\",exported:false,typ:AP,tag:\"\"}]);Z.init(\"mime/multipart\",[{prop:\"bufReader\",name:\"bufReader\",exported:false,typ:AO,tag:\"\"},{prop:\"currentPart\",name:\"currentPart\",exported:false,typ:AP,tag:\"\"},{prop:\"partsRead\",name:\"partsRead\",exported:false,typ:$Int,tag:\"\"},{prop:\"nl\",name:\"nl\",exported:false,typ:AJ,tag:\"\"},{prop:\"nlDashBoundary\",name:\"nlDashBoundary\",exported:false,typ:AJ,tag:\"\"},{prop:\"dashBoundaryDash\",name:\"dashBoundaryDash\",exported:false,typ:AJ,tag:\"\"},{prop:\"dashBoundary\",name:\"dashBoundary\",exported:false,typ:AJ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=G.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}R={};AE=M.NewReplacer(new AH([\"\\\\\",\"\\\\\\\\\",\"\\\"\",\"\\\\\\\"\"]));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"net/http/httptrace\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,H;A=$packages[\"context\"];B=$packages[\"crypto/tls\"];C=$packages[\"internal/nettrace\"];D=$packages[\"net\"];E=$packages[\"reflect\"];F=$packages[\"time\"];G=$pkg.clientEventContextKey=$newType(0,$kindStruct,\"httptrace.clientEventContextKey\",true,\"net/http/httptrace\",false,function(){this.$val=this;if(arguments.length===0){return;}});J=$pkg.ClientTrace=$newType(0,$kindStruct,\"httptrace.ClientTrace\",true,\"net/http/httptrace\",true,function(GetConn_,GotConn_,PutIdleConn_,GotFirstResponseByte_,Got100Continue_,DNSStart_,DNSDone_,ConnectStart_,ConnectDone_,TLSHandshakeStart_,TLSHandshakeDone_,WroteHeaders_,Wait100Continue_,WroteRequest_){this.$val=this;if(arguments.length===0){this.GetConn=$throwNilPointerError;this.GotConn=$throwNilPointerError;this.PutIdleConn=$throwNilPointerError;this.GotFirstResponseByte=$throwNilPointerError;this.Got100Continue=$throwNilPointerError;this.DNSStart=$throwNilPointerError;this.DNSDone=$throwNilPointerError;this.ConnectStart=$throwNilPointerError;this.ConnectDone=$throwNilPointerError;this.TLSHandshakeStart=$throwNilPointerError;this.TLSHandshakeDone=$throwNilPointerError;this.WroteHeaders=$throwNilPointerError;this.Wait100Continue=$throwNilPointerError;this.WroteRequest=$throwNilPointerError;return;}this.GetConn=GetConn_;this.GotConn=GotConn_;this.PutIdleConn=PutIdleConn_;this.GotFirstResponseByte=GotFirstResponseByte_;this.Got100Continue=Got100Continue_;this.DNSStart=DNSStart_;this.DNSDone=DNSDone_;this.ConnectStart=ConnectStart_;this.ConnectDone=ConnectDone_;this.TLSHandshakeStart=TLSHandshakeStart_;this.TLSHandshakeDone=TLSHandshakeDone_;this.WroteHeaders=WroteHeaders_;this.Wait100Continue=Wait100Continue_;this.WroteRequest=WroteRequest_;});K=$pkg.WroteRequestInfo=$newType(0,$kindStruct,\"httptrace.WroteRequestInfo\",true,\"net/http/httptrace\",true,function(Err_){this.$val=this;if(arguments.length===0){this.Err=$ifaceNil;return;}this.Err=Err_;});L=$pkg.DNSStartInfo=$newType(0,$kindStruct,\"httptrace.DNSStartInfo\",true,\"net/http/httptrace\",true,function(Host_){this.$val=this;if(arguments.length===0){this.Host=\"\";return;}this.Host=Host_;});M=$pkg.DNSDoneInfo=$newType(0,$kindStruct,\"httptrace.DNSDoneInfo\",true,\"net/http/httptrace\",true,function(Addrs_,Err_,Coalesced_){this.$val=this;if(arguments.length===0){this.Addrs=P.nil;this.Err=$ifaceNil;this.Coalesced=false;return;}this.Addrs=Addrs_;this.Err=Err_;this.Coalesced=Coalesced_;});N=$pkg.GotConnInfo=$newType(0,$kindStruct,\"httptrace.GotConnInfo\",true,\"net/http/httptrace\",true,function(Conn_,Reused_,WasIdle_,IdleTime_){this.$val=this;if(arguments.length===0){this.Conn=$ifaceNil;this.Reused=false;this.WasIdle=false;this.IdleTime=new F.Duration(0,0);return;}this.Conn=Conn_;this.Reused=Reused_;this.WasIdle=WasIdle_;this.IdleTime=IdleTime_;});O=$ptrType(J);P=$sliceType(D.IPAddr);Q=$funcType([$String],[],false);R=$funcType([N],[],false);S=$funcType([$error],[],false);T=$funcType([],[],false);U=$funcType([L],[],false);V=$funcType([M],[],false);W=$funcType([$String,$String],[],false);X=$funcType([$String,$String,$error],[],false);Y=$funcType([B.ConnectionState,$error],[],false);Z=$funcType([K],[],false);H=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=a.Value((c=new G.ptr(),new c.constructor.elem(c)));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b=$assertType(d,O,true);e=b[0];$s=-1;return e;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ContextClientTrace=H;O.methods=[{prop:\"compose\",name:\"compose\",pkg:\"net/http/httptrace\",typ:$funcType([O],[],false)},{prop:\"hasNetHooks\",name:\"hasNetHooks\",pkg:\"net/http/httptrace\",typ:$funcType([],[$Bool],false)}];G.init(\"\",[]);J.init(\"\",[{prop:\"GetConn\",name:\"GetConn\",exported:true,typ:Q,tag:\"\"},{prop:\"GotConn\",name:\"GotConn\",exported:true,typ:R,tag:\"\"},{prop:\"PutIdleConn\",name:\"PutIdleConn\",exported:true,typ:S,tag:\"\"},{prop:\"GotFirstResponseByte\",name:\"GotFirstResponseByte\",exported:true,typ:T,tag:\"\"},{prop:\"Got100Continue\",name:\"Got100Continue\",exported:true,typ:T,tag:\"\"},{prop:\"DNSStart\",name:\"DNSStart\",exported:true,typ:U,tag:\"\"},{prop:\"DNSDone\",name:\"DNSDone\",exported:true,typ:V,tag:\"\"},{prop:\"ConnectStart\",name:\"ConnectStart\",exported:true,typ:W,tag:\"\"},{prop:\"ConnectDone\",name:\"ConnectDone\",exported:true,typ:X,tag:\"\"},{prop:\"TLSHandshakeStart\",name:\"TLSHandshakeStart\",exported:true,typ:T,tag:\"\"},{prop:\"TLSHandshakeDone\",name:\"TLSHandshakeDone\",exported:true,typ:Y,tag:\"\"},{prop:\"WroteHeaders\",name:\"WroteHeaders\",exported:true,typ:T,tag:\"\"},{prop:\"Wait100Continue\",name:\"Wait100Continue\",exported:true,typ:T,tag:\"\"},{prop:\"WroteRequest\",name:\"WroteRequest\",exported:true,typ:Z,tag:\"\"}]);K.init(\"\",[{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);L.init(\"\",[{prop:\"Host\",name:\"Host\",exported:true,typ:$String,tag:\"\"}]);M.init(\"\",[{prop:\"Addrs\",name:\"Addrs\",exported:true,typ:P,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"},{prop:\"Coalesced\",name:\"Coalesced\",exported:true,typ:$Bool,tag:\"\"}]);N.init(\"\",[{prop:\"Conn\",name:\"Conn\",exported:true,typ:D.Conn,tag:\"\"},{prop:\"Reused\",name:\"Reused\",exported:true,typ:$Bool,tag:\"\"},{prop:\"WasIdle\",name:\"WasIdle\",exported:true,typ:$Bool,tag:\"\"},{prop:\"IdleTime\",name:\"IdleTime\",exported:true,typ:F.Duration,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"net/http/internal\"]=(function(){var $pkg={},$init,A,B,C,D,E,G,M,N,P,Q,R,S,T,U,V,W,F,H,I,J,K,L,O;A=$packages[\"bufio\"];B=$packages[\"bytes\"];C=$packages[\"errors\"];D=$packages[\"fmt\"];E=$packages[\"io\"];G=$pkg.chunkedReader=$newType(0,$kindStruct,\"internal.chunkedReader\",true,\"net/http/internal\",false,function(r_,n_,err_,buf_,checkEnd_){this.$val=this;if(arguments.length===0){this.r=Q.nil;this.n=new $Uint64(0,0);this.err=$ifaceNil;this.buf=R.zero();this.checkEnd=false;return;}this.r=r_;this.n=n_;this.err=err_;this.buf=buf_;this.checkEnd=checkEnd_;});M=$pkg.chunkedWriter=$newType(0,$kindStruct,\"internal.chunkedWriter\",true,\"net/http/internal\",false,function(Wire_){this.$val=this;if(arguments.length===0){this.Wire=$ifaceNil;return;}this.Wire=Wire_;});N=$pkg.FlushAfterChunkWriter=$newType(0,$kindStruct,\"internal.FlushAfterChunkWriter\",true,\"net/http/internal\",true,function(Writer_){this.$val=this;if(arguments.length===0){this.Writer=W.nil;return;}this.Writer=Writer_;});P=$sliceType($Uint8);Q=$ptrType(A.Reader);R=$arrayType($Uint8,2);S=$sliceType($emptyInterface);T=$ptrType(N);U=$ptrType(G);V=$ptrType(M);W=$ptrType(A.Writer);F=function(a){var $ptr,a,b,c,d;b=$assertType(a,Q,true);c=b[0];d=b[1];if(!d){c=A.NewReader(a);}return new G.ptr(c,new $Uint64(0,0),$ifaceNil,R.zero(),false);};$pkg.NewChunkedReader=F;G.ptr.prototype.beginChunk=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=P.nil;d=H(a.r);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;b=c[0];a.err=c[1];if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}e=O(b);a.n=e[0];a.err=e[1];if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}if((f=a.n,(f.$high===0&&f.$low===0))){a.err=E.EOF;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.beginChunk};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.beginChunk=function(){return this.$val.beginChunk();};G.ptr.prototype.chunkHeaderAvailable=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.r.Buffered();if(b>0){$s=1;continue;}$s=2;continue;case 1:d=a.r.Peek(b);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];$s=-1;return B.IndexByte(e,10)>=0;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.chunkHeaderAvailable};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.chunkHeaderAvailable=function(){return this.$val.chunkHeaderAvailable();};G.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;case 1:if(!($interfaceIsEqual(d.err,$ifaceNil))){$s=2;continue;}if(d.checkEnd){$s=3;continue;}$s=4;continue;case 3:if(b>0&&d.r.Buffered()<2){$s=2;continue;}f=E.ReadFull(d.r,$subslice(new P(d.buf),0,2));$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d.err=e[1];if($interfaceIsEqual(d.err,$ifaceNil)){if(!(($bytesToString(new P(d.buf)))===\"\\r\\n\")){d.err=C.New(\"malformed chunked encoding\");$s=2;continue;}}d.checkEnd=false;case 4:if((g=d.n,(g.$high===0&&g.$low===0))){$s=6;continue;}$s=7;continue;case 6:if(!(b>0)){h=false;$s=10;continue s;}i=d.chunkHeaderAvailable();$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=!i;case 10:if(h){$s=8;continue;}$s=9;continue;case 8:$s=2;continue;case 9:$r=d.beginChunk();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 7:if(a.$length===0){$s=2;continue;}j=a;if((k=(new $Uint64(0,j.$length)),l=d.n,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){j=$subslice(j,0,$flatten64(d.n));}m=0;o=d.r.Read(j);$s=13;case 13:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;m=n[0];d.err=n[1];b=b+(m)>>0;a=$subslice(a,m);d.n=(p=d.n,q=(new $Uint64(0,m)),new $Uint64(p.$high-q.$high,p.$low-q.$low));if((r=d.n,(r.$high===0&&r.$low===0))&&$interfaceIsEqual(d.err,$ifaceNil)){d.checkEnd=true;}$s=1;continue;case 2:s=b;t=d.err;b=s;c=t;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Read=function(a){return this.$val.Read(a);};H=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=a.ReadSlice(10);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,E.EOF)){e=E.ErrUnexpectedEOF;}else if($interfaceIsEqual(e,A.ErrBufferFull)){e=$pkg.ErrLineTooLong;}$s=-1;return[P.nil,e];}if(d.$length>=4096){$s=-1;return[P.nil,$pkg.ErrLineTooLong];}d=I(d);f=K(d);d=f[0];e=f[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[P.nil,e];}$s=-1;return[d,$ifaceNil];}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};I=function(a){var $ptr,a,b;while(true){if(!(a.$length>0&&J((b=a.$length-1>>0,((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]))))){break;}a=$subslice(a,0,(a.$length-1>>0));}return a;};J=function(a){var $ptr,a;return(a===32)||(a===9)||(a===10)||(a===13);};K=function(a){var $ptr,a,b;b=B.IndexByte(a,59);if(b===-1){return[a,$ifaceNil];}return[$subslice(a,0,b),$ifaceNil];};L=function(a){var $ptr,a;return new M.ptr(a);};$pkg.NewChunkedWriter=L;M.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if(a.$length===0){e=0;f=$ifaceNil;b=e;c=f;$s=-1;return[b,c];}h=D.Fprintf(d.Wire,\"%x\\r\\n\",new S([new $Int(a.$length)]));$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;c=g[1];if(!($interfaceIsEqual(c,$ifaceNil))){i=0;j=c;b=i;c=j;$s=-1;return[b,c];}l=d.Wire.Write(a);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;b=k[0];c=k[1];if(!($interfaceIsEqual(c,$ifaceNil))){$s=-1;return[b,c];}if(!((b===a.$length))){c=E.ErrShortWrite;$s=-1;return[b,c];}n=E.WriteString(d.Wire,\"\\r\\n\");$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;c=m[1];if(!($interfaceIsEqual(c,$ifaceNil))){$s=-1;return[b,c];}o=$assertType(d.Wire,T,true);p=o[0];q=o[1];if(q){$s=4;continue;}$s=5;continue;case 4:r=p.Writer.Flush();$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}c=r;case 5:$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Write=function(a){return this.$val.Write(a);};M.ptr.prototype.Close=function(){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=E.WriteString(a.Wire,\"0\\r\\n\");$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[1];$s=-1;return d;}return;}if($f===undefined){$f={$blk:M.ptr.prototype.Close};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};M.prototype.Close=function(){return this.$val.Close();};O=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=new $Uint64(0,0);c=$ifaceNil;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(48<=g&&g<=57){g=g-48<<24>>>24;}else if(97<=g&&g<=102){g=(g-97<<24>>>24)+10<<24>>>24;}else if(65<=g&&g<=70){g=(g-65<<24>>>24)+10<<24>>>24;}else{h=new $Uint64(0,0);i=C.New(\"invalid byte in chunk length\");b=h;c=i;return[b,c];}if(f===16){j=new $Uint64(0,0);k=C.New(\"http chunk length too large\");b=j;c=k;return[b,c];}b=$shiftLeft64(b,(4));b=(l=(new $Uint64(0,g)),new $Uint64(b.$high|l.$high,(b.$low|l.$low)>>>0));e++;}return[b,c];};U.methods=[{prop:\"beginChunk\",name:\"beginChunk\",pkg:\"net/http/internal\",typ:$funcType([],[],false)},{prop:\"chunkHeaderAvailable\",name:\"chunkHeaderAvailable\",pkg:\"net/http/internal\",typ:$funcType([],[$Bool],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([P],[$Int,$error],false)}];V.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([P],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];G.init(\"net/http/internal\",[{prop:\"r\",name:\"r\",exported:false,typ:Q,tag:\"\"},{prop:\"n\",name:\"n\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:R,tag:\"\"},{prop:\"checkEnd\",name:\"checkEnd\",exported:false,typ:$Bool,tag:\"\"}]);M.init(\"\",[{prop:\"Wire\",name:\"Wire\",exported:true,typ:E.Writer,tag:\"\"}]);N.init(\"\",[{prop:\"Writer\",name:\"\",exported:true,typ:W,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrLineTooLong=C.New(\"header line too long\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"net/url\"]=(function(){var $pkg={},$init,A,B,C,D,E,F,G,H,I,M,N,V,Y,AI,AO,AP,AQ,AR,AS,AT,AU,J,K,O,P,R,S,U,W,X,Z,AA,AB,AC,AD,AE,AF,AG,AH,AJ,AK,AL,AM,AN;A=$packages[\"bytes\"];B=$packages[\"errors\"];C=$packages[\"fmt\"];D=$packages[\"sort\"];E=$packages[\"strconv\"];F=$packages[\"strings\"];G=$pkg.Error=$newType(0,$kindStruct,\"url.Error\",true,\"net/url\",true,function(Op_,URL_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.URL=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.URL=URL_;this.Err=Err_;});H=$pkg.timeout=$newType(8,$kindInterface,\"url.timeout\",true,\"net/url\",false,null);I=$pkg.temporary=$newType(8,$kindInterface,\"url.temporary\",true,\"net/url\",false,null);M=$pkg.EscapeError=$newType(8,$kindString,\"url.EscapeError\",true,\"net/url\",true,null);N=$pkg.InvalidHostError=$newType(8,$kindString,\"url.InvalidHostError\",true,\"net/url\",true,null);V=$pkg.URL=$newType(0,$kindStruct,\"url.URL\",true,\"net/url\",true,function(Scheme_,Opaque_,User_,Host_,Path_,RawPath_,ForceQuery_,RawQuery_,Fragment_){this.$val=this;if(arguments.length===0){this.Scheme=\"\";this.Opaque=\"\";this.User=AQ.nil;this.Host=\"\";this.Path=\"\";this.RawPath=\"\";this.ForceQuery=false;this.RawQuery=\"\";this.Fragment=\"\";return;}this.Scheme=Scheme_;this.Opaque=Opaque_;this.User=User_;this.Host=Host_;this.Path=Path_;this.RawPath=RawPath_;this.ForceQuery=ForceQuery_;this.RawQuery=RawQuery_;this.Fragment=Fragment_;});Y=$pkg.Userinfo=$newType(0,$kindStruct,\"url.Userinfo\",true,\"net/url\",true,function(username_,password_,passwordSet_){this.$val=this;if(arguments.length===0){this.username=\"\";this.password=\"\";this.passwordSet=false;return;}this.username=username_;this.password=password_;this.passwordSet=passwordSet_;});AI=$pkg.Values=$newType(4,$kindMap,\"url.Values\",true,\"net/url\",true,null);AO=$sliceType($Uint8);AP=$ptrType(V);AQ=$ptrType(Y);AR=$sliceType($emptyInterface);AS=$arrayType($Uint8,64);AT=$sliceType($String);AU=$ptrType(G);G.ptr.prototype.Error=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.Err.Error();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return a.Op+\" \"+a.URL+\": \"+b;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Error};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Error=function(){return this.$val.Error();};G.ptr.prototype.Timeout=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=$assertType(a.Err,H,true);c=b[0];d=b[1];if(!(d)){e=false;$s=1;continue s;}f=c.Timeout();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 1:$s=-1;return e;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Timeout};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Timeout=function(){return this.$val.Timeout();};G.ptr.prototype.Temporary=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=$assertType(a.Err,I,true);c=b[0];d=b[1];if(!(d)){e=false;$s=1;continue s;}f=c.Temporary();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 1:$s=-1;return e;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Temporary};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Temporary=function(){return this.$val.Temporary();};J=function(a){var $ptr,a;if(48<=a&&a<=57){return true;}else if(97<=a&&a<=102){return true;}else if(65<=a&&a<=70){return true;}return false;};K=function(a){var $ptr,a;if(48<=a&&a<=57){return a-48<<24>>>24;}else if(97<=a&&a<=102){return(a-97<<24>>>24)+10<<24>>>24;}else if(65<=a&&a<=70){return(a-65<<24>>>24)+10<<24>>>24;}return 0;};M.prototype.Error=function(){var $ptr,a;a=this.$val;return\"invalid URL escape \"+E.Quote((a));};$ptrType(M).prototype.Error=function(){return new M(this.$get()).Error();};N.prototype.Error=function(){var $ptr,a;a=this.$val;return\"invalid character \"+E.Quote((a))+\" in host name\";};$ptrType(N).prototype.Error=function(){return new N(this.$get()).Error();};O=function(a,b){var $ptr,a,b,c,d,e;if(65<=a&&a<=90||97<=a&&a<=122||48<=a&&a<=57){return false;}if((b===3)||(b===4)){c=a;if((c===(33))||(c===(36))||(c===(38))||(c===(39))||(c===(40))||(c===(41))||(c===(42))||(c===(43))||(c===(44))||(c===(59))||(c===(61))||(c===(58))||(c===(91))||(c===(93))||(c===(60))||(c===(62))||(c===(34))){return false;}}d=a;if((d===(45))||(d===(95))||(d===(46))||(d===(126))){return false;}else if((d===(36))||(d===(38))||(d===(43))||(d===(44))||(d===(47))||(d===(58))||(d===(59))||(d===(61))||(d===(63))||(d===(64))){e=b;if(e===(1)){return a===63;}else if(e===(2)){return(a===47)||(a===59)||(a===44)||(a===63);}else if(e===(5)){return(a===64)||(a===47)||(a===63)||(a===58);}else if(e===(6)){return true;}else if(e===(7)){return false;}}return true;};P=function(a){var $ptr,a;return R(a,6);};$pkg.QueryUnescape=P;R=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k;c=0;d=false;e=0;while(true){if(!(e<a.length)){break;}f=a.charCodeAt(e);if(f===(37)){c=c+(1)>>0;if((e+2>>0)>=a.length||!J(a.charCodeAt((e+1>>0)))||!J(a.charCodeAt((e+2>>0)))){a=$substring(a,e);if(a.length>3){a=$substring(a,0,3);}return[\"\",new M((a))];}if((b===3)&&K(a.charCodeAt((e+1>>0)))<8&&!($substring(a,e,(e+3>>0))===\"%25\")){return[\"\",new M(($substring(a,e,(e+3>>0))))];}if(b===4){g=((K(a.charCodeAt((e+1>>0)))<<4<<24>>>24)|K(a.charCodeAt((e+2>>0))))>>>0;if(!($substring(a,e,(e+3>>0))===\"%25\")&&!((g===32))&&O(g,3)){return[\"\",new M(($substring(a,e,(e+3>>0))))];}}e=e+(3)>>0;}else if(f===(43)){d=b===6;e=e+(1)>>0;}else{if(((b===3)||(b===4))&&a.charCodeAt(e)<128&&O(a.charCodeAt(e),b)){return[\"\",new N(($substring(a,e,(e+1>>0))))];}e=e+(1)>>0;}}if((c===0)&&!d){return[a,$ifaceNil];}h=$makeSlice(AO,(a.length-($imul(2,c))>>0));i=0;j=0;while(true){if(!(j<a.length)){break;}k=a.charCodeAt(j);if(k===(37)){((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]=(((K(a.charCodeAt((j+1>>0)))<<4<<24>>>24)|K(a.charCodeAt((j+2>>0))))>>>0));i=i+(1)>>0;j=j+(3)>>0;}else if(k===(43)){if(b===6){((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]=32);}else{((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]=43);}i=i+(1)>>0;j=j+(1)>>0;}else{((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]=a.charCodeAt(j));i=i+(1)>>0;j=j+(1)>>0;}}return[($bytesToString(h)),$ifaceNil];};S=function(a){var $ptr,a;return U(a,6);};$pkg.QueryEscape=S;U=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;c=0;d=0;e=c;f=d;g=0;while(true){if(!(g<a.length)){break;}h=a.charCodeAt(g);if(O(h,b)){if((h===32)&&(b===6)){e=e+(1)>>0;}else{f=f+(1)>>0;}}g=g+(1)>>0;}if((e===0)&&(f===0)){return a;}i=$makeSlice(AO,(a.length+($imul(2,f))>>0));j=0;k=0;while(true){if(!(k<a.length)){break;}l=a.charCodeAt(k);if((l===32)&&(b===6)){((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]=43);j=j+(1)>>0;}else if(O(l,b)){((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]=37);(m=j+1>>0,((m<0||m>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+m]=\"0123456789ABCDEF\".charCodeAt((l>>>4<<24>>>24))));(n=j+2>>0,((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=\"0123456789ABCDEF\".charCodeAt(((l&15)>>>0))));j=j+(3)>>0;}else{((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]=a.charCodeAt(k));j=j+(1)>>0;}k=k+(1)>>0;}return($bytesToString(i));};W=function(a){var $ptr,a;return new Y.ptr(a,\"\",false);};$pkg.User=W;X=function(a,b){var $ptr,a,b;return new Y.ptr(a,b,true);};$pkg.UserPassword=X;Y.ptr.prototype.Username=function(){var $ptr,a;a=this;return a.username;};Y.prototype.Username=function(){return this.$val.Username();};Y.ptr.prototype.Password=function(){var $ptr,a;a=this;return[a.password,a.passwordSet];};Y.prototype.Password=function(){return this.$val.Password();};Y.ptr.prototype.String=function(){var $ptr,a,b;a=this;b=U(a.username,5);if(a.passwordSet){b=b+(\":\"+U(a.password,5));}return b;};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=\"\";c=\"\";d=$ifaceNil;e=0;while(true){if(!(e<a.length)){break;}f=a.charCodeAt(e);if(97<=f&&f<=122||65<=f&&f<=90){}else if(48<=f&&f<=57||(f===43)||(f===45)||(f===46)){if(e===0){g=\"\";h=a;i=$ifaceNil;b=g;c=h;d=i;return[b,c,d];}}else if((f===58)){if(e===0){j=\"\";k=\"\";l=B.New(\"missing protocol scheme\");b=j;c=k;d=l;return[b,c,d];}m=$substring(a,0,e);n=$substring(a,(e+1>>0));o=$ifaceNil;b=m;c=n;d=o;return[b,c,d];}else{p=\"\";q=a;r=$ifaceNil;b=p;c=q;d=r;return[b,c,d];}e=e+(1)>>0;}s=\"\";t=a;u=$ifaceNil;b=s;c=t;d=u;return[b,c,d];};AA=function(a,b,c){var $ptr,a,b,c,d;d=F.Index(a,b);if(d<0){return[a,\"\"];}if(c){return[$substring(a,0,d),$substring(a,(d+b.length>>0))];}return[$substring(a,0,d),$substring(a,d)];};AB=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=AA(a,\"#\",true);c=b[0];d=b[1];f=AD(c,false);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[AP.nil,new G.ptr(\"parse\",c,h)];}if(d===\"\"){$s=-1;return[g,$ifaceNil];}i=R(d,7);g.Fragment=i[0];h=i[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[AP.nil,new G.ptr(\"parse\",a,h)];}$s=-1;return[g,$ifaceNil];}return;}if($f===undefined){$f={$blk:AB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AB;AC=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AD(a,true);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return[AP.nil,new G.ptr(\"parse\",a,e)];}$s=-1;return[d,$ifaceNil];}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ParseRequestURI=AC;AD=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=\"\";d=$ifaceNil;if(a===\"\"&&b){$s=-1;return[AP.nil,B.New(\"empty url\")];}e=new V.ptr(\"\",\"\",AQ.nil,\"\",\"\",\"\",false,\"\",\"\");if(a===\"*\"){e.Path=\"*\";$s=-1;return[e,$ifaceNil];}f=Z(a);e.Scheme=f[0];c=f[1];d=f[2];if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[AP.nil,d];}g=F.ToLower(e.Scheme);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e.Scheme=g;if(F.HasSuffix(c,\"?\")&&(F.Count(c,\"?\")===1)){e.ForceQuery=true;c=$substring(c,0,(c.length-1>>0));}else{h=AA(c,\"?\",true);c=h[0];e.RawQuery=h[1];}if(!F.HasPrefix(c,\"/\")){if(!(e.Scheme===\"\")){e.Opaque=c;$s=-1;return[e,$ifaceNil];}if(b){$s=-1;return[AP.nil,B.New(\"invalid URI for request\")];}i=F.Index(c,\":\");j=F.Index(c,\"/\");if(i>=0&&(j<0||i<j)){$s=-1;return[AP.nil,B.New(\"first path segment in URL cannot contain colon\")];}}if((!(e.Scheme===\"\")||!b&&!F.HasPrefix(c,\"///\"))&&F.HasPrefix(c,\"//\")){$s=2;continue;}$s=3;continue;case 2:k=\"\";l=AA($substring(c,2),\"/\",false);k=l[0];c=l[1];n=AE(k);$s=4;case 4:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;e.User=m[0];e.Host=m[1];d=m[2];if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return[AP.nil,d];}case 3:o=e.setPath(c);if(!($interfaceIsEqual(o,$ifaceNil))){$s=-1;return[AP.nil,o];}$s=-1;return[e,$ifaceNil];}return;}if($f===undefined){$f={$blk:AD};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AE=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=AQ.nil;c=\"\";d=$ifaceNil;e=F.LastIndex(a,\"@\");if(e<0){$s=1;continue;}$s=2;continue;case 1:g=AF(a);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;c=f[0];d=f[1];$s=3;continue;case 2:i=AF($substring(a,(e+1>>0)));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;c=h[0];d=h[1];case 3:if(!($interfaceIsEqual(d,$ifaceNil))){j=AQ.nil;k=\"\";l=d;b=j;c=k;d=l;$s=-1;return[b,c,d];}if(e<0){m=AQ.nil;n=c;o=$ifaceNil;b=m;c=n;d=o;$s=-1;return[b,c,d];}p=$substring(a,0,e);if(!F.Contains(p,\":\")){q=R(p,5);p=q[0];d=q[1];if(!($interfaceIsEqual(d,$ifaceNil))){r=AQ.nil;s=\"\";t=d;b=r;c=s;d=t;$s=-1;return[b,c,d];}b=W(p);}else{u=AA(p,\":\",true);v=u[0];w=u[1];x=R(v,5);v=x[0];d=x[1];if(!($interfaceIsEqual(d,$ifaceNil))){y=AQ.nil;z=\"\";aa=d;b=y;c=z;d=aa;$s=-1;return[b,c,d];}ab=R(w,5);w=ab[0];d=ab[1];if(!($interfaceIsEqual(d,$ifaceNil))){ac=AQ.nil;ad=\"\";ae=d;b=ac;c=ad;d=ae;$s=-1;return[b,c,d];}b=X(v,w);}af=b;ag=c;ah=$ifaceNil;b=af;c=ag;d=ah;$s=-1;return[b,c,d];}return;}if($f===undefined){$f={$blk:AE};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AF=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(F.HasPrefix(a,\"[\")){$s=1;continue;}$s=2;continue;case 1:b=F.LastIndex(a,\"]\");if(b<0){$s=-1;return[\"\",B.New(\"missing ']' in host\")];}c=$substring(a,(b+1>>0));if(!AH(c)){$s=3;continue;}$s=4;continue;case 3:d=C.Errorf(\"invalid port %q after host\",new AR([new $String(c)]));$s=5;case 5:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return[\"\",d];case 4:e=F.Index($substring(a,0,b),\"%25\");if(e>=0){f=R($substring(a,0,e),3);g=f[0];h=f[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[\"\",h];}i=R($substring(a,e,b),4);j=i[0];h=i[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[\"\",h];}k=R($substring(a,b),3);l=k[0];h=k[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[\"\",h];}$s=-1;return[g+j+l,$ifaceNil];}case 2:m=$ifaceNil;n=R(a,3);a=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[\"\",m];}$s=-1;return[a,$ifaceNil];}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};V.ptr.prototype.setPath=function(a){var $ptr,a,b,c,d,e,f;b=this;c=R(a,1);d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return e;}b.Path=d;f=U(d,1);if(a===f){b.RawPath=\"\";}else{b.RawPath=a;}return $ifaceNil;};V.prototype.setPath=function(a){return this.$val.setPath(a);};V.ptr.prototype.EscapedPath=function(){var $ptr,a,b,c,d;a=this;if(!(a.RawPath===\"\")&&AG(a.RawPath)){b=R(a.RawPath,1);c=b[0];d=b[1];if($interfaceIsEqual(d,$ifaceNil)&&c===a.Path){return a.RawPath;}}if(a.Path===\"*\"){return\"*\";}return U(a.Path,1);};V.prototype.EscapedPath=function(){return this.$val.EscapedPath();};AG=function(a){var $ptr,a,b,c;b=0;while(true){if(!(b<a.length)){break;}c=a.charCodeAt(b);if((c===(33))||(c===(36))||(c===(38))||(c===(39))||(c===(40))||(c===(41))||(c===(42))||(c===(43))||(c===(44))||(c===(59))||(c===(61))||(c===(58))||(c===(64))){}else if((c===(91))||(c===(93))){}else if(c===(37)){}else if(O(a.charCodeAt(b),1)){return false;}b=b+(1)>>0;}return true;};AH=function(a){var $ptr,a,b,c,d,e;if(a===\"\"){return true;}if(!((a.charCodeAt(0)===58))){return false;}b=$substring(a,1);c=0;while(true){if(!(c<b.length)){break;}d=$decodeRune(b,c);e=d[0];if(e<48||e>57){return false;}c+=d[1];}return true;};V.ptr.prototype.String=function(){var $ptr,a,b,c,d,e,f;a=this;b=new A.Buffer.ptr(AO.nil,0,AS.zero(),0);if(!(a.Scheme===\"\")){b.WriteString(a.Scheme);b.WriteByte(58);}if(!(a.Opaque===\"\")){b.WriteString(a.Opaque);}else{if(!(a.Scheme===\"\")||!(a.Host===\"\")||!(a.User===AQ.nil)){b.WriteString(\"//\");c=a.User;if(!(c===AQ.nil)){b.WriteString(c.String());b.WriteByte(64);}d=a.Host;if(!(d===\"\")){b.WriteString(U(d,3));}}e=a.EscapedPath();if(!(e===\"\")&&!((e.charCodeAt(0)===47))&&!(a.Host===\"\")){b.WriteByte(47);}if(b.Len()===0){f=F.IndexByte(e,58);if(f>-1&&(F.IndexByte($substring(e,0,f),47)===-1)){b.WriteString(\"./\");}}b.WriteString(e);}if(a.ForceQuery||!(a.RawQuery===\"\")){b.WriteByte(63);b.WriteString(a.RawQuery);}if(!(a.Fragment===\"\")){b.WriteByte(35);b.WriteString(U(a.Fragment,7));}return b.String();};V.prototype.String=function(){return this.$val.String();};AI.prototype.Get=function(a){var $ptr,a,b,c,d;b=this.$val;if(b===false){return\"\";}d=(c=b[$String.keyFor(a)],c!==undefined?c.v:AT.nil);if(d.$length===0){return\"\";}return(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]);};$ptrType(AI).prototype.Get=function(a){return new AI(this.$get()).Get(a);};AI.prototype.Set=function(a,b){var $ptr,a,b,c,d;c=this.$val;d=a;(c||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(d)]={k:d,v:new AT([b])};};$ptrType(AI).prototype.Set=function(a,b){return new AI(this.$get()).Set(a,b);};AI.prototype.Add=function(a,b){var $ptr,a,b,c,d,e;c=this.$val;d=a;(c||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(d)]={k:d,v:$append((e=c[$String.keyFor(a)],e!==undefined?e.v:AT.nil),b)};};$ptrType(AI).prototype.Add=function(a,b){return new AI(this.$get()).Add(a,b);};AI.prototype.Del=function(a){var $ptr,a,b;b=this.$val;delete b[$String.keyFor(a)];};$ptrType(AI).prototype.Del=function(a){return new AI(this.$get()).Del(a);};AJ=function(a){var $ptr,a,b,c;b={};c=AK(b,a);return[b,c];};$pkg.ParseQuery=AJ;AK=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=$ifaceNil;while(true){if(!(!(b===\"\"))){break;}d=b;e=F.IndexAny(d,\"&;\");if(e>=0){f=$substring(d,0,e);g=$substring(d,(e+1>>0));d=f;b=g;}else{b=\"\";}if(d===\"\"){continue;}h=\"\";i=F.Index(d,\"=\");if(i>=0){j=$substring(d,0,i);k=$substring(d,(i+1>>0));d=j;h=k;}l=P(d);d=l[0];m=l[1];if(!($interfaceIsEqual(m,$ifaceNil))){if($interfaceIsEqual(c,$ifaceNil)){c=m;}continue;}n=P(h);h=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){if($interfaceIsEqual(c,$ifaceNil)){c=m;}continue;}o=d;(a||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(o)]={k:o,v:$append((p=a[$String.keyFor(d)],p!==undefined?p.v:AT.nil),h)};}c=c;return c;};AI.prototype.Encode=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this.$val;if(a===false){$s=-1;return\"\";}b=new A.Buffer.ptr(AO.nil,0,AS.zero(),0);c=$makeSlice(AT,0,$keys(a).length);d=a;e=0;f=$keys(d);while(true){if(!(e<f.length)){break;}g=d[f[e]];if(g===undefined){e++;continue;}h=g.k;c=$append(c,h);e++;}$r=D.Strings(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=c;j=0;while(true){if(!(j<i.$length)){break;}k=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=(l=a[$String.keyFor(k)],l!==undefined?l.v:AT.nil);n=S(k)+\"=\";o=m;p=0;while(true){if(!(p<o.$length)){break;}q=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(b.Len()>0){b.WriteByte(38);}b.WriteString(n);b.WriteString(S(q));p++;}j++;}$s=-1;return b.String();}return;}if($f===undefined){$f={$blk:AI.prototype.Encode};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AI).prototype.Encode=function(){return new AI(this.$get()).Encode();};AL=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=\"\";if(b===\"\"){c=a;}else if(!((b.charCodeAt(0)===47))){d=F.LastIndex(a,\"/\");c=$substring(a,0,(d+1>>0))+b;}else{c=b;}if(c===\"\"){$s=-1;return\"\";}e=AT.nil;f=F.Split(c,\"/\");g=f;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);j=i;if(j===(\".\")){}else if(j===(\"..\")){if(e.$length>0){e=$subslice(e,0,(e.$length-1>>0));}}else{e=$append(e,i);}h++;}l=(k=f.$length-1>>0,((k<0||k>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+k]));if(l===\".\"||l===\"..\"){e=$append(e,\"\");}m=F.TrimLeft(F.Join(e,\"/\"),\"/\");$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return\"/\"+m;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};V.ptr.prototype.IsAbs=function(){var $ptr,a;a=this;return!(a.Scheme===\"\");};V.prototype.IsAbs=function(){return this.$val.IsAbs();};V.ptr.prototype.Parse=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;d=AB(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[AP.nil,f];}g=b.ResolveReference(e);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[g,$ifaceNil];}return;}if($f===undefined){$f={$blk:V.ptr.prototype.Parse};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.Parse=function(a){return this.$val.Parse(a);};V.ptr.prototype.ResolveReference=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=this;b[0]=$clone(a,V);if(a.Scheme===\"\"){b[0].Scheme=c.Scheme;}if(!(a.Scheme===\"\")||!(a.Host===\"\")||!(a.User===AQ.nil)){$s=1;continue;}$s=2;continue;case 1:d=AL(a.EscapedPath(),\"\");$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=b[0].setPath(d);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return b[0];case 2:if(!(a.Opaque===\"\")){b[0].User=AQ.nil;b[0].Host=\"\";b[0].Path=\"\";$s=-1;return b[0];}if(a.Path===\"\"){if(a.RawQuery===\"\"){b[0].RawQuery=c.RawQuery;if(a.Fragment===\"\"){b[0].Fragment=c.Fragment;}}}b[0].Host=c.Host;b[0].User=c.User;f=AL(c.EscapedPath(),a.EscapedPath());$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=b[0].setPath(f);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return b[0];}return;}if($f===undefined){$f={$blk:V.ptr.prototype.ResolveReference};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.ResolveReference=function(a){return this.$val.ResolveReference(a);};V.ptr.prototype.Query=function(){var $ptr,a,b,c;a=this;b=AJ(a.RawQuery);c=b[0];return c;};V.prototype.Query=function(){return this.$val.Query();};V.ptr.prototype.RequestURI=function(){var $ptr,a,b;a=this;b=a.Opaque;if(b===\"\"){b=a.EscapedPath();if(b===\"\"){b=\"/\";}}else{if(F.HasPrefix(b,\"//\")){b=a.Scheme+\":\"+b;}}if(a.ForceQuery||!(a.RawQuery===\"\")){b=b+(\"?\"+a.RawQuery);}return b;};V.prototype.RequestURI=function(){return this.$val.RequestURI();};V.ptr.prototype.Hostname=function(){var $ptr,a;a=this;return AM(a.Host);};V.prototype.Hostname=function(){return this.$val.Hostname();};V.ptr.prototype.Port=function(){var $ptr,a;a=this;return AN(a.Host);};V.prototype.Port=function(){return this.$val.Port();};AM=function(a){var $ptr,a,b,c;b=F.IndexByte(a,58);if(b===-1){return a;}c=F.IndexByte(a,93);if(!((c===-1))){return F.TrimPrefix($substring(a,0,c),\"[\");}return $substring(a,0,b);};AN=function(a){var $ptr,a,b,c;b=F.IndexByte(a,58);if(b===-1){return\"\";}c=F.Index(a,\"]:\");if(!((c===-1))){return $substring(a,(c+2>>0));}if(F.Contains(a,\"]\")){return\"\";}return $substring(a,(b+1>>0));};V.ptr.prototype.MarshalBinary=function(){var $ptr,a,b,c,d,e;a=AO.nil;b=$ifaceNil;c=this;d=(new AO($stringToBytes(c.String())));e=$ifaceNil;a=d;b=e;return[a,b];};V.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};V.ptr.prototype.UnmarshalBinary=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;d=AB(($bytesToString(a)));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}V.copy(b,e);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:V.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.UnmarshalBinary=function(a){return this.$val.UnmarshalBinary(a);};AU.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];M.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];N.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AP.methods=[{prop:\"setPath\",name:\"setPath\",pkg:\"net/url\",typ:$funcType([$String],[$error],false)},{prop:\"EscapedPath\",name:\"EscapedPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsAbs\",name:\"IsAbs\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Parse\",name:\"Parse\",pkg:\"\",typ:$funcType([$String],[AP,$error],false)},{prop:\"ResolveReference\",name:\"ResolveReference\",pkg:\"\",typ:$funcType([AP],[AP],false)},{prop:\"Query\",name:\"Query\",pkg:\"\",typ:$funcType([],[AI],false)},{prop:\"RequestURI\",name:\"RequestURI\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Hostname\",name:\"Hostname\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Port\",name:\"Port\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[AO,$error],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([AO],[$error],false)}];AQ.methods=[{prop:\"Username\",name:\"Username\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Password\",name:\"Password\",pkg:\"\",typ:$funcType([],[$String,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$String],[],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([$String,$String],[],false)},{prop:\"Del\",name:\"Del\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Encode\",name:\"Encode\",pkg:\"\",typ:$funcType([],[$String],false)}];G.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"URL\",name:\"URL\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);H.init([{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}]);I.init([{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}]);V.init(\"\",[{prop:\"Scheme\",name:\"Scheme\",exported:true,typ:$String,tag:\"\"},{prop:\"Opaque\",name:\"Opaque\",exported:true,typ:$String,tag:\"\"},{prop:\"User\",name:\"User\",exported:true,typ:AQ,tag:\"\"},{prop:\"Host\",name:\"Host\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"RawPath\",name:\"RawPath\",exported:true,typ:$String,tag:\"\"},{prop:\"ForceQuery\",name:\"ForceQuery\",exported:true,typ:$Bool,tag:\"\"},{prop:\"RawQuery\",name:\"RawQuery\",exported:true,typ:$String,tag:\"\"},{prop:\"Fragment\",name:\"Fragment\",exported:true,typ:$String,tag:\"\"}]);Y.init(\"net/url\",[{prop:\"username\",name:\"username\",exported:false,typ:$String,tag:\"\"},{prop:\"password\",name:\"password\",exported:false,typ:$String,tag:\"\"},{prop:\"passwordSet\",name:\"passwordSet\",exported:false,typ:$Bool,tag:\"\"}]);AI.init($String,AT);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"path\"]=(function(){var $pkg={},$init,A,B,C,H,P,Q,I,J;A=$packages[\"errors\"];B=$packages[\"strings\"];C=$packages[\"unicode/utf8\"];H=$pkg.lazybuf=$newType(0,$kindStruct,\"path.lazybuf\",true,\"path\",false,function(s_,buf_,w_){this.$val=this;if(arguments.length===0){this.s=\"\";this.buf=P.nil;this.w=0;return;}this.s=s_;this.buf=buf_;this.w=w_;});P=$sliceType($Uint8);Q=$ptrType(H);H.ptr.prototype.index=function(a){var $ptr,a,b,c;b=this;if(!(b.buf===P.nil)){return(c=b.buf,((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]));}return b.s.charCodeAt(a);};H.prototype.index=function(a){return this.$val.index(a);};H.ptr.prototype.append=function(a){var $ptr,a,b,c,d;b=this;if(b.buf===P.nil){if(b.w<b.s.length&&(b.s.charCodeAt(b.w)===a)){b.w=b.w+(1)>>0;return;}b.buf=$makeSlice(P,b.s.length);$copyString(b.buf,$substring(b.s,0,b.w));}(c=b.buf,d=b.w,((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=a));b.w=b.w+(1)>>0;};H.prototype.append=function(a){return this.$val.append(a);};H.ptr.prototype.string=function(){var $ptr,a;a=this;if(a.buf===P.nil){return $substring(a.s,0,a.w);}return($bytesToString($subslice(a.buf,0,a.w)));};H.prototype.string=function(){return this.$val.string();};I=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;if(a===\"\"){return\".\";}b=a.charCodeAt(0)===47;c=a.length;d=new H.ptr(a,P.nil,0);e=0;f=0;g=e;h=f;if(b){d.append(47);i=1;j=1;g=i;h=j;}while(true){if(!(g<c)){break;}if((a.charCodeAt(g)===47)){g=g+(1)>>0;}else if((a.charCodeAt(g)===46)&&(((g+1>>0)===c)||(a.charCodeAt((g+1>>0))===47))){g=g+(1)>>0;}else if((a.charCodeAt(g)===46)&&(a.charCodeAt((g+1>>0))===46)&&(((g+2>>0)===c)||(a.charCodeAt((g+2>>0))===47))){g=g+(2)>>0;if(d.w>h){d.w=d.w-(1)>>0;while(true){if(!(d.w>h&&!((d.index(d.w)===47)))){break;}d.w=d.w-(1)>>0;}}else if(!b){if(d.w>0){d.append(47);}d.append(46);d.append(46);h=d.w;}}else{if(b&&!((d.w===1))||!b&&!((d.w===0))){d.append(47);}while(true){if(!(g<c&&!((a.charCodeAt(g)===47)))){break;}d.append(a.charCodeAt(g));g=g+(1)>>0;}}}if(d.w===0){return\".\";}return d.string();};$pkg.Clean=I;J=function(a){var $ptr,a,b,c,d,e,f;b=\"\";c=\"\";d=B.LastIndex(a,\"/\");e=$substring(a,0,(d+1>>0));f=$substring(a,(d+1>>0));b=e;c=f;return[b,c];};$pkg.Split=J;Q.methods=[{prop:\"index\",name:\"index\",pkg:\"path\",typ:$funcType([$Int],[$Uint8],false)},{prop:\"append\",name:\"append\",pkg:\"path\",typ:$funcType([$Uint8],[],false)},{prop:\"string\",name:\"string\",pkg:\"path\",typ:$funcType([],[$String],false)}];H.init(\"path\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:P,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrBadPattern=A.New(\"syntax error in pattern\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/net/http2/hpack\"]=(function(){var $pkg={},$init,B,C,D,A,E,F,O,P,Q,R,T,W,AD,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,V,X,Z,AF,AM,AN,AO,G,H,I,J,K,L,M,N,S,U,Y,AC,AE,AG,AH,AI,AJ,AK,AL;B=$packages[\"bytes\"];C=$packages[\"errors\"];D=$packages[\"fmt\"];A=$packages[\"io\"];E=$packages[\"sync\"];F=$pkg.Encoder=$newType(0,$kindStruct,\"hpack.Encoder\",true,\"vendor/golang_org/x/net/http2/hpack\",true,function(dynTab_,minSize_,maxSizeLimit_,tableSizeUpdate_,w_,buf_){this.$val=this;if(arguments.length===0){this.dynTab=new T.ptr(AS.nil,0,0,0);this.minSize=0;this.maxSizeLimit=0;this.tableSizeUpdate=false;this.w=$ifaceNil;this.buf=AQ.nil;return;}this.dynTab=dynTab_;this.minSize=minSize_;this.maxSizeLimit=maxSizeLimit_;this.tableSizeUpdate=tableSizeUpdate_;this.w=w_;this.buf=buf_;});O=$pkg.DecodingError=$newType(0,$kindStruct,\"hpack.DecodingError\",true,\"vendor/golang_org/x/net/http2/hpack\",true,function(Err_){this.$val=this;if(arguments.length===0){this.Err=$ifaceNil;return;}this.Err=Err_;});P=$pkg.InvalidIndexError=$newType(4,$kindInt,\"hpack.InvalidIndexError\",true,\"vendor/golang_org/x/net/http2/hpack\",true,null);Q=$pkg.HeaderField=$newType(0,$kindStruct,\"hpack.HeaderField\",true,\"vendor/golang_org/x/net/http2/hpack\",true,function(Name_,Value_,Sensitive_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.Value=\"\";this.Sensitive=false;return;}this.Name=Name_;this.Value=Value_;this.Sensitive=Sensitive_;});R=$pkg.Decoder=$newType(0,$kindStruct,\"hpack.Decoder\",true,\"vendor/golang_org/x/net/http2/hpack\",true,function(dynTab_,emit_,emitEnabled_,maxStrLen_,buf_,saveBuf_){this.$val=this;if(arguments.length===0){this.dynTab=new T.ptr(AS.nil,0,0,0);this.emit=$throwNilPointerError;this.emitEnabled=false;this.maxStrLen=0;this.buf=AQ.nil;this.saveBuf=new B.Buffer.ptr(AQ.nil,0,AR.zero(),0);return;}this.dynTab=dynTab_;this.emit=emit_;this.emitEnabled=emitEnabled_;this.maxStrLen=maxStrLen_;this.buf=buf_;this.saveBuf=saveBuf_;});T=$pkg.dynamicTable=$newType(0,$kindStruct,\"hpack.dynamicTable\",true,\"vendor/golang_org/x/net/http2/hpack\",false,function(ents_,size_,maxSize_,allowedMaxSize_){this.$val=this;if(arguments.length===0){this.ents=AS.nil;this.size=0;this.maxSize=0;this.allowedMaxSize=0;return;}this.ents=ents_;this.size=size_;this.maxSize=maxSize_;this.allowedMaxSize=allowedMaxSize_;});W=$pkg.indexType=$newType(4,$kindInt,\"hpack.indexType\",true,\"vendor/golang_org/x/net/http2/hpack\",false,null);AD=$pkg.node=$newType(0,$kindStruct,\"hpack.node\",true,\"vendor/golang_org/x/net/http2/hpack\",false,function(children_,codeLen_,sym_){this.$val=this;if(arguments.length===0){this.children=AV.nil;this.codeLen=0;this.sym=0;return;}this.children=children_;this.codeLen=codeLen_;this.sym=sym_;});AP=$sliceType($emptyInterface);AQ=$sliceType($Uint8);AR=$arrayType($Uint8,64);AS=$sliceType(Q);AT=$ptrType(B.Buffer);AU=$ptrType(AD);AV=$sliceType(AU);AW=$ptrType(F);AX=$funcType([Q],[],false);AY=$ptrType(R);AZ=$ptrType(T);G=function(a){var $ptr,a,b;b=new F.ptr(new T.ptr(AS.nil,0,0,0),4294967295,4096,false,a,AQ.nil);b.dynTab.setMaxSize(4096);return b;};$pkg.NewEncoder=G;F.ptr.prototype.WriteField=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.buf=$subslice(b.buf,0,0);if(b.tableSizeUpdate){b.tableSizeUpdate=false;if(b.minSize<b.dynTab.maxSize){b.buf=K(b.buf,b.minSize);}b.minSize=4294967295;b.buf=K(b.buf,b.dynTab.maxSize);}c=b.searchTable($clone(a,Q));d=c[0];e=c[1];if(e){b.buf=H(b.buf,d);}else{f=b.shouldIndex($clone(a,Q));if(f){b.dynTab.add($clone(a,Q));}if((d.$high===0&&d.$low===0)){b.buf=I(b.buf,$clone(a,Q),f);}else{b.buf=J(b.buf,$clone(a,Q),d,f);}}h=b.w.Write(b.buf);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if($interfaceIsEqual(j,$ifaceNil)&&!((i===b.buf.$length))){j=A.ErrShortWrite;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:F.ptr.prototype.WriteField};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};F.prototype.WriteField=function(a){return this.$val.WriteField(a);};F.ptr.prototype.searchTable=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=new $Uint64(0,0);c=false;d=this;e=AM;f=0;while(true){if(!(f<61)){break;}g=f;h=$clone(((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]),Q);if(!U(h.Name,a.Name)){f++;continue;}if((b.$high===0&&b.$low===0)){b=(new $Uint64(0,(g+1>>0)));}if(a.Sensitive){f++;continue;}if(!U(h.Value,a.Value)){f++;continue;}b=(new $Uint64(0,(g+1>>0)));c=true;return[b,c];}i=d.dynTab.search($clone(a,Q));j=i[0];c=i[1];if(c||((b.$high===0&&b.$low===0)&&!((j.$high===0&&j.$low===0)))){b=new $Uint64(j.$high+0,j.$low+61);}return[b,c];};F.prototype.searchTable=function(a){return this.$val.searchTable(a);};F.ptr.prototype.SetMaxDynamicTableSize=function(a){var $ptr,a,b;b=this;if(a>b.maxSizeLimit){a=b.maxSizeLimit;}if(a<b.minSize){b.minSize=a;}b.tableSizeUpdate=true;b.dynTab.setMaxSize(a);};F.prototype.SetMaxDynamicTableSize=function(a){return this.$val.SetMaxDynamicTableSize(a);};F.ptr.prototype.SetMaxDynamicTableSizeLimit=function(a){var $ptr,a,b;b=this;b.maxSizeLimit=a;if(b.dynTab.maxSize>a){b.tableSizeUpdate=true;b.dynTab.setMaxSize(a);}};F.prototype.SetMaxDynamicTableSizeLimit=function(a){return this.$val.SetMaxDynamicTableSizeLimit(a);};F.ptr.prototype.shouldIndex=function(a){var $ptr,a,b;b=this;return!a.Sensitive&&$clone(a,Q).Size()<=b.dynTab.maxSize;};F.prototype.shouldIndex=function(a){return this.$val.shouldIndex(a);};H=function(a,b){var $ptr,a,b,c;c=a.$length;a=L(a,7,b);((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c]=((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])|(128))>>>0));return a;};I=function(a,b,c){var $ptr,a,b,c;a=$append(a,N(c,b.Sensitive));a=M(a,b.Name);return M(a,b.Value);};J=function(a,b,c,d){var $ptr,a,b,c,d,e,f;e=a.$length;f=0;if(d){f=6;}else{f=4;}a=L(a,f,c);((e<0||e>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+e]=((((e<0||e>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+e])|(N(d,b.Sensitive)))>>>0));return M(a,b.Value);};K=function(a,b){var $ptr,a,b,c;c=a.$length;a=L(a,5,(new $Uint64(0,b)));((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c]=((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])|(32))>>>0));return a;};L=function(a,b,c){var $ptr,a,b,c,d,e,f,g;e=((d=$shiftLeft64(new $Uint64(0,1),b),new $Uint64(d.$high-0,d.$low-1)));if((c.$high<e.$high||(c.$high===e.$high&&c.$low<e.$low))){return $append(a,((c.$low<<24>>>24)));}a=$append(a,((e.$low<<24>>>24)));c=(f=e,new $Uint64(c.$high-f.$high,c.$low-f.$low));while(true){if(!((c.$high>0||(c.$high===0&&c.$low>=128)))){break;}a=$append(a,(((g=new $Uint64(c.$high&0,(c.$low&127)>>>0),new $Uint64(0|g.$high,(128|g.$low)>>>0)).$low<<24>>>24)));c=$shiftRightUint64(c,(7));}return $append(a,((c.$low<<24>>>24)));};M=function(a,b){var $ptr,a,b,c,d,e;c=AJ(b);if((d=(new $Uint64(0,b.length)),(c.$high<d.$high||(c.$high===d.$high&&c.$low<d.$low)))){e=a.$length;a=L(a,7,c);a=AI(a,b);((e<0||e>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+e]=((((e<0||e>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+e])|(128))>>>0));}else{a=L(a,7,(new $Uint64(0,b.length)));a=$appendSlice(a,b);}return a;};N=function(a,b){var $ptr,a,b;if(b){return 16;}if(a){return 64;}return 0;};O.ptr.prototype.Error=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=D.Sprintf(\"decoding error: %v\",new AP([a.Err]));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:O.ptr.prototype.Error};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};O.prototype.Error=function(){return this.$val.Error();};P.prototype.Error=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this.$val;b=D.Sprintf(\"invalid indexed representation index %d\",new AP([new $Int(((a>>0)))]));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:P.prototype.Error};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(P).prototype.Error=function(){return new P(this.$get()).Error();};Q.ptr.prototype.IsPseudo=function(){var $ptr,a;a=this;return!((a.Name.length===0))&&(a.Name.charCodeAt(0)===58);};Q.prototype.IsPseudo=function(){return this.$val.IsPseudo();};Q.ptr.prototype.String=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=\"\";if(a.Sensitive){b=\" (sensitive)\";}c=D.Sprintf(\"header field %q = %q%s\",new AP([new $String(a.Name),new $String(a.Value),new $String(b)]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:Q.ptr.prototype.String};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};Q.prototype.String=function(){return this.$val.String();};Q.ptr.prototype.Size=function(){var $ptr,a;a=this;return((((a.Name.length+a.Value.length>>0)+32>>0)>>>0));};Q.prototype.Size=function(){return this.$val.Size();};S=function(a,b){var $ptr,a,b,c;c=new R.ptr(new T.ptr(AS.nil,0,0,0),b,true,0,AQ.nil,new B.Buffer.ptr(AQ.nil,0,AR.zero(),0));c.dynTab.allowedMaxSize=a;c.dynTab.setMaxSize(a);return c;};$pkg.NewDecoder=S;R.ptr.prototype.SetMaxStringLength=function(a){var $ptr,a,b;b=this;b.maxStrLen=a;};R.prototype.SetMaxStringLength=function(a){return this.$val.SetMaxStringLength(a);};R.ptr.prototype.SetEmitFunc=function(a){var $ptr,a,b;b=this;b.emit=a;};R.prototype.SetEmitFunc=function(a){return this.$val.SetEmitFunc(a);};R.ptr.prototype.SetEmitEnabled=function(a){var $ptr,a,b;b=this;b.emitEnabled=a;};R.prototype.SetEmitEnabled=function(a){return this.$val.SetEmitEnabled(a);};R.ptr.prototype.EmitEnabled=function(){var $ptr,a;a=this;return a.emitEnabled;};R.prototype.EmitEnabled=function(){return this.$val.EmitEnabled();};R.ptr.prototype.SetMaxDynamicTableSize=function(a){var $ptr,a,b;b=this;b.dynTab.setMaxSize(a);};R.prototype.SetMaxDynamicTableSize=function(a){return this.$val.SetMaxDynamicTableSize(a);};R.ptr.prototype.SetAllowedMaxDynamicTableSize=function(a){var $ptr,a,b;b=this;b.dynTab.allowedMaxSize=a;};R.prototype.SetAllowedMaxDynamicTableSize=function(a){return this.$val.SetAllowedMaxDynamicTableSize(a);};T.ptr.prototype.setMaxSize=function(a){var $ptr,a,b;b=this;b.maxSize=a;b.evict();};T.prototype.setMaxSize=function(a){return this.$val.setMaxSize(a);};T.ptr.prototype.add=function(a){var $ptr,a,b;b=this;b.ents=$append(b.ents,a);b.size=b.size+($clone(a,Q).Size())>>>0;b.evict();};T.prototype.add=function(a){return this.$val.add(a);};T.ptr.prototype.evict=function(){var $ptr,a,b,c;a=this;b=a.ents;while(true){if(!(a.size>a.maxSize)){break;}a.size=a.size-($clone((c=a.ents,(0>=c.$length?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+0])),Q).Size())>>>0;a.ents=$subslice(a.ents,1);}if(!((a.ents.$length===b.$length))){$copySlice(b,a.ents);a.ents=$subslice(b,0,a.ents.$length);}};T.prototype.evict=function(){return this.$val.evict();};U=function(a,b){var $ptr,a,b,c,d;if(!((a.length===b.length))){return false;}c=0;d=0;while(true){if(!(d<a.length)){break;}c=(c|(((a.charCodeAt(d)^b.charCodeAt(d))<<24>>>24)))>>>0;d=d+(1)>>0;}return c===0;};T.ptr.prototype.search=function(a){var $ptr,a,b,c,d,e,f,g,h;b=new $Uint64(0,0);c=false;d=this;e=d.ents.$length;f=e-1>>0;while(true){if(!(f>=0)){break;}h=$clone((g=d.ents,((f<0||f>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+f])),Q);if(!U(h.Name,a.Name)){f=f-(1)>>0;continue;}if((b.$high===0&&b.$low===0)){b=(new $Uint64(0,(e-f>>0)));}if(a.Sensitive){f=f-(1)>>0;continue;}if(!U(h.Value,a.Value)){f=f-(1)>>0;continue;}b=(new $Uint64(0,(e-f>>0)));c=true;return[b,c];}return[b,c];};T.prototype.search=function(a){return this.$val.search(a);};R.ptr.prototype.maxTableIndex=function(){var $ptr,a;a=this;return a.dynTab.ents.$length+61>>0;};R.prototype.maxTableIndex=function(){return this.$val.maxTableIndex();};R.ptr.prototype.at=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=new Q.ptr(\"\",\"\",false);c=false;d=this;if((a.$high<0||(a.$high===0&&a.$low<1))){return[b,c];}if((e=(new $Uint64(0,d.maxTableIndex())),(a.$high>e.$high||(a.$high===e.$high&&a.$low>e.$low)))){return[b,c];}if((a.$high<0||(a.$high===0&&a.$low<=61))){f=$clone((g=new $Uint64(a.$high-0,a.$low-1),(($flatten64(g)<0||$flatten64(g)>=AM.length)?($throwRuntimeError(\"index out of range\"),undefined):AM[$flatten64(g)])),Q);h=true;Q.copy(b,f);c=h;return[b,c];}i=d.dynTab.ents;j=$clone((k=i.$length-((((a.$low>>0))-61>>0))>>0,((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k])),Q);l=true;Q.copy(b,j);c=l;return[b,c];};R.prototype.at=function(a){return this.$val.at(a);};R.ptr.prototype.DecodeFull=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];c=[c];d=[d];b[0]=this;c[0]=AS.nil;d[0]=b[0].emit;$deferred.push([(function(b,c,d){return function(){var $ptr;b[0].emit=d[0];};})(b,c,d),[]]);b[0].emit=(function(b,c,d){return function(e){var $ptr,e;c[0]=$append(c[0],e);};})(b,c,d);f=b[0].Write(a);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return[AS.nil,g];}h=b[0].Close();if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[AS.nil,h];}$s=-1;return[c[0],$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[AS.nil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:R.ptr.prototype.DecodeFull};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};R.prototype.DecodeFull=function(a){return this.$val.DecodeFull(a);};R.ptr.prototype.Close=function(){var $ptr,a,b;a=this;if(a.saveBuf.Len()>0){a.saveBuf.Reset();return(b=new O.ptr(C.New(\"truncated headers\")),new b.constructor.elem(b));}return $ifaceNil;};R.prototype.Close=function(){return this.$val.Close();};R.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;if(a.$length===0){$s=-1;return[b,c];}if(d.saveBuf.Len()===0){d.buf=a;}else{d.saveBuf.Write(a);d.buf=d.saveBuf.Bytes();d.saveBuf.Reset();}case 1:if(!(d.buf.$length>0)){$s=2;continue;}e=d.parseHeaderFieldRepr();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}c=e;if($interfaceIsEqual(c,V)){if(!((d.maxStrLen===0))&&(f=(new $Int64(0,d.buf.$length)),g=$mul64(new $Int64(0,2),((h=(new $Int64(0,d.maxStrLen)),new $Int64(h.$high+0,h.$low+8)))),(f.$high>g.$high||(f.$high===g.$high&&f.$low>g.$low)))){i=0;j=$pkg.ErrStringLength;b=i;c=j;$s=-1;return[b,c];}d.saveBuf.Write(d.buf);k=a.$length;l=$ifaceNil;b=k;c=l;$s=-1;return[b,c];}if(!($interfaceIsEqual(c,$ifaceNil))){$s=2;continue;}$s=1;continue;case 2:m=a.$length;n=c;b=m;c=n;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Write=function(a){return this.$val.Write(a);};W.prototype.indexed=function(){var $ptr,a;a=this.$val;return a===0;};$ptrType(W).prototype.indexed=function(){return new W(this.$get()).indexed();};W.prototype.sensitive=function(){var $ptr,a;a=this.$val;return a===2;};$ptrType(W).prototype.sensitive=function(){return new W(this.$get()).sensitive();};R.ptr.prototype.parseHeaderFieldRepr=function(){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=(b=a.buf,(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]));if(!((((c&128)>>>0)===0))){$s=2;continue;}if((((c&192)>>>0)===64)){$s=3;continue;}if((((c&240)>>>0)===0)){$s=4;continue;}if((((c&240)>>>0)===16)){$s=5;continue;}if((((c&224)>>>0)===32)){$s=6;continue;}$s=7;continue;case 2:d=a.parseFieldIndexed();$s=8;case 8:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;case 3:e=a.parseFieldLiteral(6,0);$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;case 4:f=a.parseFieldLiteral(4,1);$s=10;case 10:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 5:g=a.parseFieldLiteral(4,2);$s=11;case 11:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 6:$s=-1;return a.parseDynamicTableSizeUpdate();case 7:case 1:$s=-1;return(h=new O.ptr(C.New(\"invalid encoding\")),new h.constructor.elem(h));}return;}if($f===undefined){$f={$blk:R.ptr.prototype.parseHeaderFieldRepr};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.parseHeaderFieldRepr=function(){return this.$val.parseHeaderFieldRepr();};R.ptr.prototype.parseFieldIndexed=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.buf;c=Y(7,b);d=c[0];b=c[1];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){$s=-1;return e;}f=a.at(d);g=$clone(f[0],Q);h=f[1];if(!h){$s=-1;return(i=new O.ptr(new P(((d.$low>>0)))),new i.constructor.elem(i));}a.buf=b;j=a.callEmit(new Q.ptr(g.Name,g.Value,false));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.parseFieldIndexed};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.parseFieldIndexed=function(){return this.$val.parseFieldIndexed();};R.ptr.prototype.parseFieldLiteral=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.buf;e=Y(a,d);f=e[0];d=e[1];g=e[2];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}h=new Q.ptr(\"\",\"\",false);i=c.emitEnabled||new W(b).indexed();if((f.$high>0||(f.$high===0&&f.$low>0))){$s=1;continue;}$s=2;continue;case 1:j=c.at(f);k=$clone(j[0],Q);l=j[1];if(!l){$s=-1;return(m=new O.ptr(new P(((f.$low>>0)))),new m.constructor.elem(m));}h.Name=k.Name;$s=3;continue;case 2:o=c.readString(d,i);$s=4;case 4:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;h.Name=n[0];d=n[1];g=n[2];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}case 3:q=c.readString(d,i);$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;h.Value=p[0];d=p[1];g=p[2];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}c.buf=d;if(new W(b).indexed()){c.dynTab.add($clone(h,Q));}h.Sensitive=new W(b).sensitive();r=c.callEmit($clone(h,Q));$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.parseFieldLiteral};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.parseFieldLiteral=function(a,b){return this.$val.parseFieldLiteral(a,b);};R.ptr.prototype.callEmit=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!((b.maxStrLen===0))){if(a.Name.length>b.maxStrLen||a.Value.length>b.maxStrLen){$s=-1;return $pkg.ErrStringLength;}}if(b.emitEnabled){$s=1;continue;}$s=2;continue;case 1:$r=b.emit($clone(a,Q));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.callEmit};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.callEmit=function(a){return this.$val.callEmit(a);};R.ptr.prototype.parseDynamicTableSizeUpdate=function(){var $ptr,a,b,c,d,e,f,g;a=this;b=a.buf;c=Y(5,b);d=c[0];b=c[1];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){return e;}if((f=(new $Uint64(0,a.dynTab.allowedMaxSize)),(d.$high>f.$high||(d.$high===f.$high&&d.$low>f.$low)))){return(g=new O.ptr(C.New(\"dynamic table size update too large\")),new g.constructor.elem(g));}a.dynTab.setMaxSize(((d.$low>>>0)));a.buf=b;return $ifaceNil;};R.prototype.parseDynamicTableSizeUpdate=function(){return this.$val.parseDynamicTableSizeUpdate();};Y=function(a,b){var $ptr,a,aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=new $Uint64(0,0);d=AQ.nil;e=$ifaceNil;if(a<1||a>8){$panic(new $String(\"bad n\"));}if(b.$length===0){f=new $Uint64(0,0);g=b;h=V;c=f;d=g;e=h;return[c,d,e];}c=(new $Uint64(0,(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])));if(a<8){c=(i=(j=$shiftLeft64(new $Uint64(0,1),$flatten64((new $Uint64(0,a)))),new $Uint64(j.$high-0,j.$low-1)),new $Uint64(c.$high&i.$high,(c.$low&i.$low)>>>0));}if((k=(l=$shiftLeft64(new $Uint64(0,1),$flatten64((new $Uint64(0,a)))),new $Uint64(l.$high-0,l.$low-1)),(c.$high<k.$high||(c.$high===k.$high&&c.$low<k.$low)))){m=c;n=$subslice(b,1);o=$ifaceNil;c=m;d=n;e=o;return[c,d,e];}p=b;b=$subslice(b,1);q=new $Uint64(0,0);while(true){if(!(b.$length>0)){break;}r=(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]);b=$subslice(b,1);c=(s=$shiftLeft64((new $Uint64(0,((r&127)>>>0))),$flatten64(q)),new $Uint64(c.$high+s.$high,c.$low+s.$low));if(((r&128)>>>0)===0){t=c;u=b;v=$ifaceNil;c=t;d=u;e=v;return[c,d,e];}q=(w=new $Uint64(0,7),new $Uint64(q.$high+w.$high,q.$low+w.$low));if((q.$high>0||(q.$high===0&&q.$low>=63))){x=new $Uint64(0,0);y=p;z=new X.constructor.elem(X);c=x;d=y;e=z;return[c,d,e];}}aa=new $Uint64(0,0);ab=p;ac=V;c=aa;d=ab;e=ac;return[c,d,e];};R.ptr.prototype.readString=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=\"\";d=AQ.nil;e=$ifaceNil;f=this;if(a.$length===0){g=\"\";h=a;i=V;c=g;d=h;e=i;$s=-1;return[c,d,e];}j=!(((((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])&128)>>>0)===0));k=Y(7,a);l=k[0];a=k[1];e=k[2];if(!($interfaceIsEqual(e,$ifaceNil))){m=\"\";n=a;o=e;c=m;d=n;e=o;$s=-1;return[c,d,e];}if(!((f.maxStrLen===0))&&(p=(new $Uint64(0,f.maxStrLen)),(l.$high>p.$high||(l.$high===p.$high&&l.$low>p.$low)))){q=\"\";r=AQ.nil;s=$pkg.ErrStringLength;c=q;d=r;e=s;$s=-1;return[c,d,e];}if((t=(new $Uint64(0,a.$length)),(t.$high<l.$high||(t.$high===l.$high&&t.$low<l.$low)))){u=\"\";v=a;w=V;c=u;d=v;e=w;$s=-1;return[c,d,e];}if(!j){if(b){c=($bytesToString($subslice(a,0,$flatten64(l))));}x=c;y=$subslice(a,$flatten64(l));z=$ifaceNil;c=x;d=y;e=z;$s=-1;return[c,d,e];}if(b){$s=1;continue;}$s=2;continue;case 1:aa=Z.Get();$s=3;case 3:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=$assertType(aa,AT);ab.Reset();$deferred.push([$methodVal(Z,\"Put\"),[ab]]);ac=AC(ab,f.maxStrLen,$subslice(a,0,$flatten64(l)));if(!($interfaceIsEqual(ac,$ifaceNil))){ab.Reset();ad=\"\";ae=AQ.nil;af=ac;c=ad;d=ae;e=af;$s=-1;return[c,d,e];}c=ab.String();ab.Reset();case 2:ag=c;ah=$subslice(a,$flatten64(l));ai=$ifaceNil;c=ag;d=ah;e=ai;$s=-1;return[c,d,e];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[c,d,e];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:R.ptr.prototype.readString};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};R.prototype.readString=function(a,b){return this.$val.readString(a,b);};AC=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;d=AF;e=0;f=0;g=0;h=e;i=f;j=g;k=c;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);h=((h<<8>>>0)|((m>>>0)))>>>0;i=i+(8)<<24>>>24;j=j+(8)<<24>>>24;while(true){if(!(i>=8)){break;}o=((((n=((i-8<<24>>>24)),n<32?(h>>>n):0)>>>0)<<24>>>24));d=(p=d.children,((o<0||o>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+o]));if(d===AU.nil){return $pkg.ErrInvalidHuffman;}if(d.children===AV.nil){if(!((b===0))&&(a.Len()===b)){return $pkg.ErrStringLength;}a.WriteByte(d.sym);i=i-(d.codeLen)<<24>>>24;d=AF;j=i;}else{i=i-(8)<<24>>>24;}}l++;}while(true){if(!(i>0)){break;}d=(q=d.children,r=((((s=((8-i<<24>>>24)),s<32?(h<<s):0)>>>0)<<24>>>24)),((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]));if(d===AU.nil){return $pkg.ErrInvalidHuffman;}if(!(d.children===AV.nil)||d.codeLen>i){break;}if(!((b===0))&&(a.Len()===b)){return $pkg.ErrStringLength;}a.WriteByte(d.sym);i=i-(d.codeLen)<<24>>>24;d=AF;j=i;}if(j>7){return $pkg.ErrInvalidHuffman;}u=((((t=i,t<32?(1<<t):0)>>>0)-1>>>0));if(!((((h&u)>>>0)===u))){return $pkg.ErrInvalidHuffman;}return $ifaceNil;};AE=function(){var $ptr;return new AD.ptr($makeSlice(AV,256),0,0);};AG=function(){var $ptr,a,b,c,d;if(false){$panic(new $String(\"unexpected size\"));}a=AN;b=0;while(true){if(!(b<256)){break;}c=b;d=((b<0||b>=a.length)?($throwRuntimeError(\"index out of range\"),undefined):a[b]);AH(((c<<24>>>24)),d,((c<0||c>=AO.length)?($throwRuntimeError(\"index out of range\"),undefined):AO[c]));b++;}};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;d=AF;while(true){if(!(c>8)){break;}c=c-(8)<<24>>>24;f=((((e=c,e<32?(b>>>e):0)>>>0)<<24>>>24));if((g=d.children,((f<0||f>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+f]))===AU.nil){(h=d.children,((f<0||f>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+f]=AE()));}d=(i=d.children,((f<0||f>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+f]));}j=8-c<<24>>>24;k=((((((l=j,l<32?(b<<l):0)>>>0)<<24>>>24))>>0));m=(((n=j,n<32?(1<<n):0)>>0));o=k;p=m;q=o;while(true){if(!(q<(o+p>>0))){break;}(r=d.children,((q<0||q>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+q]=new AD.ptr(AV.nil,c,a)));q=q+(1)>>0;}};AI=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j;c=8;d=0;while(true){if(!(d<b.length)){break;}if(c===8){a=$append(a,0);}e=AK(a,c,b.charCodeAt(d));a=e[0];c=e[1];d=d+(1)>>0;}if(c<8){f=1073741823;g=30;i=((((h=((g-c<<24>>>24)),h<32?(f>>>h):0)>>>0)<<24>>>24));j=a.$length-1>>0;((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]=((((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j])|(i))>>>0));}return a;};$pkg.AppendHuffmanString=AI;AJ=function(a){var $ptr,a,b,c,d,e;b=new $Uint64(0,0);c=0;while(true){if(!(c<a.length)){break;}b=(d=(new $Uint64(0,(e=a.charCodeAt(c),((e<0||e>=AO.length)?($throwRuntimeError(\"index out of range\"),undefined):AO[e])))),new $Uint64(b.$high+d.$high,b.$low+d.$low));c=c+(1)>>0;}return $div64((new $Uint64(b.$high+0,b.$low+7)),new $Uint64(0,8),false);};$pkg.HuffmanEncodeLength=AJ;AK=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k;d=((c<0||c>=AN.length)?($throwRuntimeError(\"index out of range\"),undefined):AN[c]);e=((c<0||c>=AO.length)?($throwRuntimeError(\"index out of range\"),undefined):AO[c]);while(true){if(b>e){g=((((f=((b-e<<24>>>24)),f<32?(d<<f):0)>>>0)<<24>>>24));h=a.$length-1>>0;((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h]=((((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])|(g))>>>0));b=b-(e)<<24>>>24;break;}j=((((i=((e-b<<24>>>24)),i<32?(d>>>i):0)>>>0)<<24>>>24));k=a.$length-1>>0;((k<0||k>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+k]=((((k<0||k>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+k])|(j))>>>0));e=e-(b)<<24>>>24;b=8;if(e===0){break;}a=$append(a,0);}return[a,b];};AL=function(a,b){var $ptr,a,b;return new Q.ptr(a,b,false);};AW.methods=[{prop:\"WriteField\",name:\"WriteField\",pkg:\"\",typ:$funcType([Q],[$error],false)},{prop:\"searchTable\",name:\"searchTable\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([Q],[$Uint64,$Bool],false)},{prop:\"SetMaxDynamicTableSize\",name:\"SetMaxDynamicTableSize\",pkg:\"\",typ:$funcType([$Uint32],[],false)},{prop:\"SetMaxDynamicTableSizeLimit\",name:\"SetMaxDynamicTableSizeLimit\",pkg:\"\",typ:$funcType([$Uint32],[],false)},{prop:\"shouldIndex\",name:\"shouldIndex\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([Q],[$Bool],false)}];O.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];P.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];Q.methods=[{prop:\"IsPseudo\",name:\"IsPseudo\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uint32],false)}];AY.methods=[{prop:\"SetMaxStringLength\",name:\"SetMaxStringLength\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetEmitFunc\",name:\"SetEmitFunc\",pkg:\"\",typ:$funcType([AX],[],false)},{prop:\"SetEmitEnabled\",name:\"SetEmitEnabled\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"EmitEnabled\",name:\"EmitEnabled\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"SetMaxDynamicTableSize\",name:\"SetMaxDynamicTableSize\",pkg:\"\",typ:$funcType([$Uint32],[],false)},{prop:\"SetAllowedMaxDynamicTableSize\",name:\"SetAllowedMaxDynamicTableSize\",pkg:\"\",typ:$funcType([$Uint32],[],false)},{prop:\"maxTableIndex\",name:\"maxTableIndex\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([],[$Int],false)},{prop:\"at\",name:\"at\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([$Uint64],[Q,$Bool],false)},{prop:\"DecodeFull\",name:\"DecodeFull\",pkg:\"\",typ:$funcType([AQ],[AS,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([AQ],[$Int,$error],false)},{prop:\"parseHeaderFieldRepr\",name:\"parseHeaderFieldRepr\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([],[$error],false)},{prop:\"parseFieldIndexed\",name:\"parseFieldIndexed\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([],[$error],false)},{prop:\"parseFieldLiteral\",name:\"parseFieldLiteral\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([$Uint8,W],[$error],false)},{prop:\"callEmit\",name:\"callEmit\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([Q],[$error],false)},{prop:\"parseDynamicTableSizeUpdate\",name:\"parseDynamicTableSizeUpdate\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([],[$error],false)},{prop:\"readString\",name:\"readString\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([AQ,$Bool],[$String,AQ,$error],false)}];AZ.methods=[{prop:\"setMaxSize\",name:\"setMaxSize\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([$Uint32],[],false)},{prop:\"add\",name:\"add\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([Q],[],false)},{prop:\"evict\",name:\"evict\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([],[],false)},{prop:\"search\",name:\"search\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([Q],[$Uint64,$Bool],false)}];W.methods=[{prop:\"indexed\",name:\"indexed\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([],[$Bool],false)},{prop:\"sensitive\",name:\"sensitive\",pkg:\"vendor/golang_org/x/net/http2/hpack\",typ:$funcType([],[$Bool],false)}];F.init(\"vendor/golang_org/x/net/http2/hpack\",[{prop:\"dynTab\",name:\"dynTab\",exported:false,typ:T,tag:\"\"},{prop:\"minSize\",name:\"minSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"maxSizeLimit\",name:\"maxSizeLimit\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tableSizeUpdate\",name:\"tableSizeUpdate\",exported:false,typ:$Bool,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:A.Writer,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:AQ,tag:\"\"}]);O.init(\"\",[{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Q.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"Sensitive\",name:\"Sensitive\",exported:true,typ:$Bool,tag:\"\"}]);R.init(\"vendor/golang_org/x/net/http2/hpack\",[{prop:\"dynTab\",name:\"dynTab\",exported:false,typ:T,tag:\"\"},{prop:\"emit\",name:\"emit\",exported:false,typ:AX,tag:\"\"},{prop:\"emitEnabled\",name:\"emitEnabled\",exported:false,typ:$Bool,tag:\"\"},{prop:\"maxStrLen\",name:\"maxStrLen\",exported:false,typ:$Int,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:AQ,tag:\"\"},{prop:\"saveBuf\",name:\"saveBuf\",exported:false,typ:B.Buffer,tag:\"\"}]);T.init(\"vendor/golang_org/x/net/http2/hpack\",[{prop:\"ents\",name:\"ents\",exported:false,typ:AS,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"maxSize\",name:\"maxSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"allowedMaxSize\",name:\"allowedMaxSize\",exported:false,typ:$Uint32,tag:\"\"}]);AD.init(\"vendor/golang_org/x/net/http2/hpack\",[{prop:\"children\",name:\"children\",exported:false,typ:AV,tag:\"\"},{prop:\"codeLen\",name:\"codeLen\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"sym\",name:\"sym\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrStringLength=C.New(\"hpack: string too long\");V=C.New(\"need more data\");X=new O.ptr(C.New(\"varint integer overflow\"));Z=new E.Pool.ptr(0,0,AP.nil,(function(){var $ptr;return new B.Buffer.ptr(AQ.nil,0,AR.zero(),0);}));$pkg.ErrInvalidHuffman=C.New(\"hpack: invalid Huffman-encoded data\");AF=AE();AM=$toNativeArray($kindStruct,[$clone(AL(\":authority\",\"\"),Q),$clone(AL(\":method\",\"GET\"),Q),$clone(AL(\":method\",\"POST\"),Q),$clone(AL(\":path\",\"/\"),Q),$clone(AL(\":path\",\"/index.html\"),Q),$clone(AL(\":scheme\",\"http\"),Q),$clone(AL(\":scheme\",\"https\"),Q),$clone(AL(\":status\",\"200\"),Q),$clone(AL(\":status\",\"204\"),Q),$clone(AL(\":status\",\"206\"),Q),$clone(AL(\":status\",\"304\"),Q),$clone(AL(\":status\",\"400\"),Q),$clone(AL(\":status\",\"404\"),Q),$clone(AL(\":status\",\"500\"),Q),$clone(AL(\"accept-charset\",\"\"),Q),$clone(AL(\"accept-encoding\",\"gzip, deflate\"),Q),$clone(AL(\"accept-language\",\"\"),Q),$clone(AL(\"accept-ranges\",\"\"),Q),$clone(AL(\"accept\",\"\"),Q),$clone(AL(\"access-control-allow-origin\",\"\"),Q),$clone(AL(\"age\",\"\"),Q),$clone(AL(\"allow\",\"\"),Q),$clone(AL(\"authorization\",\"\"),Q),$clone(AL(\"cache-control\",\"\"),Q),$clone(AL(\"content-disposition\",\"\"),Q),$clone(AL(\"content-encoding\",\"\"),Q),$clone(AL(\"content-language\",\"\"),Q),$clone(AL(\"content-length\",\"\"),Q),$clone(AL(\"content-location\",\"\"),Q),$clone(AL(\"content-range\",\"\"),Q),$clone(AL(\"content-type\",\"\"),Q),$clone(AL(\"cookie\",\"\"),Q),$clone(AL(\"date\",\"\"),Q),$clone(AL(\"etag\",\"\"),Q),$clone(AL(\"expect\",\"\"),Q),$clone(AL(\"expires\",\"\"),Q),$clone(AL(\"from\",\"\"),Q),$clone(AL(\"host\",\"\"),Q),$clone(AL(\"if-match\",\"\"),Q),$clone(AL(\"if-modified-since\",\"\"),Q),$clone(AL(\"if-none-match\",\"\"),Q),$clone(AL(\"if-range\",\"\"),Q),$clone(AL(\"if-unmodified-since\",\"\"),Q),$clone(AL(\"last-modified\",\"\"),Q),$clone(AL(\"link\",\"\"),Q),$clone(AL(\"location\",\"\"),Q),$clone(AL(\"max-forwards\",\"\"),Q),$clone(AL(\"proxy-authenticate\",\"\"),Q),$clone(AL(\"proxy-authorization\",\"\"),Q),$clone(AL(\"range\",\"\"),Q),$clone(AL(\"referer\",\"\"),Q),$clone(AL(\"refresh\",\"\"),Q),$clone(AL(\"retry-after\",\"\"),Q),$clone(AL(\"server\",\"\"),Q),$clone(AL(\"set-cookie\",\"\"),Q),$clone(AL(\"strict-transport-security\",\"\"),Q),$clone(AL(\"transfer-encoding\",\"\"),Q),$clone(AL(\"user-agent\",\"\"),Q),$clone(AL(\"vary\",\"\"),Q),$clone(AL(\"via\",\"\"),Q),$clone(AL(\"www-authenticate\",\"\"),Q)]);AN=$toNativeArray($kindUint32,[8184,8388568,268435426,268435427,268435428,268435429,268435430,268435431,268435432,16777194,1073741820,268435433,268435434,1073741821,268435435,268435436,268435437,268435438,268435439,268435440,268435441,268435442,1073741822,268435443,268435444,268435445,268435446,268435447,268435448,268435449,268435450,268435451,20,1016,1017,4090,8185,21,248,2042,1018,1019,249,2043,250,22,23,24,0,1,2,25,26,27,28,29,30,31,92,251,32764,32,4091,1020,8186,33,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,252,115,253,8187,524272,8188,16380,34,32765,3,35,4,36,5,37,38,39,6,116,117,40,41,42,7,43,118,44,8,9,45,119,120,121,122,123,32766,2044,16381,8189,268435452,1048550,4194258,1048551,1048552,4194259,4194260,4194261,8388569,4194262,8388570,8388571,8388572,8388573,8388574,16777195,8388575,16777196,16777197,4194263,8388576,16777198,8388577,8388578,8388579,8388580,2097116,4194264,8388581,4194265,8388582,8388583,16777199,4194266,2097117,1048553,4194267,4194268,8388584,8388585,2097118,8388586,4194269,4194270,16777200,2097119,4194271,8388587,8388588,2097120,2097121,4194272,2097122,8388589,4194273,8388590,8388591,1048554,4194274,4194275,4194276,8388592,4194277,4194278,8388593,67108832,67108833,1048555,524273,4194279,8388594,4194280,33554412,67108834,67108835,67108836,134217694,134217695,67108837,16777201,33554413,524274,2097123,67108838,134217696,134217697,67108839,134217698,16777202,2097124,2097125,67108840,67108841,268435453,134217699,134217700,134217701,1048556,16777203,1048557,2097126,4194281,2097127,2097128,8388595,4194282,4194283,33554414,33554415,16777204,16777205,67108842,8388596,67108843,134217702,67108844,67108845,134217703,134217704,134217705,134217706,134217707,268435454,134217708,134217709,134217710,134217711,134217712,67108846]);AO=$toNativeArray($kindUint8,[13,23,28,28,28,28,28,28,28,24,30,28,28,30,28,28,28,28,28,28,28,28,30,28,28,28,28,28,28,28,28,28,6,10,10,12,13,6,8,11,10,10,8,11,8,6,6,6,5,5,5,6,6,6,6,6,6,6,7,8,15,6,12,10,13,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,7,8,13,19,13,14,6,15,5,6,5,6,5,6,6,6,5,7,7,6,6,6,5,6,7,6,5,5,6,7,7,7,7,7,15,11,14,13,28,20,22,20,20,22,22,22,23,22,23,23,23,23,23,24,23,24,24,22,23,24,23,23,23,23,21,22,23,22,23,23,24,22,21,20,22,22,23,23,21,23,22,22,24,21,22,23,23,21,21,22,21,23,22,23,23,20,22,22,22,23,22,22,23,26,26,20,19,22,23,22,25,26,26,26,27,27,26,24,25,19,21,26,27,27,26,27,24,21,21,26,26,28,27,27,27,20,24,20,21,22,21,21,23,22,22,25,25,24,24,26,23,26,27,26,26,27,27,27,27,27,28,27,27,27,27,27,26]);AG();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/net/idna\"]=(function(){var $pkg={},$init,C,D,A,B,M,O,E,G,I,K,L;C=$packages[\"fmt\"];D=$packages[\"math\"];A=$packages[\"strings\"];B=$packages[\"unicode/utf8\"];M=$sliceType($emptyInterface);O=$sliceType($Uint8);E=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(G(a)){$s=-1;return[a,$ifaceNil];}b=A.Split(a,\".\");c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=d;f=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!G(f)){$s=3;continue;}$s=4;continue;case 3:h=I(\"xn--\",f);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[\"\",j];}((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]=i);case 4:d++;$s=1;continue;case 2:$s=-1;return[A.Join(b,\".\"),$ifaceNil];}return;}if($f===undefined){$f={$blk:E};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ToASCII=E;G=function(a){var $ptr,a,b;b=0;while(true){if(!(b<a.length)){break;}if(a.charCodeAt(b)>=128){return false;}b=b+(1)>>0;}return true;};I=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$makeSlice(O,a.length,((a.length+1>>0)+($imul(2,b.length))>>0));$copyString(c,a);d=0;e=128;f=72;g=d;h=e;i=f;j=0;k=0;l=j;m=k;n=b;o=0;while(true){if(!(o<n.length)){break;}p=$decodeRune(n,o);q=p[0];if(q<128){l=l+(1)>>0;c=$append(c,((q<<24>>>24)));}else{m=m+(1)>>0;}o+=p[1];}r=l;if(l>0){c=$append(c,45);}case 1:if(!(!((m===0)))){$s=2;continue;}s=2147483647;t=b;u=0;while(true){if(!(u<t.length)){break;}v=$decodeRune(t,u);w=v[0];if(s>w&&w>=h){s=w;}u+=v[1];}g=g+(($imul(((s-h>>0)),((r+1>>0)))))>>0;if(g<0){$s=3;continue;}$s=4;continue;case 3:x=C.Errorf(\"idna: invalid label %q\",new M([new $String(b)]));$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$s=-1;return[\"\",x];case 4:h=s;y=b;z=0;case 6:if(!(z<y.length)){$s=7;continue;}aa=$decodeRune(y,z);ab=aa[0];if(ab<h){$s=8;continue;}$s=9;continue;case 8:g=g+(1)>>0;if(g<0){$s=10;continue;}$s=11;continue;case 10:ac=C.Errorf(\"idna: invalid label %q\",new M([new $String(b)]));$s=12;case 12:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}$s=-1;return[\"\",ac];case 11:z+=aa[1];$s=6;continue;case 9:if(ab>h){z+=aa[1];$s=6;continue;}ad=g;ae=36;while(true){af=ae-i>>0;if(af<1){af=1;}else if(af>26){af=26;}if(ad<af){break;}c=$append(c,K(af+(ag=((ad-af>>0))%((36-af>>0)),ag===ag?ag:$throwRuntimeError(\"integer divide by zero\"))>>0));ad=(ah=((ad-af>>0))/((36-af>>0)),(ah===ah&&ah!==1/0&&ah!==-1/0)?ah>>0:$throwRuntimeError(\"integer divide by zero\"));ae=ae+(36)>>0;}c=$append(c,K(ad));i=L(g,r+1>>0,r===l);g=0;r=r+(1)>>0;m=m-(1)>>0;z+=aa[1];$s=6;continue;case 7:g=g+(1)>>0;h=h+(1)>>0;$s=1;continue;case 2:$s=-1;return[($bytesToString(c)),$ifaceNil];}return;}if($f===undefined){$f={$blk:I};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};K=function(a){var $ptr,a;if(0<=a&&a<26){return(((a+97>>0)<<24>>>24));}else if(26<=a&&a<36){return(((a+22>>0)<<24>>>24));}$panic(new $String(\"idna: internal error in punycode encoding\"));};L=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;if(c){a=(d=a/(700),(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));}else{a=(e=a/(2),(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"));}a=a+((f=a/b,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\")))>>0;g=0;while(true){if(!(a>455)){break;}a=(h=a/(35),(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\"));g=g+(36)>>0;}return g+(i=($imul(36,a))/((a+38>>0)),(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/net/lex/httplex\"]=(function(){var $pkg={},$init,A,B,C,D,E,R,F,H,I,J,K,L,M,N,O,P,Q,S,T,U;A=$packages[\"net\"];B=$packages[\"strings\"];C=$packages[\"unicode/utf8\"];D=$packages[\"vendor/golang_org/x/net/idna\"];F=function(a){var $ptr,a,b;b=((a>>0));return b<127&&((b<0||b>=E.length)?($throwRuntimeError(\"index out of range\"),undefined):E[b]);};$pkg.IsTokenRune=F;H=function(a,b){var $ptr,a,b,c,d,e;c=a;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(K(e,b)){return true;}d++;}return false;};$pkg.HeaderValuesContainsToken=H;I=function(a){var $ptr,a;return(a===32)||(a===9);};J=function(a){var $ptr,a;while(true){if(!(a.length>0&&I(a.charCodeAt(0)))){break;}a=$substring(a,1);}while(true){if(!(a.length>0&&I(a.charCodeAt((a.length-1>>0))))){break;}a=$substring(a,0,(a.length-1>>0));}return a;};K=function(a,b){var $ptr,a,b,c;a=J(a);c=B.IndexByte(a,44);if(!((c===-1))){return M(J($substring(a,0,c)),b)||K($substring(a,(c+1>>0)),b);}return M(a,b);};L=function(a){var $ptr,a;if(65<=a&&a<=90){return a+32<<24>>>24;}return a;};M=function(a,b){var $ptr,a,b,c,d,e,f,g;if(!((a.length===b.length))){return false;}c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g>=128){return false;}if(!((L(((g<<24>>>24)))===L(b.charCodeAt(f))))){return false;}d+=e[1];}return true;};N=function(a){var $ptr,a;return(a===32)||(a===9);};O=function(a){var $ptr,a;return a<32||(a===127);};P=function(a){var $ptr,a,b,c,d,e;if(a.length===0){return false;}b=a;c=0;while(true){if(!(c<b.length)){break;}d=$decodeRune(b,c);e=d[0];if(!F(e)){return false;}c+=d[1];}return true;};$pkg.ValidHeaderFieldName=P;Q=function(a){var $ptr,a,b,c;b=0;while(true){if(!(b<a.length)){break;}if(!(c=a.charCodeAt(b),((c<0||c>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[c]))){return false;}b=b+(1)>>0;}return true;};$pkg.ValidHostHeader=Q;S=function(a){var $ptr,a,b,c;b=0;while(true){if(!(b<a.length)){break;}c=a.charCodeAt(b);if(O(c)&&!N(c)){return false;}b=b+(1)>>0;}return true;};$pkg.ValidHeaderFieldValue=S;T=function(a){var $ptr,a,b;b=0;while(true){if(!(b<a.length)){break;}if(a.charCodeAt(b)>=128){return false;}b=b+(1)>>0;}return true;};U=function(a){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(T(a)){$s=-1;return[a,$ifaceNil];}c=A.SplitHostPort(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];f=b[2];if(!($interfaceIsEqual(f,$ifaceNil))){d=a;e=\"\";}h=D.ToASCII(d);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;d=g[0];f=g[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[\"\",f];}if(e===\"\"){$s=-1;return[d,$ifaceNil];}$s=-1;return[A.JoinHostPort(d,e),$ifaceNil];}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.PunycodeHostPort=U;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,true,true,true,true,true,false,false,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,false,false,false,false,false,false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true]);R=$toNativeArray($kindBool,[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,false,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/text/transform\"]=(function(){var $pkg={},$init,A,B,C,D,H,I,Z,AD,E,F,U,V,W,Y;A=$packages[\"bytes\"];B=$packages[\"errors\"];C=$packages[\"io\"];D=$packages[\"unicode/utf8\"];H=$pkg.SpanningTransformer=$newType(8,$kindInterface,\"transform.SpanningTransformer\",true,\"vendor/golang_org/x/text/transform\",true,null);I=$pkg.NopResetter=$newType(0,$kindStruct,\"transform.NopResetter\",true,\"vendor/golang_org/x/text/transform\",true,function(){this.$val=this;if(arguments.length===0){return;}});Z=$sliceType($Uint8);AD=$arrayType($Uint8,256);I.ptr.prototype.Reset=function(){var $ptr;};I.prototype.Reset=function(){return this.$val.Reset();};U=function(c,d){var $ptr,c,d,e,f;e=c.$length;if(e<=32){e=64;}else if(e<=256){e=$imul(e,(2));}else{e=e+((e>>1>>0))>>0;}f=$makeSlice(Z,e);$copySlice(f,$subslice(c,0,d));return f;};V=function(c,d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=\"\";f=0;g=$ifaceNil;$r=c.Reset();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(d===\"\"){$s=2;continue;}$s=3;continue;case 2:i=c.Transform(Z.nil,Z.nil,true);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[2];if($interfaceIsEqual(j,$ifaceNil)){k=\"\";l=0;m=$ifaceNil;e=k;f=l;g=m;$s=-1;return[e,f,g];}case 3:n=AD.zero();o=$subslice(new Z(n),0,128,128);p=$subslice(new Z(n),128,256);q=0;r=0;s=q;t=r;u=0;v=0;w=u;x=v;y=0;case 5:z=$copyString(p,$substring(d,x));ab=c.Transform(o,$subslice(p,0,z),(x+z>>0)===d.length);$s=7;case 7:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;s=aa[0];t=aa[1];g=aa[2];w=w+(s)>>0;x=x+(t)>>0;if(!A.Equal($subslice(o,0,s),$subslice(p,0,t))){$s=6;continue;}y=x;if($interfaceIsEqual(g,$pkg.ErrShortDst)){$s=6;continue;}else if($interfaceIsEqual(g,$pkg.ErrShortSrc)){if(t===0){$s=6;continue;}}else if(!($interfaceIsEqual(g,$ifaceNil))||(y===d.length)){ac=($substring(d,0,y));ad=y;ae=g;e=ac;f=ad;g=ae;$s=-1;return[e,f,g];}$s=5;continue;case 6:if(!((y===0))){af=o;if(w>af.$length){af=$makeSlice(Z,((d.length+s>>0)-t>>0));}$copySlice($subslice(af,y,w),$subslice(o,0,s));$copyString($subslice(af,0,y),$substring(d,0,y));o=af;}if(($interfaceIsEqual(g,$ifaceNil)&&(x===d.length))||(!($interfaceIsEqual(g,$ifaceNil))&&!($interfaceIsEqual(g,$pkg.ErrShortDst))&&!($interfaceIsEqual(g,$pkg.ErrShortSrc)))){ag=($bytesToString($subslice(o,0,w)));ah=x;ai=g;e=ag;f=ah;g=ai;$s=-1;return[e,f,g];}case 8:aj=$copyString(p,$substring(d,x));al=c.Transform($subslice(o,w),$subslice(p,0,aj),(x+aj>>0)===d.length);$s=10;case 10:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}ak=al;am=ak[0];an=ak[1];ao=ak[2];w=w+(am)>>0;x=x+(an)>>0;if($interfaceIsEqual(ao,$pkg.ErrShortDst)){if(am===0){o=U(o,w);}}else if($interfaceIsEqual(ao,$pkg.ErrShortSrc)){if(an===0){p=U(p,0);}}else if(!($interfaceIsEqual(ao,$ifaceNil))||(x===d.length)){ap=($bytesToString($subslice(o,0,w)));aq=x;ar=ao;e=ap;f=aq;g=ar;$s=-1;return[e,f,g];}$s=8;continue;case 9:$s=-1;return[e,f,g];}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.String=V;W=function(c,d){var $ptr,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=Z.nil;f=0;g=$ifaceNil;i=Y(c,0,$makeSlice(Z,d.$length),d);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;e=h[0];f=h[1];g=h[2];$s=-1;return[e,f,g];}return;}if($f===undefined){$f={$blk:W};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Bytes=W;Y=function(c,d,e,f){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=Z.nil;h=0;i=$ifaceNil;$r=c.Reset();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=0;case 2:l=c.Transform($subslice(e,d),$subslice(f,j),true);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];o=k[2];d=d+(m)>>0;j=j+(n)>>0;if(!($interfaceIsEqual(o,$pkg.ErrShortDst))){p=$subslice(e,0,d);q=j;r=o;g=p;h=q;i=r;$s=-1;return[g,h,i];}if(m===0){e=U(e,d);}$s=2;continue;case 3:$s=-1;return[g,h,i];}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};I.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)}];H.init([{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Span\",name:\"Span\",pkg:\"\",typ:$funcType([Z,$Bool],[$Int,$error],false)},{prop:\"Transform\",name:\"Transform\",pkg:\"\",typ:$funcType([Z,Z,$Bool],[$Int,$Int,$error],false)}]);I.init(\"\",[]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortDst=B.New(\"transform: short destination buffer\");$pkg.ErrShortSrc=B.New(\"transform: short source buffer\");$pkg.ErrEndOfSpan=B.New(\"transform: input and output are not identical\");E=B.New(\"transform: inconsistent byte count returned\");F=B.New(\"transform: short internal buffer\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/text/unicode/norm\"]=(function(){var $pkg={},$init,B,D,A,C,E,F,H,J,P,Q,R,U,Z,AC,AD,AQ,BA,BB,BE,BK,BT,BU,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CO,CP,CQ,CR,CS,CT,S,BC,BD,BG,BH,BI,BJ,BM,BN,BO,BP,BQ,BS,BV,BW,BX,BY,G,I,K,L,M,O,T,V,W,X,Y,AA,AB,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BF,BL,BR;B=$packages[\"fmt\"];D=$packages[\"io\"];A=$packages[\"unicode/utf8\"];C=$packages[\"vendor/golang_org/x/text/transform\"];E=$pkg.ssState=$newType(4,$kindInt,\"norm.ssState\",true,\"vendor/golang_org/x/text/unicode/norm\",false,null);F=$pkg.streamSafe=$newType(1,$kindUint8,\"norm.streamSafe\",true,\"vendor/golang_org/x/text/unicode/norm\",false,null);H=$pkg.reorderBuffer=$newType(0,$kindStruct,\"norm.reorderBuffer\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(rune_,byte$1_,nbyte_,ss_,nrune_,f_,src_,nsrc_,tmpBytes_,out_,flushF_){this.$val=this;if(arguments.length===0){this.rune=CI.zero();this.byte$1=CJ.zero();this.nbyte=0;this.ss=0;this.nrune=0;this.f=new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError);this.src=new Z.ptr(\"\",CE.nil);this.nsrc=0;this.tmpBytes=new Z.ptr(\"\",CE.nil);this.out=CE.nil;this.flushF=$throwNilPointerError;return;}this.rune=rune_;this.byte$1=byte$1_;this.nbyte=nbyte_;this.ss=ss_;this.nrune=nrune_;this.f=f_;this.src=src_;this.nsrc=nsrc_;this.tmpBytes=tmpBytes_;this.out=out_;this.flushF=flushF_;});J=$pkg.insertErr=$newType(4,$kindInt,\"norm.insertErr\",true,\"vendor/golang_org/x/text/unicode/norm\",false,null);P=$pkg.Properties=$newType(0,$kindStruct,\"norm.Properties\",true,\"vendor/golang_org/x/text/unicode/norm\",true,function(pos_,size_,ccc_,tccc_,nLead_,flags_,index_){this.$val=this;if(arguments.length===0){this.pos=0;this.size=0;this.ccc=0;this.tccc=0;this.nLead=0;this.flags=0;this.index=0;return;}this.pos=pos_;this.size=size_;this.ccc=ccc_;this.tccc=tccc_;this.nLead=nLead_;this.flags=flags_;this.index=index_;});Q=$pkg.lookupFunc=$newType(4,$kindFunc,\"norm.lookupFunc\",true,\"vendor/golang_org/x/text/unicode/norm\",false,null);R=$pkg.formInfo=$newType(0,$kindStruct,\"norm.formInfo\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(form_,composing_,compatibility_,info_,nextMain_){this.$val=this;if(arguments.length===0){this.form=0;this.composing=false;this.compatibility=false;this.info=$throwNilPointerError;this.nextMain=$throwNilPointerError;return;}this.form=form_;this.composing=composing_;this.compatibility=compatibility_;this.info=info_;this.nextMain=nextMain_;});U=$pkg.qcInfo=$newType(1,$kindUint8,\"norm.qcInfo\",true,\"vendor/golang_org/x/text/unicode/norm\",false,null);Z=$pkg.input=$newType(0,$kindStruct,\"norm.input\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(str_,bytes_){this.$val=this;if(arguments.length===0){this.str=\"\";this.bytes=CE.nil;return;}this.str=str_;this.bytes=bytes_;});AC=$pkg.Iter=$newType(0,$kindStruct,\"norm.Iter\",true,\"vendor/golang_org/x/text/unicode/norm\",true,function(rb_,buf_,info_,next_,asciiF_,p_,multiSeg_){this.$val=this;if(arguments.length===0){this.rb=new H.ptr(CI.zero(),CJ.zero(),0,0,0,new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError),new Z.ptr(\"\",CE.nil),0,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError);this.buf=CJ.zero();this.info=new P.ptr(0,0,0,0,0,0,0);this.next=$throwNilPointerError;this.asciiF=$throwNilPointerError;this.p=0;this.multiSeg=CE.nil;return;}this.rb=rb_;this.buf=buf_;this.info=info_;this.next=next_;this.asciiF=asciiF_;this.p=p_;this.multiSeg=multiSeg_;});AD=$pkg.iterFunc=$newType(4,$kindFunc,\"norm.iterFunc\",true,\"vendor/golang_org/x/text/unicode/norm\",false,null);AQ=$pkg.Form=$newType(4,$kindInt,\"norm.Form\",true,\"vendor/golang_org/x/text/unicode/norm\",true,null);BA=$pkg.normWriter=$newType(0,$kindStruct,\"norm.normWriter\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(rb_,w_,buf_){this.$val=this;if(arguments.length===0){this.rb=new H.ptr(CI.zero(),CJ.zero(),0,0,0,new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError),new Z.ptr(\"\",CE.nil),0,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError);this.w=$ifaceNil;this.buf=CE.nil;return;}this.rb=rb_;this.w=w_;this.buf=buf_;});BB=$pkg.normReader=$newType(0,$kindStruct,\"norm.normReader\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(rb_,r_,inbuf_,outbuf_,bufStart_,lastBoundary_,err_){this.$val=this;if(arguments.length===0){this.rb=new H.ptr(CI.zero(),CJ.zero(),0,0,0,new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError),new Z.ptr(\"\",CE.nil),0,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError);this.r=$ifaceNil;this.inbuf=CE.nil;this.outbuf=CE.nil;this.bufStart=0;this.lastBoundary=0;this.err=$ifaceNil;return;}this.rb=rb_;this.r=r_;this.inbuf=inbuf_;this.outbuf=outbuf_;this.bufStart=bufStart_;this.lastBoundary=lastBoundary_;this.err=err_;});BE=$pkg.nfcTrie=$newType(0,$kindStruct,\"norm.nfcTrie\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(){this.$val=this;if(arguments.length===0){return;}});BK=$pkg.nfkcTrie=$newType(0,$kindStruct,\"norm.nfkcTrie\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(){this.$val=this;if(arguments.length===0){return;}});BT=$pkg.valueRange=$newType(0,$kindStruct,\"norm.valueRange\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(value_,lo_,hi_){this.$val=this;if(arguments.length===0){this.value=0;this.lo=0;this.hi=0;return;}this.value=value_;this.lo=lo_;this.hi=hi_;});BU=$pkg.sparseBlocks=$newType(0,$kindStruct,\"norm.sparseBlocks\",true,\"vendor/golang_org/x/text/unicode/norm\",false,function(values_,offset_){this.$val=this;if(arguments.length===0){this.values=CD.nil;this.offset=CB.nil;return;}this.values=values_;this.offset=offset_;});BZ=$ptrType(R);CA=$sliceType(BZ);CB=$sliceType($Uint16);CC=$sliceType($error);CD=$sliceType(BT);CE=$sliceType($Uint8);CF=$sliceType(P);CG=$sliceType($emptyInterface);CH=$ptrType(F);CI=$arrayType(P,32);CJ=$arrayType($Uint8,128);CK=$arrayType(P,31);CL=$ptrType(H);CM=$funcType([CL],[$Bool],false);CN=$ptrType(Z);CO=$ptrType(AC);CP=$ptrType(BA);CQ=$ptrType(BB);CR=$ptrType(BE);CS=$ptrType(BK);CT=$ptrType(BU);G=function(a){var $ptr,a;return(($clone(a,P).nTrailingNonStarters()<<24>>>24));};$ptrType(F).prototype.first=function(a){var $ptr,a,b;b=this;if(!((b.$get()===0))){$panic(new $String(\"!= 0\"));}b.$set((($clone(a,P).nTrailingNonStarters()<<24>>>24)));};$ptrType(F).prototype.next=function(a){var $ptr,a,b,c;b=this;if(b.$get()>30){$panic(new $String(\"streamSafe was not reset\"));}c=$clone(a,P).nLeadingNonStarters();b.$set(b.$get()+(((c<<24>>>24)))<<24>>>24);if(b.$get()>30){b.$set(0);return 2;}if(c===0){b.$set(0);return 1;}return 0;};$ptrType(F).prototype.backwards=function(a){var $ptr,a,b,c;b=this;if(b.$get()>30){$panic(new $String(\"streamSafe was not reset\"));}c=b.$get()+(($clone(a,P).nTrailingNonStarters()<<24>>>24))<<24>>>24;if(c>30){return 2;}b.$set(c);if($clone(a,P).nLeadingNonStarters()===0){return 1;}return 0;};F.prototype.isMax=function(){var $ptr,a;a=this.$val;return a===30;};$ptrType(F).prototype.isMax=function(){return new F(this.$get()).isMax();};H.ptr.prototype.init=function(a,b){var $ptr,a,b,c;c=this;R.copy(c.f,((a<0||a>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+a]));c.src.setBytes(b);c.nsrc=b.$length;c.ss=0;};H.prototype.init=function(a,b){return this.$val.init(a,b);};H.ptr.prototype.initString=function(a,b){var $ptr,a,b,c;c=this;R.copy(c.f,((a<0||a>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+a]));c.src.setString(b);c.nsrc=b.length;c.ss=0;};H.prototype.initString=function(a,b){return this.$val.initString(a,b);};H.ptr.prototype.setFlusher=function(a,b){var $ptr,a,b,c;c=this;c.out=a;c.flushF=b;};H.prototype.setFlusher=function(a,b){return this.$val.setFlusher(a,b);};H.ptr.prototype.reset=function(){var $ptr,a;a=this;a.nrune=0;a.nbyte=0;a.ss=0;};H.prototype.reset=function(){return this.$val.reset();};H.ptr.prototype.doFlush=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.f.composing){a.compose();}b=a.flushF(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;a.reset();$s=-1;return c;}return;}if($f===undefined){$f={$blk:H.ptr.prototype.doFlush};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};H.prototype.doFlush=function(){return this.$val.doFlush();};I=function(a){var $ptr,a,b,c,d,e,f;b=0;while(true){if(!(b<a.nrune)){break;}d=(c=a.rune,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b])).pos;f=d+(e=a.rune,((b<0||b>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[b])).size<<24>>>24;a.out=$appendSlice(a.out,$subslice(new CE(a.byte$1),d,f));b=b+(1)>>0;}return true;};H.ptr.prototype.flushCopy=function(a){var $ptr,a,b,c,d,e,f;b=this;c=0;d=0;while(true){if(!(d<b.nrune)){break;}f=$clone((e=b.rune,((d<0||d>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[d])),P);c=c+($copySlice($subslice(a,c),$subslice(new CE(b.byte$1),f.pos,(f.pos+f.size<<24>>>24))))>>0;d=d+(1)>>0;}b.reset();return c;};H.prototype.flushCopy=function(a){return this.$val.flushCopy(a);};H.ptr.prototype.insertOrdered=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=b.nrune;d=new CF(b.rune);e=a.ccc;if(e>0){while(true){if(!(c>0)){break;}if((f=c-1>>0,((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])).ccc<=e){break;}P.copy(((c<0||c>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+c]),(g=c-1>>0,((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g])));c=c-(1)>>0;}}b.nrune=b.nrune+(1)>>0;h=(b.nbyte);b.nbyte=b.nbyte+(4)<<24>>>24;a.pos=h;P.copy(((c<0||c>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+c]),a);};H.prototype.insertOrdered=function(a){return this.$val.insertOrdered(a);};H.ptr.prototype.insertFlush=function(a,b,c){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=a.hangul(b);if(!((e===0))){d.decomposeHangul(e);$s=-1;return 0;}if($clone(c,P).hasDecomposition()){$s=1;continue;}$s=2;continue;case 1:f=d.insertDecomposed($clone(c,P).Decomposition());$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 2:d.insertSingle($clone(a,Z),b,$clone(c,P));$s=-1;return 0;}return;}if($f===undefined){$f={$blk:H.ptr.prototype.insertFlush};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};H.prototype.insertFlush=function(a,b,c){return this.$val.insertFlush(a,b,c);};H.ptr.prototype.insertUnsafe=function(a,b,c){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=a.hangul(b);if(!((e===0))){d.decomposeHangul(e);}if($clone(c,P).hasDecomposition()){$s=1;continue;}$s=2;continue;case 1:f=d.insertDecomposed($clone(c,P).Decomposition());$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=3;continue;case 2:d.insertSingle($clone(a,Z),b,$clone(c,P));case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:H.ptr.prototype.insertUnsafe};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};H.prototype.insertUnsafe=function(a,b,c){return this.$val.insertUnsafe(a,b,c);};H.ptr.prototype.insertDecomposed=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.tmpBytes.setBytes(a);c=0;case 1:if(!(c<a.$length)){$s=2;continue;}d=b.f.info($clone(b.tmpBytes,Z),c);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,P);if(!($clone(e,P).BoundaryBefore()&&b.nrune>0)){f=false;$s=6;continue s;}g=b.doFlush();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=!g;case 6:if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return-1;case 5:c=c+($copySlice($subslice(new CE(b.byte$1),b.nbyte),$subslice(a,c,(c+((e.size>>0))>>0))))>>0;b.insertOrdered($clone(e,P));$s=1;continue;case 2:$s=-1;return 0;}return;}if($f===undefined){$f={$blk:H.ptr.prototype.insertDecomposed};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};H.prototype.insertDecomposed=function(a){return this.$val.insertDecomposed(a);};H.ptr.prototype.insertSingle=function(a,b,c){var $ptr,a,b,c,d;d=this;a.copySlice($subslice(new CE(d.byte$1),d.nbyte),b,b+((c.size>>0))>>0);d.insertOrdered($clone(c,P));};H.prototype.insertSingle=function(a,b,c){return this.$val.insertSingle(a,b,c);};H.ptr.prototype.insertCGJ=function(){var $ptr,a;a=this;a.insertSingle(new Z.ptr(\"\\xCD\\x8F\",CE.nil),0,new P.ptr(0,2,0,0,0,0,0));};H.prototype.insertCGJ=function(){return this.$val.insertCGJ();};H.ptr.prototype.appendRune=function(a){var $ptr,a,b,c,d,e,f;b=this;c=b.nbyte;d=A.EncodeRune($subslice(new CE(b.byte$1),c),(a));b.nbyte=b.nbyte+(4)<<24>>>24;P.copy((e=b.rune,f=b.nrune,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f])),new P.ptr(c,((d<<24>>>24)),0,0,0,0,0));b.nrune=b.nrune+(1)>>0;};H.prototype.appendRune=function(a){return this.$val.appendRune(a);};H.ptr.prototype.assignRune=function(a,b){var $ptr,a,b,c,d,e,f,g;c=this;e=(d=c.rune,((a<0||a>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[a])).pos;f=A.EncodeRune($subslice(new CE(c.byte$1),e),(b));P.copy((g=c.rune,((a<0||a>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[a])),new P.ptr(e,((f<<24>>>24)),0,0,0,0,0));};H.prototype.assignRune=function(a,b){return this.$val.assignRune(a,b);};H.ptr.prototype.runeAt=function(a){var $ptr,a,b,c,d,e,f;b=this;d=$clone((c=b.rune,((a<0||a>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[a])),P);e=A.DecodeRune($subslice(new CE(b.byte$1),d.pos,(d.pos+d.size<<24>>>24)));f=e[0];return f;};H.prototype.runeAt=function(a){return this.$val.runeAt(a);};H.ptr.prototype.bytesAt=function(a){var $ptr,a,b,c,d;b=this;d=$clone((c=b.rune,((a<0||a>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[a])),P);return $subslice(new CE(b.byte$1),d.pos,(((d.pos>>0))+((d.size>>0))>>0));};H.prototype.bytesAt=function(a){return this.$val.bytesAt(a);};K=function(a){var $ptr,a,b,c;if(a.$length<3){return false;}b=(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]);if(b<234){return false;}c=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if((b===234)){return c>=176;}else if(b<237){return true;}else if(b>237){return false;}else if(c<158){return true;}return(c===158)&&(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])<164;};L=function(a){var $ptr,a,b,c;if(a.length<3){return false;}b=a.charCodeAt(0);if(b<234){return false;}c=a.charCodeAt(1);if((b===234)){return c>=176;}else if(b<237){return true;}else if(b>237){return false;}else if(c<158){return true;}return(c===158)&&a.charCodeAt(2)<164;};M=function(a){var $ptr,a;return((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===225)&&(((((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])&252)>>>0))===132);};O=function(a,b){var $ptr,a,b,c,d,e,f,g;b=b-(44032)>>0;d=(c=b%28,c===c?c:$throwRuntimeError(\"integer divide by zero\"));b=(e=b/(28),(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"));A.EncodeRune(a,4352+(f=b/21,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"))>>0);A.EncodeRune($subslice(a,3),4449+(g=b%21,g===g?g:$throwRuntimeError(\"integer divide by zero\"))>>0);if(!((d===0))){A.EncodeRune($subslice(a,6),4519+d>>0);return 9;}return 6;};H.ptr.prototype.decomposeHangul=function(a){var $ptr,a,b,c,d,e,f,g;b=this;a=a-(44032)>>0;d=(c=a%28,c===c?c:$throwRuntimeError(\"integer divide by zero\"));a=(e=a/(28),(e===e&&e!==1/0&&e!==-1/0)?e>>0:$throwRuntimeError(\"integer divide by zero\"));b.appendRune(4352+(f=a/21,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"))>>0);b.appendRune(4449+(g=a%21,g===g?g:$throwRuntimeError(\"integer divide by zero\"))>>0);if(!((d===0))){b.appendRune(4519+d>>0);}};H.prototype.decomposeHangul=function(a){return this.$val.decomposeHangul(a);};H.ptr.prototype.combineHangul=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=this;e=new CF(d.rune);f=d.nrune;while(true){if(!(b<f)){break;}h=(g=c-1>>0,((g<0||g>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+g])).ccc;i=((b<0||b>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+b]).ccc;if(h===0){a=c-1>>0;}if(!((a===(c-1>>0)))&&h>=i){P.copy(((c<0||c>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+c]),((b<0||b>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+b]));c=c+(1)>>0;}else{j=d.runeAt(a);k=d.runeAt(b);if(4352<=j&&j<4371&&4449<=k&&k<4470){d.assignRune(a,(44032+($imul(((j-4352>>0)),588))>>0)+($imul(((k-4449>>0)),28))>>0);}else if(44032<=j&&j<55204&&4519<k&&k<4547&&(((l=((j-44032>>0))%28,l===l?l:$throwRuntimeError(\"integer divide by zero\")))===0)){d.assignRune(a,(j+k>>0)-4519>>0);}else{P.copy(((c<0||c>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+c]),((b<0||b>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+b]));c=c+(1)>>0;}}b=b+(1)>>0;}d.nrune=c;};H.prototype.combineHangul=function(a,b,c){return this.$val.combineHangul(a,b,c);};H.ptr.prototype.compose=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=this;b=a.nrune;if(b===0){return;}c=1;d=new CF(a.rune);e=0;f=1;g=e;h=f;while(true){if(!(h<b)){break;}if(M(a.bytesAt(h))){a.combineHangul(g,h,c);return;}i=$clone(((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]),P);if($clone(i,P).combinesBackward()){k=(j=c-1>>0,((j<0||j>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+j])).ccc;l=i.ccc;m=false;if(k===0){g=c-1>>0;}else{m=!((g===(c-1>>0)))&&k>=l;}if(!m){n=V(a.runeAt(g),a.runeAt(h));if(!((n===0))){a.assignRune(g,n);h=h+(1)>>0;continue;}}}P.copy(((c<0||c>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+c]),((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]));c=c+(1)>>0;h=h+(1)>>0;}a.nrune=c;};H.prototype.compose=function(){return this.$val.compose();};T=function(){var $ptr,a,b,c,d;S=$makeSlice(CA,4);a=S;b=0;while(true){if(!(b<a.$length)){break;}c=b;d=new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError);((c<0||c>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+c]=d);d.form=((c>>0));if((((c>>0))===3)||(((c>>0))===2)){d.compatibility=true;d.info=X;}else{d.info=W;}d.nextMain=AK;if((((c>>0))===0)||(((c>>0))===2)){d.nextMain=AN;d.composing=true;}b++;}};P.ptr.prototype.BoundaryBefore=function(){var $ptr,a;a=this;if((a.ccc===0)&&!$clone(a,P).combinesBackward()){return true;}return false;};P.prototype.BoundaryBefore=function(){return this.$val.BoundaryBefore();};P.ptr.prototype.BoundaryAfter=function(){var $ptr,a;a=this;return $clone(a,P).isInert();};P.prototype.BoundaryAfter=function(){return this.$val.BoundaryAfter();};P.ptr.prototype.isYesC=function(){var $ptr,a;a=this;return((a.flags&16)>>>0)===0;};P.prototype.isYesC=function(){return this.$val.isYesC();};P.ptr.prototype.isYesD=function(){var $ptr,a;a=this;return((a.flags&4)>>>0)===0;};P.prototype.isYesD=function(){return this.$val.isYesD();};P.ptr.prototype.combinesBackward=function(){var $ptr,a;a=this;return!((((a.flags&8)>>>0)===0));};P.prototype.combinesBackward=function(){return this.$val.combinesBackward();};P.ptr.prototype.hasDecomposition=function(){var $ptr,a;a=this;return!((((a.flags&4)>>>0)===0));};P.prototype.hasDecomposition=function(){return this.$val.hasDecomposition();};P.ptr.prototype.isInert=function(){var $ptr,a;a=this;return(((a.flags&63)>>>0)===0)&&(a.ccc===0);};P.prototype.isInert=function(){return this.$val.isInert();};P.ptr.prototype.multiSegment=function(){var $ptr,a;a=this;return a.index>=6253&&a.index<12128;};P.prototype.multiSegment=function(){return this.$val.multiSegment();};P.ptr.prototype.nLeadingNonStarters=function(){var $ptr,a;a=this;return a.nLead;};P.prototype.nLeadingNonStarters=function(){return this.$val.nLeadingNonStarters();};P.ptr.prototype.nTrailingNonStarters=function(){var $ptr,a;a=this;return((((a.flags&3)>>>0)<<24>>>24));};P.prototype.nTrailingNonStarters=function(){return this.$val.nTrailingNonStarters();};P.ptr.prototype.Decomposition=function(){var $ptr,a,b,c;a=this;if(a.index===0){return CE.nil;}b=a.index;c=(((b<0||b>=BD.length)?($throwRuntimeError(\"index out of range\"),undefined):BD[b])&63)>>>0;b=b+(1)<<16>>>16;return $subslice(new CE(BD),b,(b+((c<<16>>>16))<<16>>>16));};P.prototype.Decomposition=function(){return this.$val.Decomposition();};P.ptr.prototype.Size=function(){var $ptr,a;a=this;return((a.size>>0));};P.prototype.Size=function(){return this.$val.Size();};P.ptr.prototype.CCC=function(){var $ptr,a,b;a=this;if(a.index>=19034){return 0;}return(b=a.ccc,((b<0||b>=BC.length)?($throwRuntimeError(\"index out of range\"),undefined):BC[b]));};P.prototype.CCC=function(){return this.$val.CCC();};P.ptr.prototype.LeadCCC=function(){var $ptr,a,b;a=this;return(b=a.ccc,((b<0||b>=BC.length)?($throwRuntimeError(\"index out of range\"),undefined):BC[b]));};P.prototype.LeadCCC=function(){return this.$val.LeadCCC();};P.ptr.prototype.TrailCCC=function(){var $ptr,a,b;a=this;return(b=a.tccc,((b<0||b>=BC.length)?($throwRuntimeError(\"index out of range\"),undefined):BC[b]));};P.prototype.TrailCCC=function(){return this.$val.TrailCCC();};V=function(a,b){var $ptr,a,b,c,d;c=(((((a<<16>>>16))>>>0))<<16>>>0)+((((b<<16>>>16))>>>0))>>>0;return(d=BQ[$Uint32.keyFor(c)],d!==undefined?d.v:0);};W=function(a,b){var $ptr,a,b,c,d,e;c=a.charinfoNFC(b);d=c[0];e=c[1];return Y(d,e);};X=function(a,b){var $ptr,a,b,c,d,e;c=a.charinfoNFKC(b);d=c[0];e=c[1];return Y(d,e);};AQ.prototype.Properties=function(a){var $ptr,a,b,c,d;b=this.$val;if((b===0)||(b===1)){c=BX.lookup(a);return Y(c[0],c[1]);}d=BY.lookup(a);return Y(d[0],d[1]);};$ptrType(AQ).prototype.Properties=function(a){return new AQ(this.$get()).Properties(a);};AQ.prototype.PropertiesString=function(a){var $ptr,a,b,c,d;b=this.$val;if((b===0)||(b===1)){c=BX.lookupString(a);return Y(c[0],c[1]);}d=BY.lookupString(a);return Y(d[0],d[1]);};$ptrType(AQ).prototype.PropertiesString=function(a){return new AQ(this.$get()).PropertiesString(a);};Y=function(a,b){var $ptr,a,b,c,d,e,f,g,h;if(a===0){return new P.ptr(0,((b<<24>>>24)),0,0,0,0,0);}else if(a>=32768){c=new P.ptr(0,((b<<24>>>24)),((a<<24>>>24)),((a<<24>>>24)),0,(((a>>>8<<16>>>16)<<24>>>24)),0);if(c.ccc>0||$clone(c,P).combinesBackward()){c.nLead=((((c.flags&3)>>>0)<<24>>>24));}return c;}d=((a<0||a>=BD.length)?($throwRuntimeError(\"index out of range\"),undefined):BD[a]);e=(((((((d&192)>>>0)<<24>>>24))>>>2<<24>>>24))|4)>>>0;f=new P.ptr(0,((b<<24>>>24)),0,0,0,e,a);if(a>=11422){a=a+((((((d&63)>>>0)<<16>>>16))+1<<16>>>16))<<16>>>16;g=((a<0||a>=BD.length)?($throwRuntimeError(\"index out of range\"),undefined):BD[a]);f.tccc=g>>>2<<24>>>24;f.flags=(f.flags|(((((g&3)>>>0)<<24>>>24))))>>>0;if(a>=19012){f.nLead=(g&3)>>>0;if(a>=19073){f.flags=(f.flags&(3))>>>0;f.index=0;return f;}f.ccc=(h=a+1<<16>>>16,((h<0||h>=BD.length)?($throwRuntimeError(\"index out of range\"),undefined):BD[h]));}}return f;};AA=function(a){var $ptr,a;return new Z.ptr(\"\",a);};AB=function(a){var $ptr,a;return new Z.ptr(a,CE.nil);};Z.ptr.prototype.setBytes=function(a){var $ptr,a,b;b=this;b.str=\"\";b.bytes=a;};Z.prototype.setBytes=function(a){return this.$val.setBytes(a);};Z.ptr.prototype.setString=function(a){var $ptr,a,b;b=this;b.str=a;b.bytes=CE.nil;};Z.prototype.setString=function(a){return this.$val.setString(a);};Z.ptr.prototype._byte=function(a){var $ptr,a,b,c;b=this;if(b.bytes===CE.nil){return b.str.charCodeAt(a);}return(c=b.bytes,((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]));};Z.prototype._byte=function(a){return this.$val._byte(a);};Z.ptr.prototype.skipASCII=function(a,b){var $ptr,a,b,c,d;c=this;if(c.bytes===CE.nil){while(true){if(!(a<b&&c.str.charCodeAt(a)<128)){break;}a=a+(1)>>0;}}else{while(true){if(!(a<b&&(d=c.bytes,((a<0||a>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+a]))<128)){break;}a=a+(1)>>0;}}return a;};Z.prototype.skipASCII=function(a,b){return this.$val.skipASCII(a,b);};Z.ptr.prototype.skipContinuationBytes=function(a){var $ptr,a,b,c;b=this;if(b.bytes===CE.nil){while(true){if(!(a<b.str.length&&!A.RuneStart(b.str.charCodeAt(a)))){break;}a=a+(1)>>0;}}else{while(true){if(!(a<b.bytes.$length&&!A.RuneStart((c=b.bytes,((a<0||a>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+a]))))){break;}a=a+(1)>>0;}}return a;};Z.prototype.skipContinuationBytes=function(a){return this.$val.skipContinuationBytes(a);};Z.ptr.prototype.appendSlice=function(a,b,c){var $ptr,a,b,c,d,e;d=this;if(!(d.bytes===CE.nil)){return $appendSlice(a,$subslice(d.bytes,b,c));}e=b;while(true){if(!(e<c)){break;}a=$append(a,d.str.charCodeAt(e));e=e+(1)>>0;}return a;};Z.prototype.appendSlice=function(a,b,c){return this.$val.appendSlice(a,b,c);};Z.ptr.prototype.copySlice=function(a,b,c){var $ptr,a,b,c,d;d=this;if(d.bytes===CE.nil){return $copyString(a,$substring(d.str,b,c));}return $copySlice(a,$subslice(d.bytes,b,c));};Z.prototype.copySlice=function(a,b,c){return this.$val.copySlice(a,b,c);};Z.ptr.prototype.charinfoNFC=function(a){var $ptr,a,b;b=this;if(b.bytes===CE.nil){return BX.lookupString($substring(b.str,a));}return BX.lookup($subslice(b.bytes,a));};Z.prototype.charinfoNFC=function(a){return this.$val.charinfoNFC(a);};Z.ptr.prototype.charinfoNFKC=function(a){var $ptr,a,b;b=this;if(b.bytes===CE.nil){return BY.lookupString($substring(b.str,a));}return BY.lookup($subslice(b.bytes,a));};Z.prototype.charinfoNFKC=function(a){return this.$val.charinfoNFKC(a);};Z.ptr.prototype.hangul=function(a){var $ptr,a,b,c,d,e;b=0;c=this;if(c.bytes===CE.nil){if(!L($substring(c.str,a))){b=0;return b;}d=A.DecodeRuneInString($substring(c.str,a));b=d[0];}else{if(!K($subslice(c.bytes,a))){b=0;return b;}e=A.DecodeRune($subslice(c.bytes,a));b=e[0];}b=b;return b;};Z.prototype.hangul=function(a){return this.$val.hangul(a);};AC.ptr.prototype.Init=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.p=0;if(b.$length===0){c.setDone();c.rb.nsrc=0;$s=-1;return;}c.multiSeg=CE.nil;c.rb.init(a,b);c.next=c.rb.f.nextMain;c.asciiF=AE;d=c.rb.f.info($clone(c.rb.src,Z),c.p);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}P.copy(c.info,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:AC.ptr.prototype.Init};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AC.prototype.Init=function(a,b){return this.$val.Init(a,b);};AC.ptr.prototype.InitString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.p=0;if(b.length===0){c.setDone();c.rb.nsrc=0;$s=-1;return;}c.multiSeg=CE.nil;c.rb.initString(a,b);c.next=c.rb.f.nextMain;c.asciiF=AF;d=c.rb.f.info($clone(c.rb.src,Z),c.p);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}P.copy(c.info,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:AC.ptr.prototype.InitString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AC.prototype.InitString=function(a,b){return this.$val.InitString(a,b);};AC.ptr.prototype.Seek=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=new $Int64(0,0);e=b;if(e===(0)){$s=2;continue;}if(e===(1)){$s=3;continue;}if(e===(2)){$s=4;continue;}$s=5;continue;case 2:d=a;$s=6;continue;case 3:d=(f=(new $Int64(0,c.p)),new $Int64(f.$high+a.$high,f.$low+a.$low));$s=6;continue;case 4:d=(g=(new $Int64(0,c.rb.nsrc)),new $Int64(g.$high+a.$high,g.$low+a.$low));$s=6;continue;case 5:h=B.Errorf(\"norm: invalid whence\",new CG([]));$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return[new $Int64(0,0),h];case 6:case 1:if((d.$high<0||(d.$high===0&&d.$low<0))){$s=8;continue;}$s=9;continue;case 8:i=B.Errorf(\"norm: negative position\",new CG([]));$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return[new $Int64(0,0),i];case 9:if((((d.$low+((d.$high>>31)*4294967296))>>0))>=c.rb.nsrc){c.setDone();$s=-1;return[(new $Int64(0,c.p)),$ifaceNil];}c.p=(((d.$low+((d.$high>>31)*4294967296))>>0));c.multiSeg=CE.nil;c.next=c.rb.f.nextMain;j=c.rb.f.info($clone(c.rb.src,Z),c.p);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}P.copy(c.info,j);$s=-1;return[d,$ifaceNil];}return;}if($f===undefined){$f={$blk:AC.ptr.prototype.Seek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AC.prototype.Seek=function(a,b){return this.$val.Seek(a,b);};AC.ptr.prototype.returnSlice=function(a,b){var $ptr,a,b,c;c=this;if(c.rb.src.bytes===CE.nil){return $subslice(new CE(c.buf),0,$copyString(new CE(c.buf),$substring(c.rb.src.str,a,b)));}return $subslice(c.rb.src.bytes,a,b);};AC.prototype.returnSlice=function(a,b){return this.$val.returnSlice(a,b);};AC.ptr.prototype.Pos=function(){var $ptr,a;a=this;return a.p;};AC.prototype.Pos=function(){return this.$val.Pos();};AC.ptr.prototype.setDone=function(){var $ptr,a;a=this;a.next=AH;a.p=a.rb.nsrc;};AC.prototype.setDone=function(){return this.$val.setDone();};AC.ptr.prototype.Done=function(){var $ptr,a;a=this;return a.p>=a.rb.nsrc;};AC.prototype.Done=function(){return this.$val.Done();};AC.ptr.prototype.Next=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.next(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC.ptr.prototype.Next};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AC.prototype.Next=function(){return this.$val.Next();};AE=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a.p+1>>0;if(b>=a.rb.nsrc){a.setDone();$s=-1;return $subslice(a.rb.src.bytes,a.p,b);}if((c=a.rb.src.bytes,((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b]))<128){d=a.p;a.p=b;$s=-1;return $subslice(a.rb.src.bytes,d,b);}e=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}P.copy(a.info,e);a.next=a.rb.f.nextMain;f=a.next(a);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:AE};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AF=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a.p+1>>0;if(b>=a.rb.nsrc){a.buf[0]=a.rb.src.str.charCodeAt(a.p);a.setDone();$s=-1;return $subslice(new CE(a.buf),0,1);}if(a.rb.src.str.charCodeAt(b)<128){a.buf[0]=a.rb.src.str.charCodeAt(a.p);a.p=b;$s=-1;return $subslice(new CE(a.buf),0,1);}c=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}P.copy(a.info,c);a.next=a.rb.f.nextMain;d=a.next(a);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AG=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a.p;c=b+3>>0;if(c>=a.rb.nsrc){$s=1;continue;}if(a.rb.src.hangul(c)===0){$s=2;continue;}$s=3;continue;case 1:a.setDone();$s=3;continue;case 2:d=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}P.copy(a.info,d);a.next=a.rb.f.nextMain;e=a.next(a);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;case 3:a.p=c;$s=-1;return $subslice(new CE(a.buf),0,O(new CE(a.buf),a.rb.src.hangul(b)));}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a;return CE.nil;};AI=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=a.multiSeg;b=1;while(true){if(!(b<c.$length&&!A.RuneStart(((b<0||b>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+b])))){break;}b=b+(1)>>0;}case 1:if(!(b<c.$length)){$s=2;continue;}d=a.rb.f.info(new Z.ptr(\"\",c),b);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,P);if($clone(e,P).BoundaryBefore()){a.multiSeg=$subslice(c,b);$s=-1;return $subslice(c,0,b);}b=b+(((e.size>>0)))>>0;$s=1;continue;case 2:a.next=a.rb.f.nextMain;f=a.next(a);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=a.multiSeg;case 1:if(!(b<c.$length)){$s=2;continue;}d=a.rb.f.info(new Z.ptr(\"\",c),b);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,P);if($clone(e,P).BoundaryBefore()){$s=4;continue;}$s=5;continue;case 4:a.rb.compose();f=$subslice(new CE(a.buf),0,a.rb.flushCopy(new CE(a.buf)));(g=a.rb,(g.$ptr_ss||(g.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},g)))).first($clone(e,P));$r=a.rb.insertUnsafe(new Z.ptr(\"\",c),b,$clone(e,P));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.multiSeg=$subslice(c,(b+((e.size>>0))>>0));$s=-1;return f;case 5:(h=a.rb,(h.$ptr_ss||(h.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},h)))).next($clone(e,P));$r=a.rb.insertUnsafe(new Z.ptr(\"\",c),b,$clone(e,P));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=b+(((e.size>>0)))>>0;$s=1;continue;case 2:a.multiSeg=CE.nil;a.next=AN;i=AO(a);$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:AJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AK=function(a){var $ptr,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=CE.nil;c=0;d=a.p;e=0;f=d;g=e;h=G($clone(a.info,P));case 1:i=((a.info.size>>0));if(i<=1){$s=3;continue;}$s=4;continue;case 3:j=a.p;a.p=a.p+(1)>>0;if(a.p>=a.rb.nsrc){a.setDone();b=a.returnSlice(j,a.p);$s=-1;return b;}else if(a.rb.src._byte(a.p)<128){a.next=a.asciiF;b=a.returnSlice(j,a.p);$s=-1;return b;}c=c+(1)>>0;$s=5;continue;case 4:k=$clone(a.info,P).Decomposition();if(!(k===CE.nil)){$s=6;continue;}$s=7;continue;case 6:l=c+k.$length>>0;if(c>0){$s=9;continue;}if($clone(a.info,P).multiSegment()){$s=10;continue;}$s=11;continue;case 9:a.rb.src.copySlice($subslice(new CE(a.buf),g),f,a.p);if(l>128){b=$subslice(new CE(a.buf),0,c);$s=-1;return b;}$s=11;continue;case 10:if(a.multiSeg===CE.nil){$s=12;continue;}$s=13;continue;case 12:a.multiSeg=k;a.next=AI;m=AI(a);$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}b=m;$s=-1;return b;case 13:k=a.multiSeg;a.multiSeg=CE.nil;l=k.$length;case 11:n=a.info.tccc;a.p=a.p+(i)>>0;if(a.p>=a.rb.nsrc){$s=15;continue;}$s=16;continue;case 15:a.setDone();P.copy(a.info,new P.ptr(0,0,0,0,0,0,0));$s=17;continue;case 16:o=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=18;case 18:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}P.copy(a.info,o);case 17:q=(p||(p=new CH(function(){return h;},function($v){h=$v;}))).next($clone(a.info,P));if(q===(2)){a.next=AM;if(c>0){$copySlice($subslice(new CE(a.buf),c),k);b=$subslice(new CE(a.buf),0,l);$s=-1;return b;}b=k;$s=-1;return b;}else if(q===(1)){if(c>0){$copySlice($subslice(new CE(a.buf),c),k);b=$subslice(new CE(a.buf),0,l);$s=-1;return b;}b=k;$s=-1;return b;}$copySlice($subslice(new CE(a.buf),c),k);c=l;r=a.p;s=c;f=r;g=s;if(a.info.ccc<n){$s=19;continue;}$s=20;continue;case 19:$s=21;continue;case 20:$s=1;continue;$s=8;continue;case 7:t=a.rb.src.hangul(a.p);if(!((t===0))){c=O(new CE(a.buf),t);a.p=a.p+(3)>>0;u=a.p;v=c;f=u;g=v;if(a.p>=a.rb.nsrc){a.setDone();$s=2;continue;}else if(!((a.rb.src.hangul(a.p)===0))){a.next=AG;b=$subslice(new CE(a.buf),0,c);$s=-1;return b;}}else{w=c+i>>0;if(w>128){$s=2;continue;}c=w;a.p=a.p+(i)>>0;}case 8:case 5:if(a.p>=a.rb.nsrc){a.setDone();$s=2;continue;}x=a.info.tccc;y=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}P.copy(a.info,y);z=(p||(p=new CH(function(){return h;},function($v){h=$v;}))).next($clone(a.info,P));if(z===1){$s=2;continue;}else if(z===2){a.next=AM;$s=2;continue;}if(a.info.ccc<x){$s=23;continue;}$s=24;continue;case 23:$s=21;continue;case 24:$s=1;continue;case 2:if(g===0){b=a.returnSlice(f,a.p);$s=-1;return b;}else if(f<a.p){a.rb.src.copySlice($subslice(new CE(a.buf),g),f,a.p);}b=$subslice(new CE(a.buf),0,c);$s=-1;return b;case 21:a.rb.src.copySlice($subslice(new CE(a.buf),g),f,a.p);aa=a.rb.insertDecomposed($subslice(new CE(a.buf),0,c));$s=25;case 25:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;ab=AL(a);$s=26;case 26:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}b=ab;$s=-1;return b;}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AL=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:c=(b=a.rb,(b.$ptr_ss||(b.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},b)))).next($clone(a.info,P));if(c===2){a.next=AM;$s=2;continue;}$r=a.rb.insertUnsafe($clone(a.rb.src,Z),a.p,$clone(a.info,P));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.p=a.p+(((a.info.size>>0)))>>0;if(a.p>=a.rb.nsrc){a.setDone();$s=2;continue;}d=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}P.copy(a.info,d);if(a.info.ccc===0){$s=2;continue;}$s=1;continue;case 2:$s=-1;return $subslice(new CE(a.buf),0,a.rb.flushCopy(new CE(a.buf)));}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AM=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a.rb.ss=0;a.rb.insertCGJ();a.next=AK;b=AL(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return c;}return;}if($f===undefined){$f={$blk:AM};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=a.p;d=b;e=c;f=0;g=G($clone(a.info,P));case 1:if(!$clone(a.info,P).isYesC()){$s=3;continue;}$s=4;continue;case 3:$s=5;continue;case 4:f=a.info.tccc;h=((a.info.size>>0));if(h===0){h=1;}i=d+h>>0;if(i>128){$s=2;continue;}d=i;a.p=a.p+(h)>>0;if(a.p>=a.rb.nsrc){a.setDone();$s=2;continue;}else if(a.rb.src._byte(a.p)<128){a.next=a.asciiF;$s=2;continue;}j=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}P.copy(a.info,j);l=(k||(k=new CH(function(){return g;},function($v){g=$v;}))).next($clone(a.info,P));if(l===1){$s=2;continue;}else if(l===2){a.next=AP;$s=2;continue;}if(a.info.ccc<f){$s=7;continue;}$s=8;continue;case 7:$s=5;continue;case 8:$s=1;continue;case 2:$s=-1;return a.returnSlice(e,a.p);case 5:a.p=e;m=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}P.copy(a.info,m);if($clone(a.info,P).multiSegment()){$s=10;continue;}$s=11;continue;case 10:n=$clone(a.info,P).Decomposition();o=a.rb.f.info(new Z.ptr(\"\",n),0);$s=12;case 12:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=$clone(o,P);$r=a.rb.insertUnsafe(new Z.ptr(\"\",n),0,$clone(p,P));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.multiSeg=$subslice(n,((p.size>>0)));a.next=AJ;q=AJ(a);$s=14;case 14:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;case 11:(r=a.rb,(r.$ptr_ss||(r.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},r)))).first($clone(a.info,P));$r=a.rb.insertUnsafe($clone(a.rb.src,Z),a.p,$clone(a.info,P));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=AO(a);$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return s;}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};AO=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:a.p=a.p+(((a.info.size>>0)))>>0;if(a.p>=a.rb.nsrc){a.setDone();$s=2;continue;}b=a.rb.f.info($clone(a.rb.src,Z),a.p);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}P.copy(a.info,b);d=(c=a.rb,(c.$ptr_ss||(c.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},c)))).next($clone(a.info,P));if(d===1){$s=2;continue;}else if(d===2){a.next=AP;$s=2;continue;}$r=a.rb.insertUnsafe($clone(a.rb.src,Z),a.p,$clone(a.info,P));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:a.rb.compose();e=$subslice(new CE(a.buf),0,a.rb.flushCopy(new CE(a.buf)));$s=-1;return e;}return;}if($f===undefined){$f={$blk:AO};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AP=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a.rb.ss=0;a.rb.insertCGJ();a.next=AN;(b=a.rb,(b.$ptr_ss||(b.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},b)))).first($clone(a.info,P));$r=a.rb.insertUnsafe($clone(a.rb.src,Z),a.p,$clone(a.info,P));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=AO(a);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AQ.prototype.Bytes=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=this.$val;d=$clone(AA(a),Z);e=((c<0||c>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+c]);g=e.quickSpan($clone(d,Z),0,a.$length,true);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(i){$s=-1;return a;}j=$makeSlice(CE,h,a.$length);$copySlice(j,$subslice(a,0,h));b[0]=new H.ptr(CI.zero(),CJ.zero(),0,0,0,$clone(e,R),$clone(d,Z),a.$length,new Z.ptr(\"\",CE.nil),j,I);k=AV(b[0],h);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AQ.prototype.Bytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.Bytes=function(a){return new AQ(this.$get()).Bytes(a);};AQ.prototype.String=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=this.$val;d=$clone(AB(a),Z);e=((c<0||c>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+c]);g=e.quickSpan($clone(d,Z),0,a.length,true);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(i){$s=-1;return a;}j=$makeSlice(CE,h,a.length);$copyString(j,$substring(a,0,h));b[0]=new H.ptr(CI.zero(),CJ.zero(),0,0,0,$clone(e,R),$clone(d,Z),a.length,new Z.ptr(\"\",CE.nil),j,I);k=AV(b[0],h);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:AQ.prototype.String};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.String=function(a){return new AQ(this.$get()).String(a);};AQ.prototype.IsNormal=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=this.$val;d=$clone(AA(a),Z);e=((c<0||c>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+c]);g=e.quickSpan($clone(d,Z),0,a.$length,true);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(i){$s=-1;return true;}b[0]=new H.ptr(CI.zero(),CJ.zero(),0,0,0,$clone(e,R),$clone(d,Z),a.$length,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError);b[0].setFlusher(CE.nil,AR);case 2:if(!(h<a.$length)){$s=3;continue;}b[0].out=$subslice(a,h);j=AX(b[0],h,true);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}h=j;if(h<0){$s=-1;return false;}l=b[0].f.quickSpan($clone(b[0].src,Z),h,a.$length,true);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;h=k[0];$s=2;continue;case 3:$s=-1;return true;}return;}if($f===undefined){$f={$blk:AQ.prototype.IsNormal};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.IsNormal=function(a){return new AQ(this.$get()).IsNormal(a);};AR=function(a){var $ptr,a,b,c,d,e,f,g,h;b=a.out;c=0;while(true){if(!(c<a.nrune)){break;}e=$clone((d=a.rune,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c])),P);if(((e.size>>0))>b.$length){return false;}f=e.pos;g=f+e.size<<24>>>24;while(true){if(!(f<g)){break;}if(!(((0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0])===(h=a.byte$1,((f<0||f>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[f]))))){return false;}b=$subslice(b,1);f=f+(1)<<24>>>24;}c=c+(1)>>0;}return true;};AQ.prototype.IsNormalString=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=[c];d=this.$val;e=$clone(AB(a[0]),Z);f=((d<0||d>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+d]);h=f.quickSpan($clone(e,Z),0,a[0].length,true);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;b[0]=g[0];i=g[1];if(i){$s=-1;return true;}c[0]=new H.ptr(CI.zero(),CJ.zero(),0,0,0,$clone(f,R),$clone(e,Z),a[0].length,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError);c[0].setFlusher(CE.nil,(function(a,b,c){return function(j){var $ptr,j,k,l,m,n,o,p;k=0;while(true){if(!(k<j.nrune)){break;}m=$clone((l=j.rune,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])),P);if((b[0]+((m.size>>0))>>0)>a[0].length){return false;}n=m.pos;o=n+m.size<<24>>>24;while(true){if(!(n<o)){break;}if(!((a[0].charCodeAt(b[0])===(p=j.byte$1,((n<0||n>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[n]))))){return false;}b[0]=b[0]+(1)>>0;n=n+(1)<<24>>>24;}k=k+(1)>>0;}return true;};})(a,b,c));case 2:if(!(b[0]<a[0].length)){$s=3;continue;}j=AX(c[0],b[0],true);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}b[0]=j;if(b[0]<0){$s=-1;return false;}l=c[0].f.quickSpan($clone(c[0].src,Z),b[0],a[0].length,true);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;b[0]=k[0];$s=2;continue;case 3:$s=-1;return true;}return;}if($f===undefined){$f={$blk:AQ.prototype.IsNormalString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.IsNormalString=function(a){return new AQ(this.$get()).IsNormalString(a);};AS=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AY(a.f,a.out);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=$clone(b[0],P);e=b[1];if((e===-1)||(d.size===0)){$s=-1;return true;}f=e+((d.size>>0))>>0;g=a.out.$length-f>>0;if(g>0){$s=2;continue;}$s=3;continue;case 2:h=$makeSlice(CE,0);h=$appendSlice(h,$subslice(a.out,(a.out.$length-g>>0)));a.out=$subslice(a.out,0,f);$r=AZ(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=a.doFlush();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;a.out=$appendSlice(a.out,h);$s=-1;return false;case 3:j=$subslice(a.out,e);a.out=$subslice(a.out,0,e);$r=AZ(a);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=(a.$ptr_ss||(a.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},a))).next($clone(d,P));if(k===1){$s=7;continue;}if(k===2){$s=8;continue;}$s=9;continue;case 7:l=a.doFlush();$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;(a.$ptr_ss||(a.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},a))).first($clone(d,P));$s=9;continue;case 8:m=a.doFlush();$s=11;case 11:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;a.insertCGJ();a.ss=0;case 9:$r=a.insertUnsafe($clone(AA(j),Z),0,$clone(d,P));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};AT=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.nsrc===b){$s=-1;return b;}d=a.f.quickSpan($clone(a.src,Z),b,a.nsrc,true);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];a.out=a.src.appendSlice(a.out,b,e);$s=-1;return e;}return;}if($f===undefined){$f={$blk:AT};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AQ.prototype.Append=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new AQ(c).doAppend(a,$clone(AA(b),Z),b.$length);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AQ.prototype.Append};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.Append=function(a,b){return new AQ(this.$get()).Append(a,b);};AQ.prototype.doAppend=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=[d];e=[e];f=this.$val;if(c===0){$s=-1;return a;}g=((f<0||f>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+f]);if(a.$length===0){$s=1;continue;}$s=2;continue;case 1:i=g.quickSpan($clone(b,Z),0,c,true);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];a=b.appendSlice(a,0,j);if(j===c){$s=-1;return a;}d[0]=new H.ptr(CI.zero(),CJ.zero(),0,0,0,$clone(g,R),$clone(b,Z),c,new Z.ptr(\"\",CE.nil),a,I);k=AV(d[0],j);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 2:e[0]=new H.ptr(CI.zero(),CJ.zero(),0,0,0,$clone(g,R),$clone(b,Z),c,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError);l=AU(e[0],a,0);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:AQ.prototype.doAppend};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.doAppend=function(a,b,c){return new AQ(this.$get()).doAppend(a,b,c);};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a.setFlusher(b,I);d=$clone(a.src,Z);e=a.nsrc;f=$clone(d,Z);g=e;h=b.$length>0;i=f.skipContinuationBytes(c);if(i>c){$s=1;continue;}$s=2;continue;case 1:a.out=f.appendSlice(a.out,c,i);c=i;j=AS(a);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}h=j;case 2:k=a.f;if(h){$s=4;continue;}$s=5;continue;case 4:l=new P.ptr(0,0,0,0,0,0,0);if(c<g){$s=6;continue;}$s=7;continue;case 6:m=k.info($clone(f,Z),c);$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}P.copy(l,m);if(!$clone(l,P).BoundaryBefore()||$clone(l,P).nLeadingNonStarters()>0){$s=9;continue;}$s=10;continue;case 9:if(c===0){$s=11;continue;}$s=12;continue;case 11:$r=AZ(a);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:n=AX(a,c,true);$s=14;case 14:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}c=n;case 10:case 7:if(l.size===0){$s=15;continue;}$s=16;continue;case 15:o=a.doFlush();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=-1;return f.appendSlice(a.out,c,g);case 16:if(a.nrune>0){$s=18;continue;}$s=19;continue;case 18:p=AV(a,c);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return p;case 19:case 5:q=AT(a,c);$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}c=q;r=AV(a,c);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};AV=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=a.nsrc;case 1:if(!(b<c)){$s=2;continue;}d=AX(a,b,true);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b=d;e=AT(a,b);$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}b=e;$s=1;continue;case 2:$s=-1;return a.out;}return;}if($f===undefined){$f={$blk:AV};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AQ.prototype.AppendString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new AQ(c).doAppend(a,$clone(AB(b),Z),b.length);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AQ.prototype.AppendString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.AppendString=function(a,b){return new AQ(this.$get()).AppendString(a,b);};AQ.prototype.QuickSpan=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;d=((b<0||b>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+b]).quickSpan($clone(AA(a),Z),0,a.$length,true);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];$s=-1;return e;}return;}if($f===undefined){$f={$blk:AQ.prototype.QuickSpan};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.QuickSpan=function(a){return new AQ(this.$get()).QuickSpan(a);};AQ.prototype.Span=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=$ifaceNil;e=this.$val;g=((e<0||e>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+e]).quickSpan($clone(AA(a),Z),0,a.$length,b);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;c=f[0];h=f[1];if(c<a.$length){if(!h){d=C.ErrEndOfSpan;}else{d=C.ErrShortSrc;}}i=c;j=d;c=i;d=j;$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:AQ.prototype.Span};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.Span=function(a,b){return new AQ(this.$get()).Span(a,b);};AQ.prototype.SpanString=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=$ifaceNil;e=this.$val;g=((e<0||e>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+e]).quickSpan($clone(AB(a),Z),0,a.length,b);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;c=f[0];h=f[1];if(c<a.length){if(!h){d=C.ErrEndOfSpan;}else{d=C.ErrShortSrc;}}i=c;j=d;c=i;d=j;$s=-1;return[c,d];}return;}if($f===undefined){$f={$blk:AQ.prototype.SpanString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.SpanString=function(a,b){return new AQ(this.$get()).SpanString(a,b);};R.ptr.prototype.quickSpan=function(a,b,c,d){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=0;f=false;g=this;h=0;i=0;j=b;e=c;case 1:if(!(b<e)){$s=2;continue;}k=a.skipASCII(b,e);if(!((b===k))){b=k;j=b-1>>0;h=0;i=0;$s=1;continue;}l=g.info($clone(a,Z),b);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=$clone(l,P);if(m.size===0){if(d){n=e;o=true;e=n;f=o;$s=-1;return[e,f];}p=j;q=true;e=p;f=q;$s=-1;return[e,f];}s=(r||(r=new CH(function(){return i;},function($v){i=$v;}))).next($clone(m,P));if(s===(1)){(r||(r=new CH(function(){return i;},function($v){i=$v;}))).first($clone(m,P));j=b;}else if(s===(2)){t=j;u=false;e=t;f=u;$s=-1;return[e,f];}else if(s===(0)){if(h>m.ccc){v=j;w=false;e=v;f=w;$s=-1;return[e,f];}}if(g.composing){if(!$clone(m,P).isYesC()){$s=2;continue;}}else{if(!$clone(m,P).isYesD()){$s=2;continue;}}h=m.ccc;b=b+(((m.size>>0)))>>0;$s=1;continue;case 2:if(b===e){if(!d){e=j;}x=e;y=true;e=x;f=y;$s=-1;return[e,f];}z=j;aa=false;e=z;f=aa;$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:R.ptr.prototype.quickSpan};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.quickSpan=function(a,b,c,d){return this.$val.quickSpan(a,b,c,d);};AQ.prototype.QuickSpanString=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;d=((b<0||b>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+b]).quickSpan($clone(AB(a),Z),0,a.length,true);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];$s=-1;return e;}return;}if($f===undefined){$f={$blk:AQ.prototype.QuickSpanString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.QuickSpanString=function(a){return new AQ(this.$get()).QuickSpanString(a);};AQ.prototype.FirstBoundary=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=new AQ(b).firstBoundary($clone(AA(a),Z),a.$length);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:AQ.prototype.FirstBoundary};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.FirstBoundary=function(a){return new AQ(this.$get()).FirstBoundary(a);};AQ.prototype.firstBoundary=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=a.skipContinuationBytes(0);if(d>=b){$s=-1;return-1;}e=((c<0||c>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+c]);f=0;case 1:g=e.info($clone(a,Z),d);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=$clone(g,P);if(h.size===0){$s=-1;return-1;}j=(i||(i=new CH(function(){return f;},function($v){f=$v;}))).next($clone(h,P));if(!((j===0))){$s=-1;return d;}d=d+(((h.size>>0)))>>0;if(d>=b){if(!$clone(h,P).BoundaryAfter()&&!new F(f).isMax()){$s=-1;return-1;}$s=-1;return b;}$s=1;continue;case 2:$s=-1;return 0;}return;}if($f===undefined){$f={$blk:AQ.prototype.firstBoundary};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.firstBoundary=function(a,b){return new AQ(this.$get()).firstBoundary(a,b);};AQ.prototype.FirstBoundaryInString=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=new AQ(b).firstBoundary($clone(AB(a),Z),a.length);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:AQ.prototype.FirstBoundaryInString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.FirstBoundaryInString=function(a){return new AQ(this.$get()).FirstBoundaryInString(a);};AQ.prototype.NextBoundary=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new AQ(c).nextBoundary($clone(AA(a),Z),a.$length,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AQ.prototype.NextBoundary};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.NextBoundary=function(a,b){return new AQ(this.$get()).NextBoundary(a,b);};AQ.prototype.NextBoundaryInString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new AQ(c).nextBoundary($clone(AB(a),Z),a.length,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AQ.prototype.NextBoundaryInString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.NextBoundaryInString=function(a,b){return new AQ(this.$get()).NextBoundaryInString(a,b);};AQ.prototype.nextBoundary=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this.$val;if(b===0){if(c){$s=-1;return 0;}$s=-1;return-1;}e=((d<0||d>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+d]);f=e.info($clone(a,Z),0);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=$clone(f,P);if(g.size===0){if(c){$s=-1;return 1;}$s=-1;return-1;}h=0;(i||(i=new CH(function(){return h;},function($v){h=$v;}))).first($clone(g,P));j=((g.size>>0));case 2:if(!(j<b)){$s=3;continue;}k=e.info($clone(a,Z),j);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}P.copy(g,k);if(g.size===0){if(c){$s=-1;return j;}$s=-1;return-1;}l=(i||(i=new CH(function(){return h;},function($v){h=$v;}))).next($clone(g,P));if(!((l===0))){$s=-1;return j;}j=j+(((g.size>>0)))>>0;$s=2;continue;case 3:if(!c&&!$clone(g,P).BoundaryAfter()&&!new F(h).isMax()){$s=-1;return-1;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AQ.prototype.nextBoundary};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.nextBoundary=function(a,b,c){return new AQ(this.$get()).nextBoundary(a,b,c);};AQ.prototype.LastBoundary=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=AW(((b<0||b>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+b]),a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:AQ.prototype.LastBoundary};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.LastBoundary=function(a){return new AQ(this.$get()).LastBoundary(a);};AW=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=b.$length;e=AY(a,b);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=$clone(d[0],P);g=d[1];if(g===-1){$s=-1;return-1;}if(f.size===0){$s=2;continue;}$s=3;continue;case 2:if(g===0){$s=-1;return-1;}c=g;i=AY(a,$subslice(b,0,c));$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;P.copy(f,h[0]);g=h[1];if(g===-1){$s=-1;return c;}case 3:if(!(((g+((f.size>>0))>>0)===c))){$s=-1;return c;}if($clone(f,P).BoundaryAfter()){$s=-1;return c;}j=0;l=(k||(k=new CH(function(){return j;},function($v){j=$v;}))).backwards($clone(f,P));c=g;case 5:if(!(c>=0&&!((l===1)))){$s=6;continue;}n=AY(a,$subslice(b,0,c));$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;P.copy(f,m[0]);g=m[1];l=(k||(k=new CH(function(){return j;},function($v){j=$v;}))).backwards($clone(f,P));if(l===2){$s=6;continue;}if(!(((g+((f.size>>0))>>0)===c))){if(g===-1){$s=-1;return-1;}$s=-1;return c;}c=g;$s=5;continue;case 6:$s=-1;return c;}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AX=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=a.f.info($clone(a.src,Z),b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=$clone(d,P);if(e.size===0){$s=-1;return 0;}if(a.nrune>0){$s=2;continue;}$s=3;continue;case 2:f=(a.$ptr_ss||(a.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},a))).next($clone(e,P));if(f===1){$s=5;continue;}if(f===2){$s=6;continue;}$s=7;continue;case 5:$s=8;continue;$s=7;continue;case 6:a.insertCGJ();$s=8;continue;case 7:$s=4;continue;case 3:(a.$ptr_ss||(a.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},a))).first($clone(e,P));case 4:g=a.insertFlush($clone(a.src,Z),b,$clone(e,P));$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!((h===0))){$s=-1;return((h>>0));}case 10:b=b+(((e.size>>0)))>>0;if(b>=a.nsrc){if(!c&&!$clone(e,P).BoundaryAfter()){$s=-1;return-2;}$s=11;continue;}i=a.f.info($clone(a.src,Z),b);$s=12;case 12:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}P.copy(e,i);if(e.size===0){if(!c){$s=-1;return-2;}$s=11;continue;}j=(a.$ptr_ss||(a.$ptr_ss=new CH(function(){return this.$target.ss;},function($v){this.$target.ss=$v;},a))).next($clone(e,P));if(j===1){$s=11;continue;}else if(j===2){a.insertCGJ();$s=11;continue;}k=a.insertFlush($clone(a.src,Z),b,$clone(e,P));$s=13;case 13:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!((l===0))){$s=-1;return((l>>0));}$s=10;continue;case 11:case 8:m=a.doFlush();$s=16;case 16:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}if(!m){$s=14;continue;}$s=15;continue;case 14:$s=-1;return-1;case 15:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AX};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};AY=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=b.$length-1>>0;while(true){if(!(c>=0&&!A.RuneStart(((c<0||c>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+c])))){break;}c=c-(1)>>0;}if(c<0){$s=-1;return[new P.ptr(0,0,0,0,0,0,0),-1];}d=a.info($clone(AA(b),Z),c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return[d,c];}return;}if($f===undefined){$f={$blk:AY};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AZ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a.f;d=AY(b,a.out);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=$clone(c[0],P);f=c[1];if(!((((e.size>>0))===(a.out.$length-f>>0)))){$s=-1;return;}if($clone(e,P).BoundaryAfter()){$s=-1;return;}g=CK.zero();h=0;i=0;j=a.out.$length;case 2:P.copy(((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]),e);l=(k||(k=new CH(function(){return i;},function($v){i=$v;}))).backwards($clone(e,P));if(l===2){$s=3;continue;}h=h+(1)>>0;j=j-(((e.size>>0)))>>0;if((l===1)||j<0){$s=3;continue;}n=AY(b,$subslice(a.out,0,j));$s=4;case 4:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;P.copy(e,m[0]);f=m[1];if(!((((e.size>>0))===(j-f>>0)))){$s=3;continue;}$s=2;continue;case 3:a.ss=i;o=CJ.zero();p=$subslice(new CE(o),0,$copySlice(new CE(o),$subslice(a.out,j)));a.out=$subslice(a.out,0,j);h=h-(1)>>0;case 5:if(!(h>=0)){$s=6;continue;}P.copy(e,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]));$r=a.insertUnsafe($clone(AA(p),Z),0,$clone(e,P));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=$subslice(p,e.size);h=h-(1)>>0;$s=5;continue;case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BA.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;case 1:if(!(a.$length>0)){$s=2;continue;}e=a.$length;if(e>4000){e=4000;}Z.copy(d.rb.src,AA($subslice(a,0,e)));d.rb.nsrc=e;f=AU(d.rb,d.buf,0);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d.buf=f;a=$subslice(a,e);b=b+(e)>>0;g=AW(d.rb.f,d.buf);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){h=0;}if(h>0){$s=5;continue;}$s=6;continue;case 5:j=d.w.Write($subslice(d.buf,0,h));$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;c=i[1];if(!($interfaceIsEqual(c,$ifaceNil))){$s=2;continue;}k=$copySlice(d.buf,$subslice(d.buf,h));d.buf=$subslice(d.buf,0,k);case 6:$s=1;continue;case 2:l=b;m=c;b=l;c=m;$s=-1;return[b,c];}return;}if($f===undefined){$f={$blk:BA.ptr.prototype.Write};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BA.prototype.Write=function(a){return this.$val.Write(a);};BA.ptr.prototype.Close=function(){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.buf.$length>0){$s=1;continue;}$s=2;continue;case 1:c=a.w.Write(a.buf);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[1];if(!($interfaceIsEqual(d,$ifaceNil))){$s=-1;return d;}case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BA.ptr.prototype.Close};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};BA.prototype.Close=function(){return this.$val.Close();};AQ.prototype.Writer=function(a){var $ptr,a,b,c;b=this.$val;c=new BA.ptr(new H.ptr(CI.zero(),CJ.zero(),0,0,0,new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError),new Z.ptr(\"\",CE.nil),0,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError),a,CE.nil);c.rb.init(b,CE.nil);return c;};$ptrType(AQ).prototype.Writer=function(a){return new AQ(this.$get()).Writer(a);};BB.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:if((b.lastBoundary-b.bufStart>>0)>0){c=$copySlice(a,$subslice(b.outbuf,b.bufStart,b.lastBoundary));b.bufStart=b.bufStart+(c)>>0;if((b.lastBoundary-b.bufStart>>0)>0){$s=-1;return[c,$ifaceNil];}$s=-1;return[c,b.err];}if(!($interfaceIsEqual(b.err,$ifaceNil))){$s=-1;return[0,b.err];}d=$copySlice(b.outbuf,$subslice(b.outbuf,b.lastBoundary));b.outbuf=$subslice(b.outbuf,0,d);b.bufStart=0;f=b.r.Read(b.inbuf);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=e[0];h=e[1];Z.copy(b.rb.src,AA($subslice(b.inbuf,0,g)));i=g;j=h;b.rb.nsrc=i;b.err=j;if(g>0){$s=4;continue;}$s=5;continue;case 4:k=AU(b.rb,b.outbuf,0);$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}b.outbuf=k;case 5:if($interfaceIsEqual(h,D.EOF)){$s=7;continue;}$s=8;continue;case 7:b.lastBoundary=b.outbuf.$length;$s=9;continue;case 8:l=AW(b.rb.f,b.outbuf);$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}b.lastBoundary=l;if(b.lastBoundary===-1){b.lastBoundary=0;}case 9:$s=1;continue;case 2:$s=-1;return[0,$ifaceNil];}return;}if($f===undefined){$f={$blk:BB.ptr.prototype.Read};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BB.prototype.Read=function(a){return this.$val.Read(a);};AQ.prototype.Reader=function(a){var $ptr,a,b,c,d;b=this.$val;c=$makeSlice(CE,4000);d=new BB.ptr(new H.ptr(CI.zero(),CJ.zero(),0,0,0,new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError),new Z.ptr(\"\",CE.nil),0,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError),a,c,CE.nil,0,0,$ifaceNil);d.rb.init(b,c);return d;};$ptrType(AQ).prototype.Reader=function(a){return new AQ(this.$get()).Reader(a);};BE.ptr.prototype.lookup=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=this;e=(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]);if(e<128){f=((e<0||e>=BG.length)?($throwRuntimeError(\"index out of range\"),undefined):BG[e]);g=1;b=f;c=g;return[b,c];}else if(e<194){h=0;i=1;b=h;c=i;return[b,c];}else if(e<224){if(a.$length<2){j=0;k=0;b=j;c=k;return[b,c];}l=((e<0||e>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[e]);m=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(m<128||192<=m){n=0;o=1;b=n;c=o;return[b,c];}p=d.lookupValue(((l>>>0)),m);q=2;b=p;c=q;return[b,c];}else if(e<240){if(a.$length<3){r=0;s=0;b=r;c=s;return[b,c];}t=((e<0||e>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[e]);u=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(u<128||192<=u){v=0;w=1;b=v;c=w;return[b,c];}x=(((t>>>0))<<6>>>0)+((u>>>0))>>>0;t=((x<0||x>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[x]);y=(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]);if(y<128||192<=y){z=0;aa=2;b=z;c=aa;return[b,c];}ab=d.lookupValue(((t>>>0)),y);ac=3;b=ab;c=ac;return[b,c];}else if(e<248){if(a.$length<4){ad=0;ae=0;b=ad;c=ae;return[b,c];}af=((e<0||e>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[e]);ag=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(ag<128||192<=ag){ah=0;ai=1;b=ah;c=ai;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ag>>>0))>>>0;af=((aj<0||aj>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[aj]);ak=(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]);if(ak<128||192<=ak){al=0;am=2;b=al;c=am;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ak>>>0))>>>0;af=((aj<0||aj>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[aj]);an=(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]);if(an<128||192<=an){ao=0;ap=3;b=ao;c=ap;return[b,c];}aq=d.lookupValue(((af>>>0)),an);ar=4;b=aq;c=ar;return[b,c];}as=0;at=1;b=as;c=at;return[b,c];};BE.prototype.lookup=function(a){return this.$val.lookup(a);};BE.ptr.prototype.lookupString=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=this;e=a.charCodeAt(0);if(e<128){f=((e<0||e>=BG.length)?($throwRuntimeError(\"index out of range\"),undefined):BG[e]);g=1;b=f;c=g;return[b,c];}else if(e<194){h=0;i=1;b=h;c=i;return[b,c];}else if(e<224){if(a.length<2){j=0;k=0;b=j;c=k;return[b,c];}l=((e<0||e>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[e]);m=a.charCodeAt(1);if(m<128||192<=m){n=0;o=1;b=n;c=o;return[b,c];}p=d.lookupValue(((l>>>0)),m);q=2;b=p;c=q;return[b,c];}else if(e<240){if(a.length<3){r=0;s=0;b=r;c=s;return[b,c];}t=((e<0||e>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[e]);u=a.charCodeAt(1);if(u<128||192<=u){v=0;w=1;b=v;c=w;return[b,c];}x=(((t>>>0))<<6>>>0)+((u>>>0))>>>0;t=((x<0||x>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[x]);y=a.charCodeAt(2);if(y<128||192<=y){z=0;aa=2;b=z;c=aa;return[b,c];}ab=d.lookupValue(((t>>>0)),y);ac=3;b=ab;c=ac;return[b,c];}else if(e<248){if(a.length<4){ad=0;ae=0;b=ad;c=ae;return[b,c];}af=((e<0||e>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[e]);ag=a.charCodeAt(1);if(ag<128||192<=ag){ah=0;ai=1;b=ah;c=ai;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ag>>>0))>>>0;af=((aj<0||aj>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[aj]);ak=a.charCodeAt(2);if(ak<128||192<=ak){al=0;am=2;b=al;c=am;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ak>>>0))>>>0;af=((aj<0||aj>=BH.length)?($throwRuntimeError(\"index out of range\"),undefined):BH[aj]);an=a.charCodeAt(3);if(an<128||192<=an){ao=0;ap=3;b=ao;c=ap;return[b,c];}aq=d.lookupValue(((af>>>0)),an);ar=4;b=aq;c=ar;return[b,c];}as=0;at=1;b=as;c=at;return[b,c];};BE.prototype.lookupString=function(a){return this.$val.lookupString(a);};BF=function(a){var $ptr,a;return new BE.ptr();};BE.ptr.prototype.lookupValue=function(a,b){var $ptr,a,b,c,d;c=this;if(a<44){return((d=(a<<6>>>0)+((b>>>0))>>>0,((d<0||d>=BG.length)?($throwRuntimeError(\"index out of range\"),undefined):BG[d])));}else{a=a-(44)>>>0;return(BV.lookup(a,b));}};BE.prototype.lookupValue=function(a,b){return this.$val.lookupValue(a,b);};BK.ptr.prototype.lookup=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=this;e=(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]);if(e<128){f=((e<0||e>=BM.length)?($throwRuntimeError(\"index out of range\"),undefined):BM[e]);g=1;b=f;c=g;return[b,c];}else if(e<194){h=0;i=1;b=h;c=i;return[b,c];}else if(e<224){if(a.$length<2){j=0;k=0;b=j;c=k;return[b,c];}l=((e<0||e>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[e]);m=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(m<128||192<=m){n=0;o=1;b=n;c=o;return[b,c];}p=d.lookupValue(((l>>>0)),m);q=2;b=p;c=q;return[b,c];}else if(e<240){if(a.$length<3){r=0;s=0;b=r;c=s;return[b,c];}t=((e<0||e>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[e]);u=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(u<128||192<=u){v=0;w=1;b=v;c=w;return[b,c];}x=(((t>>>0))<<6>>>0)+((u>>>0))>>>0;t=((x<0||x>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[x]);y=(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]);if(y<128||192<=y){z=0;aa=2;b=z;c=aa;return[b,c];}ab=d.lookupValue(((t>>>0)),y);ac=3;b=ab;c=ac;return[b,c];}else if(e<248){if(a.$length<4){ad=0;ae=0;b=ad;c=ae;return[b,c];}af=((e<0||e>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[e]);ag=(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]);if(ag<128||192<=ag){ah=0;ai=1;b=ah;c=ai;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ag>>>0))>>>0;af=((aj<0||aj>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[aj]);ak=(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]);if(ak<128||192<=ak){al=0;am=2;b=al;c=am;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ak>>>0))>>>0;af=((aj<0||aj>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[aj]);an=(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]);if(an<128||192<=an){ao=0;ap=3;b=ao;c=ap;return[b,c];}aq=d.lookupValue(((af>>>0)),an);ar=4;b=aq;c=ar;return[b,c];}as=0;at=1;b=as;c=at;return[b,c];};BK.prototype.lookup=function(a){return this.$val.lookup(a);};BK.ptr.prototype.lookupString=function(a){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=this;e=a.charCodeAt(0);if(e<128){f=((e<0||e>=BM.length)?($throwRuntimeError(\"index out of range\"),undefined):BM[e]);g=1;b=f;c=g;return[b,c];}else if(e<194){h=0;i=1;b=h;c=i;return[b,c];}else if(e<224){if(a.length<2){j=0;k=0;b=j;c=k;return[b,c];}l=((e<0||e>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[e]);m=a.charCodeAt(1);if(m<128||192<=m){n=0;o=1;b=n;c=o;return[b,c];}p=d.lookupValue(((l>>>0)),m);q=2;b=p;c=q;return[b,c];}else if(e<240){if(a.length<3){r=0;s=0;b=r;c=s;return[b,c];}t=((e<0||e>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[e]);u=a.charCodeAt(1);if(u<128||192<=u){v=0;w=1;b=v;c=w;return[b,c];}x=(((t>>>0))<<6>>>0)+((u>>>0))>>>0;t=((x<0||x>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[x]);y=a.charCodeAt(2);if(y<128||192<=y){z=0;aa=2;b=z;c=aa;return[b,c];}ab=d.lookupValue(((t>>>0)),y);ac=3;b=ab;c=ac;return[b,c];}else if(e<248){if(a.length<4){ad=0;ae=0;b=ad;c=ae;return[b,c];}af=((e<0||e>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[e]);ag=a.charCodeAt(1);if(ag<128||192<=ag){ah=0;ai=1;b=ah;c=ai;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ag>>>0))>>>0;af=((aj<0||aj>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[aj]);ak=a.charCodeAt(2);if(ak<128||192<=ak){al=0;am=2;b=al;c=am;return[b,c];}aj=(((af>>>0))<<6>>>0)+((ak>>>0))>>>0;af=((aj<0||aj>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[aj]);an=a.charCodeAt(3);if(an<128||192<=an){ao=0;ap=3;b=ao;c=ap;return[b,c];}aq=d.lookupValue(((af>>>0)),an);ar=4;b=aq;c=ar;return[b,c];}as=0;at=1;b=as;c=at;return[b,c];};BK.prototype.lookupString=function(a){return this.$val.lookupString(a);};BL=function(a){var $ptr,a;return new BK.ptr();};BK.ptr.prototype.lookupValue=function(a,b){var $ptr,a,b,c,d;c=this;if(a<90){return((d=(a<<6>>>0)+((b>>>0))>>>0,((d<0||d>=BM.length)?($throwRuntimeError(\"index out of range\"),undefined):BM[d])));}else{a=a-(90)>>>0;return(BW.lookup(a,b));}};BK.prototype.lookupValue=function(a,b){return this.$val.lookupValue(a,b);};AQ.prototype.Reset=function(){var $ptr;};$ptrType(AQ).prototype.Reset=function(){return new AQ(this.$get()).Reset();};AQ.prototype.Transform=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=0;e=0;f=$ifaceNil;g=this.$val;h=0;i=b;j=c;k=a.$length;if(k<i.$length){f=C.ErrShortDst;j=false;i=$subslice(i,0,k);}m=((g<0||g>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+g]).quickSpan($clone(AA(i),Z),h,i.$length,j);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];h=h+($copySlice($subslice(a,h),$subslice(i,h,n)))>>0;if(!o){$s=2;continue;}$s=3;continue;case 2:q=new AQ(g).transform($subslice(a,h),$subslice(b,h),c);$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d=p[0];e=p[1];f=p[2];r=d+h>>0;s=e+h>>0;t=f;d=r;e=s;f=t;$s=-1;return[d,e,f];case 3:if(h<b.$length&&!c){f=C.ErrShortSrc;}u=h;v=h;w=f;d=u;e=v;f=w;$s=-1;return[d,e,f];}return;}if($f===undefined){$f={$blk:AQ.prototype.Transform};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.Transform=function(a,b,c){return new AQ(this.$get()).Transform(a,b,c);};BR=function(a){var $ptr,a;if(a.out.$length<($imul(a.nrune,4))){return false;}a.out=$subslice(a.out,a.flushCopy(a.out));return true;};AQ.prototype.transform=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=[d];e=0;f=0;g=$ifaceNil;h=this.$val;d[0]=new H.ptr(CI.zero(),CJ.zero(),0,0,0,new R.ptr(0,false,false,$throwNilPointerError,$throwNilPointerError),new Z.ptr(\"\",CE.nil),0,new Z.ptr(\"\",CE.nil),CE.nil,$throwNilPointerError);d[0].init(h,b);case 1:d[0].setFlusher($subslice(a,e),BR);i=AX(d[0],f,c);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(j<0){k=e;l=f;m=(n=-j,((n<0||n>=BS.$length)?($throwRuntimeError(\"index out of range\"),undefined):BS.$array[BS.$offset+n]));e=k;f=l;g=m;$s=-1;return[e,f,g];}e=a.$length-d[0].out.$length>>0;f=j;j=d[0].nsrc;o=c;p=(f+a.$length>>0)-e>>0;if(p<j){g=C.ErrShortDst;j=p;o=false;}r=d[0].f.quickSpan($clone(d[0].src,Z),f,j,o);$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;j=q[0];s=q[1];t=$copySlice($subslice(a,e),$subslice(d[0].src.bytes,f,j));f=f+(t)>>0;e=e+(t)>>0;if(s){if(t<d[0].nsrc&&!c){g=C.ErrShortSrc;}u=e;v=f;w=g;e=u;f=v;g=w;$s=-1;return[e,f,g];}$s=1;continue;case 2:$s=-1;return[e,f,g];}return;}if($f===undefined){$f={$blk:AQ.prototype.transform};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(AQ).prototype.transform=function(a,b,c){return new AQ(this.$get()).transform(a,b,c);};BU.ptr.prototype.lookup=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;c=this;e=(d=c.offset,((a<0||a>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+a]));g=$clone((f=c.values,((e<0||e>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+e])),BT);h=e+1<<16>>>16;i=h+((g.lo<<16>>>16))<<16>>>16;while(true){if(!(h<i)){break;}k=h+(j=((i-h<<16>>>16))/2,(j===j&&j!==1/0&&j!==-1/0)?j>>>0:$throwRuntimeError(\"integer divide by zero\"))<<16>>>16;m=$clone((l=c.values,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k])),BT);if(m.lo<=b&&b<=m.hi){return m.value+((((b-m.lo<<24>>>24)<<16>>>16))*g.value<<16>>>16)<<16>>>16;}if(b<m.lo){i=k;}else{h=k+1<<16>>>16;}}return 0;};BU.prototype.lookup=function(a,b){return this.$val.lookup(a,b);};F.methods=[{prop:\"isMax\",name:\"isMax\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)}];CH.methods=[{prop:\"first\",name:\"first\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([P],[],false)},{prop:\"next\",name:\"next\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([P],[E],false)},{prop:\"backwards\",name:\"backwards\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([P],[E],false)}];CL.methods=[{prop:\"init\",name:\"init\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([AQ,CE],[],false)},{prop:\"initString\",name:\"initString\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([AQ,$String],[],false)},{prop:\"setFlusher\",name:\"setFlusher\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE,CM],[],false)},{prop:\"reset\",name:\"reset\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[],false)},{prop:\"doFlush\",name:\"doFlush\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"flush\",name:\"flush\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[CE],false)},{prop:\"flushCopy\",name:\"flushCopy\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[$Int],false)},{prop:\"insertOrdered\",name:\"insertOrdered\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([P],[],false)},{prop:\"insertFlush\",name:\"insertFlush\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([Z,$Int,P],[J],false)},{prop:\"insertUnsafe\",name:\"insertUnsafe\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([Z,$Int,P],[],false)},{prop:\"insertDecomposed\",name:\"insertDecomposed\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[J],false)},{prop:\"insertSingle\",name:\"insertSingle\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([Z,$Int,P],[],false)},{prop:\"insertCGJ\",name:\"insertCGJ\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[],false)},{prop:\"appendRune\",name:\"appendRune\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int32],[],false)},{prop:\"assignRune\",name:\"assignRune\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int,$Int32],[],false)},{prop:\"runeAt\",name:\"runeAt\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int],[$Int32],false)},{prop:\"bytesAt\",name:\"bytesAt\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int],[CE],false)},{prop:\"decomposeHangul\",name:\"decomposeHangul\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int32],[],false)},{prop:\"combineHangul\",name:\"combineHangul\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int,$Int,$Int],[],false)},{prop:\"compose\",name:\"compose\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[],false)}];P.methods=[{prop:\"BoundaryBefore\",name:\"BoundaryBefore\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"BoundaryAfter\",name:\"BoundaryAfter\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"isYesC\",name:\"isYesC\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"isYesD\",name:\"isYesD\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"combinesForward\",name:\"combinesForward\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"combinesBackward\",name:\"combinesBackward\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"hasDecomposition\",name:\"hasDecomposition\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"isInert\",name:\"isInert\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"multiSegment\",name:\"multiSegment\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Bool],false)},{prop:\"nLeadingNonStarters\",name:\"nLeadingNonStarters\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Uint8],false)},{prop:\"nTrailingNonStarters\",name:\"nTrailingNonStarters\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[$Uint8],false)},{prop:\"Decomposition\",name:\"Decomposition\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"CCC\",name:\"CCC\",pkg:\"\",typ:$funcType([],[$Uint8],false)},{prop:\"LeadCCC\",name:\"LeadCCC\",pkg:\"\",typ:$funcType([],[$Uint8],false)},{prop:\"TrailCCC\",name:\"TrailCCC\",pkg:\"\",typ:$funcType([],[$Uint8],false)}];BZ.methods=[{prop:\"quickSpan\",name:\"quickSpan\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([Z,$Int,$Int,$Bool],[$Int,$Bool],false)}];CN.methods=[{prop:\"setBytes\",name:\"setBytes\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[],false)},{prop:\"setString\",name:\"setString\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$String],[],false)},{prop:\"_byte\",name:\"_byte\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int],[$Uint8],false)},{prop:\"skipASCII\",name:\"skipASCII\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int,$Int],[$Int],false)},{prop:\"skipContinuationBytes\",name:\"skipContinuationBytes\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int],[$Int],false)},{prop:\"appendSlice\",name:\"appendSlice\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE,$Int,$Int],[CE],false)},{prop:\"copySlice\",name:\"copySlice\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE,$Int,$Int],[$Int],false)},{prop:\"charinfoNFC\",name:\"charinfoNFC\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int],[$Uint16,$Int],false)},{prop:\"charinfoNFKC\",name:\"charinfoNFKC\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int],[$Uint16,$Int],false)},{prop:\"hangul\",name:\"hangul\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int],[$Int32],false)}];CO.methods=[{prop:\"Init\",name:\"Init\",pkg:\"\",typ:$funcType([AQ,CE],[],false)},{prop:\"InitString\",name:\"InitString\",pkg:\"\",typ:$funcType([AQ,$String],[],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"returnSlice\",name:\"returnSlice\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Int,$Int],[CE],false)},{prop:\"Pos\",name:\"Pos\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"setDone\",name:\"setDone\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([],[],false)},{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Next\",name:\"Next\",pkg:\"\",typ:$funcType([],[CE],false)}];AQ.methods=[{prop:\"Properties\",name:\"Properties\",pkg:\"\",typ:$funcType([CE],[P],false)},{prop:\"PropertiesString\",name:\"PropertiesString\",pkg:\"\",typ:$funcType([$String],[P],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([CE],[CE],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"IsNormal\",name:\"IsNormal\",pkg:\"\",typ:$funcType([CE],[$Bool],false)},{prop:\"IsNormalString\",name:\"IsNormalString\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"Append\",name:\"Append\",pkg:\"\",typ:$funcType([CE,CE],[CE],true)},{prop:\"doAppend\",name:\"doAppend\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE,Z,$Int],[CE],false)},{prop:\"AppendString\",name:\"AppendString\",pkg:\"\",typ:$funcType([CE,$String],[CE],false)},{prop:\"QuickSpan\",name:\"QuickSpan\",pkg:\"\",typ:$funcType([CE],[$Int],false)},{prop:\"Span\",name:\"Span\",pkg:\"\",typ:$funcType([CE,$Bool],[$Int,$error],false)},{prop:\"SpanString\",name:\"SpanString\",pkg:\"\",typ:$funcType([$String,$Bool],[$Int,$error],false)},{prop:\"QuickSpanString\",name:\"QuickSpanString\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"FirstBoundary\",name:\"FirstBoundary\",pkg:\"\",typ:$funcType([CE],[$Int],false)},{prop:\"firstBoundary\",name:\"firstBoundary\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([Z,$Int],[$Int],false)},{prop:\"FirstBoundaryInString\",name:\"FirstBoundaryInString\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"NextBoundary\",name:\"NextBoundary\",pkg:\"\",typ:$funcType([CE,$Bool],[$Int],false)},{prop:\"NextBoundaryInString\",name:\"NextBoundaryInString\",pkg:\"\",typ:$funcType([$String,$Bool],[$Int],false)},{prop:\"nextBoundary\",name:\"nextBoundary\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([Z,$Int,$Bool],[$Int],false)},{prop:\"LastBoundary\",name:\"LastBoundary\",pkg:\"\",typ:$funcType([CE],[$Int],false)},{prop:\"Writer\",name:\"Writer\",pkg:\"\",typ:$funcType([D.Writer],[D.WriteCloser],false)},{prop:\"Reader\",name:\"Reader\",pkg:\"\",typ:$funcType([D.Reader],[D.Reader],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Transform\",name:\"Transform\",pkg:\"\",typ:$funcType([CE,CE,$Bool],[$Int,$Int,$error],false)},{prop:\"transform\",name:\"transform\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE,CE,$Bool],[$Int,$Int,$error],false)}];CP.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([CE],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];CQ.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([CE],[$Int,$error],false)}];CR.methods=[{prop:\"lookup\",name:\"lookup\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[$Uint16,$Int],false)},{prop:\"lookupUnsafe\",name:\"lookupUnsafe\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[$Uint16],false)},{prop:\"lookupString\",name:\"lookupString\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$String],[$Uint16,$Int],false)},{prop:\"lookupStringUnsafe\",name:\"lookupStringUnsafe\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$String],[$Uint16],false)},{prop:\"lookupValue\",name:\"lookupValue\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Uint32,$Uint8],[$Uint16],false)}];CS.methods=[{prop:\"lookup\",name:\"lookup\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[$Uint16,$Int],false)},{prop:\"lookupUnsafe\",name:\"lookupUnsafe\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([CE],[$Uint16],false)},{prop:\"lookupString\",name:\"lookupString\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$String],[$Uint16,$Int],false)},{prop:\"lookupStringUnsafe\",name:\"lookupStringUnsafe\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$String],[$Uint16],false)},{prop:\"lookupValue\",name:\"lookupValue\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Uint32,$Uint8],[$Uint16],false)}];CT.methods=[{prop:\"lookup\",name:\"lookup\",pkg:\"vendor/golang_org/x/text/unicode/norm\",typ:$funcType([$Uint32,$Uint8],[$Uint16],false)}];H.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"rune\",name:\"rune\",exported:false,typ:CI,tag:\"\"},{prop:\"byte$1\",name:\"byte\",exported:false,typ:CJ,tag:\"\"},{prop:\"nbyte\",name:\"nbyte\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"ss\",name:\"ss\",exported:false,typ:F,tag:\"\"},{prop:\"nrune\",name:\"nrune\",exported:false,typ:$Int,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:R,tag:\"\"},{prop:\"src\",name:\"src\",exported:false,typ:Z,tag:\"\"},{prop:\"nsrc\",name:\"nsrc\",exported:false,typ:$Int,tag:\"\"},{prop:\"tmpBytes\",name:\"tmpBytes\",exported:false,typ:Z,tag:\"\"},{prop:\"out\",name:\"out\",exported:false,typ:CE,tag:\"\"},{prop:\"flushF\",name:\"flushF\",exported:false,typ:CM,tag:\"\"}]);P.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"pos\",name:\"pos\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"ccc\",name:\"ccc\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"tccc\",name:\"tccc\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"nLead\",name:\"nLead\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"flags\",name:\"flags\",exported:false,typ:U,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint16,tag:\"\"}]);Q.init([Z,$Int],[P],false);R.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"form\",name:\"form\",exported:false,typ:AQ,tag:\"\"},{prop:\"composing\",name:\"composing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"compatibility\",name:\"compatibility\",exported:false,typ:$Bool,tag:\"\"},{prop:\"info\",name:\"info\",exported:false,typ:Q,tag:\"\"},{prop:\"nextMain\",name:\"nextMain\",exported:false,typ:AD,tag:\"\"}]);Z.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"},{prop:\"bytes\",name:\"bytes\",exported:false,typ:CE,tag:\"\"}]);AC.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"rb\",name:\"rb\",exported:false,typ:H,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:CJ,tag:\"\"},{prop:\"info\",name:\"info\",exported:false,typ:P,tag:\"\"},{prop:\"next\",name:\"next\",exported:false,typ:AD,tag:\"\"},{prop:\"asciiF\",name:\"asciiF\",exported:false,typ:AD,tag:\"\"},{prop:\"p\",name:\"p\",exported:false,typ:$Int,tag:\"\"},{prop:\"multiSeg\",name:\"multiSeg\",exported:false,typ:CE,tag:\"\"}]);AD.init([CO],[CE],false);BA.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"rb\",name:\"rb\",exported:false,typ:H,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:D.Writer,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:CE,tag:\"\"}]);BB.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"rb\",name:\"rb\",exported:false,typ:H,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:D.Reader,tag:\"\"},{prop:\"inbuf\",name:\"inbuf\",exported:false,typ:CE,tag:\"\"},{prop:\"outbuf\",name:\"outbuf\",exported:false,typ:CE,tag:\"\"},{prop:\"bufStart\",name:\"bufStart\",exported:false,typ:$Int,tag:\"\"},{prop:\"lastBoundary\",name:\"lastBoundary\",exported:false,typ:$Int,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);BE.init(\"\",[]);BK.init(\"\",[]);BT.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"value\",name:\"value\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);BU.init(\"vendor/golang_org/x/text/unicode/norm\",[{prop:\"values\",name:\"values\",exported:false,typ:CD,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:CB,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=CA.nil;BC=$toNativeArray($kindUint8,[0,1,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,84,91,103,107,118,122,129,130,132,202,214,216,218,220,222,224,226,228,230,232,233,234,240]);BD=$toNativeArray($kindUint8,[0,65,32,65,33,65,34,65,35,65,36,65,37,65,38,65,39,65,40,65,41,65,42,65,43,65,44,65,45,65,46,65,47,65,48,65,49,65,50,65,51,65,52,65,53,65,54,65,55,65,56,65,57,65,58,65,59,65,60,65,61,65,62,65,63,65,64,65,65,65,66,65,67,65,68,65,69,65,70,65,71,65,72,65,73,65,74,65,75,65,76,65,77,65,78,65,79,65,80,65,81,65,82,65,83,65,84,65,85,65,86,65,87,65,88,65,89,65,90,65,91,65,92,65,93,65,94,65,95,65,96,65,97,65,98,65,99,65,100,65,101,65,102,65,103,65,104,65,105,65,106,65,107,65,108,65,109,65,110,65,111,65,112,65,113,65,114,65,115,65,116,65,117,65,118,65,119,65,120,65,121,65,122,65,123,65,124,65,125,65,126,66,194,162,66,194,163,66,194,165,66,194,166,66,194,172,66,194,183,66,195,134,66,195,176,66,196,166,66,196,167,66,196,177,66,197,139,66,197,147,66,198,142,66,198,144,66,198,171,66,200,162,66,200,183,66,201,144,66,201,145,66,201,146,66,201,148,66,201,149,66,201,153,66,201,155,66,201,156,66,201,159,66,201,161,66,201,163,66,201,165,66,201,166,66,201,168,66,201,169,66,201,170,66,201,171,66,201,173,66,201,175,66,201,176,66,201,177,66,201,178,66,201,179,66,201,180,66,201,181,66,201,184,66,201,185,66,201,187,66,202,129,66,202,130,66,202,131,66,202,137,66,202,138,66,202,139,66,202,140,66,202,144,66,202,145,66,202,146,66,202,149,66,202,157,66,202,159,66,202,185,66,206,145,66,206,146,66,206,147,66,206,148,66,206,149,66,206,150,66,206,151,66,206,152,66,206,153,66,206,154,66,206,155,66,206,156,66,206,157,66,206,158,66,206,159,66,206,160,66,206,161,66,206,163,66,206,164,66,206,165,66,206,166,66,206,167,66,206,168,66,206,169,66,206,177,66,206,178,66,206,179,66,206,180,66,206,181,66,206,182,66,206,183,66,206,184,66,206,185,66,206,186,66,206,187,66,206,188,66,206,189,66,206,190,66,206,191,66,207,128,66,207,129,66,207,130,66,207,131,66,207,132,66,207,133,66,207,134,66,207,135,66,207,136,66,207,137,66,207,156,66,207,157,66,208,189,66,209,138,66,209,140,66,215,144,66,215,145,66,215,146,66,215,147,66,215,148,66,215,155,66,215,156,66,215,157,66,215,162,66,215,168,66,215,170,66,216,161,66,216,167,66,216,168,66,216,169,66,216,170,66,216,171,66,216,172,66,216,173,66,216,174,66,216,175,66,216,176,66,216,177,66,216,178,66,216,179,66,216,180,66,216,181,66,216,182,66,216,183,66,216,184,66,216,185,66,216,186,66,217,129,66,217,130,66,217,131,66,217,132,66,217,133,66,217,134,66,217,135,66,217,136,66,217,137,66,217,138,66,217,174,66,217,175,66,217,177,66,217,185,66,217,186,66,217,187,66,217,190,66,217,191,66,218,128,66,218,131,66,218,132,66,218,134,66,218,135,66,218,136,66,218,140,66,218,141,66,218,142,66,218,145,66,218,152,66,218,161,66,218,164,66,218,166,66,218,169,66,218,173,66,218,175,66,218,177,66,218,179,66,218,186,66,218,187,66,218,190,66,219,129,66,219,133,66,219,134,66,219,135,66,219,136,66,219,137,66,219,139,66,219,140,66,219,144,66,219,146,67,224,188,139,67,225,131,156,67,225,132,128,67,225,132,129,67,225,132,130,67,225,132,131,67,225,132,132,67,225,132,133,67,225,132,134,67,225,132,135,67,225,132,136,67,225,132,137,67,225,132,138,67,225,132,139,67,225,132,140,67,225,132,141,67,225,132,142,67,225,132,143,67,225,132,144,67,225,132,145,67,225,132,146,67,225,132,148,67,225,132,149,67,225,132,154,67,225,132,156,67,225,132,157,67,225,132,158,67,225,132,160,67,225,132,161,67,225,132,162,67,225,132,163,67,225,132,167,67,225,132,169,67,225,132,171,67,225,132,172,67,225,132,173,67,225,132,174,67,225,132,175,67,225,132,178,67,225,132,182,67,225,133,128,67,225,133,135,67,225,133,140,67,225,133,151,67,225,133,152,67,225,133,153,67,225,133,160,67,225,134,132,67,225,134,133,67,225,134,136,67,225,134,145,67,225,134,146,67,225,134,148,67,225,134,158,67,225,134,161,67,225,135,135,67,225,135,136,67,225,135,140,67,225,135,142,67,225,135,147,67,225,135,151,67,225,135,153,67,225,135,157,67,225,135,159,67,225,135,177,67,225,135,178,67,225,180,130,67,225,180,150,67,225,180,151,67,225,180,156,67,225,180,157,67,225,180,165,67,225,181,187,67,225,182,133,67,226,128,130,67,226,128,131,67,226,128,144,67,226,128,147,67,226,128,148,67,226,130,169,67,226,134,144,67,226,134,145,67,226,134,146,67,226,134,147,67,226,136,130,67,226,136,135,67,226,136,145,67,226,136,146,67,226,148,130,67,226,150,160,67,226,151,139,67,226,166,133,67,226,166,134,67,226,181,161,67,227,128,129,67,227,128,130,67,227,128,136,67,227,128,137,67,227,128,138,67,227,128,139,67,227,128,140,67,227,128,141,67,227,128,142,67,227,128,143,67,227,128,144,67,227,128,145,67,227,128,146,67,227,128,148,67,227,128,149,67,227,128,150,67,227,128,151,67,227,130,161,67,227,130,162,67,227,130,163,67,227,130,164,67,227,130,165,67,227,130,166,67,227,130,167,67,227,130,168,67,227,130,169,67,227,130,170,67,227,130,171,67,227,130,173,67,227,130,175,67,227,130,177,67,227,130,179,67,227,130,181,67,227,130,183,67,227,130,185,67,227,130,187,67,227,130,189,67,227,130,191,67,227,131,129,67,227,131,131,67,227,131,132,67,227,131,134,67,227,131,136,67,227,131,138,67,227,131,139,67,227,131,140,67,227,131,141,67,227,131,142,67,227,131,143,67,227,131,146,67,227,131,149,67,227,131,152,67,227,131,155,67,227,131,158,67,227,131,159,67,227,131,160,67,227,131,161,67,227,131,162,67,227,131,163,67,227,131,164,67,227,131,165,67,227,131,166,67,227,131,167,67,227,131,168,67,227,131,169,67,227,131,170,67,227,131,171,67,227,131,172,67,227,131,173,67,227,131,175,67,227,131,176,67,227,131,177,67,227,131,178,67,227,131,179,67,227,131,187,67,227,131,188,67,227,146,158,67,227,146,185,67,227,146,187,67,227,147,159,67,227,148,149,67,227,155,174,67,227,155,188,67,227,158,129,67,227,160,175,67,227,161,162,67,227,161,188,67,227,163,135,67,227,163,163,67,227,164,156,67,227,164,186,67,227,168,174,67,227,169,172,67,227,171,164,67,227,172,136,67,227,172,153,67,227,173,137,67,227,174,157,67,227,176,152,67,227,177,142,67,227,180,179,67,227,182,150,67,227,186,172,67,227,186,184,67,227,188,155,67,227,191,188,67,228,128,136,67,228,128,152,67,228,128,185,67,228,129,134,67,228,130,150,67,228,131,163,67,228,132,175,67,228,136,130,67,228,136,167,67,228,138,160,67,228,140,129,67,228,140,180,67,228,141,153,67,228,143,149,67,228,143,153,67,228,144,139,67,228,145,171,67,228,148,171,67,228,149,157,67,228,149,161,67,228,149,171,67,228,151,151,67,228,151,185,67,228,152,181,67,228,154,190,67,228,155,135,67,228,166,149,67,228,167,166,67,228,169,174,67,228,169,182,67,228,170,178,67,228,172,179,67,228,175,142,67,228,179,142,67,228,179,173,67,228,179,184,67,228,181,150,67,228,184,128,67,228,184,129,67,228,184,131,67,228,184,137,67,228,184,138,67,228,184,139,67,228,184,141,67,228,184,153,67,228,184,166,67,228,184,168,67,228,184,173,67,228,184,178,67,228,184,182,67,228,184,184,67,228,184,185,67,228,184,189,67,228,184,191,67,228,185,129,67,228,185,153,67,228,185,157,67,228,186,130,67,228,186,133,67,228,186,134,67,228,186,140,67,228,186,148,67,228,186,160,67,228,186,164,67,228,186,174,67,228,186,186,67,228,187,128,67,228,187,140,67,228,187,164,67,228,188,129,67,228,188,145,67,228,189,160,67,228,190,128,67,228,190,134,67,228,190,139,67,228,190,174,67,228,190,187,67,228,190,191,67,229,128,130,67,229,128,171,67,229,129,186,67,229,130,153,67,229,131,143,67,229,131,154,67,229,131,167,67,229,132,170,67,229,132,191,67,229,133,128,67,229,133,133,67,229,133,141,67,229,133,148,67,229,133,164,67,229,133,165,67,229,133,167,67,229,133,168,67,229,133,169,67,229,133,171,67,229,133,173,67,229,133,183,67,229,134,128,67,229,134,130,67,229,134,141,67,229,134,146,67,229,134,149,67,229,134,150,67,229,134,151,67,229,134,153,67,229,134,164,67,229,134,171,67,229,134,172,67,229,134,181,67,229,134,183,67,229,135,137,67,229,135,140,67,229,135,156,67,229,135,158,67,229,135,160,67,229,135,181,67,229,136,128,67,229,136,131,67,229,136,135,67,229,136,151,67,229,136,157,67,229,136,169,67,229,136,186,67,229,136,187,67,229,137,134,67,229,137,141,67,229,137,178,67,229,137,183,67,229,138,137,67,229,138,155,67,229,138,163,67,229,138,179,67,229,138,180,67,229,139,135,67,229,139,137,67,229,139,146,67,229,139,158,67,229,139,164,67,229,139,181,67,229,139,185,67,229,139,186,67,229,140,133,67,229,140,134,67,229,140,149,67,229,140,151,67,229,140,154,67,229,140,184,67,229,140,187,67,229,140,191,67,229,141,129,67,229,141,132,67,229,141,133,67,229,141,137,67,229,141,145,67,229,141,148,67,229,141,154,67,229,141,156,67,229,141,169,67,229,141,176,67,229,141,179,67,229,141,181,67,229,141,189,67,229,141,191,67,229,142,130,67,229,142,182,67,229,143,131,67,229,143,136,67,229,143,138,67,229,143,140,67,229,143,159,67,229,143,163,67,229,143,165,67,229,143,171,67,229,143,175,67,229,143,177,67,229,143,179,67,229,144,134,67,229,144,136,67,229,144,141,67,229,144,143,67,229,144,157,67,229,144,184,67,229,144,185,67,229,145,130,67,229,145,136,67,229,145,168,67,229,146,158,67,229,146,162,67,229,146,189,67,229,147,182,67,229,148,144,67,229,149,143,67,229,149,147,67,229,149,149,67,229,149,163,67,229,150,132,67,229,150,135,67,229,150,153,67,229,150,157,67,229,150,171,67,229,150,179,67,229,150,182,67,229,151,128,67,229,151,130,67,229,151,162,67,229,152,134,67,229,153,145,67,229,153,168,67,229,153,180,67,229,155,151,67,229,155,155,67,229,155,185,67,229,156,150,67,229,156,151,67,229,156,159,67,229,156,176,67,229,158,139,67,229,159,142,67,229,159,180,67,229,160,141,67,229,160,177,67,229,160,178,67,229,161,128,67,229,161,154,67,229,161,158,67,229,162,168,67,229,162,172,67,229,162,179,67,229,163,152,67,229,163,159,67,229,163,171,67,229,163,174,67,229,163,176,67,229,163,178,67,229,163,183,67,229,164,130,67,229,164,134,67,229,164,138,67,229,164,149,67,229,164,154,67,229,164,156,67,229,164,162,67,229,164,167,67,229,164,169,67,229,165,132,67,229,165,136,67,229,165,145,67,229,165,148,67,229,165,162,67,229,165,179,67,229,167,152,67,229,167,172,67,229,168,155,67,229,168,167,67,229,169,162,67,229,169,166,67,229,170,181,67,229,172,136,67,229,172,168,67,229,172,190,67,229,173,144,67,229,173,151,67,229,173,166,67,229,174,128,67,229,174,133,67,229,174,151,67,229,175,131,67,229,175,152,67,229,175,167,67,229,175,174,67,229,175,179,67,229,175,184,67,229,175,191,67,229,176,134,67,229,176,143,67,229,176,162,67,229,176,184,67,229,176,191,67,229,177,160,67,229,177,162,67,229,177,164,67,229,177,165,67,229,177,174,67,229,177,177,67,229,178,141,67,229,179,128,67,229,180,153,67,229,181,131,67,229,181,144,67,229,181,171,67,229,181,174,67,229,181,188,67,229,182,178,67,229,182,186,67,229,183,155,67,229,183,161,67,229,183,162,67,229,183,165,67,229,183,166,67,229,183,177,67,229,183,189,67,229,183,190,67,229,184,168,67,229,184,189,67,229,185,169,67,229,185,178,67,229,185,180,67,229,185,186,67,229,185,188,67,229,185,191,67,229,186,166,67,229,186,176,67,229,186,179,67,229,186,182,67,229,187,137,67,229,187,138,67,229,187,146,67,229,187,147,67,229,187,153,67,229,187,172,67,229,187,180,67,229,187,190,67,229,188,132,67,229,188,139,67,229,188,147,67,229,188,162,67,229,189,144,67,229,189,147,67,229,189,161,67,229,189,162,67,229,189,169,67,229,189,171,67,229,189,179,67,229,190,139,67,229,190,140,67,229,190,151,67,229,190,154,67,229,190,169,67,229,190,173,67,229,191,131,67,229,191,141,67,229,191,151,67,229,191,181,67,229,191,185,67,230,128,146,67,230,128,156,67,230,129,181,67,230,130,129,67,230,130,148,67,230,131,135,67,230,131,152,67,230,131,161,67,230,132,136,67,230,133,132,67,230,133,136,67,230,133,140,67,230,133,142,67,230,133,160,67,230,133,168,67,230,133,186,67,230,134,142,67,230,134,144,67,230,134,164,67,230,134,175,67,230,134,178,67,230,135,158,67,230,135,178,67,230,135,182,67,230,136,128,67,230,136,136,67,230,136,144,67,230,136,155,67,230,136,174,67,230,136,180,67,230,136,182,67,230,137,139,67,230,137,147,67,230,137,157,67,230,138,149,67,230,138,177,67,230,139,137,67,230,139,143,67,230,139,147,67,230,139,148,67,230,139,188,67,230,139,190,67,230,140,135,67,230,140,189,67,230,141,144,67,230,141,149,67,230,141,168,67,230,141,187,67,230,142,131,67,230,142,160,67,230,142,169,67,230,143,132,67,230,143,133,67,230,143,164,67,230,144,156,67,230,144,162,67,230,145,146,67,230,145,169,67,230,145,183,67,230,145,190,67,230,146,154,67,230,146,157,67,230,147,132,67,230,148,175,67,230,148,180,67,230,149,143,67,230,149,150,67,230,149,172,67,230,149,184,67,230,150,135,67,230,150,151,67,230,150,153,67,230,150,164,67,230,150,176,67,230,150,185,67,230,151,133,67,230,151,160,67,230,151,162,67,230,151,163,67,230,151,165,67,230,152,147,67,230,152,160,67,230,153,137,67,230,153,180,67,230,154,136,67,230,154,145,67,230,154,156,67,230,154,180,67,230,155,134,67,230,155,176,67,230,155,180,67,230,155,184,67,230,156,128,67,230,156,136,67,230,156,137,67,230,156,151,67,230,156,155,67,230,156,161,67,230,156,168,67,230,157,142,67,230,157,147,67,230,157,150,67,230,157,158,67,230,157,187,67,230,158,133,67,230,158,151,67,230,159,179,67,230,159,186,67,230,160,151,67,230,160,159,67,230,160,170,67,230,161,146,67,230,162,129,67,230,162,133,67,230,162,142,67,230,162,168,67,230,164,148,67,230,165,130,67,230,166,163,67,230,167,170,67,230,168,130,67,230,168,147,67,230,170,168,67,230,171,147,67,230,171,155,67,230,172,132,67,230,172,160,67,230,172,161,67,230,173,148,67,230,173,162,67,230,173,163,67,230,173,178,67,230,173,183,67,230,173,185,67,230,174,159,67,230,174,174,67,230,174,179,67,230,174,186,67,230,174,187,67,230,175,139,67,230,175,141,67,230,175,148,67,230,175,155,67,230,176,143,67,230,176,148,67,230,176,180,67,230,177,142,67,230,177,167,67,230,178,136,67,230,178,191,67,230,179,140,67,230,179,141,67,230,179,165,67,230,179,168,67,230,180,150,67,230,180,155,67,230,180,158,67,230,180,180,67,230,180,190,67,230,181,129,67,230,181,169,67,230,181,170,67,230,181,183,67,230,181,184,67,230,182,133,67,230,183,139,67,230,183,154,67,230,183,170,67,230,183,185,67,230,184,154,67,230,184,175,67,230,185,174,67,230,186,128,67,230,186,156,67,230,186,186,67,230,187,135,67,230,187,139,67,230,187,145,67,230,187,155,67,230,188,143,67,230,188,148,67,230,188,162,67,230,188,163,67,230,189,174,67,230,191,134,67,230,191,171,67,230,191,190,67,231,128,155,67,231,128,158,67,231,128,185,67,231,129,138,67,231,129,171,67,231,129,176,67,231,129,183,67,231,129,189,67,231,130,153,67,231,130,173,67,231,131,136,67,231,131,153,67,231,132,161,67,231,133,133,67,231,133,137,67,231,133,174,67,231,134,156,67,231,135,142,67,231,135,144,67,231,136,144,67,231,136,155,67,231,136,168,67,231,136,170,67,231,136,171,67,231,136,181,67,231,136,182,67,231,136,187,67,231,136,191,67,231,137,135,67,231,137,144,67,231,137,153,67,231,137,155,67,231,137,162,67,231,137,185,67,231,138,128,67,231,138,149,67,231,138,172,67,231,138,175,67,231,139,128,67,231,139,188,67,231,140,170,67,231,141,181,67,231,141,186,67,231,142,132,67,231,142,135,67,231,142,137,67,231,142,139,67,231,142,165,67,231,142,178,67,231,143,158,67,231,144,134,67,231,144,137,67,231,144,162,67,231,145,135,67,231,145,156,67,231,145,169,67,231,145,177,67,231,146,133,67,231,146,137,67,231,146,152,67,231,147,138,67,231,147,156,67,231,147,166,67,231,148,134,67,231,148,152,67,231,148,159,67,231,148,164,67,231,148,168,67,231,148,176,67,231,148,178,67,231,148,179,67,231,148,183,67,231,148,187,67,231,148,190,67,231,149,153,67,231,149,165,67,231,149,176,67,231,150,139,67,231,150,146,67,231,151,162,67,231,152,144,67,231,152,157,67,231,152,159,67,231,153,130,67,231,153,169,67,231,153,182,67,231,153,189,67,231,154,174,67,231,154,191,67,231,155,138,67,231,155,155,67,231,155,163,67,231,155,167,67,231,155,174,67,231,155,180,67,231,156,129,67,231,156,158,67,231,156,159,67,231,157,128,67,231,157,138,67,231,158,139,67,231,158,167,67,231,159,155,67,231,159,162,67,231,159,179,67,231,161,142,67,231,161,171,67,231,162,140,67,231,162,145,67,231,163,138,67,231,163,140,67,231,163,187,67,231,164,170,67,231,164,186,67,231,164,188,67,231,164,190,67,231,165,136,67,231,165,137,67,231,165,144,67,231,165,150,67,231,165,157,67,231,165,158,67,231,165,165,67,231,165,191,67,231,166,129,67,231,166,141,67,231,166,142,67,231,166,143,67,231,166,174,67,231,166,184,67,231,166,190,67,231,167,138,67,231,167,152,67,231,167,171,67,231,168,156,67,231,169,128,67,231,169,138,67,231,169,143,67,231,169,180,67,231,169,186,67,231,170,129,67,231,170,177,67,231,171,139,67,231,171,174,67,231,171,185,67,231,172,160,67,231,174,143,67,231,175,128,67,231,175,134,67,231,175,137,67,231,176,190,67,231,177,160,67,231,177,179,67,231,177,187,67,231,178,146,67,231,178,190,67,231,179,146,67,231,179,150,67,231,179,163,67,231,179,167,67,231,179,168,67,231,179,184,67,231,180,128,67,231,180,144,67,231,180,162,67,231,180,175,67,231,181,130,67,231,181,155,67,231,181,163,67,231,182,160,67,231,182,190,67,231,183,135,67,231,183,180,67,231,184,130,67,231,184,137,67,231,184,183,67,231,185,129,67,231,185,133,67,231,188,182,67,231,188,190,67,231,189,145,67,231,189,178,67,231,189,185,67,231,189,186,67,231,190,133,67,231,190,138,67,231,190,149,67,231,190,154,67,231,190,189,67,231,191,186,67,232,128,129,67,232,128,133,67,232,128,140,67,232,128,146,67,232,128,179,67,232,129,134,67,232,129,160,67,232,129,175,67,232,129,176,67,232,129,190,67,232,129,191,67,232,130,137,67,232,130,139,67,232,130,173,67,232,130,178,67,232,132,131,67,232,132,190,67,232,135,152,67,232,135,163,67,232,135,168,67,232,135,170,67,232,135,173,67,232,135,179,67,232,135,188,67,232,136,129,67,232,136,132,67,232,136,140,67,232,136,152,67,232,136,155,67,232,136,159,67,232,137,174,67,232,137,175,67,232,137,178,67,232,137,184,67,232,137,185,67,232,138,139,67,232,138,145,67,232,138,157,67,232,138,177,67,232,138,179,67,232,138,189,67,232,139,165,67,232,139,166,67,232,140,157,67,232,140,163,67,232,140,182,67,232,141,146,67,232,141,147,67,232,141,163,67,232,142,173,67,232,142,189,67,232,143,137,67,232,143,138,67,232,143,140,67,232,143,156,67,232,143,167,67,232,143,175,67,232,143,177,67,232,144,189,67,232,145,137,67,232,145,151,67,232,147,174,67,232,147,177,67,232,147,179,67,232,147,188,67,232,148,150,67,232,149,164,67,232,151,141,67,232,151,186,67,232,152,134,67,232,152,146,67,232,152,173,67,232,152,191,67,232,153,141,67,232,153,144,67,232,153,156,67,232,153,167,67,232,153,169,67,232,153,171,67,232,154,136,67,232,154,169,67,232,155,162,67,232,156,142,67,232,156,168,67,232,157,171,67,232,157,185,67,232,158,134,67,232,158,186,67,232,159,161,67,232,160,129,67,232,160,159,67,232,161,128,67,232,161,140,67,232,161,160,67,232,161,163,67,232,163,130,67,232,163,143,67,232,163,151,67,232,163,158,67,232,163,161,67,232,163,184,67,232,163,186,67,232,164,144,67,232,165,129,67,232,165,164,67,232,165,190,67,232,166,134,67,232,166,139,67,232,166,150,67,232,167,146,67,232,167,163,67,232,168,128,67,232,170,160,67,232,170,170,67,232,170,191,67,232,171,139,67,232,171,146,67,232,171,150,67,232,171,173,67,232,171,184,67,232,171,190,67,232,172,129,67,232,172,185,67,232,173,152,67,232,174,128,67,232,174,138,67,232,176,183,67,232,177,134,67,232,177,136,67,232,177,149,67,232,177,184,67,232,178,157,67,232,178,161,67,232,178,169,67,232,178,171,67,232,179,129,67,232,179,130,67,232,179,135,67,232,179,136,67,232,179,147,67,232,180,136,67,232,180,155,67,232,181,164,67,232,181,176,67,232,181,183,67,232,182,179,67,232,182,188,67,232,183,139,67,232,183,175,67,232,183,176,67,232,186,171,67,232,187,138,67,232,187,148,67,232,188,166,67,232,188,170,67,232,188,184,67,232,188,187,67,232,189,162,67,232,190,155,67,232,190,158,67,232,190,176,67,232,190,181,67,232,190,182,67,233,128,163,67,233,128,184,67,233,129,138,67,233,129,169,67,233,129,178,67,233,129,188,67,233,130,143,67,233,130,145,67,233,130,148,67,233,131,142,67,233,131,158,67,233,131,177,67,233,131,189,67,233,132,145,67,233,132,155,67,233,133,137,67,233,133,141,67,233,133,170,67,233,134,153,67,233,134,180,67,233,135,134,67,233,135,140,67,233,135,143,67,233,135,145,67,233,136,180,67,233,136,184,67,233,137,182,67,233,137,188,67,233,139,151,67,233,139,152,67,233,140,132,67,233,141,138,67,233,143,185,67,233,144,149,67,233,149,183,67,233,150,128,67,233,150,139,67,233,150,173,67,233,150,183,67,233,152,156,67,233,152,174,67,233,153,139,67,233,153,141,67,233,153,181,67,233,153,184,67,233,153,188,67,233,154,134,67,233,154,163,67,233,154,182,67,233,154,183,67,233,154,184,67,233,154,185,67,233,155,131,67,233,155,162,67,233,155,163,67,233,155,168,67,233,155,182,67,233,155,183,67,233,156,163,67,233,156,178,67,233,157,136,67,233,157,145,67,233,157,150,67,233,157,158,67,233,157,162,67,233,157,169,67,233,159,139,67,233,159,155,67,233,159,160,67,233,159,173,67,233,159,179,67,233,159,191,67,233,160,129,67,233,160,133,67,233,160,139,67,233,160,152,67,233,160,169,67,233,160,187,67,233,161,158,67,233,162,168,67,233,163,155,67,233,163,159,67,233,163,162,67,233,163,175,67,233,163,188,67,233,164,168,67,233,164,169,67,233,166,150,67,233,166,153,67,233,166,167,67,233,166,172,67,233,167,130,67,233,167,177,67,233,167,190,67,233,169,170,67,233,170,168,67,233,171,152,67,233,171,159,67,233,172,146,67,233,172,165,67,233,172,175,67,233,172,178,67,233,172,188,67,233,173,154,67,233,173,175,67,233,177,128,67,233,177,151,67,233,179,165,67,233,179,189,67,233,181,167,67,233,182,180,67,233,183,186,67,233,184,158,67,233,185,181,67,233,185,191,67,233,186,151,67,233,186,159,67,233,186,165,67,233,186,187,67,233,187,131,67,233,187,141,67,233,187,142,67,233,187,145,67,233,187,185,67,233,187,189,67,233,187,190,67,233,188,133,67,233,188,142,67,233,188,143,67,233,188,147,67,233,188,150,67,233,188,160,67,233,188,187,67,233,189,131,67,233,189,138,67,233,189,146,67,233,190,141,67,233,190,142,67,233,190,156,67,233,190,159,67,233,190,160,67,234,156,167,67,234,157,175,67,234,172,183,67,234,173,146,68,240,160,132,162,68,240,160,148,156,68,240,160,148,165,68,240,160,149,139,68,240,160,152,186,68,240,160,160,132,68,240,160,163,158,68,240,160,168,172,68,240,160,173,163,68,240,161,147,164,68,240,161,154,168,68,240,161,155,170,68,240,161,167,136,68,240,161,172,152,68,240,161,180,139,68,240,161,183,164,68,240,161,183,166,68,240,162,134,131,68,240,162,134,159,68,240,162,140,177,68,240,162,155,148,68,240,162,161,132,68,240,162,161,138,68,240,162,172,140,68,240,162,175,177,68,240,163,128,138,68,240,163,138,184,68,240,163,141,159,68,240,163,142,147,68,240,163,142,156,68,240,163,143,131,68,240,163,143,149,68,240,163,145,173,68,240,163,154,163,68,240,163,162,167,68,240,163,170,141,68,240,163,171,186,68,240,163,178,188,68,240,163,180,158,68,240,163,187,145,68,240,163,189,158,68,240,163,190,142,68,240,164,137,163,68,240,164,139,174,68,240,164,142,171,68,240,164,152,136,68,240,164,156,181,68,240,164,160,148,68,240,164,176,182,68,240,164,178,146,68,240,164,190,161,68,240,164,190,184,68,240,165,129,132,68,240,165,131,178,68,240,165,131,179,68,240,165,132,153,68,240,165,132,179,68,240,165,137,137,68,240,165,144,157,68,240,165,152,166,68,240,165,154,154,68,240,165,155,133,68,240,165,165,188,68,240,165,170,167,68,240,165,174,171,68,240,165,178,128,68,240,165,179,144,68,240,165,190,134,68,240,166,135,154,68,240,166,136,168,68,240,166,137,135,68,240,166,139,153,68,240,166,140,190,68,240,166,147,154,68,240,166,148,163,68,240,166,150,168,68,240,166,158,167,68,240,166,158,181,68,240,166,172,188,68,240,166,176,182,68,240,166,179,149,68,240,166,181,171,68,240,166,188,172,68,240,166,190,177,68,240,167,131,146,68,240,167,143,138,68,240,167,153,167,68,240,167,162,174,68,240,167,165,166,68,240,167,178,168,68,240,167,187,147,68,240,167,188,175,68,240,168,151,146,68,240,168,151,173,68,240,168,156,174,68,240,168,175,186,68,240,168,181,183,68,240,169,133,133,68,240,169,135,159,68,240,169,136,154,68,240,169,144,138,68,240,169,146,150,68,240,169,150,182,68,240,169,172,176,68,240,170,131,142,68,240,170,132,133,68,240,170,136,142,68,240,170,138,145,68,240,170,142,146,68,240,170,152,128,66,33,33,66,33,63,66,46,46,66,48,44,66,48,46,66,49,44,66,49,46,66,49,48,66,49,49,66,49,50,66,49,51,66,49,52,66,49,53,66,49,54,66,49,55,66,49,56,66,49,57,66,50,44,66,50,46,66,50,48,66,50,49,66,50,50,66,50,51,66,50,52,66,50,53,66,50,54,66,50,55,66,50,56,66,50,57,66,51,44,66,51,46,66,51,48,66,51,49,66,51,50,66,51,51,66,51,52,66,51,53,66,51,54,66,51,55,66,51,56,66,51,57,66,52,44,66,52,46,66,52,48,66,52,49,66,52,50,66,52,51,66,52,52,66,52,53,66,52,54,66,52,55,66,52,56,66,52,57,66,53,44,66,53,46,66,53,48,66,54,44,66,54,46,66,55,44,66,55,46,66,56,44,66,56,46,66,57,44,66,57,46,66,61,61,66,63,33,66,63,63,66,65,85,66,66,113,66,67,68,66,68,74,66,68,90,66,68,122,66,71,66,66,71,121,66,72,80,66,72,86,66,72,103,66,72,122,66,73,73,66,73,74,66,73,85,66,73,86,66,73,88,66,75,66,66,75,75,66,75,77,66,76,74,66,76,106,66,77,66,66,77,67,66,77,68,66,77,86,66,77,87,66,78,74,66,78,106,66,78,111,66,80,72,66,80,82,66,80,97,66,82,115,66,83,68,66,83,77,66,83,83,66,83,118,66,84,77,66,86,73,66,87,67,66,87,90,66,87,98,66,88,73,66,99,99,66,99,100,66,99,109,66,100,66,66,100,97,66,100,108,66,100,109,66,100,122,66,101,86,66,102,102,66,102,105,66,102,108,66,102,109,66,104,97,66,105,105,66,105,106,66,105,110,66,105,118,66,105,120,66,107,65,66,107,86,66,107,87,66,107,103,66,107,108,66,107,109,66,107,116,66,108,106,66,108,109,66,108,110,66,108,120,66,109,50,66,109,51,66,109,65,66,109,86,66,109,87,66,109,98,66,109,103,66,109,108,66,109,109,66,109,115,66,110,65,66,110,70,66,110,86,66,110,87,66,110,106,66,110,109,66,110,115,66,111,86,66,112,65,66,112,70,66,112,86,66,112,87,66,112,99,66,112,115,66,115,114,66,115,116,66,118,105,66,120,105,67,40,49,41,67,40,50,41,67,40,51,41,67,40,52,41,67,40,53,41,67,40,54,41,67,40,55,41,67,40,56,41,67,40,57,41,67,40,65,41,67,40,66,41,67,40,67,41,67,40,68,41,67,40,69,41,67,40,70,41,67,40,71,41,67,40,72,41,67,40,73,41,67,40,74,41,67,40,75,41,67,40,76,41,67,40,77,41,67,40,78,41,67,40,79,41,67,40,80,41,67,40,81,41,67,40,82,41,67,40,83,41,67,40,84,41,67,40,85,41,67,40,86,41,67,40,87,41,67,40,88,41,67,40,89,41,67,40,90,41,67,40,97,41,67,40,98,41,67,40,99,41,67,40,100,41,67,40,101,41,67,40,102,41,67,40,103,41,67,40,104,41,67,40,105,41,67,40,106,41,67,40,107,41,67,40,108,41,67,40,109,41,67,40,110,41,67,40,111,41,67,40,112,41,67,40,113,41,67,40,114,41,67,40,115,41,67,40,116,41,67,40,117,41,67,40,118,41,67,40,119,41,67,40,120,41,67,40,121,41,67,40,122,41,67,46,46,46,67,49,48,46,67,49,49,46,67,49,50,46,67,49,51,46,67,49,52,46,67,49,53,46,67,49,54,46,67,49,55,46,67,49,56,46,67,49,57,46,67,50,48,46,67,58,58,61,67,61,61,61,67,67,111,46,67,70,65,88,67,71,72,122,67,71,80,97,67,73,73,73,67,76,84,68,67,76,194,183,67,77,72,122,67,77,80,97,67,77,206,169,67,80,80,77,67,80,80,86,67,80,84,69,67,84,69,76,67,84,72,122,67,86,73,73,67,88,73,73,67,97,47,99,67,97,47,115,67,97,202,190,67,98,97,114,67,99,47,111,67,99,47,117,67,99,97,108,67,99,109,50,67,99,109,51,67,100,109,50,67,100,109,51,67,101,114,103,67,102,102,105,67,102,102,108,67,103,97,108,67,104,80,97,67,105,105,105,67,107,72,122,67,107,80,97,67,107,109,50,67,107,109,51,67,107,206,169,67,108,111,103,67,108,194,183,67,109,105,108,67,109,109,50,67,109,109,51,67,109,111,108,67,114,97,100,67,118,105,105,67,120,105,105,67,194,176,67,67,194,176,70,67,202,188,110,67,206,188,65,67,206,188,70,67,206,188,86,67,206,188,87,67,206,188,103,67,206,188,108,67,206,188,109,67,206,188,115,68,40,49,48,41,68,40,49,49,41,68,40,49,50,41,68,40,49,51,41,68,40,49,52,41,68,40,49,53,41,68,40,49,54,41,68,40,49,55,41,68,40,49,56,41,68,40,49,57,41,68,40,50,48,41,68,48,231,130,185,68,49,226,129,132,68,49,230,151,165,68,49,230,156,136,68,49,231,130,185,68,50,230,151,165,68,50,230,156,136,68,50,231,130,185,68,51,230,151,165,68,51,230,156,136,68,51,231,130,185,68,52,230,151,165,68,52,230,156,136,68,52,231,130,185,68,53,230,151,165,68,53,230,156,136,68,53,231,130,185,68,54,230,151,165,68,54,230,156,136,68,54,231,130,185,68,55,230,151,165,68,55,230,156,136,68,55,231,130,185,68,56,230,151,165,68,56,230,156,136,68,56,231,130,185,68,57,230,151,165,68,57,230,156,136,68,57,231,130,185,68,86,73,73,73,68,97,46,109,46,68,107,99,97,108,68,112,46,109,46,68,118,105,105,105,68,213,165,214,130,68,213,180,213,165,68,213,180,213,171,68,213,180,213,173,68,213,180,213,182,68,213,190,213,182,68,215,144,215,156,68,216,167,217,180,68,216,168,216,172,68,216,168,216,173,68,216,168,216,174,68,216,168,216,177,68,216,168,216,178,68,216,168,217,133,68,216,168,217,134,68,216,168,217,135,68,216,168,217,137,68,216,168,217,138,68,216,170,216,172,68,216,170,216,173,68,216,170,216,174,68,216,170,216,177,68,216,170,216,178,68,216,170,217,133,68,216,170,217,134,68,216,170,217,135,68,216,170,217,137,68,216,170,217,138,68,216,171,216,172,68,216,171,216,177,68,216,171,216,178,68,216,171,217,133,68,216,171,217,134,68,216,171,217,135,68,216,171,217,137,68,216,171,217,138,68,216,172,216,173,68,216,172,217,133,68,216,172,217,137,68,216,172,217,138,68,216,173,216,172,68,216,173,217,133,68,216,173,217,137,68,216,173,217,138,68,216,174,216,172,68,216,174,216,173,68,216,174,217,133,68,216,174,217,137,68,216,174,217,138,68,216,179,216,172,68,216,179,216,173,68,216,179,216,174,68,216,179,216,177,68,216,179,217,133,68,216,179,217,135,68,216,179,217,137,68,216,179,217,138,68,216,180,216,172,68,216,180,216,173,68,216,180,216,174,68,216,180,216,177,68,216,180,217,133,68,216,180,217,135,68,216,180,217,137,68,216,180,217,138,68,216,181,216,173,68,216,181,216,174,68,216,181,216,177,68,216,181,217,133,68,216,181,217,137,68,216,181,217,138,68,216,182,216,172,68,216,182,216,173,68,216,182,216,174,68,216,182,216,177,68,216,182,217,133,68,216,182,217,137,68,216,182,217,138,68,216,183,216,173,68,216,183,217,133,68,216,183,217,137,68,216,183,217,138,68,216,184,217,133,68,216,185,216,172,68,216,185,217,133,68,216,185,217,137,68,216,185,217,138,68,216,186,216,172,68,216,186,217,133,68,216,186,217,137,68,216,186,217,138,68,217,129,216,172,68,217,129,216,173,68,217,129,216,174,68,217,129,217,133,68,217,129,217,137,68,217,129,217,138,68,217,130,216,173,68,217,130,217,133,68,217,130,217,137,68,217,130,217,138,68,217,131,216,167,68,217,131,216,172,68,217,131,216,173,68,217,131,216,174,68,217,131,217,132,68,217,131,217,133,68,217,131,217,137,68,217,131,217,138,68,217,132,216,167,68,217,132,216,172,68,217,132,216,173,68,217,132,216,174,68,217,132,217,133,68,217,132,217,135,68,217,132,217,137,68,217,132,217,138,68,217,133,216,167,68,217,133,216,172,68,217,133,216,173,68,217,133,216,174,68,217,133,217,133,68,217,133,217,137,68,217,133,217,138,68,217,134,216,172,68,217,134,216,173,68,217,134,216,174,68,217,134,216,177,68,217,134,216,178,68,217,134,217,133,68,217,134,217,134,68,217,134,217,135,68,217,134,217,137,68,217,134,217,138,68,217,135,216,172,68,217,135,217,133,68,217,135,217,137,68,217,135,217,138,68,217,136,217,180,68,217,138,216,172,68,217,138,216,173,68,217,138,216,174,68,217,138,216,177,68,217,138,216,178,68,217,138,217,133,68,217,138,217,134,68,217,138,217,135,68,217,138,217,137,68,217,138,217,138,68,217,138,217,180,68,219,135,217,180,69,40,225,132,128,41,69,40,225,132,130,41,69,40,225,132,131,41,69,40,225,132,133,41,69,40,225,132,134,41,69,40,225,132,135,41,69,40,225,132,137,41,69,40,225,132,139,41,69,40,225,132,140,41,69,40,225,132,142,41,69,40,225,132,143,41,69,40,225,132,144,41,69,40,225,132,145,41,69,40,225,132,146,41,69,40,228,184,128,41,69,40,228,184,131,41,69,40,228,184,137,41,69,40,228,185,157,41,69,40,228,186,140,41,69,40,228,186,148,41,69,40,228,187,163,41,69,40,228,188,129,41,69,40,228,188,145,41,69,40,229,133,171,41,69,40,229,133,173,41,69,40,229,138,180,41,69,40,229,141,129,41,69,40,229,141,148,41,69,40,229,144,141,41,69,40,229,145,188,41,69,40,229,155,155,41,69,40,229,156,159,41,69,40,229,173,166,41,69,40,230,151,165,41,69,40,230,156,136,41,69,40,230,156,137,41,69,40,230,156,168,41,69,40,230,160,170,41,69,40,230,176,180,41,69,40,231,129,171,41,69,40,231,137,185,41,69,40,231,155,163,41,69,40,231,164,190,41,69,40,231,165,157,41,69,40,231,165,173,41,69,40,232,135,170,41,69,40,232,135,179,41,69,40,232,178,161,41,69,40,232,179,135,41,69,40,233,135,145,41,69,48,226,129,132,51,69,49,48,230,151,165,69,49,48,230,156,136,69,49,48,231,130,185,69,49,49,230,151,165,69,49,49,230,156,136,69,49,49,231,130,185,69,49,50,230,151,165,69,49,50,230,156,136,69,49,50,231,130,185,69,49,51,230,151,165,69,49,51,231,130,185,69,49,52,230,151,165,69,49,52,231,130,185,69,49,53,230,151,165,69,49,53,231,130,185,69,49,54,230,151,165,69,49,54,231,130,185,69,49,55,230,151,165,69,49,55,231,130,185,69,49,56,230,151,165,69,49,56,231,130,185,69,49,57,230,151,165,69,49,57,231,130,185,69,49,226,129,132,50,69,49,226,129,132,51,69,49,226,129,132,52,69,49,226,129,132,53,69,49,226,129,132,54,69,49,226,129,132,55,69,49,226,129,132,56,69,49,226,129,132,57,69,50,48,230,151,165,69,50,48,231,130,185,69,50,49,230,151,165,69,50,49,231,130,185,69,50,50,230,151,165,69,50,50,231,130,185,69,50,51,230,151,165,69,50,51,231,130,185,69,50,52,230,151,165,69,50,52,231,130,185,69,50,53,230,151,165,69,50,54,230,151,165,69,50,55,230,151,165,69,50,56,230,151,165,69,50,57,230,151,165,69,50,226,129,132,51,69,50,226,129,132,53,69,51,48,230,151,165,69,51,49,230,151,165,69,51,226,129,132,52,69,51,226,129,132,53,69,51,226,129,132,56,69,52,226,129,132,53,69,53,226,129,132,54,69,53,226,129,132,56,69,55,226,129,132,56,69,65,226,136,149,109,69,86,226,136,149,109,69,109,226,136,149,115,70,49,226,129,132,49,48,70,67,226,136,149,107,103,70,109,226,136,149,115,50,70,216,168,216,173,217,138,70,216,168,216,174,217,138,70,216,170,216,172,217,133,70,216,170,216,172,217,137,70,216,170,216,172,217,138,70,216,170,216,173,216,172,70,216,170,216,173,217,133,70,216,170,216,174,217,133,70,216,170,216,174,217,137,70,216,170,216,174,217,138,70,216,170,217,133,216,172,70,216,170,217,133,216,173,70,216,170,217,133,216,174,70,216,170,217,133,217,137,70,216,170,217,133,217,138,70,216,172,216,173,217,137,70,216,172,216,173,217,138,70,216,172,217,133,216,173,70,216,172,217,133,217,137,70,216,172,217,133,217,138,70,216,173,216,172,217,138,70,216,173,217,133,217,137,70,216,173,217,133,217,138,70,216,179,216,172,216,173,70,216,179,216,172,217,137,70,216,179,216,173,216,172,70,216,179,216,174,217,137,70,216,179,216,174,217,138,70,216,179,217,133,216,172,70,216,179,217,133,216,173,70,216,179,217,133,217,133,70,216,180,216,172,217,138,70,216,180,216,173,217,133,70,216,180,216,173,217,138,70,216,180,217,133,216,174,70,216,180,217,133,217,133,70,216,181,216,173,216,173,70,216,181,216,173,217,138,70,216,181,217,132,217,137,70,216,181,217,132,219,146,70,216,181,217,133,217,133,70,216,182,216,173,217,137,70,216,182,216,173,217,138,70,216,182,216,174,217,133,70,216,183,217,133,216,173,70,216,183,217,133,217,133,70,216,183,217,133,217,138,70,216,185,216,172,217,133,70,216,185,217,133,217,133,70,216,185,217,133,217,137,70,216,185,217,133,217,138,70,216,186,217,133,217,133,70,216,186,217,133,217,137,70,216,186,217,133,217,138,70,217,129,216,174,217,133,70,217,129,217,133,217,138,70,217,130,217,132,219,146,70,217,130,217,133,216,173,70,217,130,217,133,217,133,70,217,130,217,133,217,138,70,217,131,217,133,217,133,70,217,131,217,133,217,138,70,217,132,216,172,216,172,70,217,132,216,172,217,133,70,217,132,216,172,217,138,70,217,132,216,173,217,133,70,217,132,216,173,217,137,70,217,132,216,173,217,138,70,217,132,216,174,217,133,70,217,132,217,133,216,173,70,217,132,217,133,217,138,70,217,133,216,172,216,173,70,217,133,216,172,216,174,70,217,133,216,172,217,133,70,217,133,216,172,217,138,70,217,133,216,173,216,172,70,217,133,216,173,217,133,70,217,133,216,173,217,138,70,217,133,216,174,216,172,70,217,133,216,174,217,133,70,217,133,216,174,217,138,70,217,133,217,133,217,138,70,217,134,216,172,216,173,70,217,134,216,172,217,133,70,217,134,216,172,217,137,70,217,134,216,172,217,138,70,217,134,216,173,217,133,70,217,134,216,173,217,137,70,217,134,216,173,217,138,70,217,134,217,133,217,137,70,217,134,217,133,217,138,70,217,135,217,133,216,172,70,217,135,217,133,217,133,70,217,138,216,172,217,138,70,217,138,216,173,217,138,70,217,138,217,133,217,133,70,217,138,217,133,217,138,70,217,138,217,148,216,167,70,217,138,217,148,216,172,70,217,138,217,148,216,173,70,217,138,217,148,216,174,70,217,138,217,148,216,177,70,217,138,217,148,216,178,70,217,138,217,148,217,133,70,217,138,217,148,217,134,70,217,138,217,148,217,135,70,217,138,217,148,217,136,70,217,138,217,148,217,137,70,217,138,217,148,217,138,70,217,138,217,148,219,134,70,217,138,217,148,219,135,70,217,138,217,148,219,136,70,217,138,217,148,219,144,70,217,138,217,148,219,149,70,224,185,141,224,184,178,70,224,186,171,224,186,153,70,224,186,171,224,186,161,70,224,187,141,224,186,178,70,224,189,128,224,190,181,70,224,189,130,224,190,183,70,224,189,140,224,190,183,70,224,189,145,224,190,183,70,224,189,150,224,190,183,70,224,189,155,224,190,183,70,224,190,144,224,190,181,70,224,190,146,224,190,183,70,224,190,156,224,190,183,70,224,190,161,224,190,183,70,224,190,166,224,190,183,70,224,190,171,224,190,183,70,226,128,178,226,128,178,70,226,128,181,226,128,181,70,226,136,171,226,136,171,70,226,136,174,226,136,174,70,227,129,187,227,129,139,70,227,130,136,227,130,138,70,227,130,173,227,131,173,70,227,130,179,227,130,179,70,227,130,179,227,131,136,70,227,131,136,227,131,179,70,227,131,138,227,131,142,70,227,131,155,227,131,179,70,227,131,159,227,131,170,70,227,131,170,227,131,169,70,227,131,172,227,131,160,70,229,164,167,230,173,163,70,229,185,179,230,136,144,70,230,152,142,230,178,187,70,230,152,173,229,146,140,71,114,97,100,226,136,149,115,71,227,128,148,83,227,128,149,72,40,225,132,128,225,133,161,41,72,40,225,132,130,225,133,161,41,72,40,225,132,131,225,133,161,41,72,40,225,132,133,225,133,161,41,72,40,225,132,134,225,133,161,41,72,40,225,132,135,225,133,161,41,72,40,225,132,137,225,133,161,41,72,40,225,132,139,225,133,161,41,72,40,225,132,140,225,133,161,41,72,40,225,132,140,225,133,174,41,72,40,225,132,142,225,133,161,41,72,40,225,132,143,225,133,161,41,72,40,225,132,144,225,133,161,41,72,40,225,132,145,225,133,161,41,72,40,225,132,146,225,133,161,41,72,114,97,100,226,136,149,115,50,72,216,167,217,131,216,168,216,177,72,216,167,217,132,217,132,217,135,72,216,177,216,179,217,136,217,132,72,216,177,219,140,216,167,217,132,72,216,181,217,132,216,185,217,133,72,216,185,217,132,217,138,217,135,72,217,133,216,173,217,133,216,175,72,217,136,216,179,217,132,217,133,73,226,128,178,226,128,178,226,128,178,73,226,128,181,226,128,181,226,128,181,73,226,136,171,226,136,171,226,136,171,73,226,136,174,226,136,174,226,136,174,73,227,128,148,228,184,137,227,128,149,73,227,128,148,228,186,140,227,128,149,73,227,128,148,229,139,157,227,128,149,73,227,128,148,229,174,137,227,128,149,73,227,128,148,230,137,147,227,128,149,73,227,128,148,230,149,151,227,128,149,73,227,128,148,230,156,172,227,128,149,73,227,128,148,231,130,185,227,128,149,73,227,128,148,231,155,151,227,128,149,73,227,130,162,227,131,188,227,131,171,73,227,130,164,227,131,179,227,131,129,73,227,130,166,227,130,169,227,131,179,73,227,130,170,227,131,179,227,130,185,73,227,130,170,227,131,188,227,131,160,73,227,130,171,227,130,164,227,131,170,73,227,130,177,227,131,188,227,130,185,73,227,130,179,227,131,171,227,131,138,73,227,130,187,227,131,179,227,131,129,73,227,130,187,227,131,179,227,131,136,73,227,131,134,227,130,153,227,130,183,73,227,131,136,227,130,153,227,131,171,73,227,131,142,227,131,131,227,131,136,73,227,131,143,227,130,164,227,131,132,73,227,131,146,227,130,153,227,131,171,73,227,131,146,227,130,154,227,130,179,73,227,131,149,227,131,169,227,131,179,73,227,131,152,227,130,154,227,130,189,73,227,131,152,227,131,171,227,131,132,73,227,131,155,227,131,188,227,131,171,73,227,131,155,227,131,188,227,131,179,73,227,131,158,227,130,164,227,131,171,73,227,131,158,227,131,131,227,131,143,73,227,131,158,227,131,171,227,130,175,73,227,131,164,227,131,188,227,131,171,73,227,131,166,227,130,162,227,131,179,73,227,131,175,227,131,131,227,131,136,76,226,128,178,226,128,178,226,128,178,226,128,178,76,226,136,171,226,136,171,226,136,171,226,136,171,76,227,130,162,227,131,171,227,131,149,227,130,161,76,227,130,168,227,131,188,227,130,171,227,131,188,76,227,130,171,227,130,153,227,131,173,227,131,179,76,227,130,171,227,130,153,227,131,179,227,131,158,76,227,130,171,227,131,169,227,131,131,227,131,136,76,227,130,171,227,131,173,227,131,170,227,131,188,76,227,130,173,227,130,153,227,131,139,227,131,188,76,227,130,173,227,131,165,227,131,170,227,131,188,76,227,130,175,227,130,153,227,131,169,227,131,160,76,227,130,175,227,131,173,227,131,188,227,131,141,76,227,130,181,227,130,164,227,130,175,227,131,171,76,227,130,191,227,130,153,227,131,188,227,130,185,76,227,131,143,227,130,154,227,131,188,227,131,132,76,227,131,146,227,130,154,227,130,175,227,131,171,76,227,131,149,227,130,163,227,131,188,227,131,136,76,227,131,152,227,130,153,227,131,188,227,130,191,76,227,131,152,227,130,154,227,131,139,227,131,146,76,227,131,152,227,130,154,227,131,179,227,130,185,76,227,131,155,227,130,153,227,131,171,227,131,136,76,227,131,158,227,130,164,227,130,175,227,131,173,76,227,131,159,227,130,175,227,131,173,227,131,179,76,227,131,161,227,131,188,227,131,136,227,131,171,76,227,131,170,227,131,131,227,131,136,227,131,171,76,227,131,171,227,131,146,227,130,154,227,131,188,76,230,160,170,229,188,143,228,188,154,231,164,190,78,40,225,132,139,225,133,169,225,132,146,225,133,174,41,79,216,172,217,132,32,216,172,217,132,216,167,217,132,217,135,79,227,130,162,227,131,143,227,130,154,227,131,188,227,131,136,79,227,130,162,227,131,179,227,131,152,227,130,154,227,130,162,79,227,130,173,227,131,173,227,131,175,227,131,131,227,131,136,79,227,130,181,227,131,179,227,131,129,227,131,188,227,131,160,79,227,131,143,227,130,153,227,131,188,227,131,172,227,131,171,79,227,131,152,227,130,175,227,130,191,227,131,188,227,131,171,79,227,131,155,227,130,154,227,130,164,227,131,179,227,131,136,79,227,131,158,227,131,179,227,130,183,227,131,167,227,131,179,79,227,131,161,227,130,171,227,130,153,227,131,136,227,131,179,79,227,131,171,227,131,188,227,131,149,227,130,153,227,131,171,81,40,225,132,139,225,133,169,225,132,140,225,133,165,225,134,171,41,82,227,130,173,227,130,153,227,131,171,227,130,191,227,130,153,227,131,188,82,227,130,173,227,131,173,227,130,175,227,130,153,227,131,169,227,131,160,82,227,130,173,227,131,173,227,131,161,227,131,188,227,131,136,227,131,171,82,227,130,175,227,130,153,227,131,169,227,131,160,227,131,136,227,131,179,82,227,130,175,227,131,171,227,130,187,227,130,153,227,130,164,227,131,173,82,227,131,143,227,130,154,227,131,188,227,130,187,227,131,179,227,131,136,82,227,131,146,227,130,154,227,130,162,227,130,185,227,131,136,227,131,171,82,227,131,149,227,130,153,227,131,131,227,130,183,227,130,167,227,131,171,82,227,131,159,227,131,170,227,131,143,227,130,153,227,131,188,227,131,171,82,227,131,172,227,131,179,227,131,136,227,130,177,227,130,153,227,131,179,97,216,181,217,132,217,137,32,216,167,217,132,217,132,217,135,32,216,185,217,132,217,138,217,135,32,217,136,216,179,217,132,217,133,6,224,167,135,224,166,190,1,6,224,167,135,224,167,151,1,6,224,173,135,224,172,190,1,6,224,173,135,224,173,150,1,6,224,173,135,224,173,151,1,6,224,174,146,224,175,151,1,6,224,175,134,224,174,190,1,6,224,175,134,224,175,151,1,6,224,175,135,224,174,190,1,6,224,178,191,224,179,149,1,6,224,179,134,224,179,149,1,6,224,179,134,224,179,150,1,6,224,181,134,224,180,190,1,6,224,181,134,224,181,151,1,6,224,181,135,224,180,190,1,6,224,183,153,224,183,159,1,6,225,128,165,225,128,174,1,6,225,172,133,225,172,181,1,6,225,172,135,225,172,181,1,6,225,172,137,225,172,181,1,6,225,172,139,225,172,181,1,6,225,172,141,225,172,181,1,6,225,172,145,225,172,181,1,6,225,172,186,225,172,181,1,6,225,172,188,225,172,181,1,6,225,172,190,225,172,181,1,6,225,172,191,225,172,181,1,6,225,173,130,225,172,181,1,8,240,145,132,177,240,145,132,167,1,8,240,145,132,178,240,145,132,167,1,8,240,145,141,135,240,145,140,190,1,8,240,145,141,135,240,145,141,151,1,8,240,145,146,185,240,145,146,176,1,8,240,145,146,185,240,145,146,186,1,8,240,145,146,185,240,145,146,189,1,8,240,145,150,184,240,145,150,175,1,8,240,145,150,185,240,145,150,175,1,9,224,179,134,224,179,130,224,179,149,2,9,224,183,153,224,183,143,224,183,138,18,68,68,90,204,140,201,68,68,122,204,140,201,68,100,122,204,140,201,70,217,132,216,167,217,147,201,70,217,132,216,167,217,148,201,70,217,132,216,167,217,149,181,70,225,132,128,225,133,161,1,70,225,132,130,225,133,161,1,70,225,132,131,225,133,161,1,70,225,132,133,225,133,161,1,70,225,132,134,225,133,161,1,70,225,132,135,225,133,161,1,70,225,132,137,225,133,161,1,70,225,132,139,225,133,161,1,70,225,132,139,225,133,174,1,70,225,132,140,225,133,161,1,70,225,132,142,225,133,161,1,70,225,132,143,225,133,161,1,70,225,132,144,225,133,161,1,70,225,132,145,225,133,161,1,70,225,132,146,225,133,161,1,73,227,131,161,227,130,171,227,130,153,13,76,225,132,140,225,133,174,225,132,139,225,133,180,1,76,227,130,173,227,130,153,227,130,171,227,130,153,13,76,227,130,179,227,131,188,227,131,155,227,130,154,13,76,227,131,164,227,131,188,227,131,136,227,130,153,13,79,225,132,142,225,133,161,225,134,183,225,132,128,225,133,169,1,79,227,130,164,227,131,139,227,131,179,227,130,175,227,130,153,13,79,227,130,183,227,131,170,227,131,179,227,130,175,227,130,153,13,79,227,131,152,227,130,154,227,131,188,227,130,183,227,130,153,13,79,227,131,155,227,130,154,227,131,179,227,131,136,227,130,153,13,82,227,130,168,227,130,185,227,130,175,227,131,188,227,131,136,227,130,153,13,82,227,131,149,227,130,161,227,131,169,227,131,131,227,131,136,227,130,153,13,134,224,179,134,224,179,130,1,134,224,183,153,224,183,143,1,3,60,204,184,5,3,61,204,184,5,3,62,204,184,5,3,65,204,128,201,3,65,204,129,201,3,65,204,131,201,3,65,204,132,201,3,65,204,137,201,3,65,204,140,201,3,65,204,143,201,3,65,204,145,201,3,65,204,165,181,3,65,204,168,165,3,66,204,135,201,3,66,204,163,181,3,66,204,177,181,3,67,204,129,201,3,67,204,130,201,3,67,204,135,201,3,67,204,140,201,3,68,204,135,201,3,68,204,140,201,3,68,204,163,181,3,68,204,167,165,3,68,204,173,181,3,68,204,177,181,3,69,204,128,201,3,69,204,129,201,3,69,204,131,201,3,69,204,134,201,3,69,204,135,201,3,69,204,136,201,3,69,204,137,201,3,69,204,140,201,3,69,204,143,201,3,69,204,145,201,3,69,204,168,165,3,69,204,173,181,3,69,204,176,181,3,70,204,135,201,3,71,204,129,201,3,71,204,130,201,3,71,204,132,201,3,71,204,134,201,3,71,204,135,201,3,71,204,140,201,3,71,204,167,165,3,72,204,130,201,3,72,204,135,201,3,72,204,136,201,3,72,204,140,201,3,72,204,163,181,3,72,204,167,165,3,72,204,174,181,3,73,204,128,201,3,73,204,129,201,3,73,204,130,201,3,73,204,131,201,3,73,204,132,201,3,73,204,134,201,3,73,204,135,201,3,73,204,137,201,3,73,204,140,201,3,73,204,143,201,3,73,204,145,201,3,73,204,163,181,3,73,204,168,165,3,73,204,176,181,3,74,204,130,201,3,75,204,129,201,3,75,204,140,201,3,75,204,163,181,3,75,204,167,165,3,75,204,177,181,3,76,204,129,201,3,76,204,140,201,3,76,204,167,165,3,76,204,173,181,3,76,204,177,181,3,77,204,129,201,3,77,204,135,201,3,77,204,163,181,3,78,204,128,201,3,78,204,129,201,3,78,204,131,201,3,78,204,135,201,3,78,204,140,201,3,78,204,163,181,3,78,204,167,165,3,78,204,173,181,3,78,204,177,181,3,79,204,128,201,3,79,204,129,201,3,79,204,134,201,3,79,204,137,201,3,79,204,139,201,3,79,204,140,201,3,79,204,143,201,3,79,204,145,201,3,80,204,129,201,3,80,204,135,201,3,82,204,129,201,3,82,204,135,201,3,82,204,140,201,3,82,204,143,201,3,82,204,145,201,3,82,204,167,165,3,82,204,177,181,3,83,204,130,201,3,83,204,135,201,3,83,204,166,181,3,83,204,167,165,3,84,204,135,201,3,84,204,140,201,3,84,204,163,181,3,84,204,166,181,3,84,204,167,165,3,84,204,173,181,3,84,204,177,181,3,85,204,128,201,3,85,204,129,201,3,85,204,130,201,3,85,204,134,201,3,85,204,137,201,3,85,204,138,201,3,85,204,139,201,3,85,204,140,201,3,85,204,143,201,3,85,204,145,201,3,85,204,163,181,3,85,204,164,181,3,85,204,168,165,3,85,204,173,181,3,85,204,176,181,3,86,204,131,201,3,86,204,163,181,3,87,204,128,201,3,87,204,129,201,3,87,204,130,201,3,87,204,135,201,3,87,204,136,201,3,87,204,163,181,3,88,204,135,201,3,88,204,136,201,3,89,204,128,201,3,89,204,129,201,3,89,204,130,201,3,89,204,131,201,3,89,204,132,201,3,89,204,135,201,3,89,204,136,201,3,89,204,137,201,3,89,204,163,181,3,90,204,129,201,3,90,204,130,201,3,90,204,135,201,3,90,204,140,201,3,90,204,163,181,3,90,204,177,181,3,97,204,128,201,3,97,204,129,201,3,97,204,131,201,3,97,204,132,201,3,97,204,137,201,3,97,204,140,201,3,97,204,143,201,3,97,204,145,201,3,97,204,165,181,3,97,204,168,165,3,98,204,135,201,3,98,204,163,181,3,98,204,177,181,3,99,204,129,201,3,99,204,130,201,3,99,204,135,201,3,99,204,140,201,3,100,204,135,201,3,100,204,140,201,3,100,204,163,181,3,100,204,167,165,3,100,204,173,181,3,100,204,177,181,3,101,204,128,201,3,101,204,129,201,3,101,204,131,201,3,101,204,134,201,3,101,204,135,201,3,101,204,136,201,3,101,204,137,201,3,101,204,140,201,3,101,204,143,201,3,101,204,145,201,3,101,204,168,165,3,101,204,173,181,3,101,204,176,181,3,102,204,135,201,3,103,204,129,201,3,103,204,130,201,3,103,204,132,201,3,103,204,134,201,3,103,204,135,201,3,103,204,140,201,3,103,204,167,165,3,104,204,130,201,3,104,204,135,201,3,104,204,136,201,3,104,204,140,201,3,104,204,163,181,3,104,204,167,165,3,104,204,174,181,3,104,204,177,181,3,105,204,128,201,3,105,204,129,201,3,105,204,130,201,3,105,204,131,201,3,105,204,132,201,3,105,204,134,201,3,105,204,137,201,3,105,204,140,201,3,105,204,143,201,3,105,204,145,201,3,105,204,163,181,3,105,204,168,165,3,105,204,176,181,3,106,204,130,201,3,106,204,140,201,3,107,204,129,201,3,107,204,140,201,3,107,204,163,181,3,107,204,167,165,3,107,204,177,181,3,108,204,129,201,3,108,204,140,201,3,108,204,167,165,3,108,204,173,181,3,108,204,177,181,3,109,204,129,201,3,109,204,135,201,3,109,204,163,181,3,110,204,128,201,3,110,204,129,201,3,110,204,131,201,3,110,204,135,201,3,110,204,140,201,3,110,204,163,181,3,110,204,167,165,3,110,204,173,181,3,110,204,177,181,3,111,204,128,201,3,111,204,129,201,3,111,204,134,201,3,111,204,137,201,3,111,204,139,201,3,111,204,140,201,3,111,204,143,201,3,111,204,145,201,3,112,204,129,201,3,112,204,135,201,3,114,204,129,201,3,114,204,135,201,3,114,204,140,201,3,114,204,143,201,3,114,204,145,201,3,114,204,167,165,3,114,204,177,181,3,115,204,130,201,3,115,204,135,201,3,115,204,166,181,3,115,204,167,165,3,116,204,135,201,3,116,204,136,201,3,116,204,140,201,3,116,204,163,181,3,116,204,166,181,3,116,204,167,165,3,116,204,173,181,3,116,204,177,181,3,117,204,128,201,3,117,204,129,201,3,117,204,130,201,3,117,204,134,201,3,117,204,137,201,3,117,204,138,201,3,117,204,139,201,3,117,204,140,201,3,117,204,143,201,3,117,204,145,201,3,117,204,163,181,3,117,204,164,181,3,117,204,168,165,3,117,204,173,181,3,117,204,176,181,3,118,204,131,201,3,118,204,163,181,3,119,204,128,201,3,119,204,129,201,3,119,204,130,201,3,119,204,135,201,3,119,204,136,201,3,119,204,138,201,3,119,204,163,181,3,120,204,135,201,3,120,204,136,201,3,121,204,128,201,3,121,204,129,201,3,121,204,130,201,3,121,204,131,201,3,121,204,132,201,3,121,204,135,201,3,121,204,136,201,3,121,204,137,201,3,121,204,138,201,3,121,204,163,181,3,122,204,129,201,3,122,204,130,201,3,122,204,135,201,3,122,204,140,201,3,122,204,163,181,3,122,204,177,181,4,194,168,204,128,202,4,194,168,204,129,202,4,194,168,205,130,202,4,195,134,204,129,201,4,195,134,204,132,201,4,195,152,204,129,201,4,195,166,204,129,201,4,195,166,204,132,201,4,195,184,204,129,201,4,197,191,204,135,201,4,198,183,204,140,201,4,202,146,204,140,201,4,206,145,204,128,201,4,206,145,204,129,201,4,206,145,204,132,201,4,206,145,204,134,201,4,206,145,205,133,217,4,206,149,204,128,201,4,206,149,204,129,201,4,206,151,204,128,201,4,206,151,204,129,201,4,206,151,205,133,217,4,206,153,204,128,201,4,206,153,204,129,201,4,206,153,204,132,201,4,206,153,204,134,201,4,206,153,204,136,201,4,206,159,204,128,201,4,206,159,204,129,201,4,206,161,204,148,201,4,206,165,204,128,201,4,206,165,204,129,201,4,206,165,204,132,201,4,206,165,204,134,201,4,206,165,204,136,201,4,206,169,204,128,201,4,206,169,204,129,201,4,206,169,205,133,217,4,206,177,204,132,201,4,206,177,204,134,201,4,206,177,205,133,217,4,206,181,204,128,201,4,206,181,204,129,201,4,206,183,205,133,217,4,206,185,204,128,201,4,206,185,204,129,201,4,206,185,204,132,201,4,206,185,204,134,201,4,206,185,205,130,201,4,206,191,204,128,201,4,206,191,204,129,201,4,207,129,204,147,201,4,207,129,204,148,201,4,207,133,204,128,201,4,207,133,204,129,201,4,207,133,204,132,201,4,207,133,204,134,201,4,207,133,205,130,201,4,207,137,205,133,217,4,207,146,204,129,201,4,207,146,204,136,201,4,208,134,204,136,201,4,208,144,204,134,201,4,208,144,204,136,201,4,208,147,204,129,201,4,208,149,204,128,201,4,208,149,204,134,201,4,208,149,204,136,201,4,208,150,204,134,201,4,208,150,204,136,201,4,208,151,204,136,201,4,208,152,204,128,201,4,208,152,204,132,201,4,208,152,204,134,201,4,208,152,204,136,201,4,208,154,204,129,201,4,208,158,204,136,201,4,208,163,204,132,201,4,208,163,204,134,201,4,208,163,204,136,201,4,208,163,204,139,201,4,208,167,204,136,201,4,208,171,204,136,201,4,208,173,204,136,201,4,208,176,204,134,201,4,208,176,204,136,201,4,208,179,204,129,201,4,208,181,204,128,201,4,208,181,204,134,201,4,208,181,204,136,201,4,208,182,204,134,201,4,208,182,204,136,201,4,208,183,204,136,201,4,208,184,204,128,201,4,208,184,204,132,201,4,208,184,204,134,201,4,208,184,204,136,201,4,208,186,204,129,201,4,208,190,204,136,201,4,209,131,204,132,201,4,209,131,204,134,201,4,209,131,204,136,201,4,209,131,204,139,201,4,209,135,204,136,201,4,209,139,204,136,201,4,209,141,204,136,201,4,209,150,204,136,201,4,209,180,204,143,201,4,209,181,204,143,201,4,211,152,204,136,201,4,211,153,204,136,201,4,211,168,204,136,201,4,211,169,204,136,201,4,216,167,217,147,201,4,216,167,217,148,201,4,216,167,217,149,181,4,217,136,217,148,201,4,217,138,217,148,201,4,219,129,217,148,201,4,219,146,217,148,201,4,219,149,217,148,201,5,65,204,130,204,128,202,5,65,204,130,204,129,202,5,65,204,130,204,131,202,5,65,204,130,204,137,202,5,65,204,134,204,128,202,5,65,204,134,204,129,202,5,65,204,134,204,131,202,5,65,204,134,204,137,202,5,65,204,135,204,132,202,5,65,204,136,204,132,202,5,65,204,138,204,129,202,5,65,204,163,204,130,202,5,65,204,163,204,134,202,5,67,204,167,204,129,202,5,69,204,130,204,128,202,5,69,204,130,204,129,202,5,69,204,130,204,131,202,5,69,204,130,204,137,202,5,69,204,132,204,128,202,5,69,204,132,204,129,202,5,69,204,163,204,130,202,5,69,204,167,204,134,202,5,73,204,136,204,129,202,5,76,204,163,204,132,202,5,79,204,130,204,128,202,5,79,204,130,204,129,202,5,79,204,130,204,131,202,5,79,204,130,204,137,202,5,79,204,131,204,129,202,5,79,204,131,204,132,202,5,79,204,131,204,136,202,5,79,204,132,204,128,202,5,79,204,132,204,129,202,5,79,204,135,204,132,202,5,79,204,136,204,132,202,5,79,204,155,204,128,202,5,79,204,155,204,129,202,5,79,204,155,204,131,202,5,79,204,155,204,137,202,5,79,204,155,204,163,182,5,79,204,163,204,130,202,5,79,204,168,204,132,202,5,82,204,163,204,132,202,5,83,204,129,204,135,202,5,83,204,140,204,135,202,5,83,204,163,204,135,202,5,85,204,131,204,129,202,5,85,204,132,204,136,202,5,85,204,136,204,128,202,5,85,204,136,204,129,202,5,85,204,136,204,132,202,5,85,204,136,204,140,202,5,85,204,155,204,128,202,5,85,204,155,204,129,202,5,85,204,155,204,131,202,5,85,204,155,204,137,202,5,85,204,155,204,163,182,5,97,204,130,204,128,202,5,97,204,130,204,129,202,5,97,204,130,204,131,202,5,97,204,130,204,137,202,5,97,204,134,204,128,202,5,97,204,134,204,129,202,5,97,204,134,204,131,202,5,97,204,134,204,137,202,5,97,204,135,204,132,202,5,97,204,136,204,132,202,5,97,204,138,204,129,202,5,97,204,163,204,130,202,5,97,204,163,204,134,202,5,99,204,167,204,129,202,5,101,204,130,204,128,202,5,101,204,130,204,129,202,5,101,204,130,204,131,202,5,101,204,130,204,137,202,5,101,204,132,204,128,202,5,101,204,132,204,129,202,5,101,204,163,204,130,202,5,101,204,167,204,134,202,5,105,204,136,204,129,202,5,108,204,163,204,132,202,5,111,204,130,204,128,202,5,111,204,130,204,129,202,5,111,204,130,204,131,202,5,111,204,130,204,137,202,5,111,204,131,204,129,202,5,111,204,131,204,132,202,5,111,204,131,204,136,202,5,111,204,132,204,128,202,5,111,204,132,204,129,202,5,111,204,135,204,132,202,5,111,204,136,204,132,202,5,111,204,155,204,128,202,5,111,204,155,204,129,202,5,111,204,155,204,131,202,5,111,204,155,204,137,202,5,111,204,155,204,163,182,5,111,204,163,204,130,202,5,111,204,168,204,132,202,5,114,204,163,204,132,202,5,115,204,129,204,135,202,5,115,204,140,204,135,202,5,115,204,163,204,135,202,5,117,204,131,204,129,202,5,117,204,132,204,136,202,5,117,204,136,204,128,202,5,117,204,136,204,129,202,5,117,204,136,204,132,202,5,117,204,136,204,140,202,5,117,204,155,204,128,202,5,117,204,155,204,129,202,5,117,204,155,204,131,202,5,117,204,155,204,137,202,5,117,204,155,204,163,182,5,225,190,191,204,128,202,5,225,190,191,204,129,202,5,225,190,191,205,130,202,5,225,191,190,204,128,202,5,225,191,190,204,129,202,5,225,191,190,205,130,202,5,226,134,144,204,184,5,5,226,134,146,204,184,5,5,226,134,148,204,184,5,5,226,135,144,204,184,5,5,226,135,146,204,184,5,5,226,135,148,204,184,5,5,226,136,131,204,184,5,5,226,136,136,204,184,5,5,226,136,139,204,184,5,5,226,136,163,204,184,5,5,226,136,165,204,184,5,5,226,136,188,204,184,5,5,226,137,131,204,184,5,5,226,137,133,204,184,5,5,226,137,136,204,184,5,5,226,137,141,204,184,5,5,226,137,161,204,184,5,5,226,137,164,204,184,5,5,226,137,165,204,184,5,5,226,137,178,204,184,5,5,226,137,179,204,184,5,5,226,137,182,204,184,5,5,226,137,183,204,184,5,5,226,137,186,204,184,5,5,226,137,187,204,184,5,5,226,137,188,204,184,5,5,226,137,189,204,184,5,5,226,138,130,204,184,5,5,226,138,131,204,184,5,5,226,138,134,204,184,5,5,226,138,135,204,184,5,5,226,138,145,204,184,5,5,226,138,146,204,184,5,5,226,138,162,204,184,5,5,226,138,168,204,184,5,5,226,138,169,204,184,5,5,226,138,171,204,184,5,5,226,138,178,204,184,5,5,226,138,179,204,184,5,5,226,138,180,204,184,5,5,226,138,181,204,184,5,6,206,145,204,147,205,133,218,6,206,145,204,148,205,133,218,6,206,149,204,147,204,128,202,6,206,149,204,147,204,129,202,6,206,149,204,148,204,128,202,6,206,149,204,148,204,129,202,6,206,151,204,147,205,133,218,6,206,151,204,148,205,133,218,6,206,153,204,147,204,128,202,6,206,153,204,147,204,129,202,6,206,153,204,147,205,130,202,6,206,153,204,148,204,128,202,6,206,153,204,148,204,129,202,6,206,153,204,148,205,130,202,6,206,159,204,147,204,128,202,6,206,159,204,147,204,129,202,6,206,159,204,148,204,128,202,6,206,159,204,148,204,129,202,6,206,165,204,148,204,128,202,6,206,165,204,148,204,129,202,6,206,165,204,148,205,130,202,6,206,169,204,147,205,133,218,6,206,169,204,148,205,133,218,6,206,177,204,128,205,133,218,6,206,177,204,129,205,133,218,6,206,177,204,147,205,133,218,6,206,177,204,148,205,133,218,6,206,177,205,130,205,133,218,6,206,181,204,147,204,128,202,6,206,181,204,147,204,129,202,6,206,181,204,148,204,128,202,6,206,181,204,148,204,129,202,6,206,183,204,128,205,133,218,6,206,183,204,129,205,133,218,6,206,183,204,147,205,133,218,6,206,183,204,148,205,133,218,6,206,183,205,130,205,133,218,6,206,185,204,136,204,128,202,6,206,185,204,136,204,129,202,6,206,185,204,136,205,130,202,6,206,185,204,147,204,128,202,6,206,185,204,147,204,129,202,6,206,185,204,147,205,130,202,6,206,185,204,148,204,128,202,6,206,185,204,148,204,129,202,6,206,185,204,148,205,130,202,6,206,191,204,147,204,128,202,6,206,191,204,147,204,129,202,6,206,191,204,148,204,128,202,6,206,191,204,148,204,129,202,6,207,133,204,136,204,128,202,6,207,133,204,136,204,129,202,6,207,133,204,136,205,130,202,6,207,133,204,147,204,128,202,6,207,133,204,147,204,129,202,6,207,133,204,147,205,130,202,6,207,133,204,148,204,128,202,6,207,133,204,148,204,129,202,6,207,133,204,148,205,130,202,6,207,137,204,128,205,133,218,6,207,137,204,129,205,133,218,6,207,137,204,147,205,133,218,6,207,137,204,148,205,133,218,6,207,137,205,130,205,133,218,6,224,164,168,224,164,188,9,6,224,164,176,224,164,188,9,6,224,164,179,224,164,188,9,6,224,177,134,224,177,150,133,6,224,183,153,224,183,138,17,6,227,129,134,227,130,153,13,6,227,129,139,227,130,153,13,6,227,129,141,227,130,153,13,6,227,129,143,227,130,153,13,6,227,129,145,227,130,153,13,6,227,129,147,227,130,153,13,6,227,129,149,227,130,153,13,6,227,129,151,227,130,153,13,6,227,129,153,227,130,153,13,6,227,129,155,227,130,153,13,6,227,129,157,227,130,153,13,6,227,129,159,227,130,153,13,6,227,129,161,227,130,153,13,6,227,129,164,227,130,153,13,6,227,129,166,227,130,153,13,6,227,129,168,227,130,153,13,6,227,129,175,227,130,153,13,6,227,129,175,227,130,154,13,6,227,129,178,227,130,153,13,6,227,129,178,227,130,154,13,6,227,129,181,227,130,153,13,6,227,129,181,227,130,154,13,6,227,129,184,227,130,153,13,6,227,129,184,227,130,154,13,6,227,129,187,227,130,153,13,6,227,129,187,227,130,154,13,6,227,130,157,227,130,153,13,6,227,130,166,227,130,153,13,6,227,130,171,227,130,153,13,6,227,130,173,227,130,153,13,6,227,130,175,227,130,153,13,6,227,130,177,227,130,153,13,6,227,130,179,227,130,153,13,6,227,130,181,227,130,153,13,6,227,130,183,227,130,153,13,6,227,130,185,227,130,153,13,6,227,130,187,227,130,153,13,6,227,130,189,227,130,153,13,6,227,130,191,227,130,153,13,6,227,131,129,227,130,153,13,6,227,131,132,227,130,153,13,6,227,131,134,227,130,153,13,6,227,131,136,227,130,153,13,6,227,131,143,227,130,153,13,6,227,131,143,227,130,154,13,6,227,131,146,227,130,153,13,6,227,131,146,227,130,154,13,6,227,131,149,227,130,153,13,6,227,131,149,227,130,154,13,6,227,131,152,227,130,153,13,6,227,131,152,227,130,154,13,6,227,131,155,227,130,153,13,6,227,131,155,227,130,154,13,6,227,131,175,227,130,153,13,6,227,131,176,227,130,153,13,6,227,131,177,227,130,153,13,6,227,131,178,227,130,153,13,6,227,131,189,227,130,153,13,8,206,145,204,147,204,128,205,133,219,8,206,145,204,147,204,129,205,133,219,8,206,145,204,147,205,130,205,133,219,8,206,145,204,148,204,128,205,133,219,8,206,145,204,148,204,129,205,133,219,8,206,145,204,148,205,130,205,133,219,8,206,151,204,147,204,128,205,133,219,8,206,151,204,147,204,129,205,133,219,8,206,151,204,147,205,130,205,133,219,8,206,151,204,148,204,128,205,133,219,8,206,151,204,148,204,129,205,133,219,8,206,151,204,148,205,130,205,133,219,8,206,169,204,147,204,128,205,133,219,8,206,169,204,147,204,129,205,133,219,8,206,169,204,147,205,130,205,133,219,8,206,169,204,148,204,128,205,133,219,8,206,169,204,148,204,129,205,133,219,8,206,169,204,148,205,130,205,133,219,8,206,177,204,147,204,128,205,133,219,8,206,177,204,147,204,129,205,133,219,8,206,177,204,147,205,130,205,133,219,8,206,177,204,148,204,128,205,133,219,8,206,177,204,148,204,129,205,133,219,8,206,177,204,148,205,130,205,133,219,8,206,183,204,147,204,128,205,133,219,8,206,183,204,147,204,129,205,133,219,8,206,183,204,147,205,130,205,133,219,8,206,183,204,148,204,128,205,133,219,8,206,183,204,148,204,129,205,133,219,8,206,183,204,148,205,130,205,133,219,8,207,137,204,147,204,128,205,133,219,8,207,137,204,147,204,129,205,133,219,8,207,137,204,147,205,130,205,133,219,8,207,137,204,148,204,128,205,133,219,8,207,137,204,148,204,129,205,133,219,8,207,137,204,148,205,130,205,133,219,8,240,145,130,153,240,145,130,186,9,8,240,145,130,155,240,145,130,186,9,8,240,145,130,165,240,145,130,186,9,66,194,180,1,67,32,204,129,201,67,32,204,131,201,67,32,204,132,201,67,32,204,133,201,67,32,204,134,201,67,32,204,135,201,67,32,204,136,201,67,32,204,138,201,67,32,204,139,201,67,32,204,147,201,67,32,204,148,201,67,32,204,167,165,67,32,204,168,165,67,32,204,179,181,67,32,205,130,201,67,32,205,133,217,67,32,217,139,89,67,32,217,140,93,67,32,217,141,97,67,32,217,142,101,67,32,217,143,105,67,32,217,144,109,67,32,217,145,113,67,32,217,146,117,67,65,204,138,201,67,115,204,135,201,67,225,133,161,1,67,225,133,162,1,67,225,133,163,1,67,225,133,164,1,67,225,133,165,1,67,225,133,166,1,67,225,133,167,1,67,225,133,168,1,67,225,133,169,1,67,225,133,170,1,67,225,133,171,1,67,225,133,172,1,67,225,133,173,1,67,225,133,174,1,67,225,133,175,1,67,225,133,176,1,67,225,133,177,1,67,225,133,178,1,67,225,133,179,1,67,225,133,180,1,67,225,133,181,1,67,225,134,170,1,67,225,134,172,1,67,225,134,173,1,67,225,134,176,1,67,225,134,177,1,67,225,134,178,1,67,225,134,179,1,67,225,134,180,1,67,225,134,181,1,68,32,227,130,153,13,68,32,227,130,154,13,68,194,168,204,129,202,68,206,145,204,129,201,68,206,149,204,129,201,68,206,151,204,129,201,68,206,153,204,129,201,68,206,159,204,129,201,68,206,165,204,129,201,68,206,165,204,136,201,68,206,169,204,129,201,68,206,177,204,129,201,68,206,181,204,129,201,68,206,183,204,129,201,68,206,185,204,129,201,68,206,191,204,129,201,68,207,133,204,129,201,68,207,137,204,129,201,68,215,144,214,183,49,68,215,144,214,184,53,68,215,144,214,188,65,68,215,145,214,188,65,68,215,145,214,191,73,68,215,146,214,188,65,68,215,147,214,188,65,68,215,148,214,188,65,68,215,149,214,185,57,68,215,149,214,188,65,68,215,150,214,188,65,68,215,152,214,188,65,68,215,153,214,180,37,68,215,153,214,188,65,68,215,154,214,188,65,68,215,155,214,188,65,68,215,155,214,191,73,68,215,156,214,188,65,68,215,158,214,188,65,68,215,160,214,188,65,68,215,161,214,188,65,68,215,163,214,188,65,68,215,164,214,188,65,68,215,164,214,191,73,68,215,166,214,188,65,68,215,167,214,188,65,68,215,168,214,188,65,68,215,169,214,188,65,68,215,169,215,129,77,68,215,169,215,130,81,68,215,170,214,188,65,68,215,178,214,183,49,68,216,167,217,139,89,68,216,167,217,147,201,68,216,167,217,148,201,68,216,167,217,149,181,68,216,176,217,176,121,68,216,177,217,176,121,68,217,128,217,139,89,68,217,128,217,142,101,68,217,128,217,143,105,68,217,128,217,144,109,68,217,128,217,145,113,68,217,128,217,146,117,68,217,135,217,176,121,68,217,136,217,148,201,68,217,137,217,176,121,68,217,138,217,148,201,68,219,146,217,148,201,68,219,149,217,148,201,69,32,204,136,204,128,202,69,32,204,136,204,129,202,69,32,204,136,205,130,202,69,32,204,147,204,128,202,69,32,204,147,204,129,202,69,32,204,147,205,130,202,69,32,204,148,204,128,202,69,32,204,148,204,129,202,69,32,204,148,205,130,202,69,32,217,140,217,145,114,69,32,217,141,217,145,114,69,32,217,142,217,145,114,69,32,217,143,217,145,114,69,32,217,144,217,145,114,69,32,217,145,217,176,122,69,226,171,157,204,184,5,70,206,185,204,136,204,129,202,70,207,133,204,136,204,129,202,70,215,169,214,188,215,129,78,70,215,169,214,188,215,130,82,70,217,128,217,142,217,145,114,70,217,128,217,143,217,145,114,70,217,128,217,144,217,145,114,70,224,164,149,224,164,188,9,70,224,164,150,224,164,188,9,70,224,164,151,224,164,188,9,70,224,164,156,224,164,188,9,70,224,164,161,224,164,188,9,70,224,164,162,224,164,188,9,70,224,164,171,224,164,188,9,70,224,164,175,224,164,188,9,70,224,166,161,224,166,188,9,70,224,166,162,224,166,188,9,70,224,166,175,224,166,188,9,70,224,168,150,224,168,188,9,70,224,168,151,224,168,188,9,70,224,168,156,224,168,188,9,70,224,168,171,224,168,188,9,70,224,168,178,224,168,188,9,70,224,168,184,224,168,188,9,70,224,172,161,224,172,188,9,70,224,172,162,224,172,188,9,70,224,190,178,224,190,128,157,70,224,190,179,224,190,128,157,70,227,131,134,227,130,153,13,72,240,157,133,151,240,157,133,165,173,72,240,157,133,152,240,157,133,165,173,72,240,157,134,185,240,157,133,165,173,72,240,157,134,186,240,157,133,165,173,73,224,190,178,224,189,177,224,190,128,158,73,224,190,179,224,189,177,224,190,128,158,76,240,157,133,152,240,157,133,165,240,157,133,174,174,76,240,157,133,152,240,157,133,165,240,157,133,175,174,76,240,157,133,152,240,157,133,165,240,157,133,176,174,76,240,157,133,152,240,157,133,165,240,157,133,177,174,76,240,157,133,152,240,157,133,165,240,157,133,178,174,76,240,157,134,185,240,157,133,165,240,157,133,174,174,76,240,157,134,185,240,157,133,165,240,157,133,175,174,76,240,157,134,186,240,157,133,165,240,157,133,174,174,76,240,157,134,186,240,157,133,165,240,157,133,175,174,131,65,204,130,201,131,65,204,134,201,131,65,204,135,201,131,65,204,136,201,131,65,204,138,201,131,65,204,163,181,131,67,204,167,165,131,69,204,130,201,131,69,204,132,201,131,69,204,163,181,131,69,204,167,165,131,73,204,136,201,131,76,204,163,181,131,79,204,130,201,131,79,204,131,201,131,79,204,132,201,131,79,204,135,201,131,79,204,136,201,131,79,204,155,173,131,79,204,163,181,131,79,204,168,165,131,82,204,163,181,131,83,204,129,201,131,83,204,140,201,131,83,204,163,181,131,85,204,131,201,131,85,204,132,201,131,85,204,136,201,131,85,204,155,173,131,97,204,130,201,131,97,204,134,201,131,97,204,135,201,131,97,204,136,201,131,97,204,138,201,131,97,204,163,181,131,99,204,167,165,131,101,204,130,201,131,101,204,132,201,131,101,204,163,181,131,101,204,167,165,131,105,204,136,201,131,108,204,163,181,131,111,204,130,201,131,111,204,131,201,131,111,204,132,201,131,111,204,135,201,131,111,204,136,201,131,111,204,155,173,131,111,204,163,181,131,111,204,168,165,131,114,204,163,181,131,115,204,129,201,131,115,204,140,201,131,115,204,163,181,131,117,204,131,201,131,117,204,132,201,131,117,204,136,201,131,117,204,155,173,132,206,145,204,147,201,132,206,145,204,148,201,132,206,149,204,147,201,132,206,149,204,148,201,132,206,151,204,147,201,132,206,151,204,148,201,132,206,153,204,147,201,132,206,153,204,148,201,132,206,159,204,147,201,132,206,159,204,148,201,132,206,165,204,148,201,132,206,169,204,147,201,132,206,169,204,148,201,132,206,177,204,128,201,132,206,177,204,129,201,132,206,177,204,147,201,132,206,177,204,148,201,132,206,177,205,130,201,132,206,181,204,147,201,132,206,181,204,148,201,132,206,183,204,128,201,132,206,183,204,129,201,132,206,183,204,147,201,132,206,183,204,148,201,132,206,183,205,130,201,132,206,185,204,136,201,132,206,185,204,147,201,132,206,185,204,148,201,132,206,191,204,147,201,132,206,191,204,148,201,132,207,133,204,136,201,132,207,133,204,147,201,132,207,133,204,148,201,132,207,137,204,128,201,132,207,137,204,129,201,132,207,137,204,147,201,132,207,137,204,148,201,132,207,137,205,130,201,134,206,145,204,147,204,128,202,134,206,145,204,147,204,129,202,134,206,145,204,147,205,130,202,134,206,145,204,148,204,128,202,134,206,145,204,148,204,129,202,134,206,145,204,148,205,130,202,134,206,151,204,147,204,128,202,134,206,151,204,147,204,129,202,134,206,151,204,147,205,130,202,134,206,151,204,148,204,128,202,134,206,151,204,148,204,129,202,134,206,151,204,148,205,130,202,134,206,169,204,147,204,128,202,134,206,169,204,147,204,129,202,134,206,169,204,147,205,130,202,134,206,169,204,148,204,128,202,134,206,169,204,148,204,129,202,134,206,169,204,148,205,130,202,134,206,177,204,147,204,128,202,134,206,177,204,147,204,129,202,134,206,177,204,147,205,130,202,134,206,177,204,148,204,128,202,134,206,177,204,148,204,129,202,134,206,177,204,148,205,130,202,134,206,183,204,147,204,128,202,134,206,183,204,147,204,129,202,134,206,183,204,147,205,130,202,134,206,183,204,148,204,128,202,134,206,183,204,148,204,129,202,134,206,183,204,148,205,130,202,134,207,137,204,147,204,128,202,134,207,137,204,147,204,129,202,134,207,137,204,147,205,130,202,134,207,137,204,148,204,128,202,134,207,137,204,148,204,129,202,134,207,137,204,148,205,130,202,66,204,128,201,50,66,204,129,201,50,66,204,147,201,50,68,204,136,204,129,202,50,67,227,130,153,13,3,67,227,130,154,13,3,70,224,189,177,224,189,178,158,38,70,224,189,177,224,189,180,162,38,70,224,189,177,224,190,128,158,38,0,1]);BG=$toNativeArray($kindUint16,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,40960,40960,0,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,0,0,0,0,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12143,12148,18206,12153,18221,18226,40960,18236,12258,12263,18241,12283,12398,12403,12408,18261,0,12548,12583,12588,18271,18276,18291,0,40960,12723,12728,12733,18341,12853,0,0,12923,12928,18351,12933,18366,18371,40960,18381,13038,13043,18386,13063,13183,13188,13193,18406,0,13333,13368,13373,18416,18421,18436,0,40960,13513,13518,13523,18486,13648,0,13673,12158,12938,18211,18356,12188,12968,12208,12988,12213,12993,12218,12998,12223,13003,12233,13013,0,0,18246,18391,12273,13053,12278,13058,12308,13088,12293,13073,12333,13113,12343,13123,12348,13128,12358,13138,12363,13143,0,0,12413,13198,12418,13203,12423,13208,12458,13238,12428,0,0,0,12468,13248,12488,13273,0,12498,13283,12508,13293,12503,13288,0,0,0,0,12543,13328,12568,13353,12558,13343,0,0,0,18281,18426,12593,13378,12603,13388,0,0,12633,13418,12658,13443,12643,13428,18316,18461,12668,13453,12683,13468,18321,18466,12708,13498,12693,13483,0,0,18331,18476,18336,18481,12738,13528,12748,13538,12753,13543,12783,13573,12818,13608,12858,13653,12878,12893,13693,12903,13703,12908,13708,40960,0,0,0,0,33024,33024,33024,0,0,0,0,0,0,12168,12948,12438,13218,12608,13393,12758,13548,14799,15198,14792,15191,14806,15205,14785,15184,0,14512,14911,14505,14904,13747,13765,0,0,12353,13133,12478,13263,18306,18451,14736,15135,13783,13789,13253,0,0,0,12328,13108,0,0,12538,13323,14519,14918,13741,13759,13753,13771,12173,12953,12178,12958,12298,13078,12303,13083,12443,13223,12448,13228,12613,13398,12618,13403,12648,13433,12653,13438,12763,13553,12768,13558,12678,13463,12703,13493,0,0,12378,13158,0,0,0,0,0,0,18216,18361,18256,18401,14687,15086,14652,15051,18286,18431,14680,15079,12868,13663,0,0,0,0,0,0,0,0,0,0,0,0,39218,39218,39218,39218,39218,33074,39218,39218,39218,39218,39218,39218,39218,33074,33074,39218,33074,39218,33074,39218,39218,33075,33069,33069,33069,33069,33075,39211,33069,33069,33069,33069,33069,33065,33065,39213,39213,39213,39213,39209,39209,33069,33069,33069,33069,39213,39213,33069,39213,39213,33069,33069,33025,33025,33025,33025,39169,33069,33069,33069,33069,33074,33074,33074,19012,19017,39218,19022,19027,39222,33074,33069,33069,33069,33074,33074,33074,33069,33069,0,33074,33074,33074,33069,33069,33069,33069,33074,33075,33069,33069,33074,33076,33077,33077,33076,33077,33077,33076,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,0,0,0,0,368,0,0,0,0,0,33024,0,0,0,55,0,0,0,0,0,33024,13729,13801,206,13831,13843,13861,0,13891,0,13909,13939,15880,40960,0,0,0,40960,0,40960,0,40960,0,0,0,0,0,40960,0,40960,0,0,0,40960,0,0,0,40960,13879,13927,18580,13975,18622,13993,15984,40960,0,0,0,40960,0,40960,0,40960,0,0,0,0,0,40960,14113,14125,0,14107,0,0,40960,14089,0,0,0,0,14173,14149,14191,0,40960,0,0,40960,0,40960,40960,40960,40960,14161,40960,0,0,0,40960,0,0,0,0,40960,0,0,0,40960,0,0,0,40960,0,40960,0,0,40960,0,0,40960,0,40960,40960,40960,40960,14293,40960,0,0,0,40960,0,0,14131,14263,0,0,0,0,0,0,0,0,0,0,0,0,0,14095,14227,14101,14233,0,0,14119,14251,40960,40960,14377,14383,14137,14269,14143,14275,0,0,14155,14287,14167,14299,14179,14311,40960,40960,14389,14395,14221,14353,14185,14317,14197,14329,14203,14335,14209,14341,0,0,14215,14347,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33069,33074,33074,33074,33074,33069,33074,33074,33074,33070,33069,33074,33074,33074,33074,33074,33074,33069,33069,33069,33069,33069,33069,33074,33074,33069,33074,33074,33070,33073,33074,33029,33030,33031,33032,33033,33034,33035,33036,33037,33038,33038,33039,33040,33041,0,33042,0,0,0,0,0,0,0,0,40960,0,40960,33046,33047,33048,33049,33050,33051,33052,33053,39218,39218,39213,33069,33074,33074,33074,33074,33074,33069,33074,33074,33069,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33054,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,11558,40960,11566,40960,11574,40960,11582,40960,11590,0,0,40960,11598,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33026,39168,0,0,0,0,40960,11606,40960,11614,40960,40960,12183,12963,12193,12973,12198,12978,12203,12983,14540,14939,12228,13008,12238,13018,12253,13033,12243,13023,12248,13028,14575,14974,14582,14981,12313,13093,12318,13098,14596,14995,12323,13103,12338,13118,12368,13148,12383,13163,12373,13153,12388,13168,12393,13173,12463,13243,14603,15002,12473,13258,12483,13268,12493,13278,18266,18411,14610,15009,12518,13303,12513,13298,12523,13308,12528,13313,12533,13318,12553,13338,12563,13348,12578,13363,12573,13358,14645,15044,14659,15058,14666,15065,14673,15072,12623,13408,12628,13413,12638,13423,18311,18456,14743,15142,12663,13448,12673,13458,18326,18471,14750,15149,14757,15156,14764,15163,12688,13473,12698,13488,12718,13508,12713,13503,12778,13568,12793,13583,12788,13578,14771,15170,14778,15177,12798,13588,12803,13593,12808,13598,12813,13603,12828,13618,12823,13613,12833,13628,12838,13633,12843,13638,12873,13668,12898,13698,12913,13713,12918,13718,13178,13478,13623,13683,0,13777,0,0,0,0,18231,18376,12163,12943,14456,14855,14449,14848,14470,14869,14463,14862,14526,14925,14484,14883,14477,14876,14498,14897,14491,14890,14533,14932,18251,18396,12288,13068,12268,13048,14554,14953,14547,14946,14568,14967,14561,14960,14589,14988,12433,13213,12453,13233,18301,18446,12598,13383,14624,15023,14617,15016,14638,15037,14631,15030,14729,15128,14701,15100,14694,15093,14715,15114,14708,15107,14722,15121,12773,13563,12743,13533,14820,15219,14813,15212,14834,15233,14827,15226,14841,15240,12848,13643,12888,13688,12883,13678,12863,13658,0,0,0,0,0,0,18586,18592,18868,18892,18876,18900,18884,18908,18496,18502,18724,18748,18732,18756,18740,18764,18604,18610,15800,15816,15808,15824,0,0,18508,18514,15592,15608,15600,15616,0,0,18628,18634,18916,18940,18924,18948,18932,18956,18520,18526,18772,18796,18780,18804,18788,18812,18652,18658,15896,15920,15904,15928,15912,15936,18532,18538,15640,15664,15648,15672,15656,15680,18664,18670,15944,15960,15952,15968,0,0,18544,18550,15688,15704,15696,15712,0,0,18682,18688,16000,16024,16008,16032,16016,16040,0,18556,0,15720,0,15728,0,15736,18706,18712,18964,18988,18972,18996,18980,19004,18562,18568,18820,18844,18828,18852,18836,18860,18574,17332,13969,17338,18616,17344,13987,17350,14017,17356,14041,17362,18694,17368,0,0,15776,15784,16772,16802,16782,16812,16792,16822,15576,15584,16592,16622,16602,16632,16612,16642,15848,15856,16832,16862,16842,16872,16852,16882,15624,15632,16652,16682,16662,16692,16672,16702,16064,16072,16892,16922,16902,16932,16912,16942,15744,15752,16712,16742,16722,16752,16732,16762,13957,13951,15760,13963,15768,0,18598,15792,13813,13807,13795,17284,13819,33024,467,41216,33024,13735,15832,13981,15840,0,18640,15864,13825,17290,13837,17296,13849,15247,15254,15261,14005,13999,15872,17786,0,0,14011,15888,13873,13867,13855,17302,0,15268,15275,15282,14059,14053,15976,17794,14029,14035,14065,15992,13921,13915,13903,17314,13897,13723,17278,129,0,0,16048,14071,16056,0,18718,16080,13885,17308,13933,17326,13945,16982,41216,0,0,15366,0,40960,15373,40960,0,15380,40960,15387,0,0,0,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12133,40960,15401,0,40960,40960,0,0,0,0,0,0,0,15394,12128,12138,15408,15415,40960,40960,15422,15429,40960,40960,15436,15443,40960,40960,40960,40960,0,0,15450,15457,40960,40960,15478,15485,40960,40960,15492,15499,0,0,0,0,0,0,0,40960,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,0,0,0,0,0,40960,40960,0,40960,15520,15527,15534,15541,0,0,40960,40960,40960,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,0,0,0,0,40960,16136,40960,16144,40960,16152,40960,16160,40960,16168,40960,16176,40960,16184,40960,16192,40960,16200,40960,16208,40960,16216,40960,16224,0,40960,16232,40960,16240,40960,16248,0,0,0,0,0,40960,16256,16264,40960,16272,16280,40960,16288,16296,40960,16304,16312,40960,16320,16328,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16128,0,0,0,0,39171,39171,33024,33024,40960,16336,0,0,0,0,0,0,0,40960,0,0,0,0,40960,16352,40960,16360,40960,16368,40960,16376,40960,16384,40960,16392,40960,16400,40960,16408,40960,16416,40960,16424,40960,16432,40960,16440,0,40960,16448,40960,16456,40960,16464,0,0,0,0,0,40960,16472,16480,40960,16488,16496,40960,16504,16512,40960,16520,16528,40960,16536,16544,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,40960,40960,40960,0,16344,0,0,16552,16560,16568,16576,0,0,40960,16584,0,4983,3323,5075,5023,3671,1771,2271,5675,5675,2571,5215,2371,2567,3055,4047,4447,4759,4819,4871,5147,3443,3583,3755,3907,4703,5191,5491,1807,2227,3463,3791,4755,5571,2739,3703,4739,4887,3107,4539,4831,2847,3343,3607,3867,5159,1871,2023,2131,3211,3455,3787,4079,4471,4747,4771,5063,5359,5539,5567,4139,4203,4387,4675,5243,5579,4939,2503,2875,4315,4507,3839,4147,5015,5351,2499,2703,3447,3627,3679,4371,4411,5287,2127,4519,2035,2031,4247,4391,4699,5295,4967,3111,3443,4951,1783,2659,2963,3887,4015,2163,4155,1887,2935,1751,3563,3235,4367,2247,2483,4091,4707,4923,3511,5111,3555,3127,4635,3159,4011,1835,1959,2027,3411,4347,4595,4935,5211,2139,2319,2583,2863,3263,3707,4159,5271,5499,5583,5607,2103,3315,3491,5099,2811,3031,3059,3203,3691,3767,3943,4235,4399,4499,5083,4715,5123,5247,2063,2107,2339,3751,4851,4923,2843,2955,3151,3503,4311,3875,1851,2431,2659,2759,2967,3903,3931,4459,4491,5219,5347,5363,5423,1875,4223,5199,5323,2991,1815,1911,2663,2695,3247,3443,3779,4043,4727,5143,5667,3299,5283,2099,3375,3387,3599,3655,3915,4007,4135,4363,5435,1967,3075,5299,1895,2731,3631,5087,2919,2999,3395,3887,5307,2071,2303,2711,3283,3359,3423,3571,3911,4027,4439,4855,4867,5207,5335,2179,3659,2307,3783,3947,4743,5311,5547,5587,3383,3623,4547,4279,4291,4327,3863,3743,4963,1843,4651,2075,2059,2827,3115,4339,2643,3587,3311,5095,4839,5291,4899,2855,1927,2395,0,0,2479,0,3295,0,0,2039,3871,4067,4167,4195,4199,4219,5371,4331,4463,0,4751,0,4947,0,0,5127,5171,0,0,0,5455,5459,5463,5563,5163,5319,1879,1915,1935,2123,2135,2199,2379,2407,2415,2475,2487,2707,2715,2979,3019,3027,3051,3223,3271,3303,3415,3611,3639,3687,3771,3803,3919,4143,4171,4179,4175,4183,4187,4191,4211,4215,4251,4271,4299,4399,4407,4415,4435,4475,4555,4607,4607,4711,4879,4903,4955,4959,5027,5031,5119,5127,5339,5407,5431,2971,5918,4579,0,0,1759,2019,1955,1867,1931,1975,2119,2147,2379,2359,2375,2403,2479,2495,2563,2575,2603,2619,2851,2859,2907,2939,2987,3011,2995,3027,3015,3051,3079,3167,3179,3187,3227,3295,3343,3347,3367,3495,3511,3599,3675,3667,3687,3715,3771,4115,3807,3859,3871,3935,3963,3999,4035,4039,4067,4071,4087,4107,4103,4151,4275,4299,4323,4379,4399,4427,4475,4655,4695,4811,4883,4895,4903,4927,4947,4931,4955,4951,4943,4959,4971,5031,5091,5139,5195,5227,5303,5339,5371,5391,5407,5419,5431,5515,5675,5813,5808,5858,1543,1583,1587,5988,6033,6153,5655,5671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1787,1779,1795,5703,1863,1879,1883,1891,1899,1903,1915,1907,1459,5723,1935,1939,1943,1971,5708,1463,1951,1983,5718,1999,2007,1847,2015,2019,6193,2047,2055,1471,2079,2083,2091,2095,1475,2119,2123,2135,2147,2151,2155,2163,2195,2199,2207,2223,2231,2235,2235,2235,5738,3731,2255,2263,5743,2275,2283,2291,2331,2311,2323,2327,2335,2343,2347,2355,2363,2367,2367,2375,2383,2387,2399,2435,2407,2439,2411,2419,2059,2511,2455,2459,2463,2451,2471,2467,2491,5748,2519,2523,2531,2543,2551,2579,5753,5758,2591,2595,2599,2587,2607,1479,1483,2615,2623,2623,5763,2651,2655,2659,2667,5768,2675,2679,2895,2687,1487,2699,2715,2727,2723,5778,2735,5783,2747,2743,2751,2767,2771,1491,2787,2795,2799,2803,1495,5788,1499,2831,2835,2839,2847,6243,2871,5798,5798,4567,2887,2887,1503,5833,6043,2903,2911,1507,2931,2947,2951,2959,2975,1515,1511,2979,5803,2983,3003,3007,3011,3007,3023,3027,3043,3035,3039,3047,3051,3055,3067,3071,3095,3103,3119,3139,5818,3135,3123,3147,3155,3175,5823,3183,3171,3163,1519,3191,3199,3207,3195,1523,3223,3231,5828,3275,3327,3291,1535,3303,1531,1527,1987,1991,3331,3307,4523,1635,3343,3347,3351,3371,3363,5853,1539,3391,3379,3407,3415,5863,3419,3399,3427,1543,3431,3435,3439,3451,5868,3459,1547,3471,5873,3475,1551,3487,3499,3511,3515,5878,5773,5883,3547,5888,3559,3567,3551,3579,3595,3611,3599,3603,3615,3619,5893,3591,3643,3647,1555,3667,3663,5898,3635,3695,5903,5908,3699,3719,3715,3711,1559,3723,3739,3735,3747,5713,3763,5913,3775,5923,3795,3807,3827,5928,3847,3851,5933,5938,3879,3895,1563,3899,1567,1567,3923,3927,3935,3939,3951,1571,3975,5943,4003,5948,4015,5793,4031,5953,5958,5963,1575,1579,4087,5973,5968,5978,5983,4095,4099,4099,4107,1587,4111,1591,1595,5993,4131,4139,4151,1599,5998,4187,6003,6008,4219,4243,1603,4251,4255,4259,6013,6018,6018,4283,1607,6023,4303,4307,1611,6028,4335,1615,4351,4343,4359,6038,4383,1619,4395,4403,4419,1623,6048,6053,1627,6058,4443,6063,4455,4467,4475,6068,6073,4495,6078,4503,5838,1631,4527,4531,1639,4535,2611,6083,6088,5843,5848,4567,4571,5107,1643,4615,4611,4619,2111,4623,4627,4631,4639,6093,4635,4643,4663,4667,4647,4671,4691,4711,4659,4679,4683,4687,6098,6108,6103,1647,4719,4723,4731,6128,4735,6113,1651,1655,6118,6123,1659,4767,4771,4775,4779,4791,4787,4799,4795,4811,4803,4807,4815,1663,4823,4827,1667,4843,4847,6133,4859,4863,1671,4875,1467,6138,6143,1675,1679,4919,4943,4971,4987,6148,5007,5011,5035,5047,6158,5728,5059,5055,5067,5733,5079,5091,6163,6168,5155,5167,5175,6173,5179,5223,5235,5239,5231,5251,5255,6178,5267,1683,5275,6183,1687,5331,2755,5355,6188,6198,1691,1695,5395,6203,1699,6208,5419,5419,5427,6213,5451,1703,5467,5479,5487,5495,1707,6218,5515,5543,5555,1711,1715,5559,6223,1719,6228,6233,6238,5595,1723,5615,5623,5627,5635,5643,5651,6248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);BH=$toNativeArray($kindUint8,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,1,2,3,45,4,5,0,46,47,6,7,8,48,9,49,50,10,0,0,11,51,52,12,0,53,54,55,0,56,2,3,4,5,0,0,0,0,0,0,6,7,8,9,0,10,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,57,58,0,59,60,61,62,63,64,65,66,67,62,68,69,70,0,71,72,73,74,75,0,76,77,78,79,80,81,82,83,84,85,0,86,0,87,88,89,90,0,0,0,0,0,91,0,0,0,0,0,0,0,0,0,0,0,0,0,0,92,0,0,93,0,0,94,0,95,0,0,0,96,97,98,0,13,99,100,101,102,0,0,103,0,0,0,104,14,15,16,17,18,19,20,21,105,0,0,106,107,0,108,109,110,22,23,111,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,113,0,0,0,0,0,0,0,114,0,115,0,116,0,0,0,0,0,0,0,0,117,24,25,26,118,119,0,0,0,120,0,0,121,122,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,123,124,125,0,0,0,0,126,0,0,127,128,129,130,131,0,0,132,133,0,0,0,134,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,141,135,136,137,138,139,140,142,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,29,30,31,32,33,34,143,144,145,0,0,146,147,148,149,0,0,0,150,151,152,153,0,0,154,155,0,0,0,0,0,0,0,156,0,0,0,157,0,158,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,159,0,0,160,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,161,162,0,163,130,0,164,165,0,0,166,62,167,0,0,0,168,169,170,0,0,171,172,115,0,173,0,174,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,175,176,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,177,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,178,179,180,0,181,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,182,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,183,0,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35,36,37,38,39,40,41,42,43,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,12,0,0,0,0,13,0,0,0,0,14,0,15,16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);BI=new CB([0,5,9,11,13,24,40,42,47,58,73,86,94,98,103,105,122,130,137,140,147,151,155,157,159,168,172,179,184,187,197,199,206,214,217,219,221,223,228,245,257,259,265,267,269,271,273,275,277,280,283,285,288,291,295,300,309,311,314,316,327,343,347,361,364,370,376,387,391,393,395,397,399,401,407,411,413,415,423,427,430,432,434,436,439,441,443,445,447,453,456,458,465,471,477,485,491,497,503,507,521,530,533,536,538,541,543,547,552,554,556,561,567,569,571,573,579,582,585,593,600,603,606,608,616,619,626,629,635,637,640,642,644,646,648,661,671,673,675,681,683,686]);BJ=$toNativeArray($kindStruct,[new BT.ptr(0,4,0),new BT.ptr(41216,168,168),new BT.ptr(33024,175,175),new BT.ptr(33024,180,180),new BT.ptr(33024,184,184),new BT.ptr(145,3,0),new BT.ptr(18296,160,161),new BT.ptr(18346,175,176),new BT.ptr(40960,183,183),new BT.ptr(0,1,0),new BT.ptr(40960,146,146),new BT.ptr(0,1,0),new BT.ptr(33024,152,157),new BT.ptr(6,10,0),new BT.ptr(40960,129,129),new BT.ptr(40960,133,133),new BT.ptr(40960,137,137),new BT.ptr(18646,138,138),new BT.ptr(18676,139,139),new BT.ptr(14023,140,140),new BT.ptr(14047,141,141),new BT.ptr(18700,142,142),new BT.ptr(40960,146,146),new BT.ptr(14077,147,148),new BT.ptr(0,15,0),new BT.ptr(40960,131,131),new BT.ptr(40960,135,135),new BT.ptr(40960,139,139),new BT.ptr(40960,141,141),new BT.ptr(14245,144,144),new BT.ptr(14257,145,145),new BT.ptr(14239,147,147),new BT.ptr(40960,150,150),new BT.ptr(14359,151,151),new BT.ptr(14305,156,156),new BT.ptr(14281,157,157),new BT.ptr(14323,158,158),new BT.ptr(40960,180,181),new BT.ptr(14365,182,182),new BT.ptr(14371,183,183),new BT.ptr(0,1,0),new BT.ptr(33074,131,135),new BT.ptr(1,4,0),new BT.ptr(33043,129,130),new BT.ptr(33074,132,132),new BT.ptr(33069,133,133),new BT.ptr(33037,135,135),new BT.ptr(0,10,0),new BT.ptr(33074,144,151),new BT.ptr(33049,152,152),new BT.ptr(33050,153,153),new BT.ptr(33051,154,154),new BT.ptr(14401,162,162),new BT.ptr(14407,163,163),new BT.ptr(14419,164,164),new BT.ptr(14413,165,165),new BT.ptr(14425,166,166),new BT.ptr(40960,167,167),new BT.ptr(0,14,0),new BT.ptr(14443,128,128),new BT.ptr(40960,129,129),new BT.ptr(14431,130,130),new BT.ptr(40960,146,146),new BT.ptr(14437,147,147),new BT.ptr(40960,149,149),new BT.ptr(33074,150,156),new BT.ptr(33074,159,162),new BT.ptr(33069,163,163),new BT.ptr(33074,164,164),new BT.ptr(33074,167,168),new BT.ptr(33069,170,170),new BT.ptr(33074,171,172),new BT.ptr(33069,173,173),new BT.ptr(0,12,0),new BT.ptr(33055,145,145),new BT.ptr(33074,176,176),new BT.ptr(33069,177,177),new BT.ptr(33074,178,179),new BT.ptr(33069,180,180),new BT.ptr(33074,181,182),new BT.ptr(33069,183,185),new BT.ptr(33074,186,186),new BT.ptr(33069,187,188),new BT.ptr(33074,189,189),new BT.ptr(33069,190,190),new BT.ptr(33074,191,191),new BT.ptr(5,7,0),new BT.ptr(33074,128,128),new BT.ptr(33074,129,129),new BT.ptr(33069,130,131),new BT.ptr(33069,132,133),new BT.ptr(33069,134,135),new BT.ptr(33069,136,137),new BT.ptr(33074,138,138),new BT.ptr(0,3,0),new BT.ptr(33074,171,177),new BT.ptr(33069,178,178),new BT.ptr(33074,179,179),new BT.ptr(0,4,0),new BT.ptr(33074,150,153),new BT.ptr(33074,155,163),new BT.ptr(33074,165,167),new BT.ptr(33074,169,173),new BT.ptr(0,1,0),new BT.ptr(33069,153,155),new BT.ptr(0,16,0),new BT.ptr(33074,148,161),new BT.ptr(33069,163,163),new BT.ptr(33074,164,165),new BT.ptr(33069,166,166),new BT.ptr(33074,167,168),new BT.ptr(33069,169,169),new BT.ptr(33074,170,172),new BT.ptr(33069,173,175),new BT.ptr(33046,176,176),new BT.ptr(33047,177,177),new BT.ptr(33048,178,178),new BT.ptr(33074,179,181),new BT.ptr(33069,182,182),new BT.ptr(33074,183,184),new BT.ptr(33069,185,186),new BT.ptr(33074,187,191),new BT.ptr(0,7,0),new BT.ptr(40960,168,168),new BT.ptr(16088,169,169),new BT.ptr(40960,176,176),new BT.ptr(16096,177,177),new BT.ptr(40960,179,179),new BT.ptr(16104,180,180),new BT.ptr(39170,188,188),new BT.ptr(8,6,0),new BT.ptr(33028,141,141),new BT.ptr(33074,145,145),new BT.ptr(33069,146,146),new BT.ptr(33074,147,147),new BT.ptr(33074,148,148),new BT.ptr(17842,152,159),new BT.ptr(0,2,0),new BT.ptr(33026,188,188),new BT.ptr(39168,190,190),new BT.ptr(8,6,0),new BT.ptr(40960,135,135),new BT.ptr(11422,139,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(17906,156,157),new BT.ptr(17922,159,159),new BT.ptr(0,3,0),new BT.ptr(17962,179,179),new BT.ptr(17970,182,182),new BT.ptr(33026,188,188),new BT.ptr(8,3,0),new BT.ptr(33028,141,141),new BT.ptr(17930,153,155),new BT.ptr(17954,158,158),new BT.ptr(0,1,0),new BT.ptr(33026,188,188),new BT.ptr(0,1,0),new BT.ptr(33028,141,141),new BT.ptr(0,8,0),new BT.ptr(40960,135,135),new BT.ptr(11446,136,136),new BT.ptr(11438,139,139),new BT.ptr(11454,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,150,151),new BT.ptr(17978,156,156),new BT.ptr(17986,157,157),new BT.ptr(0,3,0),new BT.ptr(40960,146,146),new BT.ptr(11462,148,148),new BT.ptr(39168,190,190),new BT.ptr(0,6,0),new BT.ptr(40960,134,135),new BT.ptr(11470,138,138),new BT.ptr(11486,139,139),new BT.ptr(11478,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(6145,4,0),new BT.ptr(40960,134,134),new BT.ptr(16112,136,136),new BT.ptr(33028,141,141),new BT.ptr(33056,149,150),new BT.ptr(0,2,0),new BT.ptr(33026,188,188),new BT.ptr(40960,191,191),new BT.ptr(0,9,0),new BT.ptr(11494,128,128),new BT.ptr(39168,130,130),new BT.ptr(40960,134,134),new BT.ptr(11502,135,135),new BT.ptr(11510,136,136),new BT.ptr(12112,138,138),new BT.ptr(11736,139,139),new BT.ptr(33028,141,141),new BT.ptr(39168,149,150),new BT.ptr(0,1,0),new BT.ptr(39168,190,190),new BT.ptr(0,6,0),new BT.ptr(40960,134,135),new BT.ptr(11518,138,138),new BT.ptr(11534,139,139),new BT.ptr(11526,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(27626,7,0),new BT.ptr(39172,138,138),new BT.ptr(39168,143,143),new BT.ptr(40960,153,153),new BT.ptr(16120,154,154),new BT.ptr(12120,156,156),new BT.ptr(11747,157,157),new BT.ptr(11542,158,159),new BT.ptr(0,2,0),new BT.ptr(33058,184,185),new BT.ptr(33028,186,186),new BT.ptr(0,1,0),new BT.ptr(33059,136,139),new BT.ptr(0,1,0),new BT.ptr(33060,184,185),new BT.ptr(0,1,0),new BT.ptr(33061,136,139),new BT.ptr(0,4,0),new BT.ptr(33069,152,153),new BT.ptr(33069,181,181),new BT.ptr(33069,183,183),new BT.ptr(33067,185,185),new BT.ptr(0,16,0),new BT.ptr(9796,131,131),new BT.ptr(9803,141,141),new BT.ptr(9810,146,146),new BT.ptr(9817,151,151),new BT.ptr(9824,156,156),new BT.ptr(9789,169,169),new BT.ptr(33062,177,177),new BT.ptr(33063,178,178),new BT.ptr(19046,179,179),new BT.ptr(33064,180,180),new BT.ptr(19055,181,181),new BT.ptr(17994,182,182),new BT.ptr(33280,183,183),new BT.ptr(18002,184,184),new BT.ptr(33280,185,185),new BT.ptr(33063,186,189),new BT.ptr(0,11,0),new BT.ptr(33063,128,128),new BT.ptr(19064,129,129),new BT.ptr(33074,130,131),new BT.ptr(33028,132,132),new BT.ptr(33074,134,135),new BT.ptr(9838,147,147),new BT.ptr(9845,157,157),new BT.ptr(9852,162,162),new BT.ptr(9859,167,167),new BT.ptr(9866,172,172),new BT.ptr(9831,185,185),new BT.ptr(0,1,0),new BT.ptr(33069,134,134),new BT.ptr(0,5,0),new BT.ptr(40960,165,165),new BT.ptr(11550,166,166),new BT.ptr(39168,174,174),new BT.ptr(33026,183,183),new BT.ptr(33028,185,186),new BT.ptr(0,1,0),new BT.ptr(33069,141,141),new BT.ptr(0,1,0),new BT.ptr(40960,128,146),new BT.ptr(0,1,0),new BT.ptr(47360,161,181),new BT.ptr(0,1,0),new BT.ptr(39168,168,191),new BT.ptr(0,1,0),new BT.ptr(39168,128,130),new BT.ptr(0,1,0),new BT.ptr(33074,157,159),new BT.ptr(0,2,0),new BT.ptr(33028,148,148),new BT.ptr(33028,180,180),new BT.ptr(0,2,0),new BT.ptr(33028,146,146),new BT.ptr(33074,157,157),new BT.ptr(0,1,0),new BT.ptr(33073,169,169),new BT.ptr(4,2,0),new BT.ptr(33070,185,186),new BT.ptr(33069,187,187),new BT.ptr(0,2,0),new BT.ptr(33074,151,151),new BT.ptr(33069,152,152),new BT.ptr(0,3,0),new BT.ptr(33028,160,160),new BT.ptr(33074,181,188),new BT.ptr(33069,191,191),new BT.ptr(0,4,0),new BT.ptr(33074,176,180),new BT.ptr(33069,181,186),new BT.ptr(33074,187,188),new BT.ptr(33069,189,189),new BT.ptr(0,8,0),new BT.ptr(11622,128,128),new BT.ptr(11630,129,129),new BT.ptr(40960,130,130),new BT.ptr(11638,131,131),new BT.ptr(33028,132,132),new BT.ptr(33074,171,171),new BT.ptr(33069,172,172),new BT.ptr(33074,173,179),new BT.ptr(0,1,0),new BT.ptr(33028,170,171),new BT.ptr(0,2,0),new BT.ptr(33026,166,166),new BT.ptr(33028,178,179),new BT.ptr(0,1,0),new BT.ptr(33026,183,183),new BT.ptr(0,10,0),new BT.ptr(33074,144,146),new BT.ptr(33025,148,148),new BT.ptr(33069,149,153),new BT.ptr(33074,154,155),new BT.ptr(33069,156,159),new BT.ptr(33074,160,160),new BT.ptr(33025,162,168),new BT.ptr(33069,173,173),new BT.ptr(33074,180,180),new BT.ptr(33074,184,185),new BT.ptr(0,15,0),new BT.ptr(33074,128,129),new BT.ptr(33069,130,130),new BT.ptr(33074,131,137),new BT.ptr(33069,138,138),new BT.ptr(33074,139,140),new BT.ptr(33077,141,141),new BT.ptr(33066,142,142),new BT.ptr(33069,143,143),new BT.ptr(33065,144,144),new BT.ptr(33074,145,181),new BT.ptr(33074,187,187),new BT.ptr(33076,188,188),new BT.ptr(33069,189,189),new BT.ptr(33074,190,190),new BT.ptr(33069,191,191),new BT.ptr(4,3,0),new BT.ptr(1075,128,129),new BT.ptr(33024,151,151),new BT.ptr(33024,190,190),new BT.ptr(0,13,0),new BT.ptr(33074,144,145),new BT.ptr(33025,146,147),new BT.ptr(33074,148,151),new BT.ptr(33025,152,154),new BT.ptr(33074,155,156),new BT.ptr(33074,161,161),new BT.ptr(33025,165,166),new BT.ptr(33074,167,167),new BT.ptr(33069,168,168),new BT.ptr(33074,169,169),new BT.ptr(33025,170,171),new BT.ptr(33069,172,175),new BT.ptr(33074,176,176),new BT.ptr(17019,2,0),new BT.ptr(440,166,166),new BT.ptr(87,170,171),new BT.ptr(7,5,0),new BT.ptr(40960,144,144),new BT.ptr(40960,146,146),new BT.ptr(40960,148,148),new BT.ptr(15289,154,155),new BT.ptr(15303,174,174),new BT.ptr(14,5,0),new BT.ptr(15310,141,142),new BT.ptr(15317,143,143),new BT.ptr(40960,144,144),new BT.ptr(40960,146,146),new BT.ptr(40960,148,148),new BT.ptr(25608,10,0),new BT.ptr(40960,131,131),new BT.ptr(15331,132,132),new BT.ptr(40960,136,136),new BT.ptr(15338,137,137),new BT.ptr(40960,139,139),new BT.ptr(15345,140,140),new BT.ptr(40960,163,163),new BT.ptr(15352,164,165),new BT.ptr(15359,166,166),new BT.ptr(40960,188,188),new BT.ptr(7,3,0),new BT.ptr(15464,160,161),new BT.ptr(15506,162,163),new BT.ptr(15548,170,173),new BT.ptr(4,1,0),new BT.ptr(1163,169,170),new BT.ptr(0,1,0),new BT.ptr(17779,156,156),new BT.ptr(0,1,0),new BT.ptr(33074,175,177),new BT.ptr(0,1,0),new BT.ptr(33028,191,191),new BT.ptr(0,1,0),new BT.ptr(33074,160,191),new BT.ptr(0,5,0),new BT.ptr(33068,170,170),new BT.ptr(33073,171,171),new BT.ptr(33075,172,172),new BT.ptr(33070,173,173),new BT.ptr(33071,174,175),new BT.ptr(0,3,0),new BT.ptr(19073,179,179),new BT.ptr(19073,181,182),new BT.ptr(19073,186,191),new BT.ptr(0,1,0),new BT.ptr(19073,143,163),new BT.ptr(0,1,0),new BT.ptr(33024,174,190),new BT.ptr(0,7,0),new BT.ptr(33024,132,132),new BT.ptr(33024,135,135),new BT.ptr(33024,144,144),new BT.ptr(33024,158,158),new BT.ptr(33024,161,161),new BT.ptr(33024,178,178),new BT.ptr(33024,187,187),new BT.ptr(0,3,0),new BT.ptr(33024,128,128),new BT.ptr(33024,139,139),new BT.ptr(33024,142,142),new BT.ptr(0,2,0),new BT.ptr(33074,175,175),new BT.ptr(33074,180,189),new BT.ptr(0,1,0),new BT.ptr(33074,158,159),new BT.ptr(0,1,0),new BT.ptr(33074,176,177),new BT.ptr(0,1,0),new BT.ptr(33028,134,134),new BT.ptr(0,2,0),new BT.ptr(33028,132,132),new BT.ptr(33074,160,177),new BT.ptr(0,1,0),new BT.ptr(33069,171,173),new BT.ptr(0,1,0),new BT.ptr(33028,147,147),new BT.ptr(0,1,0),new BT.ptr(33026,179,179),new BT.ptr(0,1,0),new BT.ptr(33028,128,128),new BT.ptr(0,5,0),new BT.ptr(33074,176,176),new BT.ptr(33074,178,179),new BT.ptr(33069,180,180),new BT.ptr(33074,183,184),new BT.ptr(33074,190,191),new BT.ptr(0,2,0),new BT.ptr(33074,129,129),new BT.ptr(33028,182,182),new BT.ptr(0,1,0),new BT.ptr(33028,173,173),new BT.ptr(0,6,0),new BT.ptr(58624,128,128),new BT.ptr(50688,129,155),new BT.ptr(58624,156,156),new BT.ptr(50688,157,183),new BT.ptr(58624,184,184),new BT.ptr(50688,185,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,147),new BT.ptr(58624,148,148),new BT.ptr(50688,149,175),new BT.ptr(58624,176,176),new BT.ptr(50688,177,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,139),new BT.ptr(58624,140,140),new BT.ptr(50688,141,167),new BT.ptr(58624,168,168),new BT.ptr(50688,169,191),new BT.ptr(0,7,0),new BT.ptr(50688,128,131),new BT.ptr(58624,132,132),new BT.ptr(50688,133,159),new BT.ptr(58624,160,160),new BT.ptr(50688,161,187),new BT.ptr(58624,188,188),new BT.ptr(50688,189,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,151),new BT.ptr(58624,152,152),new BT.ptr(50688,153,179),new BT.ptr(58624,180,180),new BT.ptr(50688,181,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,143),new BT.ptr(58624,144,144),new BT.ptr(50688,145,171),new BT.ptr(58624,172,172),new BT.ptr(50688,173,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,135),new BT.ptr(58624,136,136),new BT.ptr(50688,137,163),new BT.ptr(58624,164,164),new BT.ptr(50688,165,191),new BT.ptr(0,3,0),new BT.ptr(50688,128,135),new BT.ptr(58624,136,136),new BT.ptr(50688,137,163),new BT.ptr(6,13,0),new BT.ptr(17446,157,157),new BT.ptr(33045,158,158),new BT.ptr(17560,159,159),new BT.ptr(17542,170,171),new BT.ptr(17802,172,172),new BT.ptr(17810,173,173),new BT.ptr(17374,174,177),new BT.ptr(17404,178,180),new BT.ptr(17428,181,182),new BT.ptr(17440,184,184),new BT.ptr(17452,185,187),new BT.ptr(17476,188,188),new BT.ptr(17482,190,190),new BT.ptr(6,8,0),new BT.ptr(17488,128,129),new BT.ptr(17500,131,132),new BT.ptr(17518,134,137),new BT.ptr(17554,138,138),new BT.ptr(17422,139,139),new BT.ptr(17398,140,140),new BT.ptr(17470,141,141),new BT.ptr(17512,142,142),new BT.ptr(0,2,0),new BT.ptr(33024,164,165),new BT.ptr(33024,176,177),new BT.ptr(0,2,0),new BT.ptr(33024,155,157),new BT.ptr(33280,158,163),new BT.ptr(0,1,0),new BT.ptr(33024,144,144),new BT.ptr(0,2,0),new BT.ptr(33024,153,153),new BT.ptr(33280,178,180),new BT.ptr(0,1,0),new BT.ptr(33024,188,189),new BT.ptr(0,3,0),new BT.ptr(33074,160,166),new BT.ptr(33069,167,173),new BT.ptr(33074,174,175),new BT.ptr(0,4,0),new BT.ptr(33024,137,140),new BT.ptr(33024,176,178),new BT.ptr(33024,180,180),new BT.ptr(33024,182,191),new BT.ptr(0,1,0),new BT.ptr(33024,129,140),new BT.ptr(0,1,0),new BT.ptr(33024,181,186),new BT.ptr(0,4,0),new BT.ptr(19073,158,159),new BT.ptr(19073,163,163),new BT.ptr(19073,165,166),new BT.ptr(19073,170,175),new BT.ptr(0,5,0),new BT.ptr(19073,130,135),new BT.ptr(19073,138,143),new BT.ptr(19073,146,151),new BT.ptr(19073,154,156),new BT.ptr(33024,163,163),new BT.ptr(0,1,0),new BT.ptr(33069,189,189),new BT.ptr(0,1,0),new BT.ptr(33069,160,160),new BT.ptr(0,1,0),new BT.ptr(33074,182,186),new BT.ptr(44,5,0),new BT.ptr(33069,141,141),new BT.ptr(33074,143,143),new BT.ptr(33074,184,184),new BT.ptr(33025,185,186),new BT.ptr(33028,191,191),new BT.ptr(0,2,0),new BT.ptr(33074,165,165),new BT.ptr(33069,166,166),new BT.ptr(0,2,0),new BT.ptr(33028,134,134),new BT.ptr(33028,191,191),new BT.ptr(6142,7,0),new BT.ptr(40960,153,153),new BT.ptr(16952,154,154),new BT.ptr(40960,155,155),new BT.ptr(16962,156,156),new BT.ptr(40960,165,165),new BT.ptr(16972,171,171),new BT.ptr(33028,185,186),new BT.ptr(0,6,0),new BT.ptr(33074,128,130),new BT.ptr(39168,167,167),new BT.ptr(11646,174,174),new BT.ptr(11656,175,175),new BT.ptr(40960,177,178),new BT.ptr(33028,179,180),new BT.ptr(0,2,0),new BT.ptr(33028,128,128),new BT.ptr(33026,138,138),new BT.ptr(0,2,0),new BT.ptr(33028,181,181),new BT.ptr(33026,182,182),new BT.ptr(2,1,0),new BT.ptr(33026,169,170),new BT.ptr(0,7,0),new BT.ptr(40960,135,135),new BT.ptr(11666,139,139),new BT.ptr(11676,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(33074,166,172),new BT.ptr(33074,176,180),new BT.ptr(0,2,0),new BT.ptr(33028,130,130),new BT.ptr(33026,134,134),new BT.ptr(27482,6,0),new BT.ptr(39168,176,176),new BT.ptr(40960,185,185),new BT.ptr(39168,186,186),new BT.ptr(11696,187,187),new BT.ptr(11686,188,189),new BT.ptr(11706,190,190),new BT.ptr(0,2,0),new BT.ptr(33028,130,130),new BT.ptr(33026,131,131),new BT.ptr(0,5,0),new BT.ptr(39168,175,175),new BT.ptr(40960,184,185),new BT.ptr(11716,186,186),new BT.ptr(11726,187,187),new BT.ptr(33028,191,191),new BT.ptr(0,1,0),new BT.ptr(33026,128,128),new BT.ptr(0,2,0),new BT.ptr(33028,182,182),new BT.ptr(33026,183,183),new BT.ptr(0,1,0),new BT.ptr(33028,171,171),new BT.ptr(0,1,0),new BT.ptr(33025,176,180),new BT.ptr(0,1,0),new BT.ptr(33074,176,182),new BT.ptr(0,1,0),new BT.ptr(33025,158,158),new BT.ptr(0,12,0),new BT.ptr(18018,158,158),new BT.ptr(18028,159,159),new BT.ptr(18080,160,160),new BT.ptr(18094,161,161),new BT.ptr(18108,162,162),new BT.ptr(18122,163,163),new BT.ptr(18136,164,164),new BT.ptr(33067,165,166),new BT.ptr(33025,167,169),new BT.ptr(33072,173,173),new BT.ptr(33067,174,178),new BT.ptr(33069,187,191),new BT.ptr(0,9,0),new BT.ptr(33069,128,130),new BT.ptr(33074,133,137),new BT.ptr(33069,138,139),new BT.ptr(33074,170,173),new BT.ptr(18038,187,187),new BT.ptr(18048,188,188),new BT.ptr(18150,189,189),new BT.ptr(18178,190,190),new BT.ptr(18164,191,191),new BT.ptr(0,1,0),new BT.ptr(18192,128,128),new BT.ptr(0,1,0),new BT.ptr(33074,130,132),new BT.ptr(0,5,0),new BT.ptr(33074,128,134),new BT.ptr(33074,136,152),new BT.ptr(33074,155,161),new BT.ptr(33074,163,164),new BT.ptr(33074,166,170),new BT.ptr(0,1,0),new BT.ptr(33069,144,150),new BT.ptr(0,2,0),new BT.ptr(33074,132,137),new BT.ptr(33026,138,138),new BT.ptr(0,1,0),new BT.ptr(33024,147,147)]);BM=$toNativeArray($kindUint16,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,40960,40960,0,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,0,0,0,0,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,40960,40960,40960,40960,40960,40960,40960,40960,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12143,12148,18206,12153,18221,18226,40960,18236,12258,12263,18241,12283,12398,12403,12408,18261,0,12548,12583,12588,18271,18276,18291,0,40960,12723,12728,12733,18341,12853,0,0,12923,12928,18351,12933,18366,18371,40960,18381,13038,13043,18386,13063,13183,13188,13193,18406,0,13333,13368,13373,18416,18421,18436,0,40960,13513,13518,13523,18486,13648,0,13673,12158,12938,18211,18356,12188,12968,12208,12988,12213,12993,12218,12998,12223,13003,12233,13013,0,0,18246,18391,12273,13053,12278,13058,12308,13088,12293,13073,12333,13113,12343,13123,12348,13128,12358,13138,12363,13143,0,0,12413,13198,12418,13203,12423,13208,12458,13238,12428,0,6493,6631,12468,13248,12488,13273,0,12498,13283,12508,13293,12503,13288,7084,7220,0,0,12543,13328,12568,13353,12558,13343,7260,0,0,18281,18426,12593,13378,12603,13388,0,0,12633,13418,12658,13443,12643,13428,18316,18461,12668,13453,12683,13468,18321,18466,12708,13498,12693,13483,0,0,18331,18476,18336,18481,12738,13528,12748,13538,12753,13543,12783,13573,12818,13608,12858,13653,12878,12893,13693,12903,13703,12908,13708,167,0,0,0,0,11758,11764,11770,6514,6517,6664,6535,6538,6718,12168,12948,12438,13218,12608,13393,12758,13548,14799,15198,14792,15191,14806,15205,14785,15184,0,14512,14911,14505,14904,13747,13765,0,0,12353,13133,12478,13263,18306,18451,14736,15135,13783,13789,13253,6466,6469,6607,12328,13108,0,0,12538,13323,14519,14918,13741,13759,13753,13771,12173,12953,12178,12958,12298,13078,12303,13083,12443,13223,12448,13228,12613,13398,12618,13403,12648,13433,12653,13438,12763,13553,12768,13558,12678,13463,12703,13493,0,0,12378,13158,0,0,0,0,0,0,18216,18361,18256,18401,14687,15086,14652,15051,18286,18431,14680,15079,12868,13663,0,0,0,0,0,0,0,0,0,0,0,0,39218,39218,39218,39218,39218,33074,39218,39218,39218,39218,39218,39218,39218,33074,33074,39218,33074,39218,33074,39218,39218,33075,33069,33069,33069,33069,33075,39211,33069,33069,33069,33069,33069,33065,33065,39213,39213,39213,39213,39209,39209,33069,33069,33069,33069,39213,39213,33069,39213,39213,33069,33069,33025,33025,33025,33025,39169,33069,33069,33069,33069,33074,33074,33074,19012,19017,39218,19022,19027,39222,33074,33069,33069,33069,33074,33074,33074,33069,33069,0,33074,33074,33074,33069,33069,33069,33069,33074,33075,33069,33069,33074,33076,33077,33077,33076,33077,33077,33076,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,33074,0,0,0,0,368,0,0,0,0,0,17061,0,0,0,55,0,0,0,0,0,16986,17681,13801,206,13831,13843,13861,0,13891,0,13909,13939,15880,40960,0,0,0,40960,0,40960,0,40960,0,0,0,0,0,40960,0,40960,0,0,0,40960,0,0,0,40960,13879,13927,18580,13975,18622,13993,15984,40960,0,0,0,40960,0,40960,0,40960,0,0,0,0,0,40960,0,40960,0,0,0,40960,0,0,0,40960,18646,18676,14023,14047,18700,0,446,464,428,17314,17320,506,488,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,470,491,494,0,392,455,0,0,0,422,0,0,0,0,0,0,14113,14125,0,14107,0,0,40960,14089,0,0,0,0,14173,14149,14191,0,40960,0,0,40960,0,40960,40960,40960,40960,14161,40960,0,0,0,40960,0,0,0,0,40960,0,0,0,40960,0,0,0,40960,0,40960,0,0,40960,0,0,40960,0,40960,40960,40960,40960,14293,40960,0,0,0,40960,0,0,14131,14263,0,0,0,0,0,0,0,0,0,0,0,0,0,14095,14227,14101,14233,0,0,14119,14251,40960,40960,14377,14383,14137,14269,14143,14275,0,0,14155,14287,14167,14299,14179,14311,40960,40960,14389,14395,14221,14353,14185,14317,14197,14329,14203,14335,14209,14341,0,0,14215,14347,0,0,0,0,0,0,0,0,0,0,0,0,0,7521,0,0,0,0,0,0,0,0,0,33069,33074,33074,33074,33074,33069,33074,33074,33074,33070,33069,33074,33074,33074,33074,33074,33074,33069,33069,33069,33069,33069,33069,33074,33074,33069,33074,33074,33070,33073,33074,33029,33030,33031,33032,33033,33034,33035,33036,33037,33038,33038,33039,33040,33041,0,33042,0,0,0,0,0,0,0,0,40960,0,40960,33046,33047,33048,33049,33050,33051,33052,33053,39218,39218,39213,33069,33074,33074,33074,33074,33074,33069,33074,33074,33069,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33054,0,0,0,0,7556,8211,8271,8266,0,0,0,0,0,0,0,0,0,0,0,0,40960,11558,40960,11566,40960,11574,40960,11582,40960,11590,0,0,40960,11598,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,33026,39168,0,0,0,0,40960,11606,40960,11614,40960,40960,105,107,111,131,245,248,1043,133,137,139,260,263,266,143,0,151,155,224,159,254,1047,1051,161,169,171,1059,299,173,1063,446,449,452,506,509,147,165,171,173,446,449,491,506,509,0,0,0,0,0,0,0,0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,251,135,257,212,266,141,269,272,278,284,287,290,1067,362,296,1071,365,305,302,308,311,314,317,320,332,335,236,338,341,1055,344,347,181,350,353,356,464,12183,12963,12193,12973,12198,12978,12203,12983,14540,14939,12228,13008,12238,13018,12253,13033,12243,13023,12248,13028,14575,14974,14582,14981,12313,13093,12318,13098,14596,14995,12323,13103,12338,13118,12368,13148,12383,13163,12373,13153,12388,13168,12393,13173,12463,13243,14603,15002,12473,13258,12483,13268,12493,13278,18266,18411,14610,15009,12518,13303,12513,13298,12523,13308,12528,13313,12533,13318,12553,13338,12563,13348,12578,13363,12573,13358,14645,15044,14659,15058,14666,15065,14673,15072,12623,13408,12628,13413,12638,13423,18311,18456,14743,15142,12663,13448,12673,13458,18326,18471,14750,15149,14757,15156,14764,15163,12688,13473,12698,13488,12718,13508,12713,13503,12778,13568,12793,13583,12788,13578,14771,15170,14778,15177,12798,13588,12803,13593,12808,13598,12813,13603,12828,13618,12823,13613,12833,13628,12838,13633,12843,13638,12873,13668,12898,13698,12913,13713,12918,13718,13178,13478,13623,13683,7136,17111,0,0,0,0,18231,18376,12163,12943,14456,14855,14449,14848,14470,14869,14463,14862,14526,14925,14484,14883,14477,14876,14498,14897,14491,14890,14533,14932,18251,18396,12288,13068,12268,13048,14554,14953,14547,14946,14568,14967,14561,14960,14589,14988,12433,13213,12453,13233,18301,18446,12598,13383,14624,15023,14617,15016,14638,15037,14631,15030,14729,15128,14701,15100,14694,15093,14715,15114,14708,15107,14722,15121,12773,13563,12743,13533,14820,15219,14813,15212,14834,15233,14827,15226,14841,15240,12848,13643,12888,13688,12883,13678,12863,13658,0,0,0,0,0,0,18586,18592,18868,18892,18876,18900,18884,18908,18496,18502,18724,18748,18732,18756,18740,18764,18604,18610,15800,15816,15808,15824,0,0,18508,18514,15592,15608,15600,15616,0,0,18628,18634,18916,18940,18924,18948,18932,18956,18520,18526,18772,18796,18780,18804,18788,18812,18652,18658,15896,15920,15904,15928,15912,15936,18532,18538,15640,15664,15648,15672,15656,15680,18664,18670,15944,15960,15952,15968,0,0,18544,18550,15688,15704,15696,15712,0,0,18682,18688,16000,16024,16008,16032,16016,16040,0,18556,0,15720,0,15728,0,15736,18706,18712,18964,18988,18972,18996,18980,19004,18562,18568,18820,18844,18828,18852,18836,18860,18574,17332,13969,17338,18616,17344,13987,17350,14017,17356,14041,17362,18694,17368,0,0,15776,15784,16772,16802,16782,16812,16792,16822,15576,15584,16592,16622,16602,16632,16612,16642,15848,15856,16832,16862,16842,16872,16852,16882,15624,15632,16652,16682,16662,16692,16672,16702,16064,16072,16892,16922,16902,16932,16912,16942,15744,15752,16712,16742,16722,16752,16732,16762,13957,13951,15760,13963,15768,0,18598,15792,13813,13807,13795,17284,13819,17031,467,17031,17056,17688,15832,13981,15840,0,18640,15864,13825,17290,13837,17296,13849,17695,17702,17709,14005,13999,15872,17786,0,0,14011,15888,13873,13867,13855,17302,0,17716,17723,17730,14059,14053,15976,17794,14029,14035,14065,15992,13921,13915,13903,17314,13897,17674,17681,129,0,0,16048,14071,16056,0,18718,16080,13885,17308,13933,17326,13945,16986,17036,0,7128,7132,71,7252,0,7144,7148,233,0,7256,143,81,81,81,145,218,83,83,89,153,0,93,6541,0,0,97,99,101,101,101,0,0,6559,7112,6568,0,117,0,440,0,117,0,87,17106,69,71,0,139,75,77,0,91,159,533,536,539,542,147,0,7064,488,449,377,416,1123,0,0,0,0,73,137,139,147,149,0,0,0,0,0,0,8750,8762,8942,8726,8858,8738,8864,8888,8900,8744,8906,8756,8894,8912,8918,7356,83,6490,7076,6499,109,6571,7120,7496,6502,113,6583,7124,89,71,73,91,147,6628,7192,6637,173,6754,7244,7516,6640,177,6757,7248,153,135,137,155,0,15366,0,40960,15373,40960,0,15380,40960,15387,0,0,0,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12133,40960,15401,0,40960,40960,0,0,0,0,0,0,0,15394,12128,12138,15408,15415,40960,40960,15422,15429,40960,40960,15436,15443,40960,40960,40960,40960,0,0,15450,15457,40960,40960,15478,15485,40960,40960,15492,15499,0,0,0,0,0,0,0,40960,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,0,0,0,0,0,40960,40960,0,40960,15520,15527,15534,15541,0,0,40960,40960,40960,40960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35,37,39,41,43,45,47,49,51,6274,6277,6280,6283,6286,6289,6292,6295,6298,6301,6310,6760,6764,6768,6772,6776,6780,6784,6788,6792,7296,7301,7306,7311,7316,7321,7326,7331,7336,7341,7346,6271,6307,6343,6379,6415,6424,6430,6436,6442,7008,7012,7016,7020,7024,7028,7032,7036,7040,7044,7048,6900,6904,6908,6912,6916,6920,6924,6928,6932,6936,6940,6944,6948,6952,6956,6960,6964,6968,6972,6976,6980,6984,6988,6992,6996,7000,67,69,71,73,75,77,79,81,83,85,1727,1763,1775,1791,1799,1811,1819,1827,1839,1923,1947,1963,1979,1995,2011,2043,2047,2051,2103,2143,2159,2167,2171,2183,2211,2215,2239,2243,2251,2267,2423,2443,2507,2527,2535,2539,2555,2583,2627,2639,2671,2683,2687,2691,2715,2719,2763,2775,2783,2791,2807,2815,2823,2867,2871,2879,2883,2891,2899,2915,2943,3063,3083,3087,3215,3219,3239,3243,3251,3259,3267,3279,3319,3335,3355,3467,3479,3495,3507,3519,3527,3531,3535,3539,3543,3727,3799,3811,3815,3819,3823,3831,3835,3855,3883,3891,3955,3959,3967,3971,3979,3983,4019,4023,4051,4055,4059,4063,4083,4119,4123,4127,4163,4227,4231,4263,4279,4287,4319,4355,4423,4431,4451,4463,4471,4479,4483,4487,4511,4515,4543,4551,4559,4563,4575,4583,4587,4591,4599,4603,4763,4783,4835,4839,4847,4891,4899,4907,4915,4975,4979,4987,4991,4995,5039,5043,5051,5071,5075,5103,5111,5115,5151,5183,5203,5207,5215,5259,5263,5279,5315,5327,5343,5367,5375,5379,5383,5387,5399,5403,5411,5439,5443,5447,5471,5475,5483,5503,5507,5511,5519,5523,0,0,0,0,0,0,40960,0,0,0,0,40960,16136,40960,16144,40960,16152,40960,16160,40960,16168,40960,16176,40960,16184,40960,16192,40960,16200,40960,16208,40960,16216,40960,16224,0,40960,16232,40960,16240,40960,16248,0,0,0,0,0,40960,16256,16264,40960,16272,16280,40960,16288,16296,40960,16304,16312,40960,16320,16328,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16128,0,0,0,0,39171,39171,17266,17272,40960,16336,9908,0,0,0,0,0,0,40960,0,0,0,0,40960,16352,40960,16360,40960,16368,40960,16376,40960,16384,40960,16392,40960,16400,40960,16408,40960,16416,40960,16424,40960,16432,40960,16440,0,40960,16448,40960,16456,40960,16464,0,0,0,0,0,40960,16472,16480,40960,16488,16496,40960,16504,16512,40960,16520,16528,40960,16536,16544,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40960,40960,40960,40960,0,16344,0,0,16552,16560,16568,16576,0,0,40960,16584,9929,871,811,815,819,891,823,827,831,835,839,843,847,851,855,859,17116,17121,17126,17131,17136,17141,17146,17151,17156,17161,17166,17171,17176,17181,17186,17191,17196,17201,17206,17211,17216,963,863,867,999,1003,1007,1011,1015,1019,1023,875,1027,1031,879,883,887,895,899,903,907,911,915,919,923,927,931,935,939,943,947,1035,1039,951,955,959,967,971,975,979,983,987,991,995,0,0,0,1727,1819,1739,2427,1743,1767,1747,3987,1799,1755,1731,2559,2447,1839,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8276,8282,8288,8294,8300,8306,8312,8318,8324,8330,8336,8342,8348,8354,10022,10031,10040,10049,10058,10067,10076,10085,10094,10112,10121,10130,10139,10148,10103,11180,10989,0,8360,8384,8372,8456,8390,8420,8366,8414,8378,8432,8480,8510,8504,8492,8570,8462,8474,8498,8486,8528,8444,8516,8558,8534,8426,8396,8450,8468,8522,8402,8564,8438,8540,8408,8546,8552,2351,2819,3239,4295,0,0,0,0,0,0,0,0,7108,6313,6316,6319,6322,6325,6328,6331,6334,6337,6346,6349,6352,6355,6358,6361,787,795,799,807,811,815,823,831,835,843,847,851,855,859,11800,11808,11816,11824,11832,11840,11848,11856,11872,11880,11888,11896,11904,11912,11987,11931,11864,0,1727,1819,1739,2427,1823,1967,1735,1963,1803,2183,3335,3727,3543,3355,5215,2443,3279,3403,3339,4171,2299,3843,4999,4191,2115,4239,3995,2583,5135,1919,2219,3575,5415,1859,2003,3483,1743,1767,1747,2779,2287,2175,2647,2635,4075,1855,5019,2203,2547,6364,6367,6370,6373,6382,6385,6388,6391,6394,6397,6400,6403,6406,6409,6418,7366,7381,7396,7411,7426,7441,7456,7471,7486,8588,8606,8624,6484,7172,6610,7080,1227,1235,1243,1251,1259,1263,1267,1271,1275,1279,1283,1287,1291,1295,1299,1303,1307,1315,1319,1323,1327,1331,1335,1339,1343,1347,1351,1355,1359,1363,1367,1371,1375,1379,1383,1391,1399,1407,1411,1415,1419,1423,1427,1431,1435,1439,1443,0,11020,10664,11036,10368,12004,10378,10388,12072,10677,10398,10408,10418,10716,10729,10690,10703,11945,10742,10755,11198,9915,11217,11236,11052,10768,11255,11274,10781,10428,10438,11959,10794,11068,12021,10448,10458,10807,10468,10478,9936,9943,10488,10498,11293,10820,11084,11312,10833,10518,10508,12092,10846,11331,10528,11100,10538,10872,10548,10885,12038,10859,11116,10898,9950,12055,10558,10568,10911,10578,10588,10598,11132,10924,9957,11350,11920,11148,10937,11973,10608,10618,10950,9964,10963,11164,9971,11369,10628,7351,7371,7386,7401,7416,7431,7446,7461,7476,7491,8594,8612,8630,8642,8654,8666,8678,8690,8702,8714,8774,8786,8798,8810,8822,7188,6598,6454,7140,6727,6742,6604,7164,7168,6496,9985,9999,9978,9992,10976,6730,6706,7264,6682,6643,6505,6520,6472,7152,7506,6733,6709,7268,7280,6694,6652,6487,7196,7088,7068,7116,7284,6697,6601,6655,6622,6721,7288,6700,6592,6658,7228,7156,6676,7204,7232,7160,6679,7208,8936,8956,6550,7200,7092,7072,7240,10006,10157,6745,6724,7292,6703,6736,6712,7272,6685,6646,6529,6739,6715,7276,6688,6649,6532,7212,7096,7501,6457,6586,6589,8949,7060,6595,6475,6625,6478,6634,6508,6511,6661,6667,6670,7216,6673,6691,7224,7236,6544,7511,7100,6547,6748,6565,6580,8930,8924,7361,7376,7391,7406,7421,7436,7451,7466,7481,8582,8600,8618,8636,8648,8660,8672,8684,8696,8708,8768,8780,8792,8804,8816,8828,8834,8840,8846,8852,8870,8876,7184,4983,3323,5075,5023,3671,1771,2271,5675,5675,2571,5215,2371,2567,3055,4047,4447,4759,4819,4871,5147,3443,3583,3755,3907,4703,5191,5491,1807,2227,3463,3791,4755,5571,2739,3703,4739,4887,3107,4539,4831,2847,3343,3607,3867,5159,1871,2023,2131,3211,3455,3787,4079,4471,4747,4771,5063,5359,5539,5567,4139,4203,4387,4675,5243,5579,4939,2503,2875,4315,4507,3839,4147,5015,5351,2499,2703,3447,3627,3679,4371,4411,5287,2127,4519,2035,2031,4247,4391,4699,5295,4967,3111,3443,4951,1783,2659,2963,3887,4015,2163,4155,1887,2935,1751,3563,3235,4367,2247,2483,4091,4707,4923,3511,5111,3555,3127,4635,3159,4011,1835,1959,2027,3411,4347,4595,4935,5211,2139,2319,2583,2863,3263,3707,4159,5271,5499,5583,5607,2103,3315,3491,5099,2811,3031,3059,3203,3691,3767,3943,4235,4399,4499,5083,4715,5123,5247,2063,2107,2339,3751,4851,4923,2843,2955,3151,3503,4311,3875,1851,2431,2659,2759,2967,3903,3931,4459,4491,5219,5347,5363,5423,1875,4223,5199,5323,2991,1815,1911,2663,2695,3247,3443,3779,4043,4727,5143,5667,3299,5283,2099,3375,3387,3599,3655,3915,4007,4135,4363,5435,1967,3075,5299,1895,2731,3631,5087,2919,2999,3395,3887,5307,2071,2303,2711,3283,3359,3423,3571,3911,4027,4439,4855,4867,5207,5335,2179,3659,2307,3783,3947,4743,5311,5547,5587,3383,3623,4547,4279,4291,4327,3863,3743,4963,1843,4651,2075,2059,2827,3115,4339,2643,3587,3311,5095,4839,5291,4899,2855,1927,2395,0,0,2479,0,3295,0,0,2039,3871,4067,4167,4195,4199,4219,5371,4331,4463,0,4751,0,4947,0,0,5127,5171,0,0,0,5455,5459,5463,5563,5163,5319,1879,1915,1935,2123,2135,2199,2379,2407,2415,2475,2487,2707,2715,2979,3019,3027,3051,3223,3271,3303,3415,3611,3639,3687,3771,3803,3919,4143,4171,4179,4175,4183,4187,4191,4211,4215,4251,4271,4299,4399,4407,4415,4435,4475,4555,4607,4607,4711,4879,4903,4955,4959,5027,5031,5119,5127,5339,5407,5431,2971,5918,4579,0,0,1759,2019,1955,1867,1931,1975,2119,2147,2379,2359,2375,2403,2479,2495,2563,2575,2603,2619,2851,2859,2907,2939,2987,3011,2995,3027,3015,3051,3079,3167,3179,3187,3227,3295,3343,3347,3367,3495,3511,3599,3675,3667,3687,3715,3771,4115,3807,3859,3871,3935,3963,3999,4035,4039,4067,4071,4087,4107,4103,4151,4275,4299,4323,4379,4399,4427,4475,4655,4695,4811,4883,4895,4903,4927,4947,4931,4955,4951,4943,4959,4971,5031,5091,5139,5195,5227,5303,5339,5371,5391,5407,5419,5431,5515,5675,5813,5808,5858,1543,1583,1587,5988,6033,6153,5655,5671,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6613,6616,6619,7176,7180,6751,6751,0,0,0,0,0,0,0,0,0,0,0,0,7541,7526,7531,7546,7536,0,0,0,0,0,17446,33045,17560,557,533,542,545,548,551,554,560,563,23,17542,17548,17802,17810,17374,17380,17386,17392,17404,17410,17416,17428,17434,0,17440,17452,17458,17464,17476,0,17482,0,17488,17494,0,17500,17506,0,17518,17524,17530,17536,17554,17422,17398,17470,17512,7551,665,665,674,674,674,674,677,677,677,677,683,683,683,683,671,671,671,671,680,680,680,680,668,668,668,668,719,719,719,719,722,722,722,722,689,689,689,689,686,686,686,686,692,692,692,692,695,695,695,695,704,704,701,701,707,707,698,698,713,713,710,710,725,725,725,725,731,731,731,731,737,737,737,737,734,734,734,734,740,740,743,743,743,743,17668,17668,749,749,749,749,746,746,746,746,776,776,17662,17662,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,728,728,728,758,758,755,755,761,761,8271,767,767,752,752,764,764,773,773,773,773,653,653,9642,9642,9754,9754,9705,9705,9733,9733,9726,9726,9740,9740,9747,9747,9747,9712,9712,9712,770,770,770,770,9649,9656,9684,9712,9719,7561,7566,7571,7586,7601,7606,7611,7616,7621,7636,7651,7656,7661,7676,7691,7696,7701,7706,7721,7726,7741,7746,7751,7766,7771,7776,7786,7846,7861,7876,7881,7886,7896,7911,7916,7931,7936,7941,7956,7961,7976,7981,7986,7991,7996,8001,8006,8011,8016,8021,8026,8031,8036,8041,8046,8051,8056,8061,8071,8076,8081,8086,8096,8101,8111,8116,8121,8126,8131,8136,8141,8146,8151,8166,8181,8186,8191,8196,8201,8206,8216,8221,8226,8241,8256,8261,17590,17596,17650,17737,17744,17751,17758,17765,17772,9670,9677,9684,9691,9712,9719,7576,7581,7586,7591,7601,7606,7626,7631,7636,7641,7651,7656,7666,7671,7676,7681,7691,7696,7996,8001,8016,8021,8026,8046,8051,8056,8061,8086,8096,8101,8106,8126,8156,8161,8166,8171,8181,8186,17650,8231,8236,8241,8246,8256,8261,9649,9656,9663,9684,9698,7561,7566,7571,7586,7596,7611,7616,7621,7636,7646,7676,7701,7706,7721,7726,7741,7751,7766,7771,7776,7786,7846,7851,7861,7876,7881,7886,7896,7911,7931,7936,7941,7956,7961,7976,7981,7986,7991,8006,8011,8031,8036,8041,8046,8051,8071,8076,8081,8086,8091,8111,8116,8121,8126,8141,8146,8151,8166,8176,8191,8196,17638,8216,8221,8226,8241,8251,9684,9698,7586,7596,7636,7646,7676,7686,7786,7791,7826,7831,8046,8051,8086,8166,8176,8241,8251,17818,17826,17834,7921,7926,7946,7951,7966,7971,7796,7801,7836,7841,7731,7736,7711,7716,7756,7761,7866,7871,7901,7906,7806,7811,7816,7826,7821,7781,7856,7891,7921,7926,7946,7951,7966,7971,7796,7801,7836,7841,7731,7736,7711,7716,7756,7761,7866,7871,7901,7906,7806,7811,7816,7826,7821,7781,7856,7891,7806,7811,7816,7826,7791,7831,7916,7766,7771,7776,7806,7811,7816,7916,7931,17566,17566,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8977,8998,8998,9005,9012,9033,9040,9047,9082,9082,9117,9110,9138,9124,9131,9166,9166,9159,9173,9173,9215,9215,9243,9187,9187,9180,9201,9201,9208,9208,9250,9264,9264,9271,9271,9278,9285,9292,9299,9299,9306,9320,9334,9327,9341,9341,9362,9369,9418,9432,9425,9397,9397,9439,9439,9446,9446,9488,9495,9502,9460,9474,9509,9516,0,0,9467,9600,9607,9565,9572,9544,9544,9551,9593,9586,9628,9628,8970,8991,8984,9026,9019,9061,9054,9096,9068,9089,9145,9222,9194,9257,9411,9453,9621,9614,9635,9530,9376,9579,9362,9418,9313,9390,9537,9523,9404,9383,9404,9537,9075,9103,9481,9348,8963,9383,9292,9243,9152,9558,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9236,9355,10175,10166,10220,10202,10184,10211,10229,9229,11388,11004,10193,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,1155,1159,53,55,3,63,1215,1219,7004,0,0,0,0,0,0,33074,33074,33074,33074,33074,33074,33074,33069,33069,33069,33069,33069,33069,33069,33074,33074,6259,1091,1087,127,127,17,19,183,187,1207,1211,1195,1199,1171,1175,1163,1167,1179,1183,1187,1191,0,0,119,123,17001,17001,17001,17001,127,127,127,25,1155,29,0,55,53,63,3,1091,17,19,183,187,1207,1211,7,13,21,23,27,57,61,59,0,121,9,11,65,0,0,0,0,17066,17602,17071,0,17076,0,17081,17608,17086,17614,17091,17620,17096,17626,17101,17632,566,17572,17572,17578,17578,17644,17644,17584,17584,17656,17656,17656,17656,569,569,572,572,572,572,575,575,578,578,578,578,581,581,581,581,584,584,584,584,587,587,587,587,590,590,590,590,593,593,596,596,599,599,602,602,605,605,605,605,608,608,608,608,611,611,611,611,614,614,614,614,617,617,617,617,620,620,620,620,623,623,623,623,626,626,626,626,629,629,629,629,632,632,632,632,635,635,635,635,638,638,638,638,641,641,641,641,644,644,644,644,647,647,647,647,650,650,653,653,656,656,656,656,11776,11776,11784,11784,11792,11792,8066,8066,0,0,0,129,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,169,171,173,175,177,179,181,183,185,187,189,1143,1147,1159,1179,1183,1155,1451,1443,1223,1231,1239,1247,1255,1387,1395,1403,1311,1455,1227,1235,1243,1251,1259,1263,1267,1271,1275,1279,1283,1287,1291,1295,1299,1303,1307,1315,1319,1323,1327,1331,1335,1339,1343,1347,1351,1355,1359,1363,1367,1371,1375,1379,1383,1391,1399,1407,1411,1415,1419,1423,1427,1431,1447,19034,19040,963,787,791,17221,795,17226,17231,799,803,807,17236,17241,17246,17251,17256,17261,871,811,815,819,891,823,827,831,835,839,843,847,851,855,859,0,0,0,17116,17121,17126,17131,17136,17141,0,0,17146,17151,17156,17161,17166,17171,0,0,17176,17181,17186,17191,17196,17201,0,0,17206,17211,17216,0,0,0,191,194,203,16996,200,197,1095,0,1131,1099,1103,1107,1111,1135,1139,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,99,101,103,105,107,109,111,113,115,117,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,169,171,173,175,177,179,181,221,242,0,0,371,374,377,380,383,386,389,392,395,398,401,404,407,410,413,416,419,392,422,425,428,431,434,437,509,512,515,1115,455,464,470,506,491,488,518,521,0,0,33,35,37,39,41,43,45,47,49,51,33,35,37,39,41,43,45,47,49,51,33,35,37,39,41,43,45,47,49,51,33,35,37,39,41,43,45,47,49,51,33,35,37,39,41,43,45,47,49,51,569,572,584,593,0,650,602,587,617,656,635,638,641,644,605,623,629,611,632,599,608,578,581,590,596,614,620,626,659,740,716,662,0,572,584,0,647,0,0,587,0,656,635,638,641,644,605,623,629,611,632,0,608,578,581,590,0,614,0,626,0,0,0,0,0,0,584,0,0,0,0,587,0,656,0,638,0,644,605,623,0,611,632,0,608,0,0,590,0,614,0,626,0,740,0,662,0,572,584,0,647,0,0,587,617,656,635,0,641,644,605,623,629,611,632,0,608,578,581,590,0,614,620,626,659,0,716,0,569,572,584,593,647,650,602,587,617,656,0,638,641,644,605,623,629,611,632,599,608,578,581,590,596,614,620,626,0,0,0,0,0,572,584,593,0,650,602,587,617,656,0,638,641,644,605,623,629,611,632,599,608,578,581,590,596,614,620,626,0,0,0,0,6265,6262,6268,6304,6340,6376,6412,6421,6427,6433,6439,0,0,0,0,0,6796,6800,6804,6808,6812,6816,6820,6824,6828,6832,6836,6840,6844,6848,6852,6856,6860,6864,6868,6872,6876,6880,6884,6888,6892,6896,10014,71,101,6460,6577,0,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,9901,9922,1283,0,0,0,0,0,0,0,0,0,0,0,0,0,3087,2631,2259,18010,1819,2543,4911,2559,1831,3287,3759,3247,2087,2923,1983,3255,2067,4375,3971,5003,2515,2315,3683,3099,3143,1727,1739,5131,2779,1767,2287,3131,5043,3091,4207,4267,2295,3651,3339,3335,3991,2091,2391,5187,0,0,0,0,1787,1779,1795,5703,1863,1879,1883,1891,1899,1903,1915,1907,1459,5723,1935,1939,1943,1971,5708,1463,1951,1983,5718,1999,2007,1847,2015,2019,6193,2047,2055,1471,2079,2083,2091,2095,1475,2119,2123,2135,2147,2151,2155,2163,2195,2199,2207,2223,2231,2235,2235,2235,5738,3731,2255,2263,5743,2275,2283,2291,2331,2311,2323,2327,2335,2343,2347,2355,2363,2367,2367,2375,2383,2387,2399,2435,2407,2439,2411,2419,2059,2511,2455,2459,2463,2451,2471,2467,2491,5748,2519,2523,2531,2543,2551,2579,5753,5758,2591,2595,2599,2587,2607,1479,1483,2615,2623,2623,5763,2651,2655,2659,2667,5768,2675,2679,2895,2687,1487,2699,2715,2727,2723,5778,2735,5783,2747,2743,2751,2767,2771,1491,2787,2795,2799,2803,1495,5788,1499,2831,2835,2839,2847,6243,2871,5798,5798,4567,2887,2887,1503,5833,6043,2903,2911,1507,2931,2947,2951,2959,2975,1515,1511,2979,5803,2983,3003,3007,3011,3007,3023,3027,3043,3035,3039,3047,3051,3055,3067,3071,3095,3103,3119,3139,5818,3135,3123,3147,3155,3175,5823,3183,3171,3163,1519,3191,3199,3207,3195,1523,3223,3231,5828,3275,3327,3291,1535,3303,1531,1527,1987,1991,3331,3307,4523,1635,3343,3347,3351,3371,3363,5853,1539,3391,3379,3407,3415,5863,3419,3399,3427,1543,3431,3435,3439,3451,5868,3459,1547,3471,5873,3475,1551,3487,3499,3511,3515,5878,5773,5883,3547,5888,3559,3567,3551,3579,3595,3611,3599,3603,3615,3619,5893,3591,3643,3647,1555,3667,3663,5898,3635,3695,5903,5908,3699,3719,3715,3711,1559,3723,3739,3735,3747,5713,3763,5913,3775,5923,3795,3807,3827,5928,3847,3851,5933,5938,3879,3895,1563,3899,1567,1567,3923,3927,3935,3939,3951,1571,3975,5943,4003,5948,4015,5793,4031,5953,5958,5963,1575,1579,4087,5973,5968,5978,5983,4095,4099,4099,4107,1587,4111,1591,1595,5993,4131,4139,4151,1599,5998,4187,6003,6008,4219,4243,1603,4251,4255,4259,6013,6018,6018,4283,1607,6023,4303,4307,1611,6028,4335,1615,4351,4343,4359,6038,4383,1619,4395,4403,4419,1623,6048,6053,1627,6058,4443,6063,4455,4467,4475,6068,6073,4495,6078,4503,5838,1631,4527,4531,1639,4535,2611,6083,6088,5843,5848,4567,4571,5107,1643,4615,4611,4619,2111,4623,4627,4631,4639,6093,4635,4643,4663,4667,4647,4671,4691,4711,4659,4679,4683,4687,6098,6108,6103,1647,4719,4723,4731,6128,4735,6113,1651,1655,6118,6123,1659,4767,4771,4775,4779,4791,4787,4799,4795,4811,4803,4807,4815,1663,4823,4827,1667,4843,4847,6133,4859,4863,1671,4875,1467,6138,6143,1675,1679,4919,4943,4971,4987,6148,5007,5011,5035,5047,6158,5728,5059,5055,5067,5733,5079,5091,6163,6168,5155,5167,5175,6173,5179,5223,5235,5239,5231,5251,5255,6178,5267,1683,5275,6183,1687,5331,2755,5355,6188,6198,1691,1695,5395,6203,1699,6208,5419,5419,5427,6213,5451,1703,5467,5479,5487,5495,1707,6218,5515,5543,5555,1711,1715,5559,6223,1719,6228,6233,6238,5595,1723,5615,5623,5627,5635,5643,5651,6248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);BN=$toNativeArray($kindUint8,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,90,1,2,3,91,4,5,0,92,93,6,7,8,9,10,94,95,11,0,0,12,96,97,13,0,98,99,100,0,101,2,3,4,5,0,0,0,0,0,0,6,7,8,9,0,10,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,102,103,0,104,105,106,107,108,109,110,111,112,107,113,114,115,0,116,117,118,119,120,0,121,122,123,124,125,126,127,128,129,130,0,131,132,133,134,135,136,0,0,0,0,0,137,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,0,0,139,0,0,140,0,141,0,0,0,142,143,144,0,14,145,146,147,148,0,0,149,150,15,16,151,17,18,19,20,21,22,23,24,152,153,154,155,25,26,156,157,158,27,28,159,160,0,0,0,0,29,30,161,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,162,163,0,164,0,0,0,0,0,165,0,166,0,167,0,168,0,0,169,170,31,32,33,171,172,34,35,36,173,37,38,0,39,40,41,42,43,44,45,46,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,174,175,176,0,177,0,178,179,0,0,180,181,182,183,184,0,0,185,186,0,187,0,188,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,195,189,190,191,192,193,194,196,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,197,71,72,73,0,0,0,0,0,0,0,198,0,0,0,199,0,200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,201,0,0,202,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,203,204,0,205,183,0,206,207,0,0,208,107,209,0,0,0,210,211,212,0,0,213,214,215,0,216,0,217,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,218,219,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,220,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,221,222,223,0,224,0,0,0,0,0,0,225,226,227,228,229,230,231,232,233,234,74,235,236,237,238,75,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,239,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,0,241,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,77,78,0,0,0,0,0,0,0,0,0,79,242,243,0,80,244,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,81,82,83,84,85,86,87,88,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,12,0,0,0,0,13,0,0,0,0,14,0,15,16,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);BO=new CB([0,14,18,27,37,53,55,60,71,86,99,107,111,116,118,135,143,150,153,160,164,168,170,172,181,185,192,197,200,210,212,219,227,231,233,236,240,246,263,275,277,283,285,287,289,291,293,295,297,300,303,305,308,311,315,320,329,331,334,336,347,358,374,388,402,418,432,439,445,460,464,466,470,472,475,477,480,482,485,487,489,491,503,513,523,526,530,532,534,536,538,541,543,545,547,549,555,558,562,564,571,577,583,591,597,603,609,613,615,617,619,621,627,630,633,641,648,651,654,656,664,667,674,677,683,685,687,690,692,694,696,698,711,721,723,725,729,734,746,751,760,766,771,775,780,784,800,814,828,842,848,850,853,863,865]);BP=$toNativeArray($kindStruct,[new BT.ptr(2,13,0),new BT.ptr(1,160,160),new BT.ptr(17016,168,168),new BT.ptr(131,170,170),new BT.ptr(16996,175,175),new BT.ptr(37,178,179),new BT.ptr(16986,180,180),new BT.ptr(476,181,181),new BT.ptr(17041,184,184),new BT.ptr(35,185,185),new BT.ptr(159,186,186),new BT.ptr(8732,188,188),new BT.ptr(8720,189,189),new BT.ptr(8882,190,190),new BT.ptr(145,3,0),new BT.ptr(18296,160,161),new BT.ptr(18346,175,176),new BT.ptr(40960,183,183),new BT.ptr(3,8,0),new BT.ptr(40960,146,146),new BT.ptr(145,176,176),new BT.ptr(281,177,177),new BT.ptr(149,178,178),new BT.ptr(165,179,179),new BT.ptr(323,180,182),new BT.ptr(175,183,183),new BT.ptr(179,184,184),new BT.ptr(10,9,0),new BT.ptr(17006,152,152),new BT.ptr(17011,153,154),new BT.ptr(17046,155,155),new BT.ptr(16991,156,156),new BT.ptr(17026,157,157),new BT.ptr(275,160,160),new BT.ptr(153,161,161),new BT.ptr(167,162,163),new BT.ptr(359,164,164),new BT.ptr(0,15,0),new BT.ptr(40960,131,131),new BT.ptr(40960,135,135),new BT.ptr(40960,139,139),new BT.ptr(40960,141,141),new BT.ptr(14245,144,144),new BT.ptr(14257,145,145),new BT.ptr(14239,147,147),new BT.ptr(40960,150,150),new BT.ptr(14359,151,151),new BT.ptr(14305,156,156),new BT.ptr(14281,157,157),new BT.ptr(14323,158,158),new BT.ptr(40960,180,181),new BT.ptr(14365,182,182),new BT.ptr(14371,183,183),new BT.ptr(0,1,0),new BT.ptr(33074,131,135),new BT.ptr(1,4,0),new BT.ptr(33043,129,130),new BT.ptr(33074,132,132),new BT.ptr(33069,133,133),new BT.ptr(33037,135,135),new BT.ptr(0,10,0),new BT.ptr(33074,144,151),new BT.ptr(33049,152,152),new BT.ptr(33050,153,153),new BT.ptr(33051,154,154),new BT.ptr(14401,162,162),new BT.ptr(14407,163,163),new BT.ptr(14419,164,164),new BT.ptr(14413,165,165),new BT.ptr(14425,166,166),new BT.ptr(40960,167,167),new BT.ptr(0,14,0),new BT.ptr(14443,128,128),new BT.ptr(40960,129,129),new BT.ptr(14431,130,130),new BT.ptr(40960,146,146),new BT.ptr(14437,147,147),new BT.ptr(40960,149,149),new BT.ptr(33074,150,156),new BT.ptr(33074,159,162),new BT.ptr(33069,163,163),new BT.ptr(33074,164,164),new BT.ptr(33074,167,168),new BT.ptr(33069,170,170),new BT.ptr(33074,171,172),new BT.ptr(33069,173,173),new BT.ptr(0,12,0),new BT.ptr(33055,145,145),new BT.ptr(33074,176,176),new BT.ptr(33069,177,177),new BT.ptr(33074,178,179),new BT.ptr(33069,180,180),new BT.ptr(33074,181,182),new BT.ptr(33069,183,185),new BT.ptr(33074,186,186),new BT.ptr(33069,187,188),new BT.ptr(33074,189,189),new BT.ptr(33069,190,190),new BT.ptr(33074,191,191),new BT.ptr(5,7,0),new BT.ptr(33074,128,128),new BT.ptr(33074,129,129),new BT.ptr(33069,130,131),new BT.ptr(33069,132,133),new BT.ptr(33069,134,135),new BT.ptr(33069,136,137),new BT.ptr(33074,138,138),new BT.ptr(0,3,0),new BT.ptr(33074,171,177),new BT.ptr(33069,178,178),new BT.ptr(33074,179,179),new BT.ptr(0,4,0),new BT.ptr(33074,150,153),new BT.ptr(33074,155,163),new BT.ptr(33074,165,167),new BT.ptr(33074,169,173),new BT.ptr(0,1,0),new BT.ptr(33069,153,155),new BT.ptr(0,16,0),new BT.ptr(33074,148,161),new BT.ptr(33069,163,163),new BT.ptr(33074,164,165),new BT.ptr(33069,166,166),new BT.ptr(33074,167,168),new BT.ptr(33069,169,169),new BT.ptr(33074,170,172),new BT.ptr(33069,173,175),new BT.ptr(33046,176,176),new BT.ptr(33047,177,177),new BT.ptr(33048,178,178),new BT.ptr(33074,179,181),new BT.ptr(33069,182,182),new BT.ptr(33074,183,184),new BT.ptr(33069,185,186),new BT.ptr(33074,187,191),new BT.ptr(0,7,0),new BT.ptr(40960,168,168),new BT.ptr(16088,169,169),new BT.ptr(40960,176,176),new BT.ptr(16096,177,177),new BT.ptr(40960,179,179),new BT.ptr(16104,180,180),new BT.ptr(39170,188,188),new BT.ptr(8,6,0),new BT.ptr(33028,141,141),new BT.ptr(33074,145,145),new BT.ptr(33069,146,146),new BT.ptr(33074,147,147),new BT.ptr(33074,148,148),new BT.ptr(17842,152,159),new BT.ptr(0,2,0),new BT.ptr(33026,188,188),new BT.ptr(39168,190,190),new BT.ptr(8,6,0),new BT.ptr(40960,135,135),new BT.ptr(11422,139,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(17906,156,157),new BT.ptr(17922,159,159),new BT.ptr(0,3,0),new BT.ptr(17962,179,179),new BT.ptr(17970,182,182),new BT.ptr(33026,188,188),new BT.ptr(8,3,0),new BT.ptr(33028,141,141),new BT.ptr(17930,153,155),new BT.ptr(17954,158,158),new BT.ptr(0,1,0),new BT.ptr(33026,188,188),new BT.ptr(0,1,0),new BT.ptr(33028,141,141),new BT.ptr(0,8,0),new BT.ptr(40960,135,135),new BT.ptr(11446,136,136),new BT.ptr(11438,139,139),new BT.ptr(11454,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,150,151),new BT.ptr(17978,156,156),new BT.ptr(17986,157,157),new BT.ptr(0,3,0),new BT.ptr(40960,146,146),new BT.ptr(11462,148,148),new BT.ptr(39168,190,190),new BT.ptr(0,6,0),new BT.ptr(40960,134,135),new BT.ptr(11470,138,138),new BT.ptr(11486,139,139),new BT.ptr(11478,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(6145,4,0),new BT.ptr(40960,134,134),new BT.ptr(16112,136,136),new BT.ptr(33028,141,141),new BT.ptr(33056,149,150),new BT.ptr(0,2,0),new BT.ptr(33026,188,188),new BT.ptr(40960,191,191),new BT.ptr(0,9,0),new BT.ptr(11494,128,128),new BT.ptr(39168,130,130),new BT.ptr(40960,134,134),new BT.ptr(11502,135,135),new BT.ptr(11510,136,136),new BT.ptr(12112,138,138),new BT.ptr(11736,139,139),new BT.ptr(33028,141,141),new BT.ptr(39168,149,150),new BT.ptr(0,1,0),new BT.ptr(39168,190,190),new BT.ptr(0,6,0),new BT.ptr(40960,134,135),new BT.ptr(11518,138,138),new BT.ptr(11534,139,139),new BT.ptr(11526,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(27626,7,0),new BT.ptr(39172,138,138),new BT.ptr(39168,143,143),new BT.ptr(40960,153,153),new BT.ptr(16120,154,154),new BT.ptr(12120,156,156),new BT.ptr(11747,157,157),new BT.ptr(11542,158,159),new BT.ptr(0,3,0),new BT.ptr(9761,179,179),new BT.ptr(33058,184,185),new BT.ptr(33028,186,186),new BT.ptr(0,1,0),new BT.ptr(33059,136,139),new BT.ptr(0,2,0),new BT.ptr(9782,179,179),new BT.ptr(33060,184,185),new BT.ptr(0,3,0),new BT.ptr(33061,136,139),new BT.ptr(9768,156,156),new BT.ptr(9775,157,157),new BT.ptr(0,5,0),new BT.ptr(779,140,140),new BT.ptr(33069,152,153),new BT.ptr(33069,181,181),new BT.ptr(33069,183,183),new BT.ptr(33067,185,185),new BT.ptr(0,16,0),new BT.ptr(9796,131,131),new BT.ptr(9803,141,141),new BT.ptr(9810,146,146),new BT.ptr(9817,151,151),new BT.ptr(9824,156,156),new BT.ptr(9789,169,169),new BT.ptr(33062,177,177),new BT.ptr(33063,178,178),new BT.ptr(19046,179,179),new BT.ptr(33064,180,180),new BT.ptr(19055,181,181),new BT.ptr(17994,182,182),new BT.ptr(18058,183,183),new BT.ptr(18002,184,184),new BT.ptr(18069,185,185),new BT.ptr(33063,186,189),new BT.ptr(0,11,0),new BT.ptr(33063,128,128),new BT.ptr(19064,129,129),new BT.ptr(33074,130,131),new BT.ptr(33028,132,132),new BT.ptr(33074,134,135),new BT.ptr(9838,147,147),new BT.ptr(9845,157,157),new BT.ptr(9852,162,162),new BT.ptr(9859,167,167),new BT.ptr(9866,172,172),new BT.ptr(9831,185,185),new BT.ptr(0,1,0),new BT.ptr(33069,134,134),new BT.ptr(0,5,0),new BT.ptr(40960,165,165),new BT.ptr(11550,166,166),new BT.ptr(39168,174,174),new BT.ptr(33026,183,183),new BT.ptr(33028,185,186),new BT.ptr(0,1,0),new BT.ptr(33069,141,141),new BT.ptr(0,1,0),new BT.ptr(783,188,188),new BT.ptr(0,1,0),new BT.ptr(40960,128,146),new BT.ptr(0,1,0),new BT.ptr(47360,161,181),new BT.ptr(0,1,0),new BT.ptr(39168,168,191),new BT.ptr(0,1,0),new BT.ptr(39168,128,130),new BT.ptr(0,1,0),new BT.ptr(33074,157,159),new BT.ptr(0,2,0),new BT.ptr(33028,148,148),new BT.ptr(33028,180,180),new BT.ptr(0,2,0),new BT.ptr(33028,146,146),new BT.ptr(33074,157,157),new BT.ptr(0,1,0),new BT.ptr(33073,169,169),new BT.ptr(4,2,0),new BT.ptr(33070,185,186),new BT.ptr(33069,187,187),new BT.ptr(0,2,0),new BT.ptr(33074,151,151),new BT.ptr(33069,152,152),new BT.ptr(0,3,0),new BT.ptr(33028,160,160),new BT.ptr(33074,181,188),new BT.ptr(33069,191,191),new BT.ptr(0,4,0),new BT.ptr(33074,176,180),new BT.ptr(33069,181,186),new BT.ptr(33074,187,188),new BT.ptr(33069,189,189),new BT.ptr(0,8,0),new BT.ptr(11622,128,128),new BT.ptr(11630,129,129),new BT.ptr(40960,130,130),new BT.ptr(11638,131,131),new BT.ptr(33028,132,132),new BT.ptr(33074,171,171),new BT.ptr(33069,172,172),new BT.ptr(33074,173,179),new BT.ptr(0,1,0),new BT.ptr(33028,170,171),new BT.ptr(0,2,0),new BT.ptr(33026,166,166),new BT.ptr(33028,178,179),new BT.ptr(0,1,0),new BT.ptr(33026,183,183),new BT.ptr(0,10,0),new BT.ptr(33074,144,146),new BT.ptr(33025,148,148),new BT.ptr(33069,149,153),new BT.ptr(33074,154,155),new BT.ptr(33069,156,159),new BT.ptr(33074,160,160),new BT.ptr(33025,162,168),new BT.ptr(33069,173,173),new BT.ptr(33074,180,180),new BT.ptr(33074,184,185),new BT.ptr(2,10,0),new BT.ptr(67,172,172),new BT.ptr(209,173,173),new BT.ptr(69,174,174),new BT.ptr(73,176,177),new BT.ptr(230,178,178),new BT.ptr(79,179,186),new BT.ptr(95,188,188),new BT.ptr(239,189,189),new BT.ptr(97,190,190),new BT.ptr(101,191,191),new BT.ptr(0,15,0),new BT.ptr(33074,128,129),new BT.ptr(33069,130,130),new BT.ptr(33074,131,137),new BT.ptr(33069,138,138),new BT.ptr(33074,139,140),new BT.ptr(33077,141,141),new BT.ptr(33066,142,142),new BT.ptr(33069,143,143),new BT.ptr(33065,144,144),new BT.ptr(33074,145,181),new BT.ptr(33074,187,187),new BT.ptr(33076,188,188),new BT.ptr(33069,189,189),new BT.ptr(33074,190,190),new BT.ptr(33069,191,191),new BT.ptr(0,13,0),new BT.ptr(1,128,138),new BT.ptr(1083,145,145),new BT.ptr(17051,151,151),new BT.ptr(29,164,164),new BT.ptr(6259,165,165),new BT.ptr(7004,166,166),new BT.ptr(1,175,175),new BT.ptr(9873,179,179),new BT.ptr(10238,180,180),new BT.ptr(9880,182,182),new BT.ptr(10248,183,183),new BT.ptr(6253,188,188),new BT.ptr(17001,190,190),new BT.ptr(2,13,0),new BT.ptr(6451,135,135),new BT.ptr(6448,136,136),new BT.ptr(6256,137,137),new BT.ptr(10638,151,151),new BT.ptr(1,159,159),new BT.ptr(33,176,176),new BT.ptr(147,177,177),new BT.ptr(41,180,185),new BT.ptr(23,186,186),new BT.ptr(1127,187,187),new BT.ptr(59,188,188),new BT.ptr(17,189,190),new BT.ptr(157,191,191),new BT.ptr(2,15,0),new BT.ptr(33,128,137),new BT.ptr(23,138,138),new BT.ptr(1127,139,139),new BT.ptr(59,140,140),new BT.ptr(17,141,142),new BT.ptr(131,144,144),new BT.ptr(139,145,145),new BT.ptr(159,146,146),new BT.ptr(177,147,147),new BT.ptr(260,148,148),new BT.ptr(145,149,149),new BT.ptr(151,150,153),new BT.ptr(161,154,154),new BT.ptr(167,155,156),new BT.ptr(6553,168,168),new BT.ptr(0,13,0),new BT.ptr(33074,144,145),new BT.ptr(33025,146,147),new BT.ptr(33074,148,151),new BT.ptr(33025,152,154),new BT.ptr(33074,155,156),new BT.ptr(33074,161,161),new BT.ptr(33025,165,166),new BT.ptr(33074,167,167),new BT.ptr(33069,168,168),new BT.ptr(33074,169,169),new BT.ptr(33025,170,171),new BT.ptr(33069,172,175),new BT.ptr(33074,176,176),new BT.ptr(7,6,0),new BT.ptr(8576,137,137),new BT.ptr(40960,144,144),new BT.ptr(40960,146,146),new BT.ptr(40960,148,148),new BT.ptr(15289,154,155),new BT.ptr(15303,174,174),new BT.ptr(14,5,0),new BT.ptr(15310,141,142),new BT.ptr(15317,143,143),new BT.ptr(40960,144,144),new BT.ptr(40960,146,146),new BT.ptr(40960,148,148),new BT.ptr(371,14,0),new BT.ptr(40960,131,131),new BT.ptr(15331,132,132),new BT.ptr(40960,136,136),new BT.ptr(15338,137,137),new BT.ptr(40960,139,139),new BT.ptr(15345,140,140),new BT.ptr(40960,163,163),new BT.ptr(15352,164,164),new BT.ptr(40960,165,165),new BT.ptr(15359,166,166),new BT.ptr(9887,172,173),new BT.ptr(9894,175,175),new BT.ptr(10268,176,176),new BT.ptr(40960,188,188),new BT.ptr(7,3,0),new BT.ptr(15464,160,161),new BT.ptr(15506,162,163),new BT.ptr(15548,170,173),new BT.ptr(4,1,0),new BT.ptr(1163,169,170),new BT.ptr(2,3,0),new BT.ptr(87,128,143),new BT.ptr(131,144,169),new BT.ptr(33,170,170),new BT.ptr(0,1,0),new BT.ptr(10651,140,140),new BT.ptr(611,2,0),new BT.ptr(7052,180,180),new BT.ptr(6445,181,182),new BT.ptr(0,1,0),new BT.ptr(17779,156,156),new BT.ptr(0,2,0),new BT.ptr(149,188,188),new BT.ptr(109,189,189),new BT.ptr(0,1,0),new BT.ptr(33074,175,177),new BT.ptr(0,2,0),new BT.ptr(1151,175,175),new BT.ptr(33028,191,191),new BT.ptr(0,1,0),new BT.ptr(33074,160,191),new BT.ptr(0,1,0),new BT.ptr(3523,159,159),new BT.ptr(0,1,0),new BT.ptr(5679,179,179),new BT.ptr(4,11,0),new BT.ptr(5527,128,130),new BT.ptr(5551,131,131),new BT.ptr(5575,132,133),new BT.ptr(5591,134,137),new BT.ptr(5611,138,140),new BT.ptr(5631,141,141),new BT.ptr(5639,142,142),new BT.ptr(5647,143,144),new BT.ptr(5659,145,147),new BT.ptr(5675,148,148),new BT.ptr(5683,149,149),new BT.ptr(4,9,0),new BT.ptr(1,128,128),new BT.ptr(33068,170,170),new BT.ptr(33073,171,171),new BT.ptr(33075,172,172),new BT.ptr(33070,173,173),new BT.ptr(33071,174,174),new BT.ptr(33071,175,175),new BT.ptr(1203,182,182),new BT.ptr(2183,184,186),new BT.ptr(5,9,0),new BT.ptr(787,177,177),new BT.ptr(791,178,178),new BT.ptr(17221,179,179),new BT.ptr(795,180,180),new BT.ptr(17226,181,182),new BT.ptr(799,183,183),new BT.ptr(803,184,184),new BT.ptr(807,185,185),new BT.ptr(17236,186,191),new BT.ptr(0,2,0),new BT.ptr(33074,175,175),new BT.ptr(33074,180,189),new BT.ptr(0,3,0),new BT.ptr(527,156,156),new BT.ptr(530,157,157),new BT.ptr(33074,158,159),new BT.ptr(0,1,0),new BT.ptr(33074,176,177),new BT.ptr(0,1,0),new BT.ptr(5691,176,176),new BT.ptr(12,1,0),new BT.ptr(215,184,185),new BT.ptr(0,1,0),new BT.ptr(33028,134,134),new BT.ptr(0,2,0),new BT.ptr(33028,132,132),new BT.ptr(33074,160,177),new BT.ptr(0,1,0),new BT.ptr(33069,171,173),new BT.ptr(0,1,0),new BT.ptr(33028,147,147),new BT.ptr(0,1,0),new BT.ptr(33026,179,179),new BT.ptr(0,1,0),new BT.ptr(33028,128,128),new BT.ptr(0,5,0),new BT.ptr(33074,176,176),new BT.ptr(33074,178,179),new BT.ptr(33069,180,180),new BT.ptr(33074,183,184),new BT.ptr(33074,190,191),new BT.ptr(0,2,0),new BT.ptr(33074,129,129),new BT.ptr(33028,182,182),new BT.ptr(8,3,0),new BT.ptr(5687,156,157),new BT.ptr(293,158,158),new BT.ptr(5699,159,159),new BT.ptr(0,1,0),new BT.ptr(33028,173,173),new BT.ptr(0,6,0),new BT.ptr(58624,128,128),new BT.ptr(50688,129,155),new BT.ptr(58624,156,156),new BT.ptr(50688,157,183),new BT.ptr(58624,184,184),new BT.ptr(50688,185,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,147),new BT.ptr(58624,148,148),new BT.ptr(50688,149,175),new BT.ptr(58624,176,176),new BT.ptr(50688,177,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,139),new BT.ptr(58624,140,140),new BT.ptr(50688,141,167),new BT.ptr(58624,168,168),new BT.ptr(50688,169,191),new BT.ptr(0,7,0),new BT.ptr(50688,128,131),new BT.ptr(58624,132,132),new BT.ptr(50688,133,159),new BT.ptr(58624,160,160),new BT.ptr(50688,161,187),new BT.ptr(58624,188,188),new BT.ptr(50688,189,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,151),new BT.ptr(58624,152,152),new BT.ptr(50688,153,179),new BT.ptr(58624,180,180),new BT.ptr(50688,181,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,143),new BT.ptr(58624,144,144),new BT.ptr(50688,145,171),new BT.ptr(58624,172,172),new BT.ptr(50688,173,191),new BT.ptr(0,5,0),new BT.ptr(50688,128,135),new BT.ptr(58624,136,136),new BT.ptr(50688,137,163),new BT.ptr(58624,164,164),new BT.ptr(50688,165,191),new BT.ptr(0,3,0),new BT.ptr(50688,128,135),new BT.ptr(58624,136,136),new BT.ptr(50688,137,163),new BT.ptr(2,1,0),new BT.ptr(3,129,191),new BT.ptr(0,1,0),new BT.ptr(33069,189,189),new BT.ptr(0,1,0),new BT.ptr(33069,160,160),new BT.ptr(0,1,0),new BT.ptr(33074,182,186),new BT.ptr(44,5,0),new BT.ptr(33069,141,141),new BT.ptr(33074,143,143),new BT.ptr(33074,184,184),new BT.ptr(33025,185,186),new BT.ptr(33028,191,191),new BT.ptr(0,2,0),new BT.ptr(33074,165,165),new BT.ptr(33069,166,166),new BT.ptr(0,2,0),new BT.ptr(33028,134,134),new BT.ptr(33028,191,191),new BT.ptr(6142,7,0),new BT.ptr(40960,153,153),new BT.ptr(16952,154,154),new BT.ptr(40960,155,155),new BT.ptr(16962,156,156),new BT.ptr(40960,165,165),new BT.ptr(16972,171,171),new BT.ptr(33028,185,186),new BT.ptr(0,6,0),new BT.ptr(33074,128,130),new BT.ptr(39168,167,167),new BT.ptr(11646,174,174),new BT.ptr(11656,175,175),new BT.ptr(40960,177,178),new BT.ptr(33028,179,180),new BT.ptr(0,2,0),new BT.ptr(33028,128,128),new BT.ptr(33026,138,138),new BT.ptr(0,2,0),new BT.ptr(33028,181,181),new BT.ptr(33026,182,182),new BT.ptr(2,1,0),new BT.ptr(33026,169,170),new BT.ptr(0,7,0),new BT.ptr(40960,135,135),new BT.ptr(11666,139,139),new BT.ptr(11676,140,140),new BT.ptr(33028,141,141),new BT.ptr(39168,151,151),new BT.ptr(33074,166,172),new BT.ptr(33074,176,180),new BT.ptr(0,2,0),new BT.ptr(33028,130,130),new BT.ptr(33026,134,134),new BT.ptr(27482,6,0),new BT.ptr(39168,176,176),new BT.ptr(40960,185,185),new BT.ptr(39168,186,186),new BT.ptr(11696,187,187),new BT.ptr(11686,188,189),new BT.ptr(11706,190,190),new BT.ptr(0,2,0),new BT.ptr(33028,130,130),new BT.ptr(33026,131,131),new BT.ptr(0,5,0),new BT.ptr(39168,175,175),new BT.ptr(40960,184,185),new BT.ptr(11716,186,186),new BT.ptr(11726,187,187),new BT.ptr(33028,191,191),new BT.ptr(0,1,0),new BT.ptr(33026,128,128),new BT.ptr(0,1,0),new BT.ptr(33028,191,191),new BT.ptr(0,2,0),new BT.ptr(33028,182,182),new BT.ptr(33026,183,183),new BT.ptr(0,1,0),new BT.ptr(33028,171,171),new BT.ptr(0,1,0),new BT.ptr(33025,176,180),new BT.ptr(0,1,0),new BT.ptr(33074,176,182),new BT.ptr(0,1,0),new BT.ptr(33025,158,158),new BT.ptr(0,12,0),new BT.ptr(18018,158,158),new BT.ptr(18028,159,159),new BT.ptr(18080,160,160),new BT.ptr(18094,161,161),new BT.ptr(18108,162,162),new BT.ptr(18122,163,163),new BT.ptr(18136,164,164),new BT.ptr(33067,165,166),new BT.ptr(33025,167,169),new BT.ptr(33072,173,173),new BT.ptr(33067,174,178),new BT.ptr(33069,187,191),new BT.ptr(0,9,0),new BT.ptr(33069,128,130),new BT.ptr(33074,133,137),new BT.ptr(33069,138,139),new BT.ptr(33074,170,173),new BT.ptr(18038,187,187),new BT.ptr(18048,188,188),new BT.ptr(18150,189,189),new BT.ptr(18178,190,190),new BT.ptr(18164,191,191),new BT.ptr(0,1,0),new BT.ptr(18192,128,128),new BT.ptr(0,1,0),new BT.ptr(33074,130,132),new BT.ptr(2,3,0),new BT.ptr(67,128,153),new BT.ptr(131,154,179),new BT.ptr(67,180,191),new BT.ptr(2,4,0),new BT.ptr(91,128,141),new BT.ptr(131,142,148),new BT.ptr(147,150,167),new BT.ptr(67,168,191),new BT.ptr(2,11,0),new BT.ptr(115,128,129),new BT.ptr(131,130,155),new BT.ptr(67,156,156),new BT.ptr(71,158,159),new BT.ptr(79,162,162),new BT.ptr(85,165,166),new BT.ptr(93,169,172),new BT.ptr(103,174,181),new BT.ptr(131,182,185),new BT.ptr(141,187,187),new BT.ptr(145,189,191),new BT.ptr(2,4,0),new BT.ptr(151,128,131),new BT.ptr(161,133,143),new BT.ptr(67,144,169),new BT.ptr(131,170,191),new BT.ptr(2,8,0),new BT.ptr(175,128,131),new BT.ptr(67,132,133),new BT.ptr(73,135,138),new BT.ptr(85,141,148),new BT.ptr(103,150,156),new BT.ptr(131,158,183),new BT.ptr(67,184,185),new BT.ptr(73,187,190),new BT.ptr(2,5,0),new BT.ptr(83,128,132),new BT.ptr(95,134,134),new BT.ptr(103,138,144),new BT.ptr(131,146,171),new BT.ptr(67,172,191),new BT.ptr(2,4,0),new BT.ptr(107,128,133),new BT.ptr(131,134,159),new BT.ptr(67,160,185),new BT.ptr(131,186,191),new BT.ptr(2,3,0),new BT.ptr(143,128,147),new BT.ptr(67,148,173),new BT.ptr(131,174,191),new BT.ptr(2,4,0),new BT.ptr(167,128,135),new BT.ptr(67,136,161),new BT.ptr(131,162,187),new BT.ptr(67,188,191),new BT.ptr(2,3,0),new BT.ptr(75,128,149),new BT.ptr(131,150,175),new BT.ptr(67,176,191),new BT.ptr(3,15,0),new BT.ptr(440,128,128),new BT.ptr(1119,129,129),new BT.ptr(443,130,154),new BT.ptr(1115,155,155),new BT.ptr(455,156,156),new BT.ptr(464,157,157),new BT.ptr(470,158,158),new BT.ptr(506,159,159),new BT.ptr(491,160,160),new BT.ptr(488,161,161),new BT.ptr(371,162,178),new BT.ptr(392,179,179),new BT.ptr(422,180,186),new BT.ptr(1119,187,187),new BT.ptr(443,188,191),new BT.ptr(3,13,0),new BT.ptr(455,128,148),new BT.ptr(1115,149,149),new BT.ptr(455,150,150),new BT.ptr(464,151,151),new BT.ptr(470,152,152),new BT.ptr(506,153,153),new BT.ptr(491,154,154),new BT.ptr(488,155,155),new BT.ptr(371,156,172),new BT.ptr(392,173,173),new BT.ptr(422,174,180),new BT.ptr(1119,181,181),new BT.ptr(443,182,191),new BT.ptr(3,13,0),new BT.ptr(473,128,142),new BT.ptr(1115,143,143),new BT.ptr(455,144,144),new BT.ptr(464,145,145),new BT.ptr(470,146,146),new BT.ptr(506,147,147),new BT.ptr(491,148,148),new BT.ptr(488,149,149),new BT.ptr(371,150,166),new BT.ptr(392,167,167),new BT.ptr(422,168,174),new BT.ptr(1119,175,175),new BT.ptr(443,176,191),new BT.ptr(3,13,0),new BT.ptr(491,128,136),new BT.ptr(1115,137,137),new BT.ptr(455,138,138),new BT.ptr(464,139,139),new BT.ptr(470,140,140),new BT.ptr(506,141,141),new BT.ptr(491,142,142),new BT.ptr(488,143,143),new BT.ptr(371,144,160),new BT.ptr(392,161,161),new BT.ptr(422,162,168),new BT.ptr(1119,169,169),new BT.ptr(443,170,191),new BT.ptr(0,5,0),new BT.ptr(33074,128,134),new BT.ptr(33074,136,152),new BT.ptr(33074,155,161),new BT.ptr(33074,163,164),new BT.ptr(33074,166,170),new BT.ptr(0,1,0),new BT.ptr(33069,144,150),new BT.ptr(0,2,0),new BT.ptr(33074,132,137),new BT.ptr(33026,138,138),new BT.ptr(2,9,0),new BT.ptr(99,128,137),new BT.ptr(6481,138,138),new BT.ptr(6529,139,139),new BT.ptr(6556,140,140),new BT.ptr(6562,141,141),new BT.ptr(7104,142,142),new BT.ptr(6574,143,143),new BT.ptr(6523,170,170),new BT.ptr(6526,171,171),new BT.ptr(0,1,0),new BT.ptr(6463,144,144),new BT.ptr(40,9,0),new BT.ptr(10338,128,128),new BT.ptr(10278,129,129),new BT.ptr(10288,130,130),new BT.ptr(10308,131,132),new BT.ptr(10318,133,134),new BT.ptr(10298,135,135),new BT.ptr(10328,136,136),new BT.ptr(2927,144,144),new BT.ptr(2279,145,145)]);BQ=$makeMap($Uint32.keyFor,[{k:4260608,v:192},{k:4260609,v:193},{k:4260610,v:194},{k:4260611,v:195},{k:4260616,v:196},{k:4260618,v:197},{k:4391719,v:199},{k:4522752,v:200},{k:4522753,v:201},{k:4522754,v:202},{k:4522760,v:203},{k:4784896,v:204},{k:4784897,v:205},{k:4784898,v:206},{k:4784904,v:207},{k:5112579,v:209},{k:5178112,v:210},{k:5178113,v:211},{k:5178114,v:212},{k:5178115,v:213},{k:5178120,v:214},{k:5571328,v:217},{k:5571329,v:218},{k:5571330,v:219},{k:5571336,v:220},{k:5833473,v:221},{k:6357760,v:224},{k:6357761,v:225},{k:6357762,v:226},{k:6357763,v:227},{k:6357768,v:228},{k:6357770,v:229},{k:6488871,v:231},{k:6619904,v:232},{k:6619905,v:233},{k:6619906,v:234},{k:6619912,v:235},{k:6882048,v:236},{k:6882049,v:237},{k:6882050,v:238},{k:6882056,v:239},{k:7209731,v:241},{k:7275264,v:242},{k:7275265,v:243},{k:7275266,v:244},{k:7275267,v:245},{k:7275272,v:246},{k:7668480,v:249},{k:7668481,v:250},{k:7668482,v:251},{k:7668488,v:252},{k:7930625,v:253},{k:7930632,v:255},{k:4260612,v:256},{k:6357764,v:257},{k:4260614,v:258},{k:6357766,v:259},{k:4260648,v:260},{k:6357800,v:261},{k:4391681,v:262},{k:6488833,v:263},{k:4391682,v:264},{k:6488834,v:265},{k:4391687,v:266},{k:6488839,v:267},{k:4391692,v:268},{k:6488844,v:269},{k:4457228,v:270},{k:6554380,v:271},{k:4522756,v:274},{k:6619908,v:275},{k:4522758,v:276},{k:6619910,v:277},{k:4522759,v:278},{k:6619911,v:279},{k:4522792,v:280},{k:6619944,v:281},{k:4522764,v:282},{k:6619916,v:283},{k:4653826,v:284},{k:6750978,v:285},{k:4653830,v:286},{k:6750982,v:287},{k:4653831,v:288},{k:6750983,v:289},{k:4653863,v:290},{k:6751015,v:291},{k:4719362,v:292},{k:6816514,v:293},{k:4784899,v:296},{k:6882051,v:297},{k:4784900,v:298},{k:6882052,v:299},{k:4784902,v:300},{k:6882054,v:301},{k:4784936,v:302},{k:6882088,v:303},{k:4784903,v:304},{k:4850434,v:308},{k:6947586,v:309},{k:4916007,v:310},{k:7013159,v:311},{k:4981505,v:313},{k:7078657,v:314},{k:4981543,v:315},{k:7078695,v:316},{k:4981516,v:317},{k:7078668,v:318},{k:5112577,v:323},{k:7209729,v:324},{k:5112615,v:325},{k:7209767,v:326},{k:5112588,v:327},{k:7209740,v:328},{k:5178116,v:332},{k:7275268,v:333},{k:5178118,v:334},{k:7275270,v:335},{k:5178123,v:336},{k:7275275,v:337},{k:5374721,v:340},{k:7471873,v:341},{k:5374759,v:342},{k:7471911,v:343},{k:5374732,v:344},{k:7471884,v:345},{k:5440257,v:346},{k:7537409,v:347},{k:5440258,v:348},{k:7537410,v:349},{k:5440295,v:350},{k:7537447,v:351},{k:5440268,v:352},{k:7537420,v:353},{k:5505831,v:354},{k:7602983,v:355},{k:5505804,v:356},{k:7602956,v:357},{k:5571331,v:360},{k:7668483,v:361},{k:5571332,v:362},{k:7668484,v:363},{k:5571334,v:364},{k:7668486,v:365},{k:5571338,v:366},{k:7668490,v:367},{k:5571339,v:368},{k:7668491,v:369},{k:5571368,v:370},{k:7668520,v:371},{k:5702402,v:372},{k:7799554,v:373},{k:5833474,v:374},{k:7930626,v:375},{k:5833480,v:376},{k:5899009,v:377},{k:7996161,v:378},{k:5899015,v:379},{k:7996167,v:380},{k:5899020,v:381},{k:7996172,v:382},{k:5178139,v:416},{k:7275291,v:417},{k:5571355,v:431},{k:7668507,v:432},{k:4260620,v:461},{k:6357772,v:462},{k:4784908,v:463},{k:6882060,v:464},{k:5178124,v:465},{k:7275276,v:466},{k:5571340,v:467},{k:7668492,v:468},{k:14418692,v:469},{k:16515844,v:470},{k:14418689,v:471},{k:16515841,v:472},{k:14418700,v:473},{k:16515852,v:474},{k:14418688,v:475},{k:16515840,v:476},{k:12845828,v:478},{k:14942980,v:479},{k:36045572,v:480},{k:36111108,v:481},{k:12976900,v:482},{k:15074052,v:483},{k:4653836,v:486},{k:6750988,v:487},{k:4915980,v:488},{k:7013132,v:489},{k:5178152,v:490},{k:7275304,v:491},{k:32113412,v:492},{k:32178948,v:493},{k:28771084,v:494},{k:43123468,v:495},{k:6947596,v:496},{k:4653825,v:500},{k:6750977,v:501},{k:5112576,v:504},{k:7209728,v:505},{k:12911361,v:506},{k:15008513,v:507},{k:12976897,v:508},{k:15074049,v:509},{k:14156545,v:510},{k:16253697,v:511},{k:4260623,v:512},{k:6357775,v:513},{k:4260625,v:514},{k:6357777,v:515},{k:4522767,v:516},{k:6619919,v:517},{k:4522769,v:518},{k:6619921,v:519},{k:4784911,v:520},{k:6882063,v:521},{k:4784913,v:522},{k:6882065,v:523},{k:5178127,v:524},{k:7275279,v:525},{k:5178129,v:526},{k:7275281,v:527},{k:5374735,v:528},{k:7471887,v:529},{k:5374737,v:530},{k:7471889,v:531},{k:5571343,v:532},{k:7668495,v:533},{k:5571345,v:534},{k:7668497,v:535},{k:5440294,v:536},{k:7537446,v:537},{k:5505830,v:538},{k:7602982,v:539},{k:4719372,v:542},{k:6816524,v:543},{k:4260615,v:550},{k:6357767,v:551},{k:4522791,v:552},{k:6619943,v:553},{k:14025476,v:554},{k:16122628,v:555},{k:13959940,v:556},{k:16057092,v:557},{k:5178119,v:558},{k:7275271,v:559},{k:36569860,v:560},{k:36635396,v:561},{k:5833476,v:562},{k:7930628,v:563},{k:11010817,v:901},{k:59835137,v:902},{k:60097281,v:904},{k:60228353,v:905},{k:60359425,v:906},{k:60752641,v:908},{k:61145857,v:910},{k:61408001,v:911},{k:63570689,v:912},{k:60359432,v:938},{k:61145864,v:939},{k:61932289,v:940},{k:62194433,v:941},{k:62325505,v:942},{k:62456577,v:943},{k:63636225,v:944},{k:62456584,v:970},{k:63243016,v:971},{k:62849793,v:972},{k:63243009,v:973},{k:63505153,v:974},{k:64094977,v:979},{k:64094984,v:980},{k:68485888,v:1024},{k:68485896,v:1025},{k:68354817,v:1027},{k:67502856,v:1031},{k:68813569,v:1036},{k:68682496,v:1037},{k:69403398,v:1038},{k:68682502,v:1049},{k:70779654,v:1081},{k:70583040,v:1104},{k:70583048,v:1105},{k:70451969,v:1107},{k:72745736,v:1111},{k:70910721,v:1116},{k:70779648,v:1117},{k:71500550,v:1118},{k:74711823,v:1142},{k:74777359,v:1143},{k:68551430,v:1217},{k:70648582,v:1218},{k:68158214,v:1232},{k:70255366,v:1233},{k:68158216,v:1234},{k:70255368,v:1235},{k:68485894,v:1238},{k:70583046,v:1239},{k:81265416,v:1242},{k:81330952,v:1243},{k:68551432,v:1244},{k:70648584,v:1245},{k:68616968,v:1246},{k:70714120,v:1247},{k:68682500,v:1250},{k:70779652,v:1251},{k:68682504,v:1252},{k:70779656,v:1253},{k:69075720,v:1254},{k:71172872,v:1255},{k:82313992,v:1258},{k:82379528,v:1259},{k:70058760,v:1260},{k:72155912,v:1261},{k:69403396,v:1262},{k:71500548,v:1263},{k:69403400,v:1264},{k:71500552,v:1265},{k:69403403,v:1266},{k:71500555,v:1267},{k:69665544,v:1268},{k:71762696,v:1269},{k:69927688,v:1272},{k:72024840,v:1273},{k:103220819,v:1570},{k:103220820,v:1571},{k:105383508,v:1572},{k:103220821,v:1573},{k:105514580,v:1574},{k:114624084,v:1728},{k:113313364,v:1730},{k:114427476,v:1747},{k:153618748,v:2345},{k:154143036,v:2353},{k:154339644,v:2356},{k:164039102,v:2507},{k:164039127,v:2508},{k:189205334,v:2888},{k:189205310,v:2891},{k:189205335,v:2892},{k:194120663,v:2964},{k:197528510,v:3018},{k:197594046,v:3019},{k:197528535,v:3020},{k:205917270,v:3144},{k:213847253,v:3264},{k:214306005,v:3271},{k:214306006,v:3272},{k:214305986,v:3274},{k:214568149,v:3275},{k:222694718,v:3402},{k:222760254,v:3403},{k:222694743,v:3404},{k:232328650,v:3546},{k:232328655,v:3548},{k:232525258,v:3549},{k:232328671,v:3550},{k:270864430,v:4134},{k:453319477,v:6918},{k:453450549,v:6920},{k:453581621,v:6922},{k:453712693,v:6924},{k:453843765,v:6926},{k:454105909,v:6930},{k:456792885,v:6971},{k:456923957,v:6973},{k:457055029,v:6976},{k:457120565,v:6977},{k:457317173,v:6979},{k:4260645,v:7680},{k:6357797,v:7681},{k:4326151,v:7682},{k:6423303,v:7683},{k:4326179,v:7684},{k:6423331,v:7685},{k:4326193,v:7686},{k:6423345,v:7687},{k:13042433,v:7688},{k:15139585,v:7689},{k:4457223,v:7690},{k:6554375,v:7691},{k:4457251,v:7692},{k:6554403,v:7693},{k:4457265,v:7694},{k:6554417,v:7695},{k:4457255,v:7696},{k:6554407,v:7697},{k:4457261,v:7698},{k:6554413,v:7699},{k:17957632,v:7700},{k:18023168,v:7701},{k:17957633,v:7702},{k:18023169,v:7703},{k:4522797,v:7704},{k:6619949,v:7705},{k:4522800,v:7706},{k:6619952,v:7707},{k:36176646,v:7708},{k:36242182,v:7709},{k:4588295,v:7710},{k:6685447,v:7711},{k:4653828,v:7712},{k:6750980,v:7713},{k:4719367,v:7714},{k:6816519,v:7715},{k:4719395,v:7716},{k:6816547,v:7717},{k:4719368,v:7718},{k:6816520,v:7719},{k:4719399,v:7720},{k:6816551,v:7721},{k:4719406,v:7722},{k:6816558,v:7723},{k:4784944,v:7724},{k:6882096,v:7725},{k:13566721,v:7726},{k:15663873,v:7727},{k:4915969,v:7728},{k:7013121,v:7729},{k:4916003,v:7730},{k:7013155,v:7731},{k:4916017,v:7732},{k:7013169,v:7733},{k:4981539,v:7734},{k:7078691,v:7735},{k:506856196,v:7736},{k:506921732,v:7737},{k:4981553,v:7738},{k:7078705,v:7739},{k:4981549,v:7740},{k:7078701,v:7741},{k:5047041,v:7742},{k:7144193,v:7743},{k:5047047,v:7744},{k:7144199,v:7745},{k:5047075,v:7746},{k:7144227,v:7747},{k:5112583,v:7748},{k:7209735,v:7749},{k:5112611,v:7750},{k:7209763,v:7751},{k:5112625,v:7752},{k:7209777,v:7753},{k:5112621,v:7754},{k:7209773,v:7755},{k:13959937,v:7756},{k:16057089,v:7757},{k:13959944,v:7758},{k:16057096,v:7759},{k:21758720,v:7760},{k:21824256,v:7761},{k:21758721,v:7762},{k:21824257,v:7763},{k:5243649,v:7764},{k:7340801,v:7765},{k:5243655,v:7766},{k:7340807,v:7767},{k:5374727,v:7768},{k:7471879,v:7769},{k:5374755,v:7770},{k:7471907,v:7771},{k:509215492,v:7772},{k:509281028,v:7773},{k:5374769,v:7774},{k:7471921,v:7775},{k:5440263,v:7776},{k:7537415,v:7777},{k:5440291,v:7778},{k:7537443,v:7779},{k:22676231,v:7780},{k:22741767,v:7781},{k:23069447,v:7782},{k:23134983,v:7783},{k:509739783,v:7784},{k:509805319,v:7785},{k:5505799,v:7786},{k:7602951,v:7787},{k:5505827,v:7788},{k:7602979,v:7789},{k:5505841,v:7790},{k:7602993,v:7791},{k:5505837,v:7792},{k:7602989,v:7793},{k:5571364,v:7794},{k:7668516,v:7795},{k:5571376,v:7796},{k:7668528,v:7797},{k:5571373,v:7798},{k:7668525,v:7799},{k:23593729,v:7800},{k:23659265,v:7801},{k:23724808,v:7802},{k:23790344,v:7803},{k:5636867,v:7804},{k:7734019,v:7805},{k:5636899,v:7806},{k:7734051,v:7807},{k:5702400,v:7808},{k:7799552,v:7809},{k:5702401,v:7810},{k:7799553,v:7811},{k:5702408,v:7812},{k:7799560,v:7813},{k:5702407,v:7814},{k:7799559,v:7815},{k:5702435,v:7816},{k:7799587,v:7817},{k:5767943,v:7818},{k:7865095,v:7819},{k:5767944,v:7820},{k:7865096,v:7821},{k:5833479,v:7822},{k:7930631,v:7823},{k:5899010,v:7824},{k:7996162,v:7825},{k:5899043,v:7826},{k:7996195,v:7827},{k:5899057,v:7828},{k:7996209,v:7829},{k:6816561,v:7830},{k:7602952,v:7831},{k:7799562,v:7832},{k:7930634,v:7833},{k:25101063,v:7835},{k:4260643,v:7840},{k:6357795,v:7841},{k:4260617,v:7842},{k:6357769,v:7843},{k:12714753,v:7844},{k:14811905,v:7845},{k:12714752,v:7846},{k:14811904,v:7847},{k:12714761,v:7848},{k:14811913,v:7849},{k:12714755,v:7850},{k:14811907,v:7851},{k:513803010,v:7852},{k:513868546,v:7853},{k:16909057,v:7854},{k:16974593,v:7855},{k:16909056,v:7856},{k:16974592,v:7857},{k:16909065,v:7858},{k:16974601,v:7859},{k:16909059,v:7860},{k:16974595,v:7861},{k:513803014,v:7862},{k:513868550,v:7863},{k:4522787,v:7864},{k:6619939,v:7865},{k:4522761,v:7866},{k:6619913,v:7867},{k:4522755,v:7868},{k:6619907,v:7869},{k:13239041,v:7870},{k:15336193,v:7871},{k:13239040,v:7872},{k:15336192,v:7873},{k:13239049,v:7874},{k:15336201,v:7875},{k:13239043,v:7876},{k:15336195,v:7877},{k:515375874,v:7878},{k:515441410,v:7879},{k:4784905,v:7880},{k:6882057,v:7881},{k:4784931,v:7882},{k:6882083,v:7883},{k:5178147,v:7884},{k:7275299,v:7885},{k:5178121,v:7886},{k:7275273,v:7887},{k:13894401,v:7888},{k:15991553,v:7889},{k:13894400,v:7890},{k:15991552,v:7891},{k:13894409,v:7892},{k:15991561,v:7893},{k:13894403,v:7894},{k:15991555,v:7895},{k:516686594,v:7896},{k:516752130,v:7897},{k:27263745,v:7898},{k:27329281,v:7899},{k:27263744,v:7900},{k:27329280,v:7901},{k:27263753,v:7902},{k:27329289,v:7903},{k:27263747,v:7904},{k:27329283,v:7905},{k:27263779,v:7906},{k:27329315,v:7907},{k:5571363,v:7908},{k:7668515,v:7909},{k:5571337,v:7910},{k:7668489,v:7911},{k:28246785,v:7912},{k:28312321,v:7913},{k:28246784,v:7914},{k:28312320,v:7915},{k:28246793,v:7916},{k:28312329,v:7917},{k:28246787,v:7918},{k:28312323,v:7919},{k:28246819,v:7920},{k:28312355,v:7921},{k:5833472,v:7922},{k:7930624,v:7923},{k:5833507,v:7924},{k:7930659,v:7925},{k:5833481,v:7926},{k:7930633,v:7927},{k:5833475,v:7928},{k:7930627,v:7929},{k:61932307,v:7936},{k:61932308,v:7937},{k:520094464,v:7938},{k:520160000,v:7939},{k:520094465,v:7940},{k:520160001,v:7941},{k:520094530,v:7942},{k:520160066,v:7943},{k:59835155,v:7944},{k:59835156,v:7945},{k:520618752,v:7946},{k:520684288,v:7947},{k:520618753,v:7948},{k:520684289,v:7949},{k:520618818,v:7950},{k:520684354,v:7951},{k:62194451,v:7952},{k:62194452,v:7953},{k:521143040,v:7954},{k:521208576,v:7955},{k:521143041,v:7956},{k:521208577,v:7957},{k:60097299,v:7960},{k:60097300,v:7961},{k:521667328,v:7962},{k:521732864,v:7963},{k:521667329,v:7964},{k:521732865,v:7965},{k:62325523,v:7968},{k:62325524,v:7969},{k:522191616,v:7970},{k:522257152,v:7971},{k:522191617,v:7972},{k:522257153,v:7973},{k:522191682,v:7974},{k:522257218,v:7975},{k:60228371,v:7976},{k:60228372,v:7977},{k:522715904,v:7978},{k:522781440,v:7979},{k:522715905,v:7980},{k:522781441,v:7981},{k:522715970,v:7982},{k:522781506,v:7983},{k:62456595,v:7984},{k:62456596,v:7985},{k:523240192,v:7986},{k:523305728,v:7987},{k:523240193,v:7988},{k:523305729,v:7989},{k:523240258,v:7990},{k:523305794,v:7991},{k:60359443,v:7992},{k:60359444,v:7993},{k:523764480,v:7994},{k:523830016,v:7995},{k:523764481,v:7996},{k:523830017,v:7997},{k:523764546,v:7998},{k:523830082,v:7999},{k:62849811,v:8000},{k:62849812,v:8001},{k:524288768,v:8002},{k:524354304,v:8003},{k:524288769,v:8004},{k:524354305,v:8005},{k:60752659,v:8008},{k:60752660,v:8009},{k:524813056,v:8010},{k:524878592,v:8011},{k:524813057,v:8012},{k:524878593,v:8013},{k:63243027,v:8016},{k:63243028,v:8017},{k:525337344,v:8018},{k:525402880,v:8019},{k:525337345,v:8020},{k:525402881,v:8021},{k:525337410,v:8022},{k:525402946,v:8023},{k:61145876,v:8025},{k:525927168,v:8027},{k:525927169,v:8029},{k:525927234,v:8031},{k:63505171,v:8032},{k:63505172,v:8033},{k:526385920,v:8034},{k:526451456,v:8035},{k:526385921,v:8036},{k:526451457,v:8037},{k:526385986,v:8038},{k:526451522,v:8039},{k:61408019,v:8040},{k:61408020,v:8041},{k:526910208,v:8042},{k:526975744,v:8043},{k:526910209,v:8044},{k:526975745,v:8045},{k:526910274,v:8046},{k:526975810,v:8047},{k:61932288,v:8048},{k:62194432,v:8050},{k:62325504,v:8052},{k:62456576,v:8054},{k:62849792,v:8056},{k:63243008,v:8058},{k:63505152,v:8060},{k:520094533,v:8064},{k:520160069,v:8065},{k:520225605,v:8066},{k:520291141,v:8067},{k:520356677,v:8068},{k:520422213,v:8069},{k:520487749,v:8070},{k:520553285,v:8071},{k:520618821,v:8072},{k:520684357,v:8073},{k:520749893,v:8074},{k:520815429,v:8075},{k:520880965,v:8076},{k:520946501,v:8077},{k:521012037,v:8078},{k:521077573,v:8079},{k:522191685,v:8080},{k:522257221,v:8081},{k:522322757,v:8082},{k:522388293,v:8083},{k:522453829,v:8084},{k:522519365,v:8085},{k:522584901,v:8086},{k:522650437,v:8087},{k:522715973,v:8088},{k:522781509,v:8089},{k:522847045,v:8090},{k:522912581,v:8091},{k:522978117,v:8092},{k:523043653,v:8093},{k:523109189,v:8094},{k:523174725,v:8095},{k:526385989,v:8096},{k:526451525,v:8097},{k:526517061,v:8098},{k:526582597,v:8099},{k:526648133,v:8100},{k:526713669,v:8101},{k:526779205,v:8102},{k:526844741,v:8103},{k:526910277,v:8104},{k:526975813,v:8105},{k:527041349,v:8106},{k:527106885,v:8107},{k:527172421,v:8108},{k:527237957,v:8109},{k:527303493,v:8110},{k:527369029,v:8111},{k:61932294,v:8112},{k:61932292,v:8113},{k:527434565,v:8114},{k:61932357,v:8115},{k:61604677,v:8116},{k:61932354,v:8118},{k:532022085,v:8119},{k:59835142,v:8120},{k:59835140,v:8121},{k:59835136,v:8122},{k:59835205,v:8124},{k:11010882,v:8129},{k:527696709,v:8130},{k:62325573,v:8131},{k:61735749,v:8132},{k:62325570,v:8134},{k:533070661,v:8135},{k:60097280,v:8136},{k:60228352,v:8138},{k:60228421,v:8140},{k:532611840,v:8141},{k:532611841,v:8142},{k:532611906,v:8143},{k:62456582,v:8144},{k:62456580,v:8145},{k:63570688,v:8146},{k:62456642,v:8150},{k:63570754,v:8151},{k:60359430,v:8152},{k:60359428,v:8153},{k:60359424,v:8154},{k:536740608,v:8157},{k:536740609,v:8158},{k:536740674,v:8159},{k:63243014,v:8160},{k:63243012,v:8161},{k:63636224,v:8162},{k:62980883,v:8164},{k:62980884,v:8165},{k:63243074,v:8166},{k:63636290,v:8167},{k:61145862,v:8168},{k:61145860,v:8169},{k:61145856,v:8170},{k:60883732,v:8172},{k:11010816,v:8173},{k:528220997,v:8178},{k:63505221,v:8179},{k:63832901,v:8180},{k:63505218,v:8182},{k:536216389,v:8183},{k:60752640,v:8184},{k:61408000,v:8186},{k:61408069,v:8188},{k:563086136,v:8602},{k:563217208,v:8603},{k:563348280,v:8622},{k:567280440,v:8653},{k:567542584,v:8654},{k:567411512,v:8655},{k:570622776,v:8708},{k:570950456,v:8713},{k:571147064,v:8716},{k:572719928,v:8740},{k:572851000,v:8742},{k:574358328,v:8769},{k:574817080,v:8772},{k:574948152,v:8775},{k:575144760,v:8777},{k:3998520,v:8800},{k:576783160,v:8802},{k:575472440,v:8813},{k:3932984,v:8814},{k:4064056,v:8815},{k:576979768,v:8816},{k:577045304,v:8817},{k:577897272,v:8820},{k:577962808,v:8821},{k:578159416,v:8824},{k:578224952,v:8825},{k:578421560,v:8832},{k:578487096,v:8833},{k:578945848,v:8836},{k:579011384,v:8837},{k:579207992,v:8840},{k:579273528,v:8841},{k:581043000,v:8876},{k:581436216,v:8877},{k:581501752,v:8878},{k:581632824,v:8879},{k:578552632,v:8928},{k:578618168,v:8929},{k:579928888,v:8930},{k:579994424,v:8931},{k:582091576,v:8938},{k:582157112,v:8939},{k:582222648,v:8940},{k:582288184,v:8941},{k:810234009,v:12364},{k:810365081,v:12366},{k:810496153,v:12368},{k:810627225,v:12370},{k:810758297,v:12372},{k:810889369,v:12374},{k:811020441,v:12376},{k:811151513,v:12378},{k:811282585,v:12380},{k:811413657,v:12382},{k:811544729,v:12384},{k:811675801,v:12386},{k:811872409,v:12389},{k:812003481,v:12391},{k:812134553,v:12393},{k:812593305,v:12400},{k:812593306,v:12401},{k:812789913,v:12403},{k:812789914,v:12404},{k:812986521,v:12406},{k:812986522,v:12407},{k:813183129,v:12409},{k:813183130,v:12410},{k:813379737,v:12412},{k:813379738,v:12413},{k:809906329,v:12436},{k:815607961,v:12446},{k:816525465,v:12460},{k:816656537,v:12462},{k:816787609,v:12464},{k:816918681,v:12466},{k:817049753,v:12468},{k:817180825,v:12470},{k:817311897,v:12472},{k:817442969,v:12474},{k:817574041,v:12476},{k:817705113,v:12478},{k:817836185,v:12480},{k:817967257,v:12482},{k:818163865,v:12485},{k:818294937,v:12487},{k:818426009,v:12489},{k:818884761,v:12496},{k:818884762,v:12497},{k:819081369,v:12499},{k:819081370,v:12500},{k:819277977,v:12502},{k:819277978,v:12503},{k:819474585,v:12505},{k:819474586,v:12506},{k:819671193,v:12508},{k:819671194,v:12509},{k:816197785,v:12532},{k:820981913,v:12535},{k:821047449,v:12536},{k:821112985,v:12537},{k:821178521,v:12538},{k:821899417,v:12542},{k:278466746,v:69786},{k:278597818,v:69788},{k:279253178,v:69803},{k:288428327,v:69934},{k:288493863,v:69935},{k:323425086,v:70475},{k:323425111,v:70476},{k:347673786,v:70843},{k:347673776,v:70844},{k:347673789,v:70846},{k:364385711,v:71098},{k:364451247,v:71099}]);BS=new CC([$ifaceNil,C.ErrShortDst,C.ErrShortSrc]);BV=new BU.ptr(new CD(BJ),BI);BW=new BU.ptr(new CD(BP),BO);BX=BF(0);BY=BL(0);T();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"vendor/golang_org/x/text/width\"]=(function(){var $pkg={},$init,A,B,C,E,J,T,U,W,X,G,H,I,O,a,F;A=$packages[\"fmt\"];B=$packages[\"unicode/utf8\"];C=$packages[\"vendor/golang_org/x/text/transform\"];E=$pkg.widthTrie=$newType(0,$kindStruct,\"width.widthTrie\",true,\"vendor/golang_org/x/text/width\",false,function(){this.$val=this;if(arguments.length===0){return;}});J=$pkg.foldTransform=$newType(0,$kindStruct,\"width.foldTransform\",true,\"vendor/golang_org/x/text/width\",false,function(NopResetter_){this.$val=this;if(arguments.length===0){this.NopResetter=new C.NopResetter.ptr();return;}this.NopResetter=NopResetter_;});T=$pkg.Transformer=$newType(0,$kindStruct,\"width.Transformer\",true,\"vendor/golang_org/x/text/width\",true,function(t_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;return;}this.t=t_;});U=$arrayType($Uint8,4);W=$sliceType($Uint8);X=$ptrType(E);E.ptr.prototype.lookup=function(d){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;e=0;f=0;g=this;h=(0>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+0]);if(h<128){i=((h<0||h>=G.length)?($throwRuntimeError(\"index out of range\"),undefined):G[h]);j=1;e=i;f=j;return[e,f];}else if(h<194){k=0;l=1;e=k;f=l;return[e,f];}else if(h<224){if(d.$length<2){m=0;n=0;e=m;f=n;return[e,f];}o=((h<0||h>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[h]);p=(1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1]);if(p<128||192<=p){q=0;r=1;e=q;f=r;return[e,f];}s=g.lookupValue(((o>>>0)),p);t=2;e=s;f=t;return[e,f];}else if(h<240){if(d.$length<3){u=0;v=0;e=u;f=v;return[e,f];}w=((h<0||h>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[h]);x=(1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1]);if(x<128||192<=x){y=0;z=1;e=y;f=z;return[e,f];}aa=(((w>>>0))<<6>>>0)+((x>>>0))>>>0;w=((aa<0||aa>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[aa]);ab=(2>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+2]);if(ab<128||192<=ab){ac=0;ad=2;e=ac;f=ad;return[e,f];}ae=g.lookupValue(((w>>>0)),ab);af=3;e=ae;f=af;return[e,f];}else if(h<248){if(d.$length<4){ag=0;ah=0;e=ag;f=ah;return[e,f];}ai=((h<0||h>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[h]);aj=(1>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+1]);if(aj<128||192<=aj){ak=0;al=1;e=ak;f=al;return[e,f];}am=(((ai>>>0))<<6>>>0)+((aj>>>0))>>>0;ai=((am<0||am>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[am]);an=(2>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+2]);if(an<128||192<=an){ao=0;ap=2;e=ao;f=ap;return[e,f];}am=(((ai>>>0))<<6>>>0)+((an>>>0))>>>0;ai=((am<0||am>=H.length)?($throwRuntimeError(\"index out of range\"),undefined):H[am]);aq=(3>=d.$length?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+3]);if(aq<128||192<=aq){ar=0;as=3;e=ar;f=as;return[e,f];}at=g.lookupValue(((ai>>>0)),aq);au=4;e=at;f=au;return[e,f];}av=0;aw=1;e=av;f=aw;return[e,f];};E.prototype.lookup=function(d){return this.$val.lookup(d);};F=function(d){var $ptr,d;return new E.ptr();};E.ptr.prototype.lookupValue=function(d,e){var $ptr,d,e,f,g;f=this;return((g=(d<<6>>>0)+((e>>>0))>>>0,((g<0||g>=G.length)?($throwRuntimeError(\"index out of range\"),undefined):G[g])));};E.prototype.lookupValue=function(d,e){return this.$val.lookupValue(d,e);};J.ptr.prototype.Span=function(d,e){var $ptr,d,e,f,g,h,i,j,k,l;f=0;g=$ifaceNil;while(true){if(!(f<d.$length)){break;}if(((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])<128){f=f+(1)>>0;while(true){if(!(f<d.$length&&((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])<128)){break;}f=f+(1)>>0;}continue;}h=O.lookup($subslice(d,f));i=h[0];j=h[1];if(j===0){if(!e){g=C.ErrShortSrc;}else{f=d.$length;}break;}if(!((((((i<<16>>>16))&4096)>>>0)===0))){g=C.ErrEndOfSpan;break;}f=f+(j)>>0;}k=f;l=g;f=k;g=l;return[f,g];};J.prototype.Span=function(d,e){return this.$val.Span(d,e);};J.ptr.prototype.Transform=function(d,e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;g=0;h=0;i=$ifaceNil;while(true){if(!(h<e.$length)){break;}if(((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h])<128){j=h;k=e.$length;l=j;m=k;n=d.$length-g>>0;if(n<(m-l>>0)){m=h+n>>0;}h=h+(1)>>0;while(true){if(!(h<m&&((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h])<128)){break;}h=h+(1)>>0;}o=$copySlice($subslice(d,g),$subslice(e,l,h));g=g+(o)>>0;if(g===d.$length){h=l+o>>0;if(h===e.$length){p=g;q=h;r=$ifaceNil;g=p;h=q;i=r;return[g,h,i];}if(((h<0||h>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+h])<128){s=g;t=h;u=C.ErrShortDst;g=s;h=t;i=u;return[g,h,i];}}continue;}v=O.lookup($subslice(e,h));w=v[0];x=v[1];if(x===0){if(!f){y=g;z=h;aa=C.ErrShortSrc;g=y;h=z;i=aa;return[g,h,i];}x=1;}if(((((w<<16>>>16))&4096)>>>0)===0){if(!((x===$copySlice($subslice(d,g),$subslice(e,h,(h+x>>0)))))){ab=g;ac=h;ad=C.ErrShortDst;g=ab;h=ac;i=ad;return[g,h,i];}g=g+(x)>>0;}else{af=$clone((ae=((w<<24>>>24)),((ae<0||ae>=I.length)?($throwRuntimeError(\"index out of range\"),undefined):I[ae])),U);if((d.$length-g>>0)<((af[0]>>0))){ag=g;ah=h;ai=C.ErrShortDst;g=ag;h=ah;i=ai;return[g,h,i];}aj=1;ak=((af[0]>>0));while(true){if(!(aj<ak)){break;}((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]=((aj<0||aj>=af.length)?($throwRuntimeError(\"index out of range\"),undefined):af[aj]));g=g+(1)>>0;aj=aj+(1)>>0;}((g<0||g>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+g]=((((aj<0||aj>=af.length)?($throwRuntimeError(\"index out of range\"),undefined):af[aj])^(al=(h+x>>0)-1>>0,((al<0||al>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+al])))<<24>>>24));g=g+(1)>>0;}h=h+(x)>>0;}am=g;an=h;ao=$ifaceNil;g=am;h=an;i=ao;return[g,h,i];};J.prototype.Transform=function(d,e,f){return this.$val.Transform(d,e,f);};T.ptr.prototype.Reset=function(){var $ptr,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;$r=d.t.Reset();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.Reset};}$f.$ptr=$ptr;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.Reset=function(){return this.$val.Reset();};T.ptr.prototype.Transform=function(d,e,f){var $ptr,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=0;h=0;i=$ifaceNil;j=this;l=j.t.Transform(d,e,f);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;g=k[0];h=k[1];i=k[2];$s=-1;return[g,h,i];}return;}if($f===undefined){$f={$blk:T.ptr.prototype.Transform};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.Transform=function(d,e,f){return this.$val.Transform(d,e,f);};T.ptr.prototype.Span=function(d,e){var $ptr,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.t.Span(d,e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:T.ptr.prototype.Span};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.Span=function(d,e){return this.$val.Span(d,e);};T.ptr.prototype.Bytes=function(d){var $ptr,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;g=C.Bytes(new e.constructor.elem(e),d);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;d=f[0];$s=-1;return d;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.Bytes=function(d){return this.$val.Bytes(d);};T.ptr.prototype.String=function(d){var $ptr,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;g=C.String(new e.constructor.elem(e),d);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;d=f[0];$s=-1;return d;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.String};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.String=function(d){return this.$val.String(d);};X.methods=[{prop:\"lookup\",name:\"lookup\",pkg:\"vendor/golang_org/x/text/width\",typ:$funcType([W],[$Uint16,$Int],false)},{prop:\"lookupUnsafe\",name:\"lookupUnsafe\",pkg:\"vendor/golang_org/x/text/width\",typ:$funcType([W],[$Uint16],false)},{prop:\"lookupString\",name:\"lookupString\",pkg:\"vendor/golang_org/x/text/width\",typ:$funcType([$String],[$Uint16,$Int],false)},{prop:\"lookupStringUnsafe\",name:\"lookupStringUnsafe\",pkg:\"vendor/golang_org/x/text/width\",typ:$funcType([$String],[$Uint16],false)},{prop:\"lookupValue\",name:\"lookupValue\",pkg:\"vendor/golang_org/x/text/width\",typ:$funcType([$Uint32,$Uint8],[$Uint16],false)}];J.methods=[{prop:\"Span\",name:\"Span\",pkg:\"\",typ:$funcType([W,$Bool],[$Int,$error],false)},{prop:\"Transform\",name:\"Transform\",pkg:\"\",typ:$funcType([W,W,$Bool],[$Int,$Int,$error],false)}];T.methods=[{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Transform\",name:\"Transform\",pkg:\"\",typ:$funcType([W,W,$Bool],[$Int,$Int,$error],false)},{prop:\"Span\",name:\"Span\",pkg:\"\",typ:$funcType([W,$Bool],[$Int,$error],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([W],[W],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)}];E.init(\"\",[]);J.init(\"\",[{prop:\"NopResetter\",name:\"\",exported:true,typ:C.NopResetter,tag:\"\"}]);T.init(\"vendor/golang_org/x/text/width\",[{prop:\"t\",name:\"t\",exported:false,typ:C.SpanningTransformer,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=$toNativeArray($kindUint16,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24577,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24578,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24579,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,24580,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,24581,24581,8192,24582,24581,8192,8192,0,8192,0,24583,8192,8192,24584,8192,8192,8192,8192,8192,0,8192,8192,8192,8192,8192,0,8192,8192,8192,8192,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,8192,8192,0,0,0,0,0,8192,8192,8192,8192,0,0,0,0,8192,0,8192,8192,8192,0,8192,8192,0,0,8192,0,8192,8192,0,0,0,8192,8192,8192,8192,0,8192,0,8192,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,8192,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,8192,8192,0,0,0,8192,0,0,0,0,0,8192,8192,8192,0,0,0,0,8192,0,0,0,0,0,0,8192,8192,8192,8192,0,8192,0,0,0,8192,8192,8192,8192,0,8192,0,0,0,0,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,8192,0,8192,0,8192,0,8192,0,8192,0,8192,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,8192,0,8192,8192,8192,0,8192,0,0,8192,0,0,0,0,0,0,0,8192,8192,8192,8192,0,8192,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,8192,8192,8192,8192,0,8192,8192,0,0,8192,8192,0,0,8192,8192,8192,0,8192,8192,8192,8192,0,0,0,0,0,0,0,0,8192,0,8192,8192,0,8192,0,0,0,0,0,8192,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,8192,0,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40969,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,8192,0,0,0,8192,0,0,0,0,0,0,0,0,0,8192,0,0,8192,0,0,0,0,0,0,0,0,0,0,8192,8192,0,0,0,8192,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,0,0,0,0,0,0,8192,8192,8192,8192,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,8202,8203,8202,8204,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,8192,8192,0,0,0,8192,8192,0,0,8192,0,0,0,8192,0,8192,0,0,0,8192,0,0,0,0,8192,0,0,8192,8192,8192,8192,0,0,8192,0,8192,0,8192,8192,8192,8192,8192,8192,0,8192,0,0,0,0,0,8192,8192,8192,8192,0,0,0,0,8192,8192,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,8192,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,0,0,8192,8192,8192,8192,0,0,8192,8192,0,0,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,0,0,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,0,0,0,16384,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8205,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,8206,8192,0,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,8192,8192,0,0,8192,8192,0,0,0,0,8192,8192,0,0,8192,8192,0,0,0,0,8192,8192,8192,0,0,8207,0,0,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,8192,8192,0,0,8192,0,0,0,0,8192,8192,0,0,0,0,16384,16384,0,0,0,0,0,0,8192,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,8192,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,0,8192,8192,8192,0,8192,8192,8192,8192,0,8192,8192,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,8192,8192,0,16384,0,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,8192,0,0,0,0,16384,16384,8192,8192,8192,8192,8192,8192,8192,8192,16384,8192,8192,8192,8192,8192,16384,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,8192,0,0,0,0,8192,8192,16384,8192,8192,8192,8192,8192,8192,8192,16384,16384,8192,16384,8192,8192,8192,8192,16384,8192,8192,16384,8192,8192,0,0,0,0,0,16384,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,16384,0,0,0,0,16384,16384,16384,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24576,24576,24576,24576,24576,24576,24576,24576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24592,24593,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,16384,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,36882,16403,16404,16384,16384,16384,16384,16384,16384,16384,16384,16384,16405,16405,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,16406,16407,16384,16384,16384,16384,16384,16384,16408,16409,16410,16411,16412,16413,16414,16415,16416,16417,16418,16384,16400,16384,16419,16384,16420,16384,16421,16384,16422,16384,16410,16384,16423,16384,16424,16384,16416,16384,16425,16384,16426,16384,16427,16428,16384,16407,16384,16429,16384,16430,16431,16432,16407,16406,16407,16384,16384,16433,16384,16384,16433,16384,16384,16434,16384,16384,16434,16384,16384,16435,16430,16436,16437,16436,16438,16439,16420,16437,16421,16440,16440,16441,16441,16442,16442,16384,16437,16384,16384,16443,16444,16384,16384,16384,16384,16384,16384,16384,16445,16412,16384,16384,16384,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,16446,16446,16446,16446,16446,16446,16446,16446,16446,16446,16446,16446,16446,16446,16446,16439,16439,16439,16439,16439,16439,16439,16439,16439,16439,16439,16439,16439,16439,16439,16398,16447,16448,16449,16448,16447,16450,16451,16452,16448,16449,16448,16453,16393,16453,16454,16453,16455,16395,16394,16396,16456,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,8192,8192,8192,8192,8192,8192,8192,8192,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36882,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36937,36938,36939,45132,45133,45133,45134,45135,45136,45137,45138,45139,45140,45141,45142,45143,45144,45145,45146,45147,45148,45149,45150,45151,45152,45153,45154,45155,45156,45157,45138,45158,45159,45141,45160,45161,45162,45163,45146,45142,45164,45165,45163,45166,45163,45167,45167,45168,45168,45169,45142,45170,45171,45170,45172,45171,45173,45173,45174,45174,45175,45175,45171,45176,45177,45159,45178,45179,45179,45179,45179,45179,45179,45179,45179,45179,45179,45179,45179,45179,45179,45179,45180,45180,45180,45180,45180,45180,45180,45180,45180,45180,45180,45180,45180,45180,45180,0,0,0,45181,45182,45183,45184,45183,45182,0,0,45185,45186,45187,45183,45184,45183,0,0,45188,45189,45188,45190,45188,45191,0,0,45192,45193,45194,0,0,0,37003,37003,37004,37005,37003,37006,37007,0,45200,45201,45202,45201,45203,45204,45205,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,16384,8192,8192,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,16384,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,16384,0,0,0,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,0,0,0,0,0,0,0,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,16384,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,8192,0,0]);H=$toNativeArray($kindUint8,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,0,5,0,6,0,7,8,9,10,11,12,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,4,5,6,6,6,6,6,7,6,6,8,9,10,15,0,0,18,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,17,18,0,19,20,21,22,23,24,25,0,26,0,0,27,0,28,8,29,30,31,32,33,34,35,36,37,38,39,40,41,0,0,0,0,0,0,42,0,0,0,0,0,43,44,0,0,0,0,0,0,0,0,0,0,0,0,45,46,14,14,14,47,48,49,50,51,52,53,54,55,56,57,14,58,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,59,60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,61,0,0,0,0,0,0,0,0,0,0,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,62,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,14,14,14,14,14,14,14,14,0,0,0,0,0,0,0,0,0,0,0,0,63,64,0,0,65,66,67,68,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,70,14,14,14,14,14,14,14,14,14,14,14,71,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,73,0,0,74,75,76,77,0,78,79,0,0,80,81,82,83,58,84,14,85,86,87,88,89,14,90,14,91,0,0,0,0,0,0,0,0,92,93,94,95,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,6,12,0,0,13,0,0,0,14,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,0,0,0,0,8,8,8,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,17,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);I=$toNativeArray($kindArray,[$toNativeArray($kindUint8,[0,0,0,0]),$toNativeArray($kindUint8,[3,227,128,160]),$toNativeArray($kindUint8,[3,239,188,160]),$toNativeArray($kindUint8,[3,239,188,224]),$toNativeArray($kindUint8,[3,239,189,224]),$toNativeArray($kindUint8,[3,239,191,2]),$toNativeArray($kindUint8,[3,239,191,0]),$toNativeArray($kindUint8,[3,239,191,14]),$toNativeArray($kindUint8,[3,239,191,12]),$toNativeArray($kindUint8,[3,239,191,15]),$toNativeArray($kindUint8,[3,239,191,57]),$toNativeArray($kindUint8,[3,239,191,59]),$toNativeArray($kindUint8,[3,239,191,63]),$toNativeArray($kindUint8,[3,239,191,42]),$toNativeArray($kindUint8,[3,239,191,13]),$toNativeArray($kindUint8,[3,239,191,37]),$toNativeArray($kindUint8,[3,239,189,26]),$toNativeArray($kindUint8,[3,239,189,38]),$toNativeArray($kindUint8,[1,160,0,0]),$toNativeArray($kindUint8,[3,239,189,37]),$toNativeArray($kindUint8,[3,239,189,35]),$toNativeArray($kindUint8,[3,239,189,46]),$toNativeArray($kindUint8,[3,239,190,7]),$toNativeArray($kindUint8,[3,239,190,5]),$toNativeArray($kindUint8,[3,239,189,6]),$toNativeArray($kindUint8,[3,239,189,19]),$toNativeArray($kindUint8,[3,239,189,11]),$toNativeArray($kindUint8,[3,239,189,22]),$toNativeArray($kindUint8,[3,239,189,12]),$toNativeArray($kindUint8,[3,239,189,21]),$toNativeArray($kindUint8,[3,239,189,13]),$toNativeArray($kindUint8,[3,239,189,28]),$toNativeArray($kindUint8,[3,239,189,2]),$toNativeArray($kindUint8,[3,239,189,31]),$toNativeArray($kindUint8,[3,239,189,29]),$toNativeArray($kindUint8,[3,239,189,23]),$toNativeArray($kindUint8,[3,239,189,8]),$toNativeArray($kindUint8,[3,239,189,9]),$toNativeArray($kindUint8,[3,239,189,14]),$toNativeArray($kindUint8,[3,239,189,4]),$toNativeArray($kindUint8,[3,239,189,5]),$toNativeArray($kindUint8,[3,239,190,63]),$toNativeArray($kindUint8,[3,239,190,0]),$toNativeArray($kindUint8,[3,239,189,44]),$toNativeArray($kindUint8,[3,239,190,6]),$toNativeArray($kindUint8,[3,239,190,12]),$toNativeArray($kindUint8,[3,239,190,15]),$toNativeArray($kindUint8,[3,239,190,13]),$toNativeArray($kindUint8,[3,239,190,11]),$toNativeArray($kindUint8,[3,239,190,25]),$toNativeArray($kindUint8,[3,239,190,21]),$toNativeArray($kindUint8,[3,239,190,17]),$toNativeArray($kindUint8,[3,239,190,49]),$toNativeArray($kindUint8,[3,239,190,51]),$toNativeArray($kindUint8,[3,239,189,15]),$toNativeArray($kindUint8,[3,239,190,48]),$toNativeArray($kindUint8,[3,239,190,62]),$toNativeArray($kindUint8,[3,239,190,50]),$toNativeArray($kindUint8,[3,239,190,54]),$toNativeArray($kindUint8,[3,239,189,20]),$toNativeArray($kindUint8,[3,239,190,46]),$toNativeArray($kindUint8,[3,239,189,30]),$toNativeArray($kindUint8,[3,239,190,16]),$toNativeArray($kindUint8,[3,239,191,19]),$toNativeArray($kindUint8,[3,239,191,21]),$toNativeArray($kindUint8,[3,239,191,23]),$toNativeArray($kindUint8,[3,239,191,31]),$toNativeArray($kindUint8,[3,239,191,29]),$toNativeArray($kindUint8,[3,239,191,27]),$toNativeArray($kindUint8,[3,239,191,9]),$toNativeArray($kindUint8,[3,239,191,11]),$toNativeArray($kindUint8,[3,239,191,55]),$toNativeArray($kindUint8,[3,239,190,4]),$toNativeArray($kindUint8,[1,224,0,0]),$toNativeArray($kindUint8,[3,226,166,26]),$toNativeArray($kindUint8,[3,226,166,38]),$toNativeArray($kindUint8,[3,227,128,35]),$toNativeArray($kindUint8,[3,227,128,46]),$toNativeArray($kindUint8,[3,227,128,37]),$toNativeArray($kindUint8,[3,227,131,30]),$toNativeArray($kindUint8,[3,227,131,20]),$toNativeArray($kindUint8,[3,227,130,6]),$toNativeArray($kindUint8,[3,227,130,11]),$toNativeArray($kindUint8,[3,227,130,12]),$toNativeArray($kindUint8,[3,227,130,13]),$toNativeArray($kindUint8,[3,227,130,2]),$toNativeArray($kindUint8,[3,227,131,15]),$toNativeArray($kindUint8,[3,227,131,8]),$toNativeArray($kindUint8,[3,227,131,9]),$toNativeArray($kindUint8,[3,227,131,44]),$toNativeArray($kindUint8,[3,227,131,12]),$toNativeArray($kindUint8,[3,227,130,19]),$toNativeArray($kindUint8,[3,227,130,22]),$toNativeArray($kindUint8,[3,227,130,21]),$toNativeArray($kindUint8,[3,227,130,28]),$toNativeArray($kindUint8,[3,227,130,31]),$toNativeArray($kindUint8,[3,227,130,29]),$toNativeArray($kindUint8,[3,227,130,26]),$toNativeArray($kindUint8,[3,227,130,23]),$toNativeArray($kindUint8,[3,227,130,8]),$toNativeArray($kindUint8,[3,227,130,9]),$toNativeArray($kindUint8,[3,227,130,14]),$toNativeArray($kindUint8,[3,227,130,4]),$toNativeArray($kindUint8,[3,227,130,5]),$toNativeArray($kindUint8,[3,227,130,63]),$toNativeArray($kindUint8,[3,227,131,0]),$toNativeArray($kindUint8,[3,227,131,6]),$toNativeArray($kindUint8,[3,227,131,5]),$toNativeArray($kindUint8,[3,227,131,13]),$toNativeArray($kindUint8,[3,227,131,11]),$toNativeArray($kindUint8,[3,227,131,7]),$toNativeArray($kindUint8,[3,227,131,25]),$toNativeArray($kindUint8,[3,227,131,21]),$toNativeArray($kindUint8,[3,227,131,17]),$toNativeArray($kindUint8,[3,227,131,49]),$toNativeArray($kindUint8,[3,227,131,51]),$toNativeArray($kindUint8,[3,227,131,48]),$toNativeArray($kindUint8,[3,227,131,62]),$toNativeArray($kindUint8,[3,227,131,50]),$toNativeArray($kindUint8,[3,227,131,54]),$toNativeArray($kindUint8,[3,227,131,46]),$toNativeArray($kindUint8,[3,227,130,7]),$toNativeArray($kindUint8,[3,227,133,4]),$toNativeArray($kindUint8,[3,227,132,16]),$toNativeArray($kindUint8,[3,227,133,48]),$toNativeArray($kindUint8,[3,227,133,13]),$toNativeArray($kindUint8,[3,227,133,19]),$toNativeArray($kindUint8,[3,227,133,21]),$toNativeArray($kindUint8,[3,227,133,23]),$toNativeArray($kindUint8,[3,227,133,31]),$toNativeArray($kindUint8,[3,227,133,29]),$toNativeArray($kindUint8,[3,227,133,27]),$toNativeArray($kindUint8,[3,227,133,9]),$toNativeArray($kindUint8,[3,227,133,15]),$toNativeArray($kindUint8,[3,227,133,11]),$toNativeArray($kindUint8,[3,227,133,55]),$toNativeArray($kindUint8,[3,227,133,59]),$toNativeArray($kindUint8,[3,227,133,57]),$toNativeArray($kindUint8,[3,227,133,63]),$toNativeArray($kindUint8,[2,194,2,0]),$toNativeArray($kindUint8,[2,194,14,0]),$toNativeArray($kindUint8,[2,194,12,0]),$toNativeArray($kindUint8,[2,194,0,0]),$toNativeArray($kindUint8,[3,226,130,15]),$toNativeArray($kindUint8,[3,226,148,42]),$toNativeArray($kindUint8,[3,226,134,57]),$toNativeArray($kindUint8,[3,226,134,59]),$toNativeArray($kindUint8,[3,226,134,63]),$toNativeArray($kindUint8,[3,226,150,13]),$toNativeArray($kindUint8,[3,226,151,37])]);O=F(0);$pkg.Fold=new T.ptr((a=new J.ptr(new C.NopResetter.ptr()),new a.constructor.elem(a)));}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"net/http\"]=(function(){var $pkg={},$init,G,H,X,AN,Y,Z,J,K,AA,A,B,F,C,D,L,AB,S,T,R,AC,AM,I,M,U,V,W,AD,AE,N,E,O,P,AL,Q,AI,AF,AG,AH,AJ,AK,AO,AP,AQ,AR,AS,AT,BF,BI,DL,DM,DN,DO,DP,DR,DU,DV,DX,DY,EA,EB,EC,ED,EE,EF,EI,EL,EN,EP,EU,EY,EZ,FD,FK,FM,FO,FQ,FS,FU,FW,FX,FY,GA,GC,GE,GG,GM,GQ,GU,HK,IB,ID,IE,IN,IO,IP,IU,IW,IY,JA,JB,JM,JO,JP,JQ,JT,JU,JZ,KE,KF,KG,KH,KI,KM,KN,KX,LA,LB,LC,LE,LR,LT,LU,LV,LX,ME,MF,MH,MJ,MK,MM,MN,MO,MP,MQ,MR,MS,MU,MW,MX,MY,NA,NB,NC,ND,NE,NM,NO,NS,NT,NU,NV,OC,OI,OJ,OL,OM,ON,OP,PH,PM,PP,PQ,PU,PV,PY,PZ,QA,QC,QD,QN,QR,QZ,RC,RG,RO,RQ,RR,RZ,SB,SD,SK,SL,SM,SN,SR,SW,SY,SZ,TA,TD,TE,TH,TI,TJ,TM,TX,UD,UF,UG,UJ,UY,VA,VC,VD,VE,VF,VG,VH,VI,VJ,VX,VZ,WB,WC,WE,XQ,AAB,AAC,AAW,ABV,WG,WH,WL,WM,WN,WO,WP,WQ,WR,WS,WT,WU,WV,WW,WX,WY,WZ,XB,XC,XD,XE,XF,XG,XH,XI,XJ,XK,XL,XM,XN,XO,XP,XR,XS,XT,XU,XV,XW,XX,YC,YD,YE,YF,YG,YH,YI,YJ,YK,YL,YM,YN,YO,YP,YQ,YR,YS,YT,YU,YV,YW,YX,YY,YZ,ZA,ZB,ZC,ZD,ZE,ZF,ZG,ZH,ZI,ZJ,ZK,ZL,ZM,ZN,ZO,ZP,ZQ,ZR,ZS,ZT,ZU,ZV,ZW,ZX,ZY,ZZ,AAA,AAD,AAE,AAF,AAG,AAH,AAI,AAJ,AAK,AAL,AAP,AAR,AAS,AAT,AAU,AAV,AAX,AAY,AAZ,ABA,ABB,ABC,ABD,ABE,ABF,ABG,ABH,ABI,ABJ,ABK,ABL,ABM,ABN,ABO,ABP,ABQ,ABR,ABS,ABT,ABU,ABW,ABX,ABY,ABZ,ACA,ACB,ACC,ACD,ACE,ACF,ACG,ACL,ACM,ACN,ACO,ACP,ACQ,ACR,ACS,ACT,ACU,ACV,ACW,ACX,ACY,ACZ,ADA,ADB,ADC,ADD,ADE,ADF,ADG,ADH,ADI,ADJ,ADK,ADL,ADM,ADN,ADO,ADP,ADQ,ADR,ADS,ADT,ADU,ADV,ADW,ADX,ADY,ADZ,AEA,AEB,AEC,AED,AEE,AEI,AEJ,AEK,AEL,AEM,AEN,AEO,AEP,AEQ,AER,AES,AET,AEU,AEV,AEW,AEX,AFA,AFB,AFC,AFD,AFE,AFF,AFG,AFH,AFI,AFJ,AFK,AFL,AFM,AFN,AFO,AFP,AFR,AFS,AFT,AFU,AFV,AFW,AFX,AFY,AFZ,AGA,AGB,AGC,AGD,BP,CH,CI,CT,DW,EG,EH,EJ,EK,EM,EO,EQ,ES,EV,FB,FF,FG,FH,HJ,HM,HO,HR,HS,HV,HW,HX,HY,IA,IC,IF,IG,IH,IJ,IR,IV,IX,JC,JD,JE,JF,JG,JH,JI,JJ,JK,JL,JV,JW,JX,KA,KK,KL,KP,KT,KV,KY,LD,LG,LH,LI,LJ,LL,LP,LQ,LY,LZ,MA,MB,MC,NR,NW,OB,OO,OQ,OS,PB,PL,PW,PX,QE,QF,WI,QG,WJ,QH,QP,QS,QT,QU,QW,QX,RB,RM,RT,WK,SA,SC,SE,SO,SP,SX,TB,TC,TF,TO,TP,TY,TZ,UB,UO,UP,UQ,UR,US,UT,UU,UV,UW,UX,UZ,VK,VL,VM,VO,VP,VQ,VR,VS,VT,VU,VV,VY,a,b,c,d,AU,AV,AW,AX,AY,AZ,BA,BB,BG,BH,BJ,BL,BM,BN,BO,BQ,BR,BS,BT,BU,BV,BW,BX,DQ,DS,DT,DZ,ET,EX,FA,FC,FE,FI,FJ,FL,FN,FP,FR,FT,FV,FZ,GB,GD,GF,GH,GI,GN,GO,GP,GR,GS,GT,GV,GW,GX,GY,GZ,HA,HB,HC,HD,HE,HF,HG,HH,HI,HL,HN,HP,HQ,HT,HU,HZ,II,IK,IL,IQ,IS,IT,IZ,JN,JR,JS,JY,KB,KC,KD,KJ,KO,KQ,KR,KS,KU,KW,LF,LK,LM,LN,LO,LS,LW,MD,MI,ML,MT,MV,MZ,NL,NX,NY,NZ,OA,OD,OE,OF,OG,OH,OR,OT,OU,OV,OW,OX,OY,OZ,PA,PC,PD,PF,PG,PI,PJ,PK,PN,PO,QB,QI,QJ,QK,QL,QM,QO,QQ,QV,QY,RA,RD,RE,RF,RH,RI,RJ,RL,RN,RP,RU,RV,SQ,SS,ST,SU,SV,TG,TK,TL,TN,TQ,TR,TS,TT,TU,TV,TW,UA,UC,UE,VN,VW,WD,WF;G=$packages[\"bufio\"];H=$packages[\"bytes\"];X=$packages[\"compress/gzip\"];AN=$packages[\"container/list\"];Y=$packages[\"context\"];Z=$packages[\"crypto/rand\"];J=$packages[\"crypto/tls\"];K=$packages[\"encoding/base64\"];AA=$packages[\"encoding/binary\"];A=$packages[\"errors\"];B=$packages[\"fmt\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];D=$packages[\"io/ioutil\"];L=$packages[\"log\"];AB=$packages[\"math\"];S=$packages[\"mime\"];T=$packages[\"mime/multipart\"];R=$packages[\"net\"];AC=$packages[\"net/http/httptrace\"];AM=$packages[\"net/http/internal\"];I=$packages[\"net/textproto\"];M=$packages[\"net/url\"];U=$packages[\"os\"];V=$packages[\"path\"];W=$packages[\"path/filepath\"];AD=$packages[\"reflect\"];AE=$packages[\"runtime\"];N=$packages[\"sort\"];E=$packages[\"strconv\"];O=$packages[\"strings\"];P=$packages[\"sync\"];AL=$packages[\"sync/atomic\"];Q=$packages[\"time\"];AI=$packages[\"unicode/utf8\"];AF=$packages[\"vendor/golang_org/x/net/http2/hpack\"];AG=$packages[\"vendor/golang_org/x/net/idna\"];AH=$packages[\"vendor/golang_org/x/net/lex/httplex\"];AJ=$packages[\"vendor/golang_org/x/text/unicode/norm\"];AK=$packages[\"vendor/golang_org/x/text/width\"];AO=$pkg.streamReader=$newType(0,$kindStruct,\"http.streamReader\",true,\"net/http\",false,function(pending_,stream_){this.$val=this;if(arguments.length===0){this.pending=WP.nil;this.stream=null;return;}this.pending=pending_;this.stream=stream_;});AP=$pkg.fetchTransport=$newType(0,$kindStruct,\"http.fetchTransport\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});AQ=$pkg.noTransport=$newType(0,$kindStruct,\"http.noTransport\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});AR=$pkg.XHRTransport=$newType(0,$kindStruct,\"http.XHRTransport\",true,\"net/http\",true,function(inflight_){this.$val=this;if(arguments.length===0){this.inflight=false;return;}this.inflight=inflight_;});AS=$pkg.Client=$newType(0,$kindStruct,\"http.Client\",true,\"net/http\",true,function(Transport_,CheckRedirect_,Jar_,Timeout_){this.$val=this;if(arguments.length===0){this.Transport=$ifaceNil;this.CheckRedirect=$throwNilPointerError;this.Jar=$ifaceNil;this.Timeout=new Q.Duration(0,0);return;}this.Transport=Transport_;this.CheckRedirect=CheckRedirect_;this.Jar=Jar_;this.Timeout=Timeout_;});AT=$pkg.RoundTripper=$newType(8,$kindInterface,\"http.RoundTripper\",true,\"net/http\",true,null);BF=$pkg.cancelTimerBody=$newType(0,$kindStruct,\"http.cancelTimerBody\",true,\"net/http\",false,function(stop_,rc_,reqDidTimeout_){this.$val=this;if(arguments.length===0){this.stop=$throwNilPointerError;this.rc=$ifaceNil;this.reqDidTimeout=$throwNilPointerError;return;}this.stop=stop_;this.rc=rc_;this.reqDidTimeout=reqDidTimeout_;});BI=$pkg.Cookie=$newType(0,$kindStruct,\"http.Cookie\",true,\"net/http\",true,function(Name_,Value_,Path_,Domain_,Expires_,RawExpires_,MaxAge_,Secure_,HttpOnly_,Raw_,Unparsed_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.Value=\"\";this.Path=\"\";this.Domain=\"\";this.Expires=new Q.Time.ptr(new $Int64(0,0),0,WL.nil);this.RawExpires=\"\";this.MaxAge=0;this.Secure=false;this.HttpOnly=false;this.Raw=\"\";this.Unparsed=WN.nil;return;}this.Name=Name_;this.Value=Value_;this.Path=Path_;this.Domain=Domain_;this.Expires=Expires_;this.RawExpires=RawExpires_;this.MaxAge=MaxAge_;this.Secure=Secure_;this.HttpOnly=HttpOnly_;this.Raw=Raw_;this.Unparsed=Unparsed_;});DL=$pkg.http2ClientConnPool=$newType(8,$kindInterface,\"http.http2ClientConnPool\",true,\"net/http\",false,null);DM=$pkg.http2clientConnPoolIdleCloser=$newType(8,$kindInterface,\"http.http2clientConnPoolIdleCloser\",true,\"net/http\",false,null);DN=$pkg.http2clientConnPool=$newType(0,$kindStruct,\"http.http2clientConnPool\",true,\"net/http\",false,function(t_,mu_,conns_,dialing_,keys_,addConnCalls_){this.$val=this;if(arguments.length===0){this.t=XE.nil;this.mu=new P.Mutex.ptr(0,0);this.conns=false;this.dialing=false;this.keys=false;this.addConnCalls=false;return;}this.t=t_;this.mu=mu_;this.conns=conns_;this.dialing=dialing_;this.keys=keys_;this.addConnCalls=addConnCalls_;});DO=$pkg.http2dialCall=$newType(0,$kindStruct,\"http.http2dialCall\",true,\"net/http\",false,function(p_,done_,res_,err_){this.$val=this;if(arguments.length===0){this.p=WO.nil;this.done=$chanNil;this.res=YC.nil;this.err=$ifaceNil;return;}this.p=p_;this.done=done_;this.res=res_;this.err=err_;});DP=$pkg.http2addConnCall=$newType(0,$kindStruct,\"http.http2addConnCall\",true,\"net/http\",false,function(p_,done_,err_){this.$val=this;if(arguments.length===0){this.p=WO.nil;this.done=$chanNil;this.err=$ifaceNil;return;}this.p=p_;this.done=done_;this.err=err_;});DR=$pkg.http2noDialClientConnPool=$newType(0,$kindStruct,\"http.http2noDialClientConnPool\",true,\"net/http\",false,function(http2clientConnPool_){this.$val=this;if(arguments.length===0){this.http2clientConnPool=WO.nil;return;}this.http2clientConnPool=http2clientConnPool_;});DU=$pkg.http2noDialH2RoundTripper=$newType(0,$kindStruct,\"http.http2noDialH2RoundTripper\",true,\"net/http\",false,function(t_){this.$val=this;if(arguments.length===0){this.t=XE.nil;return;}this.t=t_;});DV=$pkg.http2ErrCode=$newType(4,$kindUint32,\"http.http2ErrCode\",true,\"net/http\",false,null);DX=$pkg.http2ConnectionError=$newType(4,$kindUint32,\"http.http2ConnectionError\",true,\"net/http\",false,null);DY=$pkg.http2StreamError=$newType(0,$kindStruct,\"http.http2StreamError\",true,\"net/http\",false,function(StreamID_,Code_,Cause_){this.$val=this;if(arguments.length===0){this.StreamID=0;this.Code=0;this.Cause=$ifaceNil;return;}this.StreamID=StreamID_;this.Code=Code_;this.Cause=Cause_;});EA=$pkg.http2goAwayFlowError=$newType(0,$kindStruct,\"http.http2goAwayFlowError\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});EB=$pkg.http2connError=$newType(0,$kindStruct,\"http.http2connError\",true,\"net/http\",false,function(Code_,Reason_){this.$val=this;if(arguments.length===0){this.Code=0;this.Reason=\"\";return;}this.Code=Code_;this.Reason=Reason_;});EC=$pkg.http2pseudoHeaderError=$newType(8,$kindString,\"http.http2pseudoHeaderError\",true,\"net/http\",false,null);ED=$pkg.http2duplicatePseudoHeaderError=$newType(8,$kindString,\"http.http2duplicatePseudoHeaderError\",true,\"net/http\",false,null);EE=$pkg.http2headerFieldNameError=$newType(8,$kindString,\"http.http2headerFieldNameError\",true,\"net/http\",false,null);EF=$pkg.http2headerFieldValueError=$newType(8,$kindString,\"http.http2headerFieldValueError\",true,\"net/http\",false,null);EI=$pkg.http2fixedBuffer=$newType(0,$kindStruct,\"http.http2fixedBuffer\",true,\"net/http\",false,function(buf_,r_,w_){this.$val=this;if(arguments.length===0){this.buf=WP.nil;this.r=0;this.w=0;return;}this.buf=buf_;this.r=r_;this.w=w_;});EL=$pkg.http2flow=$newType(0,$kindStruct,\"http.http2flow\",true,\"net/http\",false,function(n_,conn_){this.$val=this;if(arguments.length===0){this.n=0;this.conn=YM.nil;return;}this.n=n_;this.conn=conn_;});EN=$pkg.http2FrameType=$newType(1,$kindUint8,\"http.http2FrameType\",true,\"net/http\",false,null);EP=$pkg.http2Flags=$newType(1,$kindUint8,\"http.http2Flags\",true,\"net/http\",false,null);EU=$pkg.http2FrameHeader=$newType(0,$kindStruct,\"http.http2FrameHeader\",true,\"net/http\",false,function(valid_,Type_,Flags_,Length_,StreamID_){this.$val=this;if(arguments.length===0){this.valid=false;this.Type=0;this.Flags=0;this.Length=0;this.StreamID=0;return;}this.valid=valid_;this.Type=Type_;this.Flags=Flags_;this.Length=Length_;this.StreamID=StreamID_;});EY=$pkg.http2Frame=$newType(8,$kindInterface,\"http.http2Frame\",true,\"net/http\",false,null);EZ=$pkg.http2Framer=$newType(0,$kindStruct,\"http.http2Framer\",true,\"net/http\",false,function(r_,lastFrame_,errDetail_,lastHeaderStream_,maxReadSize_,headerBuf_,getReadBuf_,readBuf_,maxWriteSize_,w_,wbuf_,AllowIllegalWrites_,AllowIllegalReads_,ReadMetaHeaders_,MaxHeaderListSize_,logReads_,logWrites_,debugFramer_,debugFramerBuf_,debugReadLoggerf_,debugWriteLoggerf_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.lastFrame=$ifaceNil;this.errDetail=$ifaceNil;this.lastHeaderStream=0;this.maxReadSize=0;this.headerBuf=YO.zero();this.getReadBuf=$throwNilPointerError;this.readBuf=WP.nil;this.maxWriteSize=0;this.w=$ifaceNil;this.wbuf=WP.nil;this.AllowIllegalWrites=false;this.AllowIllegalReads=false;this.ReadMetaHeaders=YP.nil;this.MaxHeaderListSize=0;this.logReads=false;this.logWrites=false;this.debugFramer=YN.nil;this.debugFramerBuf=YQ.nil;this.debugReadLoggerf=$throwNilPointerError;this.debugWriteLoggerf=$throwNilPointerError;return;}this.r=r_;this.lastFrame=lastFrame_;this.errDetail=errDetail_;this.lastHeaderStream=lastHeaderStream_;this.maxReadSize=maxReadSize_;this.headerBuf=headerBuf_;this.getReadBuf=getReadBuf_;this.readBuf=readBuf_;this.maxWriteSize=maxWriteSize_;this.w=w_;this.wbuf=wbuf_;this.AllowIllegalWrites=AllowIllegalWrites_;this.AllowIllegalReads=AllowIllegalReads_;this.ReadMetaHeaders=ReadMetaHeaders_;this.MaxHeaderListSize=MaxHeaderListSize_;this.logReads=logReads_;this.logWrites=logWrites_;this.debugFramer=debugFramer_;this.debugFramerBuf=debugFramerBuf_;this.debugReadLoggerf=debugReadLoggerf_;this.debugWriteLoggerf=debugWriteLoggerf_;});FD=$pkg.http2DataFrame=$newType(0,$kindStruct,\"http.http2DataFrame\",true,\"net/http\",false,function(http2FrameHeader_,data_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.data=WP.nil;return;}this.http2FrameHeader=http2FrameHeader_;this.data=data_;});FK=$pkg.http2SettingsFrame=$newType(0,$kindStruct,\"http.http2SettingsFrame\",true,\"net/http\",false,function(http2FrameHeader_,p_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.p=WP.nil;return;}this.http2FrameHeader=http2FrameHeader_;this.p=p_;});FM=$pkg.http2PingFrame=$newType(0,$kindStruct,\"http.http2PingFrame\",true,\"net/http\",false,function(http2FrameHeader_,Data_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.Data=YS.zero();return;}this.http2FrameHeader=http2FrameHeader_;this.Data=Data_;});FO=$pkg.http2GoAwayFrame=$newType(0,$kindStruct,\"http.http2GoAwayFrame\",true,\"net/http\",false,function(http2FrameHeader_,LastStreamID_,ErrCode_,debugData_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.LastStreamID=0;this.ErrCode=0;this.debugData=WP.nil;return;}this.http2FrameHeader=http2FrameHeader_;this.LastStreamID=LastStreamID_;this.ErrCode=ErrCode_;this.debugData=debugData_;});FQ=$pkg.http2UnknownFrame=$newType(0,$kindStruct,\"http.http2UnknownFrame\",true,\"net/http\",false,function(http2FrameHeader_,p_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.p=WP.nil;return;}this.http2FrameHeader=http2FrameHeader_;this.p=p_;});FS=$pkg.http2WindowUpdateFrame=$newType(0,$kindStruct,\"http.http2WindowUpdateFrame\",true,\"net/http\",false,function(http2FrameHeader_,Increment_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.Increment=0;return;}this.http2FrameHeader=http2FrameHeader_;this.Increment=Increment_;});FU=$pkg.http2HeadersFrame=$newType(0,$kindStruct,\"http.http2HeadersFrame\",true,\"net/http\",false,function(http2FrameHeader_,Priority_,headerFragBuf_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.Priority=new FY.ptr(0,false,0);this.headerFragBuf=WP.nil;return;}this.http2FrameHeader=http2FrameHeader_;this.Priority=Priority_;this.headerFragBuf=headerFragBuf_;});FW=$pkg.http2HeadersFrameParam=$newType(0,$kindStruct,\"http.http2HeadersFrameParam\",true,\"net/http\",false,function(StreamID_,BlockFragment_,EndStream_,EndHeaders_,PadLength_,Priority_){this.$val=this;if(arguments.length===0){this.StreamID=0;this.BlockFragment=WP.nil;this.EndStream=false;this.EndHeaders=false;this.PadLength=0;this.Priority=new FY.ptr(0,false,0);return;}this.StreamID=StreamID_;this.BlockFragment=BlockFragment_;this.EndStream=EndStream_;this.EndHeaders=EndHeaders_;this.PadLength=PadLength_;this.Priority=Priority_;});FX=$pkg.http2PriorityFrame=$newType(0,$kindStruct,\"http.http2PriorityFrame\",true,\"net/http\",false,function(http2FrameHeader_,http2PriorityParam_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.http2PriorityParam=new FY.ptr(0,false,0);return;}this.http2FrameHeader=http2FrameHeader_;this.http2PriorityParam=http2PriorityParam_;});FY=$pkg.http2PriorityParam=$newType(0,$kindStruct,\"http.http2PriorityParam\",true,\"net/http\",false,function(StreamDep_,Exclusive_,Weight_){this.$val=this;if(arguments.length===0){this.StreamDep=0;this.Exclusive=false;this.Weight=0;return;}this.StreamDep=StreamDep_;this.Exclusive=Exclusive_;this.Weight=Weight_;});GA=$pkg.http2RSTStreamFrame=$newType(0,$kindStruct,\"http.http2RSTStreamFrame\",true,\"net/http\",false,function(http2FrameHeader_,ErrCode_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.ErrCode=0;return;}this.http2FrameHeader=http2FrameHeader_;this.ErrCode=ErrCode_;});GC=$pkg.http2ContinuationFrame=$newType(0,$kindStruct,\"http.http2ContinuationFrame\",true,\"net/http\",false,function(http2FrameHeader_,headerFragBuf_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.headerFragBuf=WP.nil;return;}this.http2FrameHeader=http2FrameHeader_;this.headerFragBuf=headerFragBuf_;});GE=$pkg.http2PushPromiseFrame=$newType(0,$kindStruct,\"http.http2PushPromiseFrame\",true,\"net/http\",false,function(http2FrameHeader_,PromiseID_,headerFragBuf_){this.$val=this;if(arguments.length===0){this.http2FrameHeader=new EU.ptr(false,0,0,0,0);this.PromiseID=0;this.headerFragBuf=WP.nil;return;}this.http2FrameHeader=http2FrameHeader_;this.PromiseID=PromiseID_;this.headerFragBuf=headerFragBuf_;});GG=$pkg.http2PushPromiseParam=$newType(0,$kindStruct,\"http.http2PushPromiseParam\",true,\"net/http\",false,function(StreamID_,PromiseID_,BlockFragment_,EndHeaders_,PadLength_){this.$val=this;if(arguments.length===0){this.StreamID=0;this.PromiseID=0;this.BlockFragment=WP.nil;this.EndHeaders=false;this.PadLength=0;return;}this.StreamID=StreamID_;this.PromiseID=PromiseID_;this.BlockFragment=BlockFragment_;this.EndHeaders=EndHeaders_;this.PadLength=PadLength_;});GM=$pkg.http2MetaHeadersFrame=$newType(0,$kindStruct,\"http.http2MetaHeadersFrame\",true,\"net/http\",false,function(http2HeadersFrame_,Fields_,Truncated_){this.$val=this;if(arguments.length===0){this.http2HeadersFrame=YR.nil;this.Fields=YT.nil;this.Truncated=false;return;}this.http2HeadersFrame=http2HeadersFrame_;this.Fields=Fields_;this.Truncated=Truncated_;});GQ=$pkg.http2contextContext=$newType(8,$kindInterface,\"http.http2contextContext\",true,\"net/http\",false,null);GU=$pkg.http2clientTrace=$newType(0,$kindStruct,\"http.http2clientTrace\",true,\"net/http\",false,function(GetConn_,GotConn_,PutIdleConn_,GotFirstResponseByte_,Got100Continue_,DNSStart_,DNSDone_,ConnectStart_,ConnectDone_,TLSHandshakeStart_,TLSHandshakeDone_,WroteHeaders_,Wait100Continue_,WroteRequest_){this.$val=this;if(arguments.length===0){this.GetConn=$throwNilPointerError;this.GotConn=$throwNilPointerError;this.PutIdleConn=$throwNilPointerError;this.GotFirstResponseByte=$throwNilPointerError;this.Got100Continue=$throwNilPointerError;this.DNSStart=$throwNilPointerError;this.DNSDone=$throwNilPointerError;this.ConnectStart=$throwNilPointerError;this.ConnectDone=$throwNilPointerError;this.TLSHandshakeStart=$throwNilPointerError;this.TLSHandshakeDone=$throwNilPointerError;this.WroteHeaders=$throwNilPointerError;this.Wait100Continue=$throwNilPointerError;this.WroteRequest=$throwNilPointerError;return;}this.GetConn=GetConn_;this.GotConn=GotConn_;this.PutIdleConn=PutIdleConn_;this.GotFirstResponseByte=GotFirstResponseByte_;this.Got100Continue=Got100Continue_;this.DNSStart=DNSStart_;this.DNSDone=DNSDone_;this.ConnectStart=ConnectStart_;this.ConnectDone=ConnectDone_;this.TLSHandshakeStart=TLSHandshakeStart_;this.TLSHandshakeDone=TLSHandshakeDone_;this.WroteHeaders=WroteHeaders_;this.Wait100Continue=Wait100Continue_;this.WroteRequest=WroteRequest_;});HK=$pkg.http2goroutineLock=$newType(8,$kindUint64,\"http.http2goroutineLock\",true,\"net/http\",false,null);IB=$pkg.http2streamState=$newType(4,$kindInt,\"http.http2streamState\",true,\"net/http\",false,null);ID=$pkg.http2Setting=$newType(0,$kindStruct,\"http.http2Setting\",true,\"net/http\",false,function(ID_,Val_){this.$val=this;if(arguments.length===0){this.ID=0;this.Val=0;return;}this.ID=ID_;this.Val=Val_;});IE=$pkg.http2SettingID=$newType(2,$kindUint16,\"http.http2SettingID\",true,\"net/http\",false,null);IN=$pkg.http2gate=$newType(4,$kindChan,\"http.http2gate\",true,\"net/http\",false,null);IO=$pkg.http2closeWaiter=$newType(4,$kindChan,\"http.http2closeWaiter\",true,\"net/http\",false,null);IP=$pkg.http2bufferedWriter=$newType(0,$kindStruct,\"http.http2bufferedWriter\",true,\"net/http\",false,function(w_,bw_){this.$val=this;if(arguments.length===0){this.w=$ifaceNil;this.bw=WW.nil;return;}this.w=w_;this.bw=bw_;});IU=$pkg.http2httpError=$newType(0,$kindStruct,\"http.http2httpError\",true,\"net/http\",false,function(msg_,timeout_){this.$val=this;if(arguments.length===0){this.msg=\"\";this.timeout=false;return;}this.msg=msg_;this.timeout=timeout_;});IW=$pkg.http2connectionStater=$newType(8,$kindInterface,\"http.http2connectionStater\",true,\"net/http\",false,null);IY=$pkg.http2sorter=$newType(0,$kindStruct,\"http.http2sorter\",true,\"net/http\",false,function(v_){this.$val=this;if(arguments.length===0){this.v=WN.nil;return;}this.v=v_;});JA=$pkg.http2pipe=$newType(0,$kindStruct,\"http.http2pipe\",true,\"net/http\",false,function(mu_,c_,b_,err_,breakErr_,donec_,readFn_){this.$val=this;if(arguments.length===0){this.mu=new P.Mutex.ptr(0,0);this.c=new P.Cond.ptr(new P.noCopy.ptr(),$ifaceNil,new P.notifyList.ptr(0,0,0,0,0),0,0,$chanNil);this.b=$ifaceNil;this.err=$ifaceNil;this.breakErr=$ifaceNil;this.donec=$chanNil;this.readFn=$throwNilPointerError;return;}this.mu=mu_;this.c=c_;this.b=b_;this.err=err_;this.breakErr=breakErr_;this.donec=donec_;this.readFn=readFn_;});JB=$pkg.http2pipeBuffer=$newType(8,$kindInterface,\"http.http2pipeBuffer\",true,\"net/http\",false,null);JM=$pkg.http2Server=$newType(0,$kindStruct,\"http.http2Server\",true,\"net/http\",false,function(MaxHandlers_,MaxConcurrentStreams_,MaxReadFrameSize_,PermitProhibitedCipherSuites_,IdleTimeout_,NewWriteScheduler_){this.$val=this;if(arguments.length===0){this.MaxHandlers=0;this.MaxConcurrentStreams=0;this.MaxReadFrameSize=0;this.PermitProhibitedCipherSuites=false;this.IdleTimeout=new Q.Duration(0,0);this.NewWriteScheduler=$throwNilPointerError;return;}this.MaxHandlers=MaxHandlers_;this.MaxConcurrentStreams=MaxConcurrentStreams_;this.MaxReadFrameSize=MaxReadFrameSize_;this.PermitProhibitedCipherSuites=PermitProhibitedCipherSuites_;this.IdleTimeout=IdleTimeout_;this.NewWriteScheduler=NewWriteScheduler_;});JO=$pkg.http2ServeConnOpts=$newType(0,$kindStruct,\"http.http2ServeConnOpts\",true,\"net/http\",false,function(BaseConfig_,Handler_){this.$val=this;if(arguments.length===0){this.BaseConfig=ZC.nil;this.Handler=$ifaceNil;return;}this.BaseConfig=BaseConfig_;this.Handler=Handler_;});JP=$pkg.http2serverConn=$newType(0,$kindStruct,\"http.http2serverConn\",true,\"net/http\",false,function(srv_,hs_,conn_,bw_,handler_,baseCtx_,framer_,doneServing_,readFrameCh_,wantWriteFrameCh_,wantStartPushCh_,wroteFrameCh_,bodyReadCh_,testHookCh_,flow_,inflow_,tlsState_,remoteAddrStr_,writeSched_,serveG_,pushEnabled_,sawFirstSettings_,needToSendSettingsAck_,unackedSettings_,clientMaxStreams_,advMaxStreams_,curClientStreams_,curPushedStreams_,maxClientStreamID_,maxPushPromiseID_,streams_,initialWindowSize_,maxFrameSize_,headerTableSize_,peerMaxHeaderListSize_,canonHeader_,writingFrame_,writingFrameAsync_,needsFrameFlush_,inGoAway_,inFrameScheduleLoop_,needToSendGoAway_,goAwayCode_,shutdownTimerCh_,shutdownTimer_,idleTimer_,idleTimerCh_,headerWriteBuf_,hpackEncoder_){this.$val=this;if(arguments.length===0){this.srv=ZH.nil;this.hs=ZC.nil;this.conn=$ifaceNil;this.bw=ZK.nil;this.handler=$ifaceNil;this.baseCtx=$ifaceNil;this.framer=YN.nil;this.doneServing=$chanNil;this.readFrameCh=$chanNil;this.wantWriteFrameCh=$chanNil;this.wantStartPushCh=$chanNil;this.wroteFrameCh=$chanNil;this.bodyReadCh=$chanNil;this.testHookCh=$chanNil;this.flow=new EL.ptr(0,YM.nil);this.inflow=new EL.ptr(0,YM.nil);this.tlsState=XK.nil;this.remoteAddrStr=\"\";this.writeSched=$ifaceNil;this.serveG=new HK(0,0);this.pushEnabled=false;this.sawFirstSettings=false;this.needToSendSettingsAck=false;this.unackedSettings=0;this.clientMaxStreams=0;this.advMaxStreams=0;this.curClientStreams=0;this.curPushedStreams=0;this.maxClientStreamID=0;this.maxPushPromiseID=0;this.streams=false;this.initialWindowSize=0;this.maxFrameSize=0;this.headerTableSize=0;this.peerMaxHeaderListSize=0;this.canonHeader=false;this.writingFrame=false;this.writingFrameAsync=false;this.needsFrameFlush=false;this.inGoAway=false;this.inFrameScheduleLoop=false;this.needToSendGoAway=false;this.goAwayCode=0;this.shutdownTimerCh=$chanNil;this.shutdownTimer=ZL.nil;this.idleTimer=ZL.nil;this.idleTimerCh=$chanNil;this.headerWriteBuf=new H.Buffer.ptr(WP.nil,0,XX.zero(),0);this.hpackEncoder=ZM.nil;return;}this.srv=srv_;this.hs=hs_;this.conn=conn_;this.bw=bw_;this.handler=handler_;this.baseCtx=baseCtx_;this.framer=framer_;this.doneServing=doneServing_;this.readFrameCh=readFrameCh_;this.wantWriteFrameCh=wantWriteFrameCh_;this.wantStartPushCh=wantStartPushCh_;this.wroteFrameCh=wroteFrameCh_;this.bodyReadCh=bodyReadCh_;this.testHookCh=testHookCh_;this.flow=flow_;this.inflow=inflow_;this.tlsState=tlsState_;this.remoteAddrStr=remoteAddrStr_;this.writeSched=writeSched_;this.serveG=serveG_;this.pushEnabled=pushEnabled_;this.sawFirstSettings=sawFirstSettings_;this.needToSendSettingsAck=needToSendSettingsAck_;this.unackedSettings=unackedSettings_;this.clientMaxStreams=clientMaxStreams_;this.advMaxStreams=advMaxStreams_;this.curClientStreams=curClientStreams_;this.curPushedStreams=curPushedStreams_;this.maxClientStreamID=maxClientStreamID_;this.maxPushPromiseID=maxPushPromiseID_;this.streams=streams_;this.initialWindowSize=initialWindowSize_;this.maxFrameSize=maxFrameSize_;this.headerTableSize=headerTableSize_;this.peerMaxHeaderListSize=peerMaxHeaderListSize_;this.canonHeader=canonHeader_;this.writingFrame=writingFrame_;this.writingFrameAsync=writingFrameAsync_;this.needsFrameFlush=needsFrameFlush_;this.inGoAway=inGoAway_;this.inFrameScheduleLoop=inFrameScheduleLoop_;this.needToSendGoAway=needToSendGoAway_;this.goAwayCode=goAwayCode_;this.shutdownTimerCh=shutdownTimerCh_;this.shutdownTimer=shutdownTimer_;this.idleTimer=idleTimer_;this.idleTimerCh=idleTimerCh_;this.headerWriteBuf=headerWriteBuf_;this.hpackEncoder=hpackEncoder_;});JQ=$pkg.http2stream=$newType(0,$kindStruct,\"http.http2stream\",true,\"net/http\",false,function(sc_,id_,body_,cw_,ctx_,cancelCtx_,bodyBytes_,declBodyBytes_,flow_,inflow_,parent_,numTrailerValues_,weight_,state_,resetQueued_,gotTrailerHeader_,wroteHeaders_,reqBuf_,trailer_,reqTrailer_){this.$val=this;if(arguments.length===0){this.sc=WV.nil;this.id=0;this.body=ZX.nil;this.cw=$chanNil;this.ctx=$ifaceNil;this.cancelCtx=$throwNilPointerError;this.bodyBytes=new $Int64(0,0);this.declBodyBytes=new $Int64(0,0);this.flow=new EL.ptr(0,YM.nil);this.inflow=new EL.ptr(0,YM.nil);this.parent=WS.nil;this.numTrailerValues=new $Int64(0,0);this.weight=0;this.state=0;this.resetQueued=false;this.gotTrailerHeader=false;this.wroteHeaders=false;this.reqBuf=WP.nil;this.trailer=false;this.reqTrailer=false;return;}this.sc=sc_;this.id=id_;this.body=body_;this.cw=cw_;this.ctx=ctx_;this.cancelCtx=cancelCtx_;this.bodyBytes=bodyBytes_;this.declBodyBytes=declBodyBytes_;this.flow=flow_;this.inflow=inflow_;this.parent=parent_;this.numTrailerValues=numTrailerValues_;this.weight=weight_;this.state=state_;this.resetQueued=resetQueued_;this.gotTrailerHeader=gotTrailerHeader_;this.wroteHeaders=wroteHeaders_;this.reqBuf=reqBuf_;this.trailer=trailer_;this.reqTrailer=reqTrailer_;});JT=$pkg.http2readFrameResult=$newType(0,$kindStruct,\"http.http2readFrameResult\",true,\"net/http\",false,function(f_,err_,readMore_){this.$val=this;if(arguments.length===0){this.f=$ifaceNil;this.err=$ifaceNil;this.readMore=$throwNilPointerError;return;}this.f=f_;this.err=err_;this.readMore=readMore_;});JU=$pkg.http2frameWriteResult=$newType(0,$kindStruct,\"http.http2frameWriteResult\",true,\"net/http\",false,function(wr_,err_){this.$val=this;if(arguments.length===0){this.wr=new NC.ptr($ifaceNil,WS.nil,$chanNil);this.err=$ifaceNil;return;}this.wr=wr_;this.err=err_;});JZ=$pkg.http2requestParam=$newType(0,$kindStruct,\"http.http2requestParam\",true,\"net/http\",false,function(method_,scheme_,authority_,path_,header_){this.$val=this;if(arguments.length===0){this.method=\"\";this.scheme=\"\";this.authority=\"\";this.path=\"\";this.header=false;return;}this.method=method_;this.scheme=scheme_;this.authority=authority_;this.path=path_;this.header=header_;});KE=$pkg.http2bodyReadMsg=$newType(0,$kindStruct,\"http.http2bodyReadMsg\",true,\"net/http\",false,function(st_,n_){this.$val=this;if(arguments.length===0){this.st=WS.nil;this.n=0;return;}this.st=st_;this.n=n_;});KF=$pkg.http2requestBody=$newType(0,$kindStruct,\"http.http2requestBody\",true,\"net/http\",false,function(stream_,conn_,closed_,sawEOF_,pipe_,needsContinue_){this.$val=this;if(arguments.length===0){this.stream=WS.nil;this.conn=WV.nil;this.closed=false;this.sawEOF=false;this.pipe=ZX.nil;this.needsContinue=false;return;}this.stream=stream_;this.conn=conn_;this.closed=closed_;this.sawEOF=sawEOF_;this.pipe=pipe_;this.needsContinue=needsContinue_;});KG=$pkg.http2responseWriter=$newType(0,$kindStruct,\"http.http2responseWriter\",true,\"net/http\",false,function(rws_){this.$val=this;if(arguments.length===0){this.rws=ZZ.nil;return;}this.rws=rws_;});KH=$pkg.http2responseWriterState=$newType(0,$kindStruct,\"http.http2responseWriterState\",true,\"net/http\",false,function(stream_,req_,body_,conn_,bw_,handlerHeader_,snapHeader_,trailers_,status_,wroteHeader_,sentHeader_,handlerDone_,sentContentLen_,wroteBytes_,closeNotifierMu_,closeNotifierCh_){this.$val=this;if(arguments.length===0){this.stream=WS.nil;this.req=WT.nil;this.body=WU.nil;this.conn=WV.nil;this.bw=WW.nil;this.handlerHeader=false;this.snapHeader=false;this.trailers=WN.nil;this.status=0;this.wroteHeader=false;this.sentHeader=false;this.handlerDone=false;this.sentContentLen=new $Int64(0,0);this.wroteBytes=new $Int64(0,0);this.closeNotifierMu=new P.Mutex.ptr(0,0);this.closeNotifierCh=$chanNil;return;}this.stream=stream_;this.req=req_;this.body=body_;this.conn=conn_;this.bw=bw_;this.handlerHeader=handlerHeader_;this.snapHeader=snapHeader_;this.trailers=trailers_;this.status=status_;this.wroteHeader=wroteHeader_;this.sentHeader=sentHeader_;this.handlerDone=handlerDone_;this.sentContentLen=sentContentLen_;this.wroteBytes=wroteBytes_;this.closeNotifierMu=closeNotifierMu_;this.closeNotifierCh=closeNotifierCh_;});KI=$pkg.http2chunkWriter=$newType(0,$kindStruct,\"http.http2chunkWriter\",true,\"net/http\",false,function(rws_){this.$val=this;if(arguments.length===0){this.rws=ZZ.nil;return;}this.rws=rws_;});KM=$pkg.http2pushOptions=$newType(0,$kindStruct,\"http.http2pushOptions\",true,\"net/http\",false,function(Method_,Header_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Header=false;return;}this.Method=Method_;this.Header=Header_;});KN=$pkg.http2startPushRequest=$newType(0,$kindStruct,\"http.http2startPushRequest\",true,\"net/http\",false,function(parent_,method_,url_,header_,done_){this.$val=this;if(arguments.length===0){this.parent=WS.nil;this.method=\"\";this.url=XN.nil;this.header=false;this.done=$chanNil;return;}this.parent=parent_;this.method=method_;this.url=url_;this.header=header_;this.done=done_;});KX=$pkg.http2Transport=$newType(0,$kindStruct,\"http.http2Transport\",true,\"net/http\",false,function(DialTLS_,TLSClientConfig_,ConnPool_,DisableCompression_,AllowHTTP_,MaxHeaderListSize_,t1_,connPoolOnce_,connPoolOrDef_){this.$val=this;if(arguments.length===0){this.DialTLS=$throwNilPointerError;this.TLSClientConfig=XD.nil;this.ConnPool=$ifaceNil;this.DisableCompression=false;this.AllowHTTP=false;this.MaxHeaderListSize=0;this.t1=XR.nil;this.connPoolOnce=new P.Once.ptr(new P.Mutex.ptr(0,0),0);this.connPoolOrDef=$ifaceNil;return;}this.DialTLS=DialTLS_;this.TLSClientConfig=TLSClientConfig_;this.ConnPool=ConnPool_;this.DisableCompression=DisableCompression_;this.AllowHTTP=AllowHTTP_;this.MaxHeaderListSize=MaxHeaderListSize_;this.t1=t1_;this.connPoolOnce=connPoolOnce_;this.connPoolOrDef=connPoolOrDef_;});LA=$pkg.http2ClientConn=$newType(0,$kindStruct,\"http.http2ClientConn\",true,\"net/http\",false,function(t_,tconn_,tlsState_,singleUse_,readerDone_,readerErr_,idleTimeout_,idleTimer_,mu_,cond_,flow_,inflow_,closed_,wantSettingsAck_,goAway_,goAwayDebug_,streams_,nextStreamID_,pings_,bw_,br_,fr_,lastActive_,maxFrameSize_,maxConcurrentStreams_,initialWindowSize_,hbuf_,henc_,freeBuf_,wmu_,werr_){this.$val=this;if(arguments.length===0){this.t=XE.nil;this.tconn=$ifaceNil;this.tlsState=XK.nil;this.singleUse=false;this.readerDone=$chanNil;this.readerErr=$ifaceNil;this.idleTimeout=new Q.Duration(0,0);this.idleTimer=ZL.nil;this.mu=new P.Mutex.ptr(0,0);this.cond=AAD.nil;this.flow=new EL.ptr(0,YM.nil);this.inflow=new EL.ptr(0,YM.nil);this.closed=false;this.wantSettingsAck=false;this.goAway=ZA.nil;this.goAwayDebug=\"\";this.streams=false;this.nextStreamID=0;this.pings=false;this.bw=WW.nil;this.br=AAE.nil;this.fr=YN.nil;this.lastActive=new Q.Time.ptr(new $Int64(0,0),0,WL.nil);this.maxFrameSize=0;this.maxConcurrentStreams=0;this.initialWindowSize=0;this.hbuf=new H.Buffer.ptr(WP.nil,0,XX.zero(),0);this.henc=ZM.nil;this.freeBuf=WZ.nil;this.wmu=new P.Mutex.ptr(0,0);this.werr=$ifaceNil;return;}this.t=t_;this.tconn=tconn_;this.tlsState=tlsState_;this.singleUse=singleUse_;this.readerDone=readerDone_;this.readerErr=readerErr_;this.idleTimeout=idleTimeout_;this.idleTimer=idleTimer_;this.mu=mu_;this.cond=cond_;this.flow=flow_;this.inflow=inflow_;this.closed=closed_;this.wantSettingsAck=wantSettingsAck_;this.goAway=goAway_;this.goAwayDebug=goAwayDebug_;this.streams=streams_;this.nextStreamID=nextStreamID_;this.pings=pings_;this.bw=bw_;this.br=br_;this.fr=fr_;this.lastActive=lastActive_;this.maxFrameSize=maxFrameSize_;this.maxConcurrentStreams=maxConcurrentStreams_;this.initialWindowSize=initialWindowSize_;this.hbuf=hbuf_;this.henc=henc_;this.freeBuf=freeBuf_;this.wmu=wmu_;this.werr=werr_;});LB=$pkg.http2clientStream=$newType(0,$kindStruct,\"http.http2clientStream\",true,\"net/http\",false,function(cc_,req_,trace_,ID_,resc_,bufPipe_,startedWrite_,requestedGzip_,on100_,flow_,inflow_,bytesRemain_,readErr_,stopReqBody_,didReset_,peerReset_,resetErr_,done_,firstByte_,pastHeaders_,pastTrailers_,trailer_,resTrailer_){this.$val=this;if(arguments.length===0){this.cc=YC.nil;this.req=WT.nil;this.trace=ZE.nil;this.ID=0;this.resc=$chanNil;this.bufPipe=new JA.ptr(new P.Mutex.ptr(0,0),new P.Cond.ptr(new P.noCopy.ptr(),$ifaceNil,new P.notifyList.ptr(0,0,0,0,0),0,0,$chanNil),$ifaceNil,$ifaceNil,$ifaceNil,$chanNil,$throwNilPointerError);this.startedWrite=false;this.requestedGzip=false;this.on100=$throwNilPointerError;this.flow=new EL.ptr(0,YM.nil);this.inflow=new EL.ptr(0,YM.nil);this.bytesRemain=new $Int64(0,0);this.readErr=$ifaceNil;this.stopReqBody=$ifaceNil;this.didReset=false;this.peerReset=$chanNil;this.resetErr=$ifaceNil;this.done=$chanNil;this.firstByte=false;this.pastHeaders=false;this.pastTrailers=false;this.trailer=false;this.resTrailer=AAG.nil;return;}this.cc=cc_;this.req=req_;this.trace=trace_;this.ID=ID_;this.resc=resc_;this.bufPipe=bufPipe_;this.startedWrite=startedWrite_;this.requestedGzip=requestedGzip_;this.on100=on100_;this.flow=flow_;this.inflow=inflow_;this.bytesRemain=bytesRemain_;this.readErr=readErr_;this.stopReqBody=stopReqBody_;this.didReset=didReset_;this.peerReset=peerReset_;this.resetErr=resetErr_;this.done=done_;this.firstByte=firstByte_;this.pastHeaders=pastHeaders_;this.pastTrailers=pastTrailers_;this.trailer=trailer_;this.resTrailer=resTrailer_;});LC=$pkg.http2stickyErrWriter=$newType(0,$kindStruct,\"http.http2stickyErrWriter\",true,\"net/http\",false,function(w_,err_){this.$val=this;if(arguments.length===0){this.w=$ifaceNil;this.err=ZG.nil;return;}this.w=w_;this.err=err_;});LE=$pkg.http2RoundTripOpt=$newType(0,$kindStruct,\"http.http2RoundTripOpt\",true,\"net/http\",false,function(OnlyCachedConn_){this.$val=this;if(arguments.length===0){this.OnlyCachedConn=false;return;}this.OnlyCachedConn=OnlyCachedConn_;});LR=$pkg.http2badStringError=$newType(0,$kindStruct,\"http.http2badStringError\",true,\"net/http\",false,function(what_,str_){this.$val=this;if(arguments.length===0){this.what=\"\";this.str=\"\";return;}this.what=what_;this.str=str_;});LT=$pkg.http2resAndError=$newType(0,$kindStruct,\"http.http2resAndError\",true,\"net/http\",false,function(res_,err_){this.$val=this;if(arguments.length===0){this.res=XH.nil;this.err=$ifaceNil;return;}this.res=res_;this.err=err_;});LU=$pkg.http2clientConnReadLoop=$newType(0,$kindStruct,\"http.http2clientConnReadLoop\",true,\"net/http\",false,function(cc_,activeRes_,closeWhenIdle_){this.$val=this;if(arguments.length===0){this.cc=YC.nil;this.activeRes=false;this.closeWhenIdle=false;return;}this.cc=cc_;this.activeRes=activeRes_;this.closeWhenIdle=closeWhenIdle_;});LV=$pkg.http2GoAwayError=$newType(0,$kindStruct,\"http.http2GoAwayError\",true,\"net/http\",false,function(LastStreamID_,ErrCode_,DebugData_){this.$val=this;if(arguments.length===0){this.LastStreamID=0;this.ErrCode=0;this.DebugData=\"\";return;}this.LastStreamID=LastStreamID_;this.ErrCode=ErrCode_;this.DebugData=DebugData_;});LX=$pkg.http2transportResponseBody=$newType(0,$kindStruct,\"http.http2transportResponseBody\",true,\"net/http\",false,function(cs_){this.$val=this;if(arguments.length===0){this.cs=AAH.nil;return;}this.cs=cs_;});ME=$pkg.http2erringRoundTripper=$newType(0,$kindStruct,\"http.http2erringRoundTripper\",true,\"net/http\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});MF=$pkg.http2gzipReader=$newType(0,$kindStruct,\"http.http2gzipReader\",true,\"net/http\",false,function(body_,zr_,zerr_){this.$val=this;if(arguments.length===0){this.body=$ifaceNil;this.zr=AAI.nil;this.zerr=$ifaceNil;return;}this.body=body_;this.zr=zr_;this.zerr=zerr_;});MH=$pkg.http2bodyWriterState=$newType(0,$kindStruct,\"http.http2bodyWriterState\",true,\"net/http\",false,function(cs_,timer_,fnonce_,fn_,resc_,delay_){this.$val=this;if(arguments.length===0){this.cs=AAH.nil;this.timer=ZL.nil;this.fnonce=AAJ.nil;this.fn=$throwNilPointerError;this.resc=$chanNil;this.delay=new Q.Duration(0,0);return;}this.cs=cs_;this.timer=timer_;this.fnonce=fnonce_;this.fn=fn_;this.resc=resc_;this.delay=delay_;});MJ=$pkg.http2writeFramer=$newType(8,$kindInterface,\"http.http2writeFramer\",true,\"net/http\",false,null);MK=$pkg.http2writeContext=$newType(8,$kindInterface,\"http.http2writeContext\",true,\"net/http\",false,null);MM=$pkg.http2flushFrameWriter=$newType(0,$kindStruct,\"http.http2flushFrameWriter\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});MN=$pkg.http2writeSettings=$newType(12,$kindSlice,\"http.http2writeSettings\",true,\"net/http\",false,null);MO=$pkg.http2writeGoAway=$newType(0,$kindStruct,\"http.http2writeGoAway\",true,\"net/http\",false,function(maxStreamID_,code_){this.$val=this;if(arguments.length===0){this.maxStreamID=0;this.code=0;return;}this.maxStreamID=maxStreamID_;this.code=code_;});MP=$pkg.http2writeData=$newType(0,$kindStruct,\"http.http2writeData\",true,\"net/http\",false,function(streamID_,p_,endStream_){this.$val=this;if(arguments.length===0){this.streamID=0;this.p=WP.nil;this.endStream=false;return;}this.streamID=streamID_;this.p=p_;this.endStream=endStream_;});MQ=$pkg.http2handlerPanicRST=$newType(0,$kindStruct,\"http.http2handlerPanicRST\",true,\"net/http\",false,function(StreamID_){this.$val=this;if(arguments.length===0){this.StreamID=0;return;}this.StreamID=StreamID_;});MR=$pkg.http2writePingAck=$newType(0,$kindStruct,\"http.http2writePingAck\",true,\"net/http\",false,function(pf_){this.$val=this;if(arguments.length===0){this.pf=YZ.nil;return;}this.pf=pf_;});MS=$pkg.http2writeSettingsAck=$newType(0,$kindStruct,\"http.http2writeSettingsAck\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});MU=$pkg.http2writeResHeaders=$newType(0,$kindStruct,\"http.http2writeResHeaders\",true,\"net/http\",false,function(streamID_,httpResCode_,h_,trailers_,endStream_,date_,contentType_,contentLength_){this.$val=this;if(arguments.length===0){this.streamID=0;this.httpResCode=0;this.h=false;this.trailers=WN.nil;this.endStream=false;this.date=\"\";this.contentType=\"\";this.contentLength=\"\";return;}this.streamID=streamID_;this.httpResCode=httpResCode_;this.h=h_;this.trailers=trailers_;this.endStream=endStream_;this.date=date_;this.contentType=contentType_;this.contentLength=contentLength_;});MW=$pkg.http2writePushPromise=$newType(0,$kindStruct,\"http.http2writePushPromise\",true,\"net/http\",false,function(streamID_,method_,url_,h_,allocatePromisedID_,promisedID_){this.$val=this;if(arguments.length===0){this.streamID=0;this.method=\"\";this.url=XN.nil;this.h=false;this.allocatePromisedID=$throwNilPointerError;this.promisedID=0;return;}this.streamID=streamID_;this.method=method_;this.url=url_;this.h=h_;this.allocatePromisedID=allocatePromisedID_;this.promisedID=promisedID_;});MX=$pkg.http2write100ContinueHeadersFrame=$newType(0,$kindStruct,\"http.http2write100ContinueHeadersFrame\",true,\"net/http\",false,function(streamID_){this.$val=this;if(arguments.length===0){this.streamID=0;return;}this.streamID=streamID_;});MY=$pkg.http2writeWindowUpdate=$newType(0,$kindStruct,\"http.http2writeWindowUpdate\",true,\"net/http\",false,function(streamID_,n_){this.$val=this;if(arguments.length===0){this.streamID=0;this.n=0;return;}this.streamID=streamID_;this.n=n_;});NA=$pkg.http2WriteScheduler=$newType(8,$kindInterface,\"http.http2WriteScheduler\",true,\"net/http\",false,null);NB=$pkg.http2OpenStreamOptions=$newType(0,$kindStruct,\"http.http2OpenStreamOptions\",true,\"net/http\",false,function(PusherID_){this.$val=this;if(arguments.length===0){this.PusherID=0;return;}this.PusherID=PusherID_;});NC=$pkg.http2FrameWriteRequest=$newType(0,$kindStruct,\"http.http2FrameWriteRequest\",true,\"net/http\",false,function(write_,stream_,done_){this.$val=this;if(arguments.length===0){this.write=$ifaceNil;this.stream=WS.nil;this.done=$chanNil;return;}this.write=write_;this.stream=stream_;this.done=done_;});ND=$pkg.http2writeQueue=$newType(0,$kindStruct,\"http.http2writeQueue\",true,\"net/http\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=AAK.nil;return;}this.s=s_;});NE=$pkg.http2writeQueuePool=$newType(12,$kindSlice,\"http.http2writeQueuePool\",true,\"net/http\",false,null);NM=$pkg.http2randomWriteScheduler=$newType(0,$kindStruct,\"http.http2randomWriteScheduler\",true,\"net/http\",false,function(zero_,sq_,queuePool_){this.$val=this;if(arguments.length===0){this.zero=new ND.ptr(AAK.nil);this.sq=false;this.queuePool=NE.nil;return;}this.zero=zero_;this.sq=sq_;this.queuePool=queuePool_;});NO=$pkg.Header=$newType(4,$kindMap,\"http.Header\",true,\"net/http\",true,null);NS=$pkg.writeStringer=$newType(8,$kindInterface,\"http.writeStringer\",true,\"net/http\",false,null);NT=$pkg.stringWriter=$newType(0,$kindStruct,\"http.stringWriter\",true,\"net/http\",false,function(w_){this.$val=this;if(arguments.length===0){this.w=$ifaceNil;return;}this.w=w_;});NU=$pkg.keyValues=$newType(0,$kindStruct,\"http.keyValues\",true,\"net/http\",false,function(key_,values_){this.$val=this;if(arguments.length===0){this.key=\"\";this.values=WN.nil;return;}this.key=key_;this.values=values_;});NV=$pkg.headerSorter=$newType(0,$kindStruct,\"http.headerSorter\",true,\"net/http\",false,function(kvs_){this.$val=this;if(arguments.length===0){this.kvs=WY.nil;return;}this.kvs=kvs_;});OC=$pkg.contextKey=$newType(0,$kindStruct,\"http.contextKey\",true,\"net/http\",false,function(name_){this.$val=this;if(arguments.length===0){this.name=\"\";return;}this.name=name_;});OI=$pkg.noBody=$newType(0,$kindStruct,\"http.noBody\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});OJ=$pkg.PushOptions=$newType(0,$kindStruct,\"http.PushOptions\",true,\"net/http\",true,function(Method_,Header_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Header=false;return;}this.Method=Method_;this.Header=Header_;});OL=$pkg.CookieJar=$newType(8,$kindInterface,\"http.CookieJar\",true,\"net/http\",true,null);OM=$pkg.ProtocolError=$newType(0,$kindStruct,\"http.ProtocolError\",true,\"net/http\",true,function(ErrorString_){this.$val=this;if(arguments.length===0){this.ErrorString=\"\";return;}this.ErrorString=ErrorString_;});ON=$pkg.badStringError=$newType(0,$kindStruct,\"http.badStringError\",true,\"net/http\",false,function(what_,str_){this.$val=this;if(arguments.length===0){this.what=\"\";this.str=\"\";return;}this.what=what_;this.str=str_;});OP=$pkg.Request=$newType(0,$kindStruct,\"http.Request\",true,\"net/http\",true,function(Method_,URL_,Proto_,ProtoMajor_,ProtoMinor_,Header_,Body_,GetBody_,ContentLength_,TransferEncoding_,Close_,Host_,Form_,PostForm_,MultipartForm_,Trailer_,RemoteAddr_,RequestURI_,TLS_,Cancel_,Response_,ctx_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.URL=XN.nil;this.Proto=\"\";this.ProtoMajor=0;this.ProtoMinor=0;this.Header=false;this.Body=$ifaceNil;this.GetBody=$throwNilPointerError;this.ContentLength=new $Int64(0,0);this.TransferEncoding=WN.nil;this.Close=false;this.Host=\"\";this.Form=false;this.PostForm=false;this.MultipartForm=XO.nil;this.Trailer=false;this.RemoteAddr=\"\";this.RequestURI=\"\";this.TLS=XK.nil;this.Cancel=$chanNil;this.Response=XH.nil;this.ctx=$ifaceNil;return;}this.Method=Method_;this.URL=URL_;this.Proto=Proto_;this.ProtoMajor=ProtoMajor_;this.ProtoMinor=ProtoMinor_;this.Header=Header_;this.Body=Body_;this.GetBody=GetBody_;this.ContentLength=ContentLength_;this.TransferEncoding=TransferEncoding_;this.Close=Close_;this.Host=Host_;this.Form=Form_;this.PostForm=PostForm_;this.MultipartForm=MultipartForm_;this.Trailer=Trailer_;this.RemoteAddr=RemoteAddr_;this.RequestURI=RequestURI_;this.TLS=TLS_;this.Cancel=Cancel_;this.Response=Response_;this.ctx=ctx_;});PH=$pkg.maxBytesReader=$newType(0,$kindStruct,\"http.maxBytesReader\",true,\"net/http\",false,function(w_,r_,n_,err_){this.$val=this;if(arguments.length===0){this.w=$ifaceNil;this.r=$ifaceNil;this.n=new $Int64(0,0);this.err=$ifaceNil;return;}this.w=w_;this.r=r_;this.n=n_;this.err=err_;});PM=$pkg.Response=$newType(0,$kindStruct,\"http.Response\",true,\"net/http\",true,function(Status_,StatusCode_,Proto_,ProtoMajor_,ProtoMinor_,Header_,Body_,ContentLength_,TransferEncoding_,Close_,Uncompressed_,Trailer_,Request_,TLS_){this.$val=this;if(arguments.length===0){this.Status=\"\";this.StatusCode=0;this.Proto=\"\";this.ProtoMajor=0;this.ProtoMinor=0;this.Header=false;this.Body=$ifaceNil;this.ContentLength=new $Int64(0,0);this.TransferEncoding=WN.nil;this.Close=false;this.Uncompressed=false;this.Trailer=false;this.Request=WT.nil;this.TLS=XK.nil;return;}this.Status=Status_;this.StatusCode=StatusCode_;this.Proto=Proto_;this.ProtoMajor=ProtoMajor_;this.ProtoMinor=ProtoMinor_;this.Header=Header_;this.Body=Body_;this.ContentLength=ContentLength_;this.TransferEncoding=TransferEncoding_;this.Close=Close_;this.Uncompressed=Uncompressed_;this.Trailer=Trailer_;this.Request=Request_;this.TLS=TLS_;});PP=$pkg.Handler=$newType(8,$kindInterface,\"http.Handler\",true,\"net/http\",true,null);PQ=$pkg.ResponseWriter=$newType(8,$kindInterface,\"http.ResponseWriter\",true,\"net/http\",true,null);PU=$pkg.conn=$newType(0,$kindStruct,\"http.conn\",true,\"net/http\",false,function(server_,cancelCtx_,rwc_,remoteAddr_,tlsState_,werr_,r_,bufr_,bufw_,lastMethod_,curReq_,curState_,mu_,hijackedv_){this.$val=this;if(arguments.length===0){this.server=ZC.nil;this.cancelCtx=$throwNilPointerError;this.rwc=$ifaceNil;this.remoteAddr=\"\";this.tlsState=XK.nil;this.werr=$ifaceNil;this.r=ABH.nil;this.bufr=AAE.nil;this.bufw=WW.nil;this.lastMethod=\"\";this.curReq=new AL.Value.ptr(new AL.noCopy.ptr(),$ifaceNil);this.curState=new AL.Value.ptr(new AL.noCopy.ptr(),$ifaceNil);this.mu=new P.Mutex.ptr(0,0);this.hijackedv=false;return;}this.server=server_;this.cancelCtx=cancelCtx_;this.rwc=rwc_;this.remoteAddr=remoteAddr_;this.tlsState=tlsState_;this.werr=werr_;this.r=r_;this.bufr=bufr_;this.bufw=bufw_;this.lastMethod=lastMethod_;this.curReq=curReq_;this.curState=curState_;this.mu=mu_;this.hijackedv=hijackedv_;});PV=$pkg.chunkWriter=$newType(0,$kindStruct,\"http.chunkWriter\",true,\"net/http\",false,function(res_,header_,wroteHeader_,chunking_){this.$val=this;if(arguments.length===0){this.res=ABI.nil;this.header=false;this.wroteHeader=false;this.chunking=false;return;}this.res=res_;this.header=header_;this.wroteHeader=wroteHeader_;this.chunking=chunking_;});PY=$pkg.response=$newType(0,$kindStruct,\"http.response\",true,\"net/http\",false,function(conn_,req_,reqBody_,cancelCtx_,wroteHeader_,wroteContinue_,wants10KeepAlive_,wantsClose_,w_,cw_,handlerHeader_,calledHeader_,written_,contentLength_,status_,closeAfterReply_,requestBodyLimitHit_,trailers_,handlerDone_,dateBuf_,clenBuf_,closeNotifyCh_,didCloseNotify_){this.$val=this;if(arguments.length===0){this.conn=ABL.nil;this.req=WT.nil;this.reqBody=$ifaceNil;this.cancelCtx=$throwNilPointerError;this.wroteHeader=false;this.wroteContinue=false;this.wants10KeepAlive=false;this.wantsClose=false;this.w=WW.nil;this.cw=new PV.ptr(ABI.nil,false,false,false);this.handlerHeader=false;this.calledHeader=false;this.written=new $Int64(0,0);this.contentLength=new $Int64(0,0);this.status=0;this.closeAfterReply=false;this.requestBodyLimitHit=false;this.trailers=WN.nil;this.handlerDone=0;this.dateBuf=ABM.zero();this.clenBuf=ABN.zero();this.closeNotifyCh=$chanNil;this.didCloseNotify=0;return;}this.conn=conn_;this.req=req_;this.reqBody=reqBody_;this.cancelCtx=cancelCtx_;this.wroteHeader=wroteHeader_;this.wroteContinue=wroteContinue_;this.wants10KeepAlive=wants10KeepAlive_;this.wantsClose=wantsClose_;this.w=w_;this.cw=cw_;this.handlerHeader=handlerHeader_;this.calledHeader=calledHeader_;this.written=written_;this.contentLength=contentLength_;this.status=status_;this.closeAfterReply=closeAfterReply_;this.requestBodyLimitHit=requestBodyLimitHit_;this.trailers=trailers_;this.handlerDone=handlerDone_;this.dateBuf=dateBuf_;this.clenBuf=clenBuf_;this.closeNotifyCh=closeNotifyCh_;this.didCloseNotify=didCloseNotify_;});PZ=$pkg.atomicBool=$newType(4,$kindInt32,\"http.atomicBool\",true,\"net/http\",false,null);QA=$pkg.writerOnly=$newType(0,$kindStruct,\"http.writerOnly\",true,\"net/http\",false,function(Writer_){this.$val=this;if(arguments.length===0){this.Writer=$ifaceNil;return;}this.Writer=Writer_;});QC=$pkg.readResult=$newType(0,$kindStruct,\"http.readResult\",true,\"net/http\",false,function(n_,err_,b_){this.$val=this;if(arguments.length===0){this.n=0;this.err=$ifaceNil;this.b=0;return;}this.n=n_;this.err=err_;this.b=b_;});QD=$pkg.connReader=$newType(0,$kindStruct,\"http.connReader\",true,\"net/http\",false,function(conn_,mu_,hasByte_,byteBuf_,bgErr_,cond_,inRead_,aborted_,remain_){this.$val=this;if(arguments.length===0){this.conn=ABL.nil;this.mu=new P.Mutex.ptr(0,0);this.hasByte=false;this.byteBuf=ABA.zero();this.bgErr=$ifaceNil;this.cond=AAD.nil;this.inRead=false;this.aborted=false;this.remain=new $Int64(0,0);return;}this.conn=conn_;this.mu=mu_;this.hasByte=hasByte_;this.byteBuf=byteBuf_;this.bgErr=bgErr_;this.cond=cond_;this.inRead=inRead_;this.aborted=aborted_;this.remain=remain_;});QN=$pkg.expectContinueReader=$newType(0,$kindStruct,\"http.expectContinueReader\",true,\"net/http\",false,function(resp_,readCloser_,closed_,sawEOF_){this.$val=this;if(arguments.length===0){this.resp=ABI.nil;this.readCloser=$ifaceNil;this.closed=false;this.sawEOF=false;return;}this.resp=resp_;this.readCloser=readCloser_;this.closed=closed_;this.sawEOF=sawEOF_;});QR=$pkg.extraHeader=$newType(0,$kindStruct,\"http.extraHeader\",true,\"net/http\",false,function(contentType_,connection_,transferEncoding_,date_,contentLength_){this.$val=this;if(arguments.length===0){this.contentType=\"\";this.connection=\"\";this.transferEncoding=\"\";this.date=WP.nil;this.contentLength=WP.nil;return;}this.contentType=contentType_;this.connection=connection_;this.transferEncoding=transferEncoding_;this.date=date_;this.contentLength=contentLength_;});QZ=$pkg.closeWriter=$newType(8,$kindInterface,\"http.closeWriter\",true,\"net/http\",false,null);RC=$pkg.badRequestError=$newType(8,$kindString,\"http.badRequestError\",true,\"net/http\",false,null);RG=$pkg.HandlerFunc=$newType(4,$kindFunc,\"http.HandlerFunc\",true,\"net/http\",true,null);RO=$pkg.redirectHandler=$newType(0,$kindStruct,\"http.redirectHandler\",true,\"net/http\",false,function(url_,code_){this.$val=this;if(arguments.length===0){this.url=\"\";this.code=0;return;}this.url=url_;this.code=code_;});RQ=$pkg.ServeMux=$newType(0,$kindStruct,\"http.ServeMux\",true,\"net/http\",true,function(mu_,m_,hosts_){this.$val=this;if(arguments.length===0){this.mu=new P.RWMutex.ptr(new P.Mutex.ptr(0,0),0,0,0,0);this.m=false;this.hosts=false;return;}this.mu=mu_;this.m=m_;this.hosts=hosts_;});RR=$pkg.muxEntry=$newType(0,$kindStruct,\"http.muxEntry\",true,\"net/http\",false,function(explicit_,h_,pattern_){this.$val=this;if(arguments.length===0){this.explicit=false;this.h=$ifaceNil;this.pattern=\"\";return;}this.explicit=explicit_;this.h=h_;this.pattern=pattern_;});RZ=$pkg.Server=$newType(0,$kindStruct,\"http.Server\",true,\"net/http\",true,function(Addr_,Handler_,TLSConfig_,ReadTimeout_,ReadHeaderTimeout_,WriteTimeout_,IdleTimeout_,MaxHeaderBytes_,TLSNextProto_,ConnState_,ErrorLog_,disableKeepAlives_,inShutdown_,nextProtoOnce_,nextProtoErr_,mu_,listeners_,activeConn_,doneChan_){this.$val=this;if(arguments.length===0){this.Addr=\"\";this.Handler=$ifaceNil;this.TLSConfig=XD.nil;this.ReadTimeout=new Q.Duration(0,0);this.ReadHeaderTimeout=new Q.Duration(0,0);this.WriteTimeout=new Q.Duration(0,0);this.IdleTimeout=new Q.Duration(0,0);this.MaxHeaderBytes=0;this.TLSNextProto=false;this.ConnState=$throwNilPointerError;this.ErrorLog=ZJ.nil;this.disableKeepAlives=0;this.inShutdown=0;this.nextProtoOnce=new P.Once.ptr(new P.Mutex.ptr(0,0),0);this.nextProtoErr=$ifaceNil;this.mu=new P.Mutex.ptr(0,0);this.listeners=false;this.activeConn=false;this.doneChan=$chanNil;return;}this.Addr=Addr_;this.Handler=Handler_;this.TLSConfig=TLSConfig_;this.ReadTimeout=ReadTimeout_;this.ReadHeaderTimeout=ReadHeaderTimeout_;this.WriteTimeout=WriteTimeout_;this.IdleTimeout=IdleTimeout_;this.MaxHeaderBytes=MaxHeaderBytes_;this.TLSNextProto=TLSNextProto_;this.ConnState=ConnState_;this.ErrorLog=ErrorLog_;this.disableKeepAlives=disableKeepAlives_;this.inShutdown=inShutdown_;this.nextProtoOnce=nextProtoOnce_;this.nextProtoErr=nextProtoErr_;this.mu=mu_;this.listeners=listeners_;this.activeConn=activeConn_;this.doneChan=doneChan_;});SB=$pkg.ConnState=$newType(4,$kindInt,\"http.ConnState\",true,\"net/http\",true,null);SD=$pkg.serverHandler=$newType(0,$kindStruct,\"http.serverHandler\",true,\"net/http\",false,function(srv_){this.$val=this;if(arguments.length===0){this.srv=ZC.nil;return;}this.srv=srv_;});SK=$pkg.tcpKeepAliveListener=$newType(0,$kindStruct,\"http.tcpKeepAliveListener\",true,\"net/http\",false,function(TCPListener_){this.$val=this;if(arguments.length===0){this.TCPListener=ABQ.nil;return;}this.TCPListener=TCPListener_;});SL=$pkg.globalOptionsHandler=$newType(0,$kindStruct,\"http.globalOptionsHandler\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});SM=$pkg.initNPNRequest=$newType(0,$kindStruct,\"http.initNPNRequest\",true,\"net/http\",false,function(c_,h_){this.$val=this;if(arguments.length===0){this.c=ABP.nil;this.h=new SD.ptr(ZC.nil);return;}this.c=c_;this.h=h_;});SN=$pkg.loggingConn=$newType(0,$kindStruct,\"http.loggingConn\",true,\"net/http\",false,function(name_,Conn_){this.$val=this;if(arguments.length===0){this.name=\"\";this.Conn=$ifaceNil;return;}this.name=name_;this.Conn=Conn_;});SR=$pkg.checkConnErrorWriter=$newType(0,$kindStruct,\"http.checkConnErrorWriter\",true,\"net/http\",false,function(c_){this.$val=this;if(arguments.length===0){this.c=ABL.nil;return;}this.c=c_;});SW=$pkg.sniffSig=$newType(8,$kindInterface,\"http.sniffSig\",true,\"net/http\",false,null);SY=$pkg.exactSig=$newType(0,$kindStruct,\"http.exactSig\",true,\"net/http\",false,function(sig_,ct_){this.$val=this;if(arguments.length===0){this.sig=WP.nil;this.ct=\"\";return;}this.sig=sig_;this.ct=ct_;});SZ=$pkg.maskedSig=$newType(0,$kindStruct,\"http.maskedSig\",true,\"net/http\",false,function(mask_,pat_,skipWS_,ct_){this.$val=this;if(arguments.length===0){this.mask=WP.nil;this.pat=WP.nil;this.skipWS=false;this.ct=\"\";return;}this.mask=mask_;this.pat=pat_;this.skipWS=skipWS_;this.ct=ct_;});TA=$pkg.htmlSig=$newType(12,$kindSlice,\"http.htmlSig\",true,\"net/http\",false,null);TD=$pkg.mp4Sig=$newType(0,$kindStruct,\"http.mp4Sig\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});TE=$pkg.textSig=$newType(0,$kindStruct,\"http.textSig\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});TH=$pkg.errorReader=$newType(0,$kindStruct,\"http.errorReader\",true,\"net/http\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});TI=$pkg.byteReader=$newType(0,$kindStruct,\"http.byteReader\",true,\"net/http\",false,function(b_,done_){this.$val=this;if(arguments.length===0){this.b=0;this.done=false;return;}this.b=b_;this.done=done_;});TJ=$pkg.transferWriter=$newType(0,$kindStruct,\"http.transferWriter\",true,\"net/http\",false,function(Method_,Body_,BodyCloser_,ResponseToHEAD_,ContentLength_,Close_,TransferEncoding_,Trailer_,IsResponse_,FlushHeaders_,ByteReadCh_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Body=$ifaceNil;this.BodyCloser=$ifaceNil;this.ResponseToHEAD=false;this.ContentLength=new $Int64(0,0);this.Close=false;this.TransferEncoding=WN.nil;this.Trailer=false;this.IsResponse=false;this.FlushHeaders=false;this.ByteReadCh=$chanNil;return;}this.Method=Method_;this.Body=Body_;this.BodyCloser=BodyCloser_;this.ResponseToHEAD=ResponseToHEAD_;this.ContentLength=ContentLength_;this.Close=Close_;this.TransferEncoding=TransferEncoding_;this.Trailer=Trailer_;this.IsResponse=IsResponse_;this.FlushHeaders=FlushHeaders_;this.ByteReadCh=ByteReadCh_;});TM=$pkg.transferReader=$newType(0,$kindStruct,\"http.transferReader\",true,\"net/http\",false,function(Header_,StatusCode_,RequestMethod_,ProtoMajor_,ProtoMinor_,Body_,ContentLength_,TransferEncoding_,Close_,Trailer_){this.$val=this;if(arguments.length===0){this.Header=false;this.StatusCode=0;this.RequestMethod=\"\";this.ProtoMajor=0;this.ProtoMinor=0;this.Body=$ifaceNil;this.ContentLength=new $Int64(0,0);this.TransferEncoding=WN.nil;this.Close=false;this.Trailer=false;return;}this.Header=Header_;this.StatusCode=StatusCode_;this.RequestMethod=RequestMethod_;this.ProtoMajor=ProtoMajor_;this.ProtoMinor=ProtoMinor_;this.Body=Body_;this.ContentLength=ContentLength_;this.TransferEncoding=TransferEncoding_;this.Close=Close_;this.Trailer=Trailer_;});TX=$pkg.body=$newType(0,$kindStruct,\"http.body\",true,\"net/http\",false,function(src_,hdr_,r_,closing_,doEarlyClose_,mu_,sawEOF_,closed_,earlyClose_,onHitEOF_){this.$val=this;if(arguments.length===0){this.src=$ifaceNil;this.hdr=$ifaceNil;this.r=AAE.nil;this.closing=false;this.doEarlyClose=false;this.mu=new P.Mutex.ptr(0,0);this.sawEOF=false;this.closed=false;this.earlyClose=false;this.onHitEOF=$throwNilPointerError;return;}this.src=src_;this.hdr=hdr_;this.r=r_;this.closing=closing_;this.doEarlyClose=doEarlyClose_;this.mu=mu_;this.sawEOF=sawEOF_;this.closed=closed_;this.earlyClose=earlyClose_;this.onHitEOF=onHitEOF_;});UD=$pkg.bodyLocked=$newType(0,$kindStruct,\"http.bodyLocked\",true,\"net/http\",false,function(b_){this.$val=this;if(arguments.length===0){this.b=ABK.nil;return;}this.b=b_;});UF=$pkg.finishAsyncByteRead=$newType(0,$kindStruct,\"http.finishAsyncByteRead\",true,\"net/http\",false,function(tw_){this.$val=this;if(arguments.length===0){this.tw=ABR.nil;return;}this.tw=tw_;});UG=$pkg.Transport=$newType(0,$kindStruct,\"http.Transport\",true,\"net/http\",true,function(idleMu_,wantIdle_,idleConn_,idleConnCh_,idleLRU_,reqMu_,reqCanceler_,altMu_,altProto_,Proxy_,DialContext_,Dial_,DialTLS_,TLSClientConfig_,TLSHandshakeTimeout_,DisableKeepAlives_,DisableCompression_,MaxIdleConns_,MaxIdleConnsPerHost_,IdleConnTimeout_,ResponseHeaderTimeout_,ExpectContinueTimeout_,TLSNextProto_,ProxyConnectHeader_,MaxResponseHeaderBytes_,nextProtoOnce_,h2transport_){this.$val=this;if(arguments.length===0){this.idleMu=new P.Mutex.ptr(0,0);this.wantIdle=false;this.idleConn=false;this.idleConnCh=false;this.idleLRU=new WE.ptr(XC.nil,false);this.reqMu=new P.Mutex.ptr(0,0);this.reqCanceler=false;this.altMu=new P.Mutex.ptr(0,0);this.altProto=new AL.Value.ptr(new AL.noCopy.ptr(),$ifaceNil);this.Proxy=$throwNilPointerError;this.DialContext=$throwNilPointerError;this.Dial=$throwNilPointerError;this.DialTLS=$throwNilPointerError;this.TLSClientConfig=XD.nil;this.TLSHandshakeTimeout=new Q.Duration(0,0);this.DisableKeepAlives=false;this.DisableCompression=false;this.MaxIdleConns=0;this.MaxIdleConnsPerHost=0;this.IdleConnTimeout=new Q.Duration(0,0);this.ResponseHeaderTimeout=new Q.Duration(0,0);this.ExpectContinueTimeout=new Q.Duration(0,0);this.TLSNextProto=false;this.ProxyConnectHeader=false;this.MaxResponseHeaderBytes=new $Int64(0,0);this.nextProtoOnce=new P.Once.ptr(new P.Mutex.ptr(0,0),0);this.h2transport=XE.nil;return;}this.idleMu=idleMu_;this.wantIdle=wantIdle_;this.idleConn=idleConn_;this.idleConnCh=idleConnCh_;this.idleLRU=idleLRU_;this.reqMu=reqMu_;this.reqCanceler=reqCanceler_;this.altMu=altMu_;this.altProto=altProto_;this.Proxy=Proxy_;this.DialContext=DialContext_;this.Dial=Dial_;this.DialTLS=DialTLS_;this.TLSClientConfig=TLSClientConfig_;this.TLSHandshakeTimeout=TLSHandshakeTimeout_;this.DisableKeepAlives=DisableKeepAlives_;this.DisableCompression=DisableCompression_;this.MaxIdleConns=MaxIdleConns_;this.MaxIdleConnsPerHost=MaxIdleConnsPerHost_;this.IdleConnTimeout=IdleConnTimeout_;this.ResponseHeaderTimeout=ResponseHeaderTimeout_;this.ExpectContinueTimeout=ExpectContinueTimeout_;this.TLSNextProto=TLSNextProto_;this.ProxyConnectHeader=ProxyConnectHeader_;this.MaxResponseHeaderBytes=MaxResponseHeaderBytes_;this.nextProtoOnce=nextProtoOnce_;this.h2transport=h2transport_;});UJ=$pkg.transportRequest=$newType(0,$kindStruct,\"http.transportRequest\",true,\"net/http\",false,function(Request_,extra_,trace_){this.$val=this;if(arguments.length===0){this.Request=WT.nil;this.extra=false;this.trace=ZD.nil;return;}this.Request=Request_;this.extra=extra_;this.trace=trace_;});UY=$pkg.transportReadFromServerError=$newType(0,$kindStruct,\"http.transportReadFromServerError\",true,\"net/http\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});VA=$pkg.persistConnWriter=$newType(0,$kindStruct,\"http.persistConnWriter\",true,\"net/http\",false,function(pc_){this.$val=this;if(arguments.length===0){this.pc=ABT.nil;return;}this.pc=pc_;});VC=$pkg.connectMethod=$newType(0,$kindStruct,\"http.connectMethod\",true,\"net/http\",false,function(proxyURL_,targetScheme_,targetAddr_){this.$val=this;if(arguments.length===0){this.proxyURL=XN.nil;this.targetScheme=\"\";this.targetAddr=\"\";return;}this.proxyURL=proxyURL_;this.targetScheme=targetScheme_;this.targetAddr=targetAddr_;});VD=$pkg.connectMethodKey=$newType(0,$kindStruct,\"http.connectMethodKey\",true,\"net/http\",false,function(proxy_,scheme_,addr_){this.$val=this;if(arguments.length===0){this.proxy=\"\";this.scheme=\"\";this.addr=\"\";return;}this.proxy=proxy_;this.scheme=scheme_;this.addr=addr_;});VE=$pkg.persistConn=$newType(0,$kindStruct,\"http.persistConn\",true,\"net/http\",false,function(alt_,t_,cacheKey_,conn_,tlsState_,br_,bw_,nwrite_,reqch_,writech_,closech_,isProxy_,sawEOF_,readLimit_,writeErrCh_,writeLoopDone_,idleAt_,idleTimer_,mu_,numExpectedResponses_,closed_,canceledErr_,broken_,reused_,mutateHeaderFunc_){this.$val=this;if(arguments.length===0){this.alt=$ifaceNil;this.t=XR.nil;this.cacheKey=new VD.ptr(\"\",\"\",\"\");this.conn=$ifaceNil;this.tlsState=XK.nil;this.br=AAE.nil;this.bw=WW.nil;this.nwrite=new $Int64(0,0);this.reqch=$chanNil;this.writech=$chanNil;this.closech=$chanNil;this.isProxy=false;this.sawEOF=false;this.readLimit=new $Int64(0,0);this.writeErrCh=$chanNil;this.writeLoopDone=$chanNil;this.idleAt=new Q.Time.ptr(new $Int64(0,0),0,WL.nil);this.idleTimer=ZL.nil;this.mu=new P.Mutex.ptr(0,0);this.numExpectedResponses=0;this.closed=$ifaceNil;this.canceledErr=$ifaceNil;this.broken=false;this.reused=false;this.mutateHeaderFunc=$throwNilPointerError;return;}this.alt=alt_;this.t=t_;this.cacheKey=cacheKey_;this.conn=conn_;this.tlsState=tlsState_;this.br=br_;this.bw=bw_;this.nwrite=nwrite_;this.reqch=reqch_;this.writech=writech_;this.closech=closech_;this.isProxy=isProxy_;this.sawEOF=sawEOF_;this.readLimit=readLimit_;this.writeErrCh=writeErrCh_;this.writeLoopDone=writeLoopDone_;this.idleAt=idleAt_;this.idleTimer=idleTimer_;this.mu=mu_;this.numExpectedResponses=numExpectedResponses_;this.closed=closed_;this.canceledErr=canceledErr_;this.broken=broken_;this.reused=reused_;this.mutateHeaderFunc=mutateHeaderFunc_;});VF=$pkg.nothingWrittenError=$newType(0,$kindStruct,\"http.nothingWrittenError\",true,\"net/http\",false,function(error_){this.$val=this;if(arguments.length===0){this.error=$ifaceNil;return;}this.error=error_;});VG=$pkg.responseAndError=$newType(0,$kindStruct,\"http.responseAndError\",true,\"net/http\",false,function(res_,err_){this.$val=this;if(arguments.length===0){this.res=XH.nil;this.err=$ifaceNil;return;}this.res=res_;this.err=err_;});VH=$pkg.requestAndChan=$newType(0,$kindStruct,\"http.requestAndChan\",true,\"net/http\",false,function(req_,ch_,addedGzip_,continueCh_,callerGone_){this.$val=this;if(arguments.length===0){this.req=WT.nil;this.ch=$chanNil;this.addedGzip=false;this.continueCh=$chanNil;this.callerGone=$chanNil;return;}this.req=req_;this.ch=ch_;this.addedGzip=addedGzip_;this.continueCh=continueCh_;this.callerGone=callerGone_;});VI=$pkg.writeRequest=$newType(0,$kindStruct,\"http.writeRequest\",true,\"net/http\",false,function(req_,ch_,continueCh_){this.$val=this;if(arguments.length===0){this.req=AFG.nil;this.ch=$chanNil;this.continueCh=$chanNil;return;}this.req=req_;this.ch=ch_;this.continueCh=continueCh_;});VJ=$pkg.httpError=$newType(0,$kindStruct,\"http.httpError\",true,\"net/http\",false,function(err_,timeout_){this.$val=this;if(arguments.length===0){this.err=\"\";this.timeout=false;return;}this.err=err_;this.timeout=timeout_;});VX=$pkg.bodyEOFSignal=$newType(0,$kindStruct,\"http.bodyEOFSignal\",true,\"net/http\",false,function(body_,mu_,closed_,rerr_,fn_,earlyCloseFn_){this.$val=this;if(arguments.length===0){this.body=$ifaceNil;this.mu=new P.Mutex.ptr(0,0);this.closed=false;this.rerr=$ifaceNil;this.fn=$throwNilPointerError;this.earlyCloseFn=$throwNilPointerError;return;}this.body=body_;this.mu=mu_;this.closed=closed_;this.rerr=rerr_;this.fn=fn_;this.earlyCloseFn=earlyCloseFn_;});VZ=$pkg.gzipReader=$newType(0,$kindStruct,\"http.gzipReader\",true,\"net/http\",false,function(body_,zr_,zerr_){this.$val=this;if(arguments.length===0){this.body=ABX.nil;this.zr=AAI.nil;this.zerr=$ifaceNil;return;}this.body=body_;this.zr=zr_;this.zerr=zerr_;});WB=$pkg.tlsHandshakeTimeoutError=$newType(0,$kindStruct,\"http.tlsHandshakeTimeoutError\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});WC=$pkg.fakeLocker=$newType(0,$kindStruct,\"http.fakeLocker\",true,\"net/http\",false,function(){this.$val=this;if(arguments.length===0){return;}});WE=$pkg.connLRU=$newType(0,$kindStruct,\"http.connLRU\",true,\"net/http\",false,function(ll_,m_){this.$val=this;if(arguments.length===0){this.ll=XC.nil;this.m=false;return;}this.ll=ll_;this.m=m_;});XQ=$newType(8,$kindInterface,\"http.canceler\",true,\"net/http\",false,null);AAB=$newType(8,$kindInterface,\"http.I\",true,\"net/http\",true,null);AAC=$newType(8,$kindInterface,\"http.I\",true,\"net/http\",true,null);AAW=$newType(8,$kindInterface,\"http.requestTooLarger\",true,\"net/http\",false,null);ABV=$newType(0,$kindStruct,\"http.dialRes\",true,\"net/http\",false,function(pc_,err_){this.$val=this;if(arguments.length===0){this.pc=ABT.nil;this.err=$ifaceNil;return;}this.pc=pc_;this.err=err_;});WG=$ptrType(P.Mutex);WH=$sliceType($emptyInterface);WL=$ptrType(Q.Location);WM=$ptrType(R.Resolver);WN=$sliceType($String);WO=$ptrType(DN);WP=$sliceType($Uint8);WQ=$ptrType(WP);WR=$ptrType(KG);WS=$ptrType(JQ);WT=$ptrType(OP);WU=$ptrType(KF);WV=$ptrType(JP);WW=$ptrType(G.Writer);WX=$chanType($error,false,false);WY=$sliceType(NU);WZ=$sliceType(WP);XB=$sliceType(SW);XC=$ptrType(AN.List);XD=$ptrType(J.Config);XE=$ptrType(KX);XF=$ptrType(F.Object);XG=$funcType([XF],[],false);XH=$ptrType(PM);XI=$mapType($String,$emptyInterface);XJ=$funcType([XF,XF],[],false);XK=$ptrType(J.ConnectionState);XL=$funcType([],[],false);XM=$ptrType(M.Userinfo);XN=$ptrType(M.URL);XO=$ptrType(T.Form);XP=$structType(\"\",[]);XR=$ptrType(UG);XS=$ptrType(PZ);XT=$sliceType(WT);XU=$ptrType(M.Error);XV=$ptrType(BI);XW=$sliceType(XV);XX=$arrayType($Uint8,64);YC=$ptrType(LA);YD=$sliceType(YC);YE=$ptrType(DO);YF=$ptrType(DP);YG=$sliceType(J.Certificate);YH=$ptrType($packages[\"crypto/x509\"].CertPool);YI=$sliceType($Uint16);YJ=$arrayType($Uint8,32);YK=$sliceType(J.CurveID);YL=$sliceType(J.ticketKey);YM=$ptrType(EL);YN=$ptrType(EZ);YO=$arrayType($Uint8,9);YP=$ptrType(AF.Decoder);YQ=$ptrType(H.Buffer);YR=$ptrType(FU);YS=$arrayType($Uint8,8);YT=$sliceType(AF.HeaderField);YU=$ptrType(GM);YV=$ptrType(GC);YW=$ptrType(FK);YX=$ptrType(FD);YY=$ptrType(FS);YZ=$ptrType(FM);ZA=$ptrType(FO);ZB=$ptrType(GA);ZC=$ptrType(RZ);ZD=$ptrType(AC.ClientTrace);ZE=$ptrType(GU);ZF=$ptrType(OJ);ZG=$ptrType($error);ZH=$ptrType(JM);ZI=$ptrType(JO);ZJ=$ptrType(L.Logger);ZK=$ptrType(IP);ZL=$ptrType(Q.Timer);ZM=$ptrType(AF.Encoder);ZN=$ptrType($packages[\"crypto/x509\"].Certificate);ZO=$sliceType(ZN);ZP=$sliceType(ZO);ZQ=$ptrType(R.OpError);ZR=$ptrType(U.SyscallError);ZS=$ptrType(MP);ZT=$ptrType(MU);ZU=$ptrType(MW);ZV=$ptrType(FX);ZW=$ptrType(GE);ZX=$ptrType(JA);ZY=$ptrType(IO);ZZ=$ptrType(KH);AAA=$ptrType(IY);AAD=$ptrType(P.Cond);AAE=$ptrType(G.Reader);AAF=$sliceType(ID);AAG=$ptrType(NO);AAH=$ptrType(LB);AAI=$ptrType(X.Reader);AAJ=$ptrType(P.Once);AAK=$sliceType(NC);AAL=$ptrType(ND);AAP=$ptrType(NE);AAR=$ptrType(NV);AAS=$ptrType(T.Reader);AAT=$ptrType(H.Reader);AAU=$ptrType(O.Reader);AAV=$ptrType(I.Reader);AAX=$ptrType(PH);AAY=$ptrType(T.FileHeader);AAZ=$sliceType(AAY);ABA=$arrayType($Uint8,1);ABB=$sliceType(C.Reader);ABC=$structType(\"\",[{prop:\"Reader\",name:\"\",exported:true,typ:C.Reader,tag:\"\"},{prop:\"Closer\",name:\"\",exported:true,typ:C.Closer,tag:\"\"}]);ABD=$ptrType(G.ReadWriter);ABE=$ptrType($Int32);ABF=$ptrType(U.File);ABG=$ptrType(C.LimitedReader);ABH=$ptrType(QD);ABI=$ptrType(PY);ABJ=$ptrType(P.Pool);ABK=$ptrType(TX);ABL=$ptrType(PU);ABM=$arrayType($Uint8,29);ABN=$arrayType($Uint8,10);ABO=$ptrType(QN);ABP=$ptrType(J.Conn);ABQ=$ptrType(R.TCPListener);ABR=$ptrType(TJ);ABS=$mapType($String,AT);ABT=$ptrType(VE);ABU=$sliceType(ABT);ABW=$ptrType(AN.Element);ABX=$ptrType(VX);ABY=$ptrType(AO);ABZ=$ptrType(AP);ACA=$ptrType(AR);ACB=$mapType(WT,XF);ACC=$funcType([],[$Bool],false);ACD=$funcType([WT],[],false);ACE=$ptrType(AS);ACF=$funcType([WT,XT],[$error],false);ACG=$ptrType(BF);ACL=$mapType($String,YD);ACM=$mapType($String,YE);ACN=$mapType(YC,WN);ACO=$mapType($String,YF);ACP=$chanType(XP,false,false);ACQ=$ptrType(EI);ACR=$ptrType(EU);ACS=$funcType([$Uint32],[WP],false);ACT=$funcType([$String,WH],[],true);ACU=$funcType([ID],[$error],false);ACV=$ptrType(FQ);ACW=$chanType(XP,false,true);ACX=$funcType([$String],[],false);ACY=$funcType([AC.GotConnInfo],[],false);ACZ=$funcType([$error],[],false);ADA=$funcType([AC.DNSStartInfo],[],false);ADB=$funcType([AC.DNSDoneInfo],[],false);ADC=$funcType([$String,$String],[],false);ADD=$funcType([$String,$String,$error],[],false);ADE=$funcType([J.ConnectionState,$error],[],false);ADF=$funcType([AC.WroteRequestInfo],[],false);ADG=$ptrType(IU);ADH=$funcType([],[NA],false);ADI=$funcType([PQ,WT],[],false);ADJ=$chanType(JT,false,false);ADK=$chanType(NC,false,false);ADL=$chanType(KN,false,false);ADM=$chanType(JU,false,false);ADN=$chanType(KE,false,false);ADO=$funcType([$Int],[],false);ADP=$chanType(ADO,false,false);ADQ=$mapType($Uint32,WS);ADR=$mapType($String,$String);ADS=$chanType(Q.Time,false,true);ADT=$chanType($Bool,false,true);ADU=$chanType($Bool,false,false);ADV=$funcType([$String,$String,XD],[R.Conn,$error],false);ADW=$mapType($Uint32,AAH);ADX=$mapType(YS,ACP);ADY=$chanType(LT,false,false);ADZ=$ptrType(LR);AEA=$ptrType(LU);AEB=$ptrType(MF);AEC=$ptrType(MO);AED=$funcType([],[$Uint32,$error],false);AEE=$ptrType(NC);AEI=$ptrType(NM);AEJ=$mapType($Uint32,AAL);AEK=$mapType($String,$Bool);AEL=$ptrType(OC);AEM=$ptrType(OM);AEN=$ptrType(ON);AEO=$funcType([],[C.ReadCloser,$error],false);AEP=$ptrType(PV);AEQ=$ptrType(RO);AER=$ptrType(RQ);AES=$mapType($String,RR);AET=$funcType([ZC,ABP,PP],[],false);AEU=$mapType($String,AET);AEV=$funcType([R.Conn,SB],[],false);AEW=$mapType(R.Listener,XP);AEX=$mapType(ABL,XP);AFA=$ptrType(SN);AFB=$ptrType(SY);AFC=$ptrType(SZ);AFD=$ptrType(TI);AFE=$chanType(QC,false,false);AFF=$ptrType(TM);AFG=$ptrType(UJ);AFH=$chanType(ABT,false,false);AFI=$mapType(VD,ABU);AFJ=$mapType(VD,AFH);AFK=$mapType(WT,ACZ);AFL=$funcType([WT],[XN,$error],false);AFM=$funcType([Y.Context,$String,$String],[R.Conn,$error],false);AFN=$funcType([$String,$String],[R.Conn,$error],false);AFO=$funcType([$String,ABP],[AT],false);AFP=$mapType($String,AFO);AFR=$ptrType(VC);AFS=$chanType(VH,false,false);AFT=$chanType(VI,false,false);AFU=$funcType([NO],[],false);AFV=$chanType(VG,false,false);AFW=$chanType(XP,true,false);AFX=$chanType($error,true,false);AFY=$ptrType(VJ);AFZ=$funcType([$error],[$error],false);AGA=$funcType([],[$error],false);AGB=$ptrType(VZ);AGC=$ptrType(WE);AGD=$mapType(ABT,ABW);AO.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];h=0;i=$ifaceNil;j=this;if(j.pending.$length===0){$s=1;continue;}$s=2;continue;case 1:f[0]=new $Chan(WP,0);g[0]=new $Chan($error,0);j.stream.read().then($externalize((function(f,g){return function $b(k){var $ptr,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!!(k.done)){$s=1;continue;}$s=2;continue;case 1:$r=$send(g[0],C.EOF);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:$r=$send(f[0],$assertType($internalize(k.value,$emptyInterface),WP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};})(f,g),XG),$externalize((function(f,g){return function $b(k){var $ptr,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(g[0],A.New($internalize(k.message,$String)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};})(f,g),XG));l=$select([[f[0]],[g[0]]]);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;if(k[0]===0){m=k[1][0];j.pending=m;}else if(k[0]===1){n=k[1][0];o=0;p=n;h=o;i=p;$s=-1;return[h,i];}case 2:h=$copySlice(e,j.pending);j.pending=$subslice(j.pending,h);q=h;r=$ifaceNil;h=q;i=r;$s=-1;return[h,i];}return;}if($f===undefined){$f={$blk:AO.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};AO.prototype.Read=function(e){return this.$val.Read(e);};AO.ptr.prototype.Close=function(){var $ptr,e;e=this;e.stream.cancel();return $ifaceNil;};AO.prototype.Close=function(){return this.$val.Close();};AP.ptr.prototype.RoundTrip=function(e){var $ptr,aa,ab,ac,ad,ae,af,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=[g];h=this;i=new($global.Headers)();j=e[0].Header;k=0;l=$keys(j);while(true){if(!(k<l.length)){break;}m=j[l[k]];if(m===undefined){k++;continue;}n=m.k;o=m.v;p=o;q=0;while(true){if(!(q<p.$length)){break;}r=((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]);i.append($externalize(n,$String),$externalize(r,$String));q++;}k++;}s=$makeMap($String.keyFor,[{k:\"method\",v:new $String(e[0].Method)},{k:\"headers\",v:new $jsObjectPtr(i)},{k:\"credentials\",v:new $String(\"same-origin\")}]);if(!($interfaceIsEqual(e[0].Body,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:u=D.ReadAll(e[0].Body);$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:x=e[0].Body.Close();$s=6;case 6:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;$s=-1;return[XH.nil,w];case 5:y=e[0].Body.Close();$s=7;case 7:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}y;z=\"body\";(s||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(z)]={k:z,v:v};case 2:aa=$global.fetch($externalize(e[0].URL.String(),$String),$externalize(s,XI));g[0]=new $Chan(XH,0);f[0]=new $Chan($error,0);aa.then($externalize((function(e,f,g){return function $b(ab){var $ptr,ab,ac,ad,ae,af,ag,ah,ai,aj,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ac=[ac];ac[0]=$makeMap($String.keyFor,[]);ab.headers.forEach($externalize((function(ac,e,f,g){return function(ad,ae){var $ptr,ad,ae,af,ag,ah;af=NX($internalize(ae,$String));ag=af;(ac[0]||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(ag)]={k:ag,v:$append((ah=ac[0][$String.keyFor(af)],ah!==undefined?ah.v:WN.nil),$internalize(ad,$String))};};})(ac,e,f,g),XJ));ad=new $Int64(-1,4294967295);ae=E.ParseInt(new NO(ac[0]).Get(\"Content-Length\"),10,64);af=ae[0];ag=ae[1];if($interfaceIsEqual(ag,$ifaceNil)){ad=af;}ai=e[0].Context().Done();$s=1;case 1:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=$select([[g[0],new PM.ptr($internalize(ab.status,$String)+\" \"+TG($parseInt(ab.status)>>0),$parseInt(ab.status)>>0,\"\",0,0,ac[0],new AO.ptr(WP.nil,ab.body.getReader()),ad,WN.nil,false,false,false,e[0],XK.nil)],[ai]]);$s=2;case 2:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ah=aj;if(ah[0]===0){$s=3;continue;}if(ah[0]===1){$s=4;continue;}$s=5;continue;case 3:$s=5;continue;case 4:case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g),XG),$externalize((function(e,f,g){return function $b(ab){var $ptr,ab,ac,ad,ae,af,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ad=B.Errorf(\"net/http: fetch() failed: %s\",new WH([new $String($internalize(ab,$String))]));$s=1;case 1:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=e[0].Context().Done();$s=2;case 2:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=$select([[f[0],ad],[ae]]);$s=3;case 3:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ac=af;if(ac[0]===0){$s=4;continue;}if(ac[0]===1){$s=5;continue;}$s=6;continue;case 4:$s=6;continue;case 5:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g),XG));ac=e[0].Context().Done();$s=8;case 8:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=$select([[ac],[g[0]],[f[0]]]);$s=9;case 9:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ab=ad;if(ab[0]===0){$s=10;continue;}if(ab[0]===1){$s=11;continue;}if(ab[0]===2){$s=12;continue;}$s=13;continue;case 10:$s=-1;return[XH.nil,A.New(\"net/http: request canceled\")];case 11:ae=ab[1][0];$s=-1;return[ae,$ifaceNil];case 12:af=ab[1][0];$s=-1;return[XH.nil,af];case 13:$s=-1;return[XH.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:AP.ptr.prototype.RoundTrip};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AP.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};AQ.ptr.prototype.RoundTrip=function(e){var $ptr,e;return[XH.nil,A.New(\"net/http: neither of Fetch nor XMLHttpRequest APIs is available\")];};AQ.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};AR.ptr.prototype.RoundTrip=function(e){var $ptr,aa,ab,ac,ad,ae,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=[e];f=[f];g=[g];h=[h];i=this;h[0]=new($global.XMLHttpRequest)();if(i.inflight===false){i.inflight=$makeMap(WT.keyFor,[]);}j=e[0];(i.inflight||$throwRuntimeError(\"assignment to entry in nil map\"))[WT.keyFor(j)]={k:j,v:h[0]};$deferred.push([function(k,l){delete k[WT.keyFor(l)];},[i.inflight,e[0]]]);g[0]=new $Chan(XH,0);f[0]=new $Chan($error,0);h[0].onload=$externalize((function(e,f,g,h){return function $b(){var $ptr,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=I.NewReader(G.NewReader(H.NewReader((new WP($stringToBytes($internalize(h[0].getAllResponseHeaders(),$String)+\"\\n\")))))).ReadMIMEHeader();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=$assertType($internalize(new($global.Uint8Array)(h[0].response),$emptyInterface),WP);q=new $Int64(-1,4294967295);r=e[0].Method;if(r===(\"HEAD\")){s=E.ParseInt(new I.MIMEHeader(o).Get(\"Content-Length\"),10,64);t=s[0];u=s[1];if($interfaceIsEqual(u,$ifaceNil)){q=t;}}else{q=(new $Int64(0,p.$length));}$r=$send(g[0],new PM.ptr($internalize(h[0].status,$String)+\" \"+$internalize(h[0].statusText,$String),$parseInt(h[0].status)>>0,\"\",0,0,(o),D.NopCloser(H.NewReader(p)),q,WN.nil,false,false,false,e[0],XK.nil));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g,h),XL);h[0].onerror=$externalize((function(e,f,g,h){return function $b(m){var $ptr,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(f[0],A.New(\"net/http: XMLHttpRequest failed\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g,h),XG);h[0].onabort=$externalize((function(e,f,g,h){return function $b(m){var $ptr,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(f[0],A.New(\"net/http: request canceled\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g,h),XG);h[0].open($externalize(e[0].Method,$String),$externalize(e[0].URL.String(),$String));h[0].responseType=$externalize(\"arraybuffer\",$String);m=e[0].Header;n=0;o=$keys(m);while(true){if(!(n<o.length)){break;}p=m[o[n]];if(p===undefined){n++;continue;}q=p.k;r=p.v;s=r;t=0;while(true){if(!(t<s.$length)){break;}u=((t<0||t>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+t]);h[0].setRequestHeader($externalize(q,$String),$externalize(u,$String));t++;}n++;}if($interfaceIsEqual(e[0].Body,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:h[0].send();$s=3;continue;case 2:w=D.ReadAll(e[0].Body);$s=4;case 4:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];y=v[1];if(!($interfaceIsEqual(y,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:z=e[0].Body.Close();$s=7;case 7:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}z;$s=-1;return[XH.nil,y];case 6:aa=e[0].Body.Close();$s=8;case 8:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;h[0].send($externalize(x,WP));case 3:ac=$select([[g[0]],[f[0]]]);$s=9;case 9:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;if(ab[0]===0){ad=ab[1][0];$s=-1;return[ad,$ifaceNil];}else if(ab[0]===1){ae=ab[1][0];$s=-1;return[XH.nil,ae];}$s=-1;return[XH.nil,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[XH.nil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:AR.ptr.prototype.RoundTrip};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AR.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};AR.ptr.prototype.CancelRequest=function(e){var $ptr,e,f,g,h,i,j;f=this;g=(h=f.inflight[WT.keyFor(e)],h!==undefined?[h.v,true]:[null,false]);i=g[0];j=g[1];if(j){i.abort();}};AR.prototype.CancelRequest=function(e){return this.$val.CancelRequest(e);};AU=function(e,f){var $ptr,e,f,g,h;if(e.Scheme===\"https\"&&f.Scheme===\"http\"){return\"\";}g=e.String();if(!(e.User===XM.nil)){h=e.User.String()+\"@\";g=O.Replace(g,h,\"\",1);}return g;};AS.ptr.prototype.send=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=XH.nil;h=$throwNilPointerError;i=$ifaceNil;j=this;if(!($interfaceIsEqual(j.Jar,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:l=j.Jar.Cookies(e.URL);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=0;case 4:if(!(m<k.$length)){$s=5;continue;}n=((m<0||m>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+m]);$r=e.AddCookie(n);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m++;$s=4;continue;case 5:case 2:p=AV(e,j.transport(),$clone(f,Q.Time));$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;g=o[0];h=o[1];i=o[2];if(!($interfaceIsEqual(i,$ifaceNil))){q=XH.nil;r=h;s=i;g=q;h=r;i=s;$s=-1;return[g,h,i];}if(!($interfaceIsEqual(j.Jar,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:t=g.Cookies();$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;if(u.$length>0){$s=11;continue;}$s=12;continue;case 11:$r=j.Jar.SetCookies(e.URL,u);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 9:v=g;w=$throwNilPointerError;x=$ifaceNil;g=v;h=w;i=x;$s=-1;return[g,h,i];}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.send};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.send=function(e,f){return this.$val.send(e,f);};AS.ptr.prototype.deadline=function(){var $ptr,e,f;e=this;if((f=e.Timeout,(f.$high>0||(f.$high===0&&f.$low>0)))){return $clone(Q.Now(),Q.Time).Add(e.Timeout);}return new Q.Time.ptr(new $Int64(0,0),0,WL.nil);};AS.prototype.deadline=function(){return this.$val.deadline();};AS.ptr.prototype.transport=function(){var $ptr,e;e=this;if(!($interfaceIsEqual(e.Transport,$ifaceNil))){return e.Transport;}return $pkg.DefaultTransport;};AS.prototype.transport=function(){return this.$val.transport();};AV=function(e,f,g){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];h=[h];i=XH.nil;j=$throwNilPointerError;k=$ifaceNil;h[0]=e[0];if($interfaceIsEqual(f,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:$r=h[0].closeBody();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=XH.nil;m=AZ;n=A.New(\"http: no Client.Transport or DefaultTransport\");i=l;j=m;k=n;$s=-1;return[i,j,k];case 2:if(h[0].URL===XN.nil){$s=4;continue;}$s=5;continue;case 4:$r=h[0].closeBody();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=XH.nil;p=AZ;q=A.New(\"http: nil Request.URL\");i=o;j=p;k=q;$s=-1;return[i,j,k];case 5:if(!(h[0].RequestURI===\"\")){$s=7;continue;}$s=8;continue;case 7:$r=h[0].closeBody();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}r=XH.nil;s=AZ;t=A.New(\"http: Request.RequestURI can't be set in client requests.\");i=r;j=s;k=t;$s=-1;return[i,j,k];case 8:u=(function(e,h){return function(){var $ptr;if(e[0]===h[0]){h[0]=new OP.ptr(\"\",XN.nil,\"\",0,0,false,$ifaceNil,$throwNilPointerError,new $Int64(0,0),WN.nil,false,\"\",false,false,XO.nil,false,\"\",\"\",XK.nil,$chanNil,XH.nil,$ifaceNil);OP.copy(h[0],e[0]);}};})(e,h);if(h[0].Header===false){$s=10;continue;}$s=11;continue;case 10:$r=u();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h[0].Header={};case 11:v=h[0].URL.User;if(!(v===XM.nil)&&new NO(h[0].Header).Get(\"Authorization\")===\"\"){$s=13;continue;}$s=14;continue;case 13:w=v.Username();x=v.Password();y=x[0];$r=u();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h[0].Header=OA(e[0].Header);new NO(h[0].Header).Set(\"Authorization\",\"Basic \"+AX(w,y));case 14:if(!$clone(g,Q.Time).IsZero()){$s=16;continue;}$s=17;continue;case 16:$r=u();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:z=AW(h[0],f,$clone(g,Q.Time));aa=z[0];j=z[1];ac=f.RoundTrip(h[0]);$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;i=ab[0];k=ab[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=20;continue;}$s=21;continue;case 20:$r=aa();$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(i===XH.nil)){$s=23;continue;}$s=24;continue;case 23:$r=L.Printf(\"RoundTripper returned a response & error; ignoring response\",new WH([]));$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:ad=$assertType(k,J.RecordHeaderError,true);ae=$clone(ad[0],J.RecordHeaderError);af=ad[1];if(af){if(($bytesToString(new WP(ae.RecordHeader)))===\"HTTP/\"){k=A.New(\"http: server gave HTTP response to HTTPS client\");}}ag=XH.nil;ah=j;ai=k;i=ag;j=ah;k=ai;$s=-1;return[i,j,k];case 21:if(!$clone(g,Q.Time).IsZero()){i.Body=new BF.ptr(aa,i.Body,j);}aj=i;ak=$throwNilPointerError;al=$ifaceNil;i=aj;j=ak;k=al;$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:AV};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AW=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;h=$throwNilPointerError;i=$throwNilPointerError;if($clone(g,Q.Time).IsZero()){j=VN;k=AZ;h=j;i=k;return[h,i];}l=e.Cancel;m=new $Chan(XP,0);e.Cancel=m;n=(function $b(){var $ptr,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$close(m);n=f;if($assertType(n,XR,true)[1]||$assertType(n,XE,true)[1]){$s=1;continue;}if($assertType(n,XQ,true)[1]){$s=2;continue;}$s=3;continue;case 1:o=n;$s=3;continue;case 2:p=n;$r=p.CancelRequest(e);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;});o=new $Chan(XP,0);p=new P.Once.ptr(new P.Mutex.ptr(0,0),0);h=(function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=p.Do((function(){var $ptr;$close(o);}));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;});q=Q.NewTimer(Q.Until($clone(g,Q.Time)));r=0;$go((function $b(){var $ptr,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:t=$select([[l],[q.C],[o]]);$s=1;case 1:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;if(s[0]===0){$s=2;continue;}if(s[0]===1){$s=3;continue;}if(s[0]===2){$s=4;continue;}$s=5;continue;case 2:$r=n();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q.Stop();$s=5;continue;case 3:(u||(u=new XS(function(){return r;},function($v){r=$v;}))).setTrue();$r=n();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:q.Stop();case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;}),[]);s=h;t=$methodVal((u||(u=new XS(function(){return r;},function($v){r=$v;}))),\"isSet\");h=s;i=t;return[h,i];};AX=function(e,f){var $ptr,e,f,g;g=e+\":\"+f;return K.StdEncoding.EncodeToString((new WP($stringToBytes(g))));};AY=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=XH.nil;g=$ifaceNil;i=$pkg.DefaultClient.Get(e);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;f=h[0];g=h[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:AY};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Get=AY;AS.ptr.prototype.Get=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=XH.nil;g=$ifaceNil;h=this;j=OY(\"GET\",e,$ifaceNil);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];g=i[1];if(!($interfaceIsEqual(g,$ifaceNil))){l=XH.nil;m=g;f=l;g=m;$s=-1;return[f,g];}o=h.Do(k);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;f=n[0];g=n[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.Get};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.Get=function(e){return this.$val.Get(e);};AZ=function(){var $ptr;return false;};AS.ptr.prototype.checkRedirect=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.CheckRedirect;if(h===$throwNilPointerError){h=BB;}i=h(e,f);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.checkRedirect};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.checkRedirect=function(e,f){return this.$val.checkRedirect(e,f);};BA=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o;h=\"\";i=false;j=false;switch(0){default:k=f.StatusCode;if((k===(301))||(k===(302))||(k===(303))){h=e;i=true;j=false;if(!(e===\"GET\")&&!(e===\"HEAD\")){h=\"GET\";}}else if((k===(307))||(k===(308))){h=e;i=true;j=true;if(new NO(f.Header).Get(\"Location\")===\"\"){i=false;break;}if(g.GetBody===$throwNilPointerError&&!((l=g.outgoingLength(),(l.$high===0&&l.$low===0)))){i=false;}}}m=h;n=i;o=j;h=m;i=n;j=o;return[h,i,j];};AS.ptr.prototype.Do=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=[g];h=this;if(e[0].URL===XN.nil){$s=1;continue;}$s=2;continue;case 1:$r=e[0].closeBody();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,A.New(\"http: nil Request.URL\")];case 2:i=$clone(h.deadline(),Q.Time);f[0]=XT.nil;g[0]=XH.nil;j=h.makeHeadersCopier(e[0]);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=\"\";m=false;n=(function(e,f,g){return function $b(n){var $ptr,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=e[0].closeBody();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=OR((0>=f[0].$length?($throwRuntimeError(\"index out of range\"),undefined):f[0].$array[f[0].$offset+0]).Method,\"GET\");p=\"\";if(!(g[0]===XH.nil)&&!(g[0].Request===WT.nil)){p=g[0].Request.URL.String();}else{p=e[0].URL.String();}q=O.ToLower($substring(o,1));$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return new M.Error.ptr($substring(o,0,1)+q,p,n);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g);case 5:if(f[0].$length>0){$s=7;continue;}$s=8;continue;case 7:o=new NO(g[0].Header).Get(\"Location\");if(o===\"\"){$s=9;continue;}$s=10;continue;case 9:p=B.Errorf(\"%d response missing Location header\",new WH([new $Int(g[0].StatusCode)]));$s=11;case 11:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=n(p);$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return[XH.nil,q];case 10:s=e[0].URL.Parse(o);$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:v=B.Errorf(\"failed to parse Location header %q: %v\",new WH([new $String(o),u]));$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=n(v);$s=17;case 17:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return[XH.nil,w];case 15:x=(0>=f[0].$length?($throwRuntimeError(\"index out of range\"),undefined):f[0].$array[f[0].$offset+0]);e[0]=new OP.ptr(l,t,\"\",0,0,{},$ifaceNil,$throwNilPointerError,new $Int64(0,0),WN.nil,false,\"\",false,false,XO.nil,false,\"\",\"\",XK.nil,x.Cancel,g[0],x.ctx);if(m&&!(x.GetBody===$throwNilPointerError)){$s=18;continue;}$s=19;continue;case 18:z=x.GetBody();$s=20;case 20:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;e[0].Body=y[0];u=y[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=21;continue;}$s=22;continue;case 21:aa=n(u);$s=23;case 23:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$s=-1;return[XH.nil,aa];case 22:e[0].ContentLength=x.ContentLength;case 19:$r=k(e[0]);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ac=AU((ab=f[0].$length-1>>0,((ab<0||ab>=f[0].$length)?($throwRuntimeError(\"index out of range\"),undefined):f[0].$array[f[0].$offset+ab])).URL,e[0].URL);if(!(ac===\"\")){new NO(e[0].Header).Set(\"Referer\",ac);}ad=h.checkRedirect(e[0],f[0]);$s=25;case 25:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}u=ad;if($interfaceIsEqual(u,$pkg.ErrUseLastResponse)){$s=-1;return[g[0],$ifaceNil];}if((ae=g[0].ContentLength,(ae.$high===-1&&ae.$low===4294967295))||(af=g[0].ContentLength,(af.$high<0||(af.$high===0&&af.$low<=2048)))){$s=26;continue;}$s=27;continue;case 26:ag=C.CopyN(D.Discard,g[0].Body,new $Int64(0,2048));$s=28;case 28:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ag;case 27:ah=g[0].Body.Close();$s=29;case 29:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;if(!($interfaceIsEqual(u,$ifaceNil))){$s=30;continue;}$s=31;continue;case 30:ai=n(u);$s=32;case 32:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=ai;$assertType(aj,XU).URL=o;$s=-1;return[g[0],aj];case 31:case 8:f[0]=$append(f[0],e[0]);ak=$ifaceNil;al=$throwNilPointerError;an=h.send(e[0],$clone(i,Q.Time));$s=33;case 33:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}am=an;g[0]=am[0];al=am[1];ak=am[2];if(!($interfaceIsEqual(ak,$ifaceNil))){$s=34;continue;}$s=35;continue;case 34:if(!(!$clone(i,Q.Time).IsZero())){ao=false;$s=38;continue s;}ap=al();$s=39;case 39:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;case 38:if(ao){$s=36;continue;}$s=37;continue;case 36:aq=ak.Error();$s=40;case 40:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ak=new VJ.ptr(aq+\" (Client.Timeout exceeded while awaiting headers)\",true);case 37:ar=n(ak);$s=41;case 41:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return[XH.nil,ar];case 35:as=false;at=BA(e[0].Method,g[0],(0>=f[0].$length?($throwRuntimeError(\"index out of range\"),undefined):f[0].$array[f[0].$offset+0]));l=at[0];as=at[1];m=at[2];if(!as){$s=-1;return[g[0],$ifaceNil];}$r=e[0].closeBody();$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 6:$s=-1;return[XH.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.Do};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.Do=function(e){return this.$val.Do(e);};AS.ptr.prototype.makeHeadersCopier=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];h=[h];i=[i];f[0]=this;h[0]=new NO(e.Header).clone();g[0]=false;if(!($interfaceIsEqual(f[0].Jar,$ifaceNil))&&!(new NO(e.Header).Get(\"Cookie\")===\"\")){$s=1;continue;}$s=2;continue;case 1:g[0]={};k=e.Cookies();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=0;case 4:if(!(l<j.$length)){$s=5;continue;}m=((l<0||l>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+l]);n=m.Name;(g[0]||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(n)]={k:n,v:$append((o=g[0][$String.keyFor(m.Name)],o!==undefined?o.v:XW.nil),m)};l++;$s=4;continue;case 5:case 2:i[0]=e;$s=-1;return(function(f,g,h,i){return function $b(p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(f[0].Jar,$ifaceNil))&&!(g[0]===false)){$s=1;continue;}$s=2;continue;case 1:q=false;r=p.Response;t=r.Cookies();$s=3;case 3:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=0;case 4:if(!(u<s.$length)){$s=5;continue;}v=((u<0||u>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+u]);w=(x=g[0][$String.keyFor(v.Name)],x!==undefined?[x.v,true]:[XW.nil,false]);y=w[1];if(y){delete g[0][$String.keyFor(v.Name)];q=true;}u++;$s=4;continue;case 5:if(q){$s=6;continue;}$s=7;continue;case 6:new NO(h[0]).Del(\"Cookie\");z=WN.nil;aa=g[0];ab=0;ac=$keys(aa);while(true){if(!(ab<ac.length)){break;}ad=aa[ac[ab]];if(ad===undefined){ab++;continue;}ae=ad.v;af=ae;ag=0;while(true){if(!(ag<af.$length)){break;}ah=((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]);z=$append(z,ah.Name+\"=\"+ah.Value);ag++;}ab++;}$r=N.Strings(z);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}new NO(h[0]).Set(\"Cookie\",O.Join(z,\"; \"));case 7:case 2:ai=h[0];aj=0;ak=$keys(ai);case 9:if(!(aj<ak.length)){$s=10;continue;}al=ai[ak[aj]];if(al===undefined){aj++;$s=9;continue;}am=al.k;an=al.v;ao=BG(am,i[0].URL,p.URL);$s=13;case 13:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(ao){$s=11;continue;}$s=12;continue;case 11:ap=am;(p.Header||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(ap)]={k:ap,v:an};case 12:aj++;$s=9;continue;case 10:i[0]=p;$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};})(f,g,h,i);}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.makeHeadersCopier};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.makeHeadersCopier=function(e){return this.$val.makeHeadersCopier(e);};BB=function(e,f){var $ptr,e,f;if(f.$length>=10){return A.New(\"stopped after 10 redirects\");}return $ifaceNil;};AS.ptr.prototype.Post=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=XH.nil;i=$ifaceNil;j=this;l=OY(\"POST\",e,g);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];i=k[1];if(!($interfaceIsEqual(i,$ifaceNil))){n=XH.nil;o=i;h=n;i=o;$s=-1;return[h,i];}new NO(m.Header).Set(\"Content-Type\",f);q=j.Do(m);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;h=p[0];i=p[1];$s=-1;return[h,i];}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.Post};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.Post=function(e,f,g){return this.$val.Post(e,f,g);};AS.ptr.prototype.PostForm=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=XH.nil;h=$ifaceNil;i=this;k=e;l=new M.Values(f).Encode();$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=O.NewReader(l);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=i.Post(k,\"application/x-www-form-urlencoded\",n);$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}j=o;g=j[0];h=j[1];$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.PostForm};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.PostForm=function(e,f){return this.$val.PostForm(e,f);};AS.ptr.prototype.Head=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=XH.nil;g=$ifaceNil;h=this;j=OY(\"HEAD\",e,$ifaceNil);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];g=i[1];if(!($interfaceIsEqual(g,$ifaceNil))){l=XH.nil;m=g;f=l;g=m;$s=-1;return[f,g];}o=h.Do(k);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;f=n[0];g=n[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:AS.ptr.prototype.Head};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};AS.prototype.Head=function(e){return this.$val.Head(e);};BF.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.rc.Read(e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];if($interfaceIsEqual(g,$ifaceNil)){k=f;l=$ifaceNil;f=k;g=l;$s=-1;return[f,g];}$r=h.stop();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($interfaceIsEqual(g,C.EOF)){m=f;n=g;f=m;g=n;$s=-1;return[f,g];}o=h.reqDidTimeout();$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}if(o){$s=3;continue;}$s=4;continue;case 3:p=g.Error();$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}g=new VJ.ptr(p+\" (Client.Timeout exceeded while reading body)\",true);case 4:q=f;r=g;f=q;g=r;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:BF.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};BF.prototype.Read=function(e){return this.$val.Read(e);};BF.ptr.prototype.Close=function(){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.rc.Close();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$r=e.stop();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BF.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};BF.prototype.Close=function(){return this.$val.Close();};BG=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=NX(e);if(h===(\"Authorization\")||h===(\"Www-Authenticate\")||h===(\"Cookie\")||h===(\"Cookie2\")){$s=2;continue;}$s=3;continue;case 2:i=O.ToLower(f.Host);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=O.ToLower(g.Host);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$s=-1;return BH(l,j);case 3:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:BG};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BH=function(e,f){var $ptr,e,f;if(e===f){return true;}if(!O.HasSuffix(e,f)){return false;}return e.charCodeAt(((e.length-f.length>>0)-1>>0))===46;};BJ=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=(f=e[$String.keyFor(\"Set-Cookie\")],f!==undefined?f.v:WN.nil).$length;if(g===0){$s=-1;return new XW([]);}h=$makeSlice(XW,0,g);i=(j=e[$String.keyFor(\"Set-Cookie\")],j!==undefined?j.v:WN.nil);k=0;case 1:if(!(k<i.$length)){$s=2;continue;}l=((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]);m=O.TrimSpace(l);$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=O.Split(m,\";\");$s=4;case 4:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;if((o.$length===1)&&(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0])===\"\"){$s=5;continue;}$s=6;continue;case 5:k++;$s=1;continue;case 6:p=O.TrimSpace((0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]));$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=p);q=O.Index((0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]),\"=\");if(q<0){$s=8;continue;}$s=9;continue;case 8:k++;$s=1;continue;case 9:r=$substring((0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]),0,q);s=$substring((0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]),(q+1>>0));t=r;u=s;v=BX(t);$s=12;case 12:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}if(!v){$s=10;continue;}$s=11;continue;case 10:k++;$s=1;continue;case 11:w=BW(u,true);u=w[0];x=w[1];if(!x){$s=13;continue;}$s=14;continue;case 13:k++;$s=1;continue;case 14:y=new BI.ptr(t,u,\"\",\"\",new Q.Time.ptr(new $Int64(0,0),0,WL.nil),\"\",0,false,false,l,WN.nil);z=1;case 15:if(!(z<o.$length)){$s=16;continue;}aa=O.TrimSpace(((z<0||z>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+z]));$s=17;case 17:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}((z<0||z>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+z]=aa);if(((z<0||z>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+z]).length===0){$s=18;continue;}$s=19;continue;case 18:z=z+(1)>>0;$s=15;continue;case 19:ab=((z<0||z>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+z]);ac=\"\";ad=ab;ae=ac;af=O.Index(ad,\"=\");if(af>=0){ag=$substring(ad,0,af);ah=$substring(ad,(af+1>>0));ad=ag;ae=ah;}ai=O.ToLower(ad);$s=20;case 20:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=ai;ak=BW(ae,false);ae=ak[0];x=ak[1];if(!x){$s=21;continue;}$s=22;continue;case 21:y.Unparsed=$append(y.Unparsed,((z<0||z>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+z]));z=z+(1)>>0;$s=15;continue;case 22:al=aj;if(al===(\"secure\")){$s=24;continue;}if(al===(\"httponly\")){$s=25;continue;}if(al===(\"domain\")){$s=26;continue;}if(al===(\"max-age\")){$s=27;continue;}if(al===(\"expires\")){$s=28;continue;}if(al===(\"path\")){$s=29;continue;}$s=30;continue;case 24:y.Secure=true;z=z+(1)>>0;$s=15;continue;$s=30;continue;case 25:y.HttpOnly=true;z=z+(1)>>0;$s=15;continue;$s=30;continue;case 26:y.Domain=ae;z=z+(1)>>0;$s=15;continue;$s=30;continue;case 27:am=E.Atoi(ae);an=am[0];ao=am[1];if(!($interfaceIsEqual(ao,$ifaceNil))||!((an===0))&&(ae.charCodeAt(0)===48)){$s=23;continue;}if(an<=0){an=-1;}y.MaxAge=an;z=z+(1)>>0;$s=15;continue;$s=30;continue;case 28:y.RawExpires=ae;aq=Q.Parse(\"Mon, 02 Jan 2006 15:04:05 MST\",ae);$s=31;case 31:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=$clone(ap[0],Q.Time);as=ap[1];if(!($interfaceIsEqual(as,$ifaceNil))){$s=32;continue;}$s=33;continue;case 32:au=Q.Parse(\"Mon, 02-Jan-2006 15:04:05 MST\",ae);$s=34;case 34:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;Q.Time.copy(ar,at[0]);as=at[1];if(!($interfaceIsEqual(as,$ifaceNil))){Q.Time.copy(y.Expires,new Q.Time.ptr(new $Int64(0,0),0,WL.nil));$s=23;continue;}case 33:Q.Time.copy(y.Expires,$clone(ar,Q.Time).UTC());z=z+(1)>>0;$s=15;continue;$s=30;continue;case 29:y.Path=ae;z=z+(1)>>0;$s=15;continue;case 30:case 23:y.Unparsed=$append(y.Unparsed,((z<0||z>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+z]));z=z+(1)>>0;$s=15;continue;case 16:h=$append(h,y);k++;$s=1;continue;case 2:$s=-1;return h;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BI.ptr.prototype.String=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(e===XV.nil){f=true;$s=3;continue s;}g=BX(e.Name);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=!g;case 3:if(f){$s=1;continue;}$s=2;continue;case 1:$s=-1;return\"\";case 2:h=new H.Buffer.ptr(WP.nil,0,XX.zero(),0);i=BQ(e.Name);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=h.WriteString(i);$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;h.WriteRune(61);k=BR(e.Value);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=h.WriteString(k);$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;if(e.Path.length>0){$s=9;continue;}$s=10;continue;case 9:h.WriteString(\"; Path=\");m=BT(e.Path);$s=11;case 11:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=h.WriteString(m);$s=12;case 12:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 10:if(e.Domain.length>0){$s=13;continue;}$s=14;continue;case 13:if(BM(e.Domain)){$s=15;continue;}$s=16;continue;case 15:o=e.Domain;if(o.charCodeAt(0)===46){o=$substring(o,1);}h.WriteString(\"; Domain=\");h.WriteString(o);$s=17;continue;case 16:$r=L.Printf(\"net/http: invalid Cookie.Domain %q; dropping domain attribute\",new WH([new $String(e.Domain)]));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:case 14:p=BN($clone(e.Expires,Q.Time));$s=21;case 21:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(p){$s=19;continue;}$s=20;continue;case 19:h.WriteString(\"; Expires=\");q=h.Bytes();h.Reset();r=$clone($clone(e.Expires,Q.Time).UTC(),Q.Time).AppendFormat(q,\"Mon, 02 Jan 2006 15:04:05 GMT\");$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=h.Write(r);$s=23;case 23:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 20:if(e.MaxAge>0){h.WriteString(\"; Max-Age=\");t=h.Bytes();h.Reset();h.Write(E.AppendInt(t,(new $Int64(0,e.MaxAge)),10));}else if(e.MaxAge<0){h.WriteString(\"; Max-Age=0\");}if(e.HttpOnly){h.WriteString(\"; HttpOnly\");}if(e.Secure){h.WriteString(\"; Secure\");}$s=-1;return h.String();}return;}if($f===undefined){$f={$blk:BI.ptr.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};BI.prototype.String=function(){return this.$val.String();};BL=function(e,f){var $ptr,aa,ab,ac,ad,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=(h=e[$String.keyFor(\"Cookie\")],h!==undefined?[h.v,true]:[WN.nil,false]);i=g[0];j=g[1];if(!j){$s=-1;return new XW([]);}k=new XW([]);l=i;m=0;case 1:if(!(m<l.$length)){$s=2;continue;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);o=O.TrimSpace(n);$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=O.Split(o,\";\");$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if((q.$length===1)&&(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])===\"\"){$s=5;continue;}$s=6;continue;case 5:m++;$s=1;continue;case 6:r=0;s=0;case 7:if(!(s<q.$length)){$s=8;continue;}t=O.TrimSpace(((s<0||s>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+s]));$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}((s<0||s>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+s]=t);if(((s<0||s>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+s]).length===0){$s=10;continue;}$s=11;continue;case 10:s=s+(1)>>0;$s=7;continue;case 11:u=((s<0||s>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+s]);v=\"\";w=u;x=v;y=O.Index(w,\"=\");if(y>=0){z=$substring(w,0,y);aa=$substring(w,(y+1>>0));w=z;x=aa;}ab=BX(w);$s=14;case 14:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(!ab){$s=12;continue;}$s=13;continue;case 12:s=s+(1)>>0;$s=7;continue;case 13:if(!(f===\"\")&&!(f===w)){s=s+(1)>>0;$s=7;continue;}ac=BW(x,true);x=ac[0];ad=ac[1];if(!ad){s=s+(1)>>0;$s=7;continue;}k=$append(k,new BI.ptr(w,x,\"\",\"\",new Q.Time.ptr(new $Int64(0,0),0,WL.nil),\"\",0,false,false,\"\",WN.nil));r=r+(1)>>0;s=s+(1)>>0;$s=7;continue;case 8:m++;$s=1;continue;case 2:$s=-1;return k;}return;}if($f===undefined){$f={$blk:BL};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM=function(e){var $ptr,e;if(BO(e)){return true;}if(!(R.ParseIP(e)===R.IP.nil)&&!O.Contains(e,\":\")){return true;}return false;};BN=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$clone(e,Q.Time).Year();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f>=1601;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BO=function(e){var $ptr,e,f,g,h,i,j;if(e.length===0){return false;}if(e.length>255){return false;}if(e.charCodeAt(0)===46){e=$substring(e,1);}f=46;g=false;h=0;i=0;while(true){if(!(i<e.length)){break;}j=e.charCodeAt(i);if(97<=j&&j<=122||65<=j&&j<=90){g=true;h=h+(1)>>0;}else if(48<=j&&j<=57){h=h+(1)>>0;}else if((j===45)){if(f===46){return false;}h=h+(1)>>0;}else if((j===46)){if((f===46)||(f===45)){return false;}if(h>63||(h===0)){return false;}h=0;}else{return false;}f=j;i=i+(1)>>0;}if((f===45)||h>63){return false;}return g;};BQ=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=BP.Replace(e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BR=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=BV(\"Cookie.Value\",BS,e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e.length===0){$s=-1;return e;}if((e.charCodeAt(0)===32)||(e.charCodeAt(0)===44)||(e.charCodeAt((e.length-1>>0))===32)||(e.charCodeAt((e.length-1>>0))===44)){$s=-1;return\"\\\"\"+e+\"\\\"\";}$s=-1;return e;}return;}if($f===undefined){$f={$blk:BR};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BS=function(e){var $ptr,e;return 32<=e&&e<127&&!((e===34))&&!((e===59))&&!((e===92));};BT=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=BV(\"Cookie.Path\",BU,e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BU=function(e){var $ptr,e;return 32<=e&&e<127&&!((e===59));};BV=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=true;i=0;case 1:if(!(i<g.length)){$s=2;continue;}j=f(g.charCodeAt(i));$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=3;continue;}$s=4;continue;case 3:i=i+(1)>>0;$s=1;continue;case 4:$r=L.Printf(\"net/http: invalid byte %q in %s; dropping invalid bytes\",new WH([new $Uint8(g.charCodeAt(i)),new $String(e)]));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=false;$s=2;continue;$s=1;continue;case 2:if(h){$s=-1;return g;}k=$makeSlice(WP,0,g.length);l=0;case 7:if(!(l<g.length)){$s=8;continue;}m=g.charCodeAt(l);n=f(m);$s=11;case 11:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}if(n){$s=9;continue;}$s=10;continue;case 9:k=$append(k,m);case 10:l=l+(1)>>0;$s=7;continue;case 8:$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BV};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BW=function(e,f){var $ptr,e,f,g;if(f&&e.length>1&&(e.charCodeAt(0)===34)&&(e.charCodeAt((e.length-1>>0))===34)){e=$substring(e,1,(e.length-1>>0));}g=0;while(true){if(!(g<e.length)){break;}if(!BS(e.charCodeAt(g))){return[\"\",false];}g=g+(1)>>0;}return[e,true];};BX=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"){$s=-1;return false;}f=O.IndexFunc(e,OF);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f<0;}return;}if($f===undefined){$f={$blk:BX};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};DN.ptr.prototype.GetClientConn=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.getClientConn(e,f,true);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:DN.ptr.prototype.GetClientConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};DN.prototype.GetClientConn=function(e,f){return this.$val.GetClientConn(e,f);};DN.ptr.prototype.getClientConn=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;if(MI(e)&&g){$s=1;continue;}$s=2;continue;case 1:j=h.t.dialClientConn(f,true);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[YC.nil,l];}$s=-1;return[k,$ifaceNil];case 2:$r=h.mu.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=(n=h.conns[$String.keyFor(f)],n!==undefined?n.v:YD.nil);o=0;case 5:if(!(o<m.$length)){$s=6;continue;}p=((o<0||o>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+o]);q=p.CanTakeNewRequest();$s=9;case 9:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}if(q){$s=7;continue;}$s=8;continue;case 7:$r=h.mu.Unlock();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[p,$ifaceNil];case 8:o++;$s=5;continue;case 6:if(!g){$s=11;continue;}$s=12;continue;case 11:$r=h.mu.Unlock();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[YC.nil,LD];case 12:r=h.getStartDialLocked(f);$r=h.mu.Unlock();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=$recv(r.done);$s=15;case 15:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s[0];$s=-1;return[r.res,r.err];}return;}if($f===undefined){$f={$blk:DN.ptr.prototype.getClientConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};DN.prototype.getClientConn=function(e,f,g){return this.$val.getClientConn(e,f,g);};DN.ptr.prototype.getStartDialLocked=function(e){var $ptr,e,f,g,h,i,j,k,l;f=this;g=(h=f.dialing[$String.keyFor(e)],h!==undefined?[h.v,true]:[YE.nil,false]);i=g[0];j=g[1];if(j){return i;}k=new DO.ptr(f,new $Chan(XP,0),YC.nil,$ifaceNil);if(f.dialing===false){f.dialing={};}l=e;(f.dialing||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(l)]={k:l,v:k};$go($methodVal(k,\"dial\"),[e]);return k;};DN.prototype.getStartDialLocked=function(e){return this.$val.getStartDialLocked(e);};DO.ptr.prototype.dial=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;h=f.p.t.dialClientConn(e,false);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;f.res=g[0];f.err=g[1];$close(f.done);$r=f.p.mu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}delete f.p.dialing[$String.keyFor(e)];if($interfaceIsEqual(f.err,$ifaceNil)){f.p.addConnLocked(e,f.res);}$r=f.p.mu.Unlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:DO.ptr.prototype.dial};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};DO.prototype.dial=function(e){return this.$val.dial(e);};DN.ptr.prototype.addConnIfNeeded=function(e,f,g){var $ptr,aa,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=false;i=$ifaceNil;j=this;$r=j.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=(l=j.conns[$String.keyFor(e)],l!==undefined?l.v:YD.nil);m=0;case 2:if(!(m<k.$length)){$s=3;continue;}n=((m<0||m>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+m]);o=n.CanTakeNewRequest();$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}if(o){$s=4;continue;}$s=5;continue;case 4:$r=j.mu.Unlock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=false;q=$ifaceNil;h=p;i=q;$s=-1;return[h,i];case 5:m++;$s=2;continue;case 3:r=(s=j.addConnCalls[$String.keyFor(e)],s!==undefined?[s.v,true]:[YF.nil,false]);t=r[0];u=r[1];if(!u){$s=8;continue;}$s=9;continue;case 8:if(j.addConnCalls===false){j.addConnCalls={};}t=new DP.ptr(j,new $Chan(XP,0),$ifaceNil);v=e;(j.addConnCalls||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(v)]={k:v,v:t};$go($methodVal(t,\"run\"),[f,e,g]);case 9:$r=j.mu.Unlock();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=$recv(t.done);$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w[0];if(!($interfaceIsEqual(t.err,$ifaceNil))){x=false;y=t.err;h=x;i=y;$s=-1;return[h,i];}z=!u;aa=$ifaceNil;h=z;i=aa;$s=-1;return[h,i];}return;}if($f===undefined){$f={$blk:DN.ptr.prototype.addConnIfNeeded};}$f.$ptr=$ptr;$f.aa=aa;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};DN.prototype.addConnIfNeeded=function(e,f,g){return this.$val.addConnIfNeeded(e,f,g);};DP.ptr.prototype.run=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;j=e.NewClientConn(g);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];m=h.p;$r=m.mu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(l,$ifaceNil))){h.err=l;}else{m.addConnLocked(f,k);}delete m.addConnCalls[$String.keyFor(f)];$r=m.mu.Unlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$close(h.done);$s=-1;return;}return;}if($f===undefined){$f={$blk:DP.ptr.prototype.run};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};DP.prototype.run=function(e,f,g){return this.$val.run(e,f,g);};DN.ptr.prototype.addConnLocked=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o;g=this;h=(i=g.conns[$String.keyFor(e)],i!==undefined?i.v:YD.nil);j=0;while(true){if(!(j<h.$length)){break;}k=((j<0||j>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+j]);if(k===f){return;}j++;}if(g.conns===false){g.conns={};}if(g.keys===false){g.keys={};}l=e;(g.conns||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(l)]={k:l,v:$append((m=g.conns[$String.keyFor(e)],m!==undefined?m.v:YD.nil),f)};n=f;(g.keys||$throwRuntimeError(\"assignment to entry in nil map\"))[YC.keyFor(n)]={k:n,v:$append((o=g.keys[YC.keyFor(f)],o!==undefined?o.v:WN.nil),e)};};DN.prototype.addConnLocked=function(e,f){return this.$val.addConnLocked(e,f);};DN.ptr.prototype.MarkDead=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.mu,\"Unlock\"),[]]);g=(h=f.keys[YC.keyFor(e)],h!==undefined?h.v:WN.nil);i=0;while(true){if(!(i<g.$length)){break;}j=((i<0||i>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+i]);k=(l=f.conns[$String.keyFor(j)],l!==undefined?[l.v,true]:[YD.nil,false]);m=k[0];n=k[1];if(!n){i++;continue;}o=DQ(m,e);if(o.$length>0){p=j;(f.conns||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(p)]={k:p,v:o};}else{delete f.conns[$String.keyFor(j)];}i++;}delete f.keys[YC.keyFor(e)];$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:DN.ptr.prototype.MarkDead};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};DN.prototype.MarkDead=function(e){return this.$val.MarkDead(e);};DN.ptr.prototype.closeIdleConnections=function(){var $ptr,e,f,g,h,i,j,k,l,m,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);f=e.conns;g=0;h=$keys(f);case 2:if(!(g<h.length)){$s=3;continue;}i=f[h[g]];if(i===undefined){g++;$s=2;continue;}j=i.v;k=j;l=0;case 4:if(!(l<k.$length)){$s=5;continue;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);$r=m.closeIfIdle();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l++;$s=4;continue;case 5:g++;$s=2;continue;case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:DN.ptr.prototype.closeIdleConnections};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};DN.prototype.closeIdleConnections=function(){return this.$val.closeIdleConnections();};DQ=function(e,f){var $ptr,e,f,g,h,i,j,k;g=$subslice(e,0,0);h=e;i=0;while(true){if(!(i<h.$length)){break;}j=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);if(!(j===f)){g=$append(g,j);}i++;}if(!((e.$length===g.$length))){(k=e.$length-1>>0,((k<0||k>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+k]=YC.nil));}return g;};DR.ptr.prototype.GetClientConn=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.http2clientConnPool.getClientConn(e,f,false);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:DR.ptr.prototype.GetClientConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};DR.prototype.GetClientConn=function(e,f){return this.$val.GetClientConn(e,f);};DS=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];f[0]=new DN.ptr(XE.nil,new P.Mutex.ptr(0,0),false,false,false,false);g[0]=new KX.ptr($throwNilPointerError,XD.nil,(h=new DR.ptr(f[0]),new h.constructor.elem(h)),false,false,0,e,new P.Once.ptr(new P.Mutex.ptr(0,0),0),$ifaceNil);f[0].t=g[0];j=DT(e,(i=new DU.ptr(g[0]),new i.constructor.elem(i)));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[XE.nil,k];}if(e.TLSClientConfig===XD.nil){e.TLSClientConfig=new J.Config.ptr($ifaceNil,$throwNilPointerError,YG.nil,false,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,YH.nil,WN.nil,\"\",0,YH.nil,false,YI.nil,false,false,YJ.zero(),$ifaceNil,0,0,YK.nil,false,0,$ifaceNil,new P.Once.ptr(new P.Mutex.ptr(0,0),0),new P.RWMutex.ptr(new P.Mutex.ptr(0,0),0,0,0,0),YL.nil,XD.nil);}if(!MD(e.TLSClientConfig.NextProtos,\"h2\")){e.TLSClientConfig.NextProtos=$appendSlice(new WN([\"h2\"]),e.TLSClientConfig.NextProtos);}if(!MD(e.TLSClientConfig.NextProtos,\"http/1.1\")){e.TLSClientConfig.NextProtos=$append(e.TLSClientConfig.NextProtos,\"http/1.1\");}l=(function(f,g){return function $b(l,m){var $ptr,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:n=LF(\"https\",l);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;q=f[0].addConnIfNeeded(o,g[0],m);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];if(!($interfaceIsEqual(s,$ifaceNil))){$go($methodVal(m,\"Close\"),[]);$s=-1;return(t=new ME.ptr(s),new t.constructor.elem(t));}else if(!r){$go($methodVal(m,\"Close\"),[]);}$s=-1;return g[0];}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};})(f,g);m=e.TLSNextProto;if($keys(m).length===0){e.TLSNextProto=$makeMap($String.keyFor,[{k:\"h2\",v:l}]);}else{n=\"h2\";(m||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(n)]={k:n,v:l};}$s=-1;return[g[0],$ifaceNil];}return;}if($f===undefined){$f={$blk:DS};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};DT=function(e,f){var $ptr,e,f,g,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=[g];g[0]=$ifaceNil;$deferred.push([(function(g){return function $b(){var $ptr,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=$recover();if(!($interfaceIsEqual(h,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:i=B.Errorf(\"%v\",new WH([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g[0]=i;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};})(g),[]]);$r=e.RegisterProtocol(\"https\",f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g[0]=$ifaceNil;$s=-1;return g[0];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return g[0];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:DT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};DU.ptr.prototype.RoundTrip=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;h=f.t.RoundTrip(e);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if($interfaceIsEqual(j,LD)){$s=-1;return[XH.nil,$pkg.ErrSkipAltProtocol];}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:DU.ptr.prototype.RoundTrip};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};DU.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};DV.prototype.String=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=(g=DW[DV.keyFor(e)],g!==undefined?[g.v,true]:[\"\",false]);h=f[0];i=f[1];if(i){$s=-1;return h;}j=B.Sprintf(\"unknown error code 0x%x\",new WH([new $Uint32(((e>>>0)))]));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:DV.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(DV).prototype.String=function(){return new DV(this.$get()).String();};DX.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=B.Sprintf(\"connection error: %s\",new WH([new DV(((e>>>0)))]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:DX.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(DX).prototype.Error=function(){return new DX(this.$get()).Error();};DZ=function(e,f){var $ptr,e,f;return new DY.ptr(e,f,$ifaceNil);};DY.ptr.prototype.Error=function(){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!($interfaceIsEqual(e.Cause,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=B.Sprintf(\"stream error: stream ID %d; %v; %v\",new WH([new $Uint32(e.StreamID),new DV(e.Code),e.Cause]));$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 2:g=B.Sprintf(\"stream error: stream ID %d; %v\",new WH([new $Uint32(e.StreamID),new DV(e.Code)]));$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:DY.ptr.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};DY.prototype.Error=function(){return this.$val.Error();};EA.ptr.prototype.Error=function(){var $ptr;return\"connection exceeded flow control window size\";};EA.prototype.Error=function(){return this.$val.Error();};EB.ptr.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"http2: connection error: %v: %v\",new WH([new DV(e.Code),new $String(e.Reason)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:EB.ptr.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};EB.prototype.Error=function(){return this.$val.Error();};EC.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=B.Sprintf(\"invalid pseudo-header %q\",new WH([new $String((e))]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:EC.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(EC).prototype.Error=function(){return new EC(this.$get()).Error();};ED.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=B.Sprintf(\"duplicate pseudo-header %q\",new WH([new $String((e))]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:ED.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(ED).prototype.Error=function(){return new ED(this.$get()).Error();};EE.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=B.Sprintf(\"invalid header field name %q\",new WH([new $String((e))]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:EE.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(EE).prototype.Error=function(){return new EE(this.$get()).Error();};EF.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=B.Sprintf(\"invalid header field value %q\",new WH([new $String((e))]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:EF.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(EF).prototype.Error=function(){return new EF(this.$get()).Error();};EI.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l;f=0;g=$ifaceNil;h=this;if(h.r===h.w){i=0;j=EJ;f=i;g=j;return[f,g];}f=$copySlice(e,$subslice(h.buf,h.r,h.w));h.r=h.r+(f)>>0;if(h.r===h.w){h.r=0;h.w=0;}k=f;l=$ifaceNil;f=k;g=l;return[f,g];};EI.prototype.Read=function(e){return this.$val.Read(e);};EI.ptr.prototype.Len=function(){var $ptr,e;e=this;return e.w-e.r>>0;};EI.prototype.Len=function(){return this.$val.Len();};EI.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j;f=0;g=$ifaceNil;h=this;if(h.r>0&&e.$length>(h.buf.$length-h.w>>0)){$copySlice(h.buf,$subslice(h.buf,h.r,h.w));h.w=h.w-(h.r)>>0;h.r=0;}f=$copySlice($subslice(h.buf,h.w),e);h.w=h.w+(f)>>0;if(f<e.$length){g=EK;}i=f;j=g;f=i;g=j;return[f,g];};EI.prototype.Write=function(e){return this.$val.Write(e);};EL.ptr.prototype.setConnFlow=function(e){var $ptr,e,f;f=this;f.conn=e;};EL.prototype.setConnFlow=function(e){return this.$val.setConnFlow(e);};EL.ptr.prototype.available=function(){var $ptr,e,f;e=this;f=e.n;if(!(e.conn===YM.nil)&&e.conn.n<f){f=e.conn.n;}return f;};EL.prototype.available=function(){return this.$val.available();};EL.ptr.prototype.take=function(e){var $ptr,e,f;f=this;if(e>f.available()){$panic(new $String(\"internal error: took too much\"));}f.n=f.n-(e)>>0;if(!(f.conn===YM.nil)){f.conn.n=f.conn.n-(e)>>0;}};EL.prototype.take=function(e){return this.$val.take(e);};EL.ptr.prototype.add=function(e){var $ptr,e,f,g;f=this;g=2147483647-f.n>>0;if(e>g){return false;}f.n=f.n+(e)>>0;return true;};EL.prototype.add=function(e){return this.$val.add(e);};EN.prototype.String=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=(g=EO[EN.keyFor(e)],g!==undefined?[g.v,true]:[\"\",false]);h=f[0];i=f[1];if(i){$s=-1;return h;}j=B.Sprintf(\"UNKNOWN_FRAME_TYPE_%d\",new WH([new $Uint8(((e<<24>>>24)))]));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:EN.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(EN).prototype.String=function(){return new EN(this.$get()).String();};EP.prototype.Has=function(e){var $ptr,e,f;f=this.$val;return(((f&e)>>>0))===e;};$ptrType(EP).prototype.Has=function(e){return new EP(this.$get()).Has(e);};ET=function(e){var $ptr,e,f,g;g=(f=ES[EN.keyFor(e)],f!==undefined?f.v:$throwNilPointerError);if(!(g===$throwNilPointerError)){return g;}return FR;};EU.ptr.prototype.Header=function(){var $ptr,e;e=this;return e;};EU.prototype.Header=function(){return this.$val.Header();};EU.ptr.prototype.String=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=this;e[0]=new H.Buffer.ptr(WP.nil,0,XX.zero(),0);e[0].WriteString(\"[FrameHeader \");$r=$clone(f,EU).writeDebug(e[0]);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e[0].WriteByte(93);$s=-1;return e[0].String();}return;}if($f===undefined){$f={$blk:EU.ptr.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};EU.prototype.String=function(){return this.$val.String();};EU.ptr.prototype.writeDebug=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=new EN(f.Type).String();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=e.WriteString(g);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;if(!((f.Flags===0))){$s=3;continue;}$s=4;continue;case 3:e.WriteString(\" flags=\");i=0;j=0;case 5:if(!(j<8)){$s=6;continue;}if(((f.Flags&(((k=j,k<32?(1<<k):0)<<24>>>24)))>>>0)===0){$s=7;continue;}$s=8;continue;case 7:j=j+(1)<<24>>>24;$s=5;continue;case 8:i=i+(1)>>0;if(i>1){e.WriteByte(124);}o=(m=(n=EQ[EN.keyFor(f.Type)],n!==undefined?n.v:false)[EP.keyFor((((l=j,l<32?(1<<l):0)<<24>>>24)))],m!==undefined?m.v:\"\");if(!(o===\"\")){$s=9;continue;}$s=10;continue;case 9:e.WriteString(o);$s=11;continue;case 10:q=B.Fprintf(e,\"0x%x\",new WH([new $Int(((p=j,p<32?(1<<p):0)>>0))]));$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 11:j=j+(1)<<24>>>24;$s=5;continue;case 6:case 4:if(!((f.StreamID===0))){$s=13;continue;}$s=14;continue;case 13:r=B.Fprintf(e,\" stream=%d\",new WH([new $Uint32(f.StreamID)]));$s=15;case 15:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 14:s=B.Fprintf(e,\" len=%d\",new WH([new $Uint32(f.Length)]));$s=16;case 16:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return;}return;}if($f===undefined){$f={$blk:EU.ptr.prototype.writeDebug};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};EU.prototype.writeDebug=function(e){return this.$val.writeDebug(e);};EU.ptr.prototype.checkValid=function(){var $ptr,e;e=this;if(!e.valid){$panic(new $String(\"Frame accessor called on non-owned Frame\"));}};EU.prototype.checkValid=function(){return this.$val.checkValid();};EU.ptr.prototype.invalidate=function(){var $ptr,e;e=this;e.valid=false;};EU.prototype.invalidate=function(){return this.$val.invalidate();};EX=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=C.ReadFull(f,$subslice(e,0,9));$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[new EU.ptr(false,0,0,0,0),i];}$s=-1;return[new EU.ptr(true,(((3>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+3])<<24>>>24)),(((4>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+4])<<24>>>24)),((((((((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])>>>0))<<16>>>0)|((((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])>>>0))<<8>>>0))>>>0)|(((2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2])>>>0)))>>>0),($clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(e,5))&2147483647)>>>0),$ifaceNil];}return;}if($f===undefined){$f={$blk:EX};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.ptr.prototype.maxHeaderListSize=function(){var $ptr,e;e=this;if(e.MaxHeaderListSize===0){return 16777216;}return e.MaxHeaderListSize;};EZ.prototype.maxHeaderListSize=function(){return this.$val.maxHeaderListSize();};EZ.ptr.prototype.startWrite=function(e,f,g){var $ptr,e,f,g,h;h=this;h.wbuf=$append($subslice(h.wbuf,0,0),0,0,0,((e<<24>>>24)),((f<<24>>>24)),(((g>>>24>>>0)<<24>>>24)),(((g>>>16>>>0)<<24>>>24)),(((g>>>8>>>0)<<24>>>24)),((g<<24>>>24)));};EZ.prototype.startWrite=function(e,f,g){return this.$val.startWrite(e,f,g);};EZ.ptr.prototype.endWrite=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.wbuf.$length-9>>0;if(f>=16777216){$s=-1;return FB;}$unused($append($subslice(e.wbuf,0,0),(((f>>16>>0)<<24>>>24)),(((f>>8>>0)<<24>>>24)),((f<<24>>>24))));if(e.logWrites){$s=1;continue;}$s=2;continue;case 1:$r=e.logWrite();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:h=e.w.Write(e.wbuf);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if($interfaceIsEqual(j,$ifaceNil)&&!((i===e.wbuf.$length))){j=C.ErrShortWrite;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.endWrite};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.endWrite=function(){return this.$val.endWrite();};EZ.ptr.prototype.logWrite=function(){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(e.debugFramer===YN.nil){e.debugFramerBuf=new H.Buffer.ptr(WP.nil,0,XX.zero(),0);e.debugFramer=FA($ifaceNil,e.debugFramerBuf);e.debugFramer.logReads=false;e.debugFramer.AllowIllegalReads=true;}e.debugFramerBuf.Write(e.wbuf);g=e.debugFramer.ReadFrame();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:$r=e.debugWriteLoggerf(\"http2: Framer %p: failed to decode just-written frame\",new WH([e]));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:j=e;k=GN(h);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=new $String(k);$r=e.debugWriteLoggerf(\"http2: Framer %p: wrote %v\",new WH([j,l]));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.logWrite};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.logWrite=function(){return this.$val.logWrite();};EZ.ptr.prototype.writeByte=function(e){var $ptr,e,f;f=this;f.wbuf=$append(f.wbuf,e);};EZ.prototype.writeByte=function(e){return this.$val.writeByte(e);};EZ.ptr.prototype.writeBytes=function(e){var $ptr,e,f;f=this;f.wbuf=$appendSlice(f.wbuf,e);};EZ.prototype.writeBytes=function(e){return this.$val.writeBytes(e);};EZ.ptr.prototype.writeUint16=function(e){var $ptr,e,f;f=this;f.wbuf=$append(f.wbuf,(((e>>>8<<16>>>16)<<24>>>24)),((e<<24>>>24)));};EZ.prototype.writeUint16=function(e){return this.$val.writeUint16(e);};EZ.ptr.prototype.writeUint32=function(e){var $ptr,e,f;f=this;f.wbuf=$append(f.wbuf,(((e>>>24>>>0)<<24>>>24)),(((e>>>16>>>0)<<24>>>24)),(((e>>>8>>>0)<<24>>>24)),((e<<24>>>24)));};EZ.prototype.writeUint32=function(e){return this.$val.writeUint32(e);};FA=function(e,f){var $ptr,e,f,g;g=new EZ.ptr(f,$ifaceNil,$ifaceNil,0,0,YO.zero(),$throwNilPointerError,WP.nil,0,e,WP.nil,false,false,YP.nil,0,HX,HW,YN.nil,YQ.nil,L.Printf,L.Printf);g.getReadBuf=(function(h){var $ptr,h;if(g.readBuf.$capacity>=((h>>0))){return $subslice(g.readBuf,0,h);}g.readBuf=$makeSlice(WP,h);return g.readBuf;});g.SetMaxReadFrameSize(16777215);return g;};EZ.ptr.prototype.SetMaxReadFrameSize=function(e){var $ptr,e,f;f=this;if(e>16777215){e=16777215;}f.maxReadSize=e;};EZ.prototype.SetMaxReadFrameSize=function(e){return this.$val.SetMaxReadFrameSize(e);};EZ.ptr.prototype.ErrorDetail=function(){var $ptr,e;e=this;return e.errDetail;};EZ.prototype.ErrorDetail=function(){return this.$val.ErrorDetail();};FC=function(e){var $ptr,e,f,g;f=$assertType(e,DY,true);g=f[1];if(g){return false;}return!($interfaceIsEqual(e,$ifaceNil));};EZ.ptr.prototype.ReadFrame=function(){var $ptr,aa,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;e.errDetail=$ifaceNil;if(!($interfaceIsEqual(e.lastFrame,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=e.lastFrame.invalidate();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:g=EX(new WP(e.headerBuf),e.r);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=$clone(f[0],EU);i=f[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[$ifaceNil,i];}if(h.Length>e.maxReadSize){$s=-1;return[$ifaceNil,FB];}j=e.getReadBuf(h.Length);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;m=C.ReadFull(e.r,k);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return[$ifaceNil,n];}p=ET(h.Type)($clone(h,EU),k);$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];i=o[1];if(!($interfaceIsEqual(i,$ifaceNil))){r=$assertType(i,EB,true);s=$clone(r[0],EB);t=r[1];if(t){$s=-1;return[$ifaceNil,e.connError(s.Code,s.Reason)];}$s=-1;return[$ifaceNil,i];}u=e.checkFrameOrder(q);$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[$ifaceNil,v];}if(e.logReads){$s=9;continue;}$s=10;continue;case 9:w=e;x=GN(q);$s=11;case 11:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=new $String(x);$r=e.debugReadLoggerf(\"http2: Framer %p: read %v\",new WH([w,y]));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:if((h.Type===1)&&!(e.ReadMetaHeaders===YP.nil)){$s=13;continue;}$s=14;continue;case 13:z=e.readMetaFrame($assertType(q,YR));$s=15;case 15:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;$s=-1;return[aa[0],aa[1]];case 14:$s=-1;return[q,$ifaceNil];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.ReadFrame};}$f.$ptr=$ptr;$f.aa=aa;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.ReadFrame=function(){return this.$val.ReadFrame();};EZ.ptr.prototype.connError=function(e,f){var $ptr,e,f,g;g=this;g.errDetail=A.New(f);return new DX(((e>>>0)));};EZ.prototype.connError=function(e,f){return this.$val.connError(e,f);};EZ.ptr.prototype.checkFrameOrder=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.lastFrame;f.lastFrame=e;if(f.AllowIllegalReads){$s=-1;return $ifaceNil;}h=e.Header();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=$clone(h,EU);if(!((f.lastHeaderStream===0))){$s=2;continue;}if(i.Type===9){$s=3;continue;}$s=4;continue;case 2:if(!((i.Type===9))){$s=5;continue;}$s=6;continue;case 5:j=new EN(i.Type);k=new $Uint32(i.StreamID);l=g.Header();$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=new EN(l.Type);n=new $Uint32(f.lastHeaderStream);o=B.Sprintf(\"got %s for stream %d; expected CONTINUATION following %s for stream %d\",new WH([j,k,m,n]));$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=f.connError(1,p);$s=9;case 9:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;case 6:if(!((i.StreamID===f.lastHeaderStream))){$s=10;continue;}$s=11;continue;case 10:r=B.Sprintf(\"got CONTINUATION for stream %d; expected stream %d\",new WH([new $Uint32(i.StreamID),new $Uint32(f.lastHeaderStream)]));$s=12;case 12:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=f.connError(1,s);$s=13;case 13:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return t;case 11:$s=4;continue;case 3:u=B.Sprintf(\"unexpected CONTINUATION for stream %d\",new WH([new $Uint32(i.StreamID)]));$s=14;case 14:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=u;w=f.connError(1,v);$s=15;case 15:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;case 4:x=i.Type;if((x===(1))||(x===(9))){if(new EP(i.Flags).Has(4)){f.lastHeaderStream=0;}else{f.lastHeaderStream=i.StreamID;}}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.checkFrameOrder};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.checkFrameOrder=function(e){return this.$val.checkFrameOrder(e);};FD.ptr.prototype.StreamEnded=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(1);};FD.prototype.StreamEnded=function(){return this.$val.StreamEnded();};FD.ptr.prototype.Data=function(){var $ptr,e;e=this;e.http2FrameHeader.checkValid();return e.data;};FD.prototype.Data=function(){return this.$val.Data();};FE=function(e,f){var $ptr,e,f,g,h,i,j,k,l;if(e.StreamID===0){return[$ifaceNil,(g=new EB.ptr(1,\"DATA frame with stream ID 0\"),new g.constructor.elem(g))];}h=new FD.ptr($clone(e,EU),WP.nil);i=0;if(new EP(e.Flags).Has(8)){j=$ifaceNil;k=GH(f);f=k[0];i=k[1];j=k[2];if(!($interfaceIsEqual(j,$ifaceNil))){return[$ifaceNil,j];}}if(((i>>0))>f.$length){return[$ifaceNil,(l=new EB.ptr(1,\"pad size larger than data payload\"),new l.constructor.elem(l))];}h.data=$subslice(f,0,(f.$length-((i>>0))>>0));return[h,$ifaceNil];};FI=function(e){var $ptr,e;return((e&2147483648)>>>0)===0;};FJ=function(e){var $ptr,e;return!((e===0))&&(((e&2147483648)>>>0)===0);};EZ.ptr.prototype.WriteData=function(e,f,g){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;i=h.WriteDataPadded(e,f,g,WP.nil);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteData};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteData=function(e,f,g){return this.$val.WriteData(e,f,g);};EZ.ptr.prototype.WriteDataPadded=function(e,f,g,h){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(!FJ(e)&&!i.AllowIllegalWrites){$s=-1;return FF;}if(h.$length>255){$s=-1;return FH;}j=0;if(f){j=(j|(1))>>>0;}if(!(h===WP.nil)){j=(j|(8))>>>0;}i.startWrite(0,j,e);if(!(h===WP.nil)){i.wbuf=$append(i.wbuf,((h.$length<<24>>>24)));}i.wbuf=$appendSlice(i.wbuf,g);i.wbuf=$appendSlice(i.wbuf,h);k=i.endWrite();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteDataPadded};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteDataPadded=function(e,f,g,h){return this.$val.WriteDataPadded(e,f,g,h);};FL=function(e,f){var $ptr,e,f,g,h,i,j,k;if(new EP(e.Flags).Has(1)&&e.Length>0){return[$ifaceNil,new DX(6)];}if(!((e.StreamID===0))){return[$ifaceNil,new DX(1)];}if(!(((g=f.$length%6,g===g?g:$throwRuntimeError(\"integer divide by zero\"))===0))){return[$ifaceNil,new DX(6)];}h=new FK.ptr($clone(e,EU),f);i=h.Value(4);j=i[0];k=i[1];if(k&&j>2147483647){return[$ifaceNil,new DX(3)];}return[h,$ifaceNil];};FK.ptr.prototype.IsAck=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(1);};FK.prototype.IsAck=function(){return this.$val.IsAck();};FK.ptr.prototype.Value=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n;f=0;g=false;h=this;h.http2FrameHeader.checkValid();i=h.p;while(true){if(!(i.$length>0)){break;}j=(($clone(AA.BigEndian,AA.bigEndian).Uint16($subslice(i,0,2))<<16>>>16));if(j===e){k=$clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(i,2,6));l=true;f=k;g=l;return[f,g];}i=$subslice(i,6);}m=0;n=false;f=m;g=n;return[f,g];};FK.prototype.Value=function(e){return this.$val.Value(e);};FK.ptr.prototype.ForeachSetting=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;f.http2FrameHeader.checkValid();g=f.p;case 1:if(!(g.$length>0)){$s=2;continue;}h=e(new ID.ptr((($clone(AA.BigEndian,AA.bigEndian).Uint16($subslice(g,0,2))<<16>>>16)),$clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(g,2,6))));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}g=$subslice(g,6);$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:FK.ptr.prototype.ForeachSetting};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};FK.prototype.ForeachSetting=function(e){return this.$val.ForeachSetting(e);};EZ.ptr.prototype.WriteSettings=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;f.startWrite(4,0,0);g=e;h=0;while(true){if(!(h<g.$length)){break;}i=$clone(((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]),ID);f.writeUint16(((i.ID<<16>>>16)));f.writeUint32(i.Val);h++;}j=f.endWrite();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteSettings};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteSettings=function(e){return this.$val.WriteSettings(e);};EZ.ptr.prototype.WriteSettingsAck=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;e.startWrite(4,1,0);f=e.endWrite();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteSettingsAck};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteSettingsAck=function(){return this.$val.WriteSettingsAck();};FM.ptr.prototype.IsAck=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(1);};FM.prototype.IsAck=function(){return this.$val.IsAck();};FN=function(e,f){var $ptr,e,f,g;if(!((f.$length===8))){return[$ifaceNil,new DX(6)];}if(!((e.StreamID===0))){return[$ifaceNil,new DX(1)];}g=new FM.ptr($clone(e,EU),YS.zero());$copySlice(new WP(g.Data),f);return[g,$ifaceNil];};EZ.ptr.prototype.WritePing=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=0;if(e){h=1;}g.startWrite(6,h,0);g.writeBytes(new WP(f));i=g.endWrite();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WritePing};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WritePing=function(e,f){return this.$val.WritePing(e,f);};FO.ptr.prototype.DebugData=function(){var $ptr,e;e=this;e.http2FrameHeader.checkValid();return e.debugData;};FO.prototype.DebugData=function(){return this.$val.DebugData();};FP=function(e,f){var $ptr,e,f;if(!((e.StreamID===0))){return[$ifaceNil,new DX(1)];}if(f.$length<8){return[$ifaceNil,new DX(6)];}return[new FO.ptr($clone(e,EU),($clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(f,0,4))&2147483647)>>>0,(($clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(f,4,8))>>>0)),$subslice(f,8)),$ifaceNil];};EZ.ptr.prototype.WriteGoAway=function(e,f,g){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;h.startWrite(7,0,0);h.writeUint32((e&2147483647)>>>0);h.writeUint32(((f>>>0)));h.writeBytes(g);i=h.endWrite();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteGoAway};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteGoAway=function(e,f,g){return this.$val.WriteGoAway(e,f,g);};FQ.ptr.prototype.Payload=function(){var $ptr,e;e=this;e.http2FrameHeader.checkValid();return e.p;};FQ.prototype.Payload=function(){return this.$val.Payload();};FR=function(e,f){var $ptr,e,f;return[new FQ.ptr($clone(e,EU),f),$ifaceNil];};FT=function(e,f){var $ptr,e,f,g,h;if(!((f.$length===4))){return[$ifaceNil,new DX(6)];}g=($clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(f,0,4))&2147483647)>>>0;if(g===0){if(e.StreamID===0){return[$ifaceNil,new DX(1)];}return[$ifaceNil,(h=DZ(e.StreamID,1),new h.constructor.elem(h))];}return[new FS.ptr($clone(e,EU),g),$ifaceNil];};EZ.ptr.prototype.WriteWindowUpdate=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if((f<1||f>2147483647)&&!g.AllowIllegalWrites){$s=-1;return A.New(\"illegal window increment value\");}g.startWrite(8,0,e);g.writeUint32(f);h=g.endWrite();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteWindowUpdate};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteWindowUpdate=function(e,f){return this.$val.WriteWindowUpdate(e,f);};FU.ptr.prototype.HeaderBlockFragment=function(){var $ptr,e;e=this;e.http2FrameHeader.checkValid();return e.headerFragBuf;};FU.prototype.HeaderBlockFragment=function(){return this.$val.HeaderBlockFragment();};FU.ptr.prototype.HeadersEnded=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(4);};FU.prototype.HeadersEnded=function(){return this.$val.HeadersEnded();};FU.ptr.prototype.StreamEnded=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(1);};FU.prototype.StreamEnded=function(){return this.$val.StreamEnded();};FU.ptr.prototype.HasPriority=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(32);};FU.prototype.HasPriority=function(){return this.$val.HasPriority();};FV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;g=$ifaceNil;h=$ifaceNil;i=new FU.ptr($clone(e,EU),new FY.ptr(0,false,0),WP.nil);if(e.StreamID===0){j=$ifaceNil;k=(l=new EB.ptr(1,\"HEADERS frame with stream ID 0\"),new l.constructor.elem(l));g=j;h=k;return[g,h];}m=0;if(new EP(e.Flags).Has(8)){n=GH(f);f=n[0];m=n[1];h=n[2];if(!($interfaceIsEqual(h,$ifaceNil))){return[g,h];}}if(new EP(e.Flags).Has(32)){o=0;p=GI(f);f=p[0];o=p[1];h=p[2];if(!($interfaceIsEqual(h,$ifaceNil))){q=$ifaceNil;r=h;g=q;h=r;return[g,h];}i.Priority.StreamDep=(o&2147483647)>>>0;i.Priority.Exclusive=!((o===i.Priority.StreamDep));s=GH(f);f=s[0];i.Priority.Weight=s[1];h=s[2];if(!($interfaceIsEqual(h,$ifaceNil))){t=$ifaceNil;u=h;g=t;h=u;return[g,h];}}if((f.$length-((m>>0))>>0)<=0){v=$ifaceNil;w=(x=DZ(e.StreamID,1),new x.constructor.elem(x));g=v;h=w;return[g,h];}i.headerFragBuf=$subslice(f,0,(f.$length-((m>>0))>>0));y=i;z=$ifaceNil;g=y;h=z;return[g,h];};EZ.ptr.prototype.WriteHeaders=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(!FJ(e.StreamID)&&!f.AllowIllegalWrites){$s=-1;return FF;}g=0;if(!((e.PadLength===0))){g=(g|(8))>>>0;}if(e.EndStream){g=(g|(1))>>>0;}if(e.EndHeaders){g=(g|(4))>>>0;}if(!$clone(e.Priority,FY).IsZero()){g=(g|(32))>>>0;}f.startWrite(1,g,e.StreamID);if(!((e.PadLength===0))){f.writeByte(e.PadLength);}if(!$clone(e.Priority,FY).IsZero()){h=e.Priority.StreamDep;if(!FI(h)&&!f.AllowIllegalWrites){$s=-1;return FG;}if(e.Priority.Exclusive){h=(h|(2147483648))>>>0;}f.writeUint32(h);f.writeByte(e.Priority.Weight);}f.wbuf=$appendSlice(f.wbuf,e.BlockFragment);f.wbuf=$appendSlice(f.wbuf,$subslice(EM,0,e.PadLength));i=f.endWrite();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteHeaders};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteHeaders=function(e){return this.$val.WriteHeaders(e);};FY.ptr.prototype.IsZero=function(){var $ptr,e;e=this;return $equal(e,new FY.ptr(0,false,0),FY);};FY.prototype.IsZero=function(){return this.$val.IsZero();};FZ=function(e,f){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e.StreamID===0){$s=-1;return[$ifaceNil,(g=new EB.ptr(1,\"PRIORITY frame with stream ID 0\"),new g.constructor.elem(g))];}if(!((f.$length===5))){$s=1;continue;}$s=2;continue;case 1:i=B.Sprintf(\"PRIORITY frame payload size was %d; want 5\",new WH([new $Int(f.$length)]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,(h=new EB.ptr(6,i),new h.constructor.elem(h))];case 2:j=$clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(f,0,4));k=(j&2147483647)>>>0;$s=-1;return[new FX.ptr($clone(e,EU),new FY.ptr(k,!((k===j)),(4>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+4]))),$ifaceNil];}return;}if($f===undefined){$f={$blk:FZ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};EZ.ptr.prototype.WritePriority=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(!FJ(e)&&!g.AllowIllegalWrites){$s=-1;return FF;}if(!FI(f.StreamDep)){$s=-1;return FG;}g.startWrite(2,0,e);h=f.StreamDep;if(f.Exclusive){h=(h|(2147483648))>>>0;}g.writeUint32(h);g.writeByte(f.Weight);i=g.endWrite();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WritePriority};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WritePriority=function(e,f){return this.$val.WritePriority(e,f);};GB=function(e,f){var $ptr,e,f;if(!((f.$length===4))){return[$ifaceNil,new DX(6)];}if(e.StreamID===0){return[$ifaceNil,new DX(1)];}return[new GA.ptr($clone(e,EU),(($clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(f,0,4))>>>0))),$ifaceNil];};EZ.ptr.prototype.WriteRSTStream=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(!FJ(e)&&!g.AllowIllegalWrites){$s=-1;return FF;}g.startWrite(3,0,e);g.writeUint32(((f>>>0)));h=g.endWrite();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteRSTStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteRSTStream=function(e,f){return this.$val.WriteRSTStream(e,f);};GD=function(e,f){var $ptr,e,f,g;if(e.StreamID===0){return[$ifaceNil,(g=new EB.ptr(1,\"CONTINUATION frame with stream ID 0\"),new g.constructor.elem(g))];}return[new GC.ptr($clone(e,EU),f),$ifaceNil];};GC.ptr.prototype.HeaderBlockFragment=function(){var $ptr,e;e=this;e.http2FrameHeader.checkValid();return e.headerFragBuf;};GC.prototype.HeaderBlockFragment=function(){return this.$val.HeaderBlockFragment();};GC.ptr.prototype.HeadersEnded=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(4);};GC.prototype.HeadersEnded=function(){return this.$val.HeadersEnded();};EZ.ptr.prototype.WriteContinuation=function(e,f,g){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;if(!FJ(e)&&!h.AllowIllegalWrites){$s=-1;return FF;}i=0;if(f){i=(i|(4))>>>0;}h.startWrite(9,i,e);h.wbuf=$appendSlice(h.wbuf,g);j=h.endWrite();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteContinuation};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteContinuation=function(e,f,g){return this.$val.WriteContinuation(e,f,g);};GE.ptr.prototype.HeaderBlockFragment=function(){var $ptr,e;e=this;e.http2FrameHeader.checkValid();return e.headerFragBuf;};GE.prototype.HeaderBlockFragment=function(){return this.$val.HeaderBlockFragment();};GE.ptr.prototype.HeadersEnded=function(){var $ptr,e;e=this;return new EP(e.http2FrameHeader.Flags).Has(4);};GE.prototype.HeadersEnded=function(){return this.$val.HeadersEnded();};GF=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r;g=$ifaceNil;h=$ifaceNil;i=new GE.ptr($clone(e,EU),0,WP.nil);if(i.http2FrameHeader.StreamID===0){j=$ifaceNil;k=new DX(1);g=j;h=k;return[g,h];}l=0;if(new EP(e.Flags).Has(8)){m=GH(f);f=m[0];l=m[1];h=m[2];if(!($interfaceIsEqual(h,$ifaceNil))){return[g,h];}}n=GI(f);f=n[0];i.PromiseID=n[1];h=n[2];if(!($interfaceIsEqual(h,$ifaceNil))){return[g,h];}i.PromiseID=(i.PromiseID&2147483647)>>>0;if(((l>>0))>f.$length){o=$ifaceNil;p=new DX(1);g=o;h=p;return[g,h];}i.headerFragBuf=$subslice(f,0,(f.$length-((l>>0))>>0));q=i;r=$ifaceNil;g=q;h=r;return[g,h];};EZ.ptr.prototype.WritePushPromise=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(!FJ(e.StreamID)&&!f.AllowIllegalWrites){$s=-1;return FF;}g=0;if(!((e.PadLength===0))){g=(g|(8))>>>0;}if(e.EndHeaders){g=(g|(4))>>>0;}f.startWrite(5,g,e.StreamID);if(!((e.PadLength===0))){f.writeByte(e.PadLength);}if(!FJ(e.PromiseID)&&!f.AllowIllegalWrites){$s=-1;return FF;}f.writeUint32(e.PromiseID);f.wbuf=$appendSlice(f.wbuf,e.BlockFragment);f.wbuf=$appendSlice(f.wbuf,$subslice(EM,0,e.PadLength));h=f.endWrite();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WritePushPromise};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WritePushPromise=function(e){return this.$val.WritePushPromise(e);};EZ.ptr.prototype.WriteRawFrame=function(e,f,g,h){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;i.startWrite(e,f,g);i.writeBytes(h);j=i.endWrite();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.WriteRawFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.WriteRawFrame=function(e,f,g,h){return this.$val.WriteRawFrame(e,f,g,h);};GH=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n;f=WP.nil;g=0;h=$ifaceNil;if(e.$length===0){i=WP.nil;j=0;k=C.ErrUnexpectedEOF;f=i;g=j;h=k;return[f,g,h];}l=$subslice(e,1);m=(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);n=$ifaceNil;f=l;g=m;h=n;return[f,g,h];};GI=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n;f=WP.nil;g=0;h=$ifaceNil;if(e.$length<4){i=WP.nil;j=0;k=C.ErrUnexpectedEOF;f=i;g=j;h=k;return[f,g,h];}l=$subslice(e,4);m=$clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(e,0,4));n=$ifaceNil;f=l;g=m;h=n;return[f,g,h];};GM.ptr.prototype.PseudoValue=function(e){var $ptr,e,f,g,h,i;f=this;g=f.Fields;h=0;while(true){if(!(h<g.$length)){break;}i=$clone(((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]),AF.HeaderField);if(!$clone(i,AF.HeaderField).IsPseudo()){return\"\";}if($substring(i.Name,1)===e){return i.Value;}h++;}return\"\";};GM.prototype.PseudoValue=function(e){return this.$val.PseudoValue(e);};GM.ptr.prototype.RegularFields=function(){var $ptr,e,f,g,h,i;e=this;f=e.Fields;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=$clone(((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]),AF.HeaderField);if(!$clone(i,AF.HeaderField).IsPseudo()){return $subslice(e.Fields,h);}g++;}return YT.nil;};GM.prototype.RegularFields=function(){return this.$val.RegularFields();};GM.ptr.prototype.PseudoFields=function(){var $ptr,e,f,g,h,i;e=this;f=e.Fields;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=$clone(((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]),AF.HeaderField);if(!$clone(i,AF.HeaderField).IsPseudo()){return $subslice(e.Fields,0,h);}g++;}return e.Fields;};GM.prototype.PseudoFields=function(){return this.$val.PseudoFields();};GM.ptr.prototype.checkPseudos=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r;e=this;f=false;g=false;h=f;i=g;j=e.PseudoFields();k=j;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=$clone(((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]),AF.HeaderField);o=n.Name;if(o===(\":method\")||o===(\":path\")||o===(\":scheme\")||o===(\":authority\")){h=true;}else if(o===(\":status\")){i=true;}else{return new EC((n.Name));}p=$subslice(j,0,m);q=0;while(true){if(!(q<p.$length)){break;}r=$clone(((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]),AF.HeaderField);if(n.Name===r.Name){return new ED((n.Name));}q++;}l++;}if(h&&i){return EG;}return $ifaceNil;};GM.prototype.checkPseudos=function(){return this.$val.checkPseudos();};EZ.ptr.prototype.maxHeaderStringLen=function(){var $ptr,e,f;e=this;f=e.maxHeaderListSize();if(((((f>>0))>>>0))===f){return((f>>0));}return 0;};EZ.prototype.maxHeaderStringLen=function(){return this.$val.maxHeaderStringLen();};EZ.ptr.prototype.readMetaFrame=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=[f];g=[g];h=[h];i=[i];j=[j];k=[k];f[0]=this;if(f[0].AllowIllegalReads){$s=-1;return[YU.nil,A.New(\"illegal use of AllowIllegalReads with ReadMetaHeaders\")];}i[0]=new GM.ptr(e,YT.nil,false);j[0]=f[0].maxHeaderListSize();k[0]=false;h[0]=$ifaceNil;g[0]=f[0].ReadMetaHeaders;g[0].SetEmitEnabled(true);g[0].SetMaxStringLength(f[0].maxHeaderStringLen());g[0].SetEmitFunc((function(f,g,h,i,j,k){return function $b(l){var $ptr,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(HV&&f[0].logReads){$s=1;continue;}$s=2;continue;case 1:$r=f[0].debugReadLoggerf(\"http2: decoded hpack field %+v\",new WH([new l.constructor.elem(l)]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(!AH.ValidHeaderFieldValue(l.Value)){h[0]=new EF((l.Value));}m=O.HasPrefix(l.Name,\":\");if(m){if(k[0]){h[0]=EH;}}else{k[0]=true;if(!II(l.Name)){h[0]=new EE((l.Name));}}if(!($interfaceIsEqual(h[0],$ifaceNil))){g[0].SetEmitEnabled(false);$s=-1;return;}n=$clone(l,AF.HeaderField).Size();if(n>j[0]){g[0].SetEmitEnabled(false);i[0].Truncated=true;$s=-1;return;}j[0]=j[0]-(n)>>>0;i[0].Fields=$append(i[0].Fields,l);$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(f,g,h,i,j,k));$deferred.push([$methodVal(g[0],\"SetEmitFunc\"),[(function(f,g,h,i,j,k){return function(l){var $ptr,l;};})(f,g,h,i,j,k)]]);l=e;case 1:m=l.HeaderBlockFragment();$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;p=g[0].Write(n);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[1];if(!($interfaceIsEqual(q,$ifaceNil))){$s=-1;return[YU.nil,new DX(9)];}r=l.HeadersEnded();$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if(r){$s=5;continue;}$s=6;continue;case 5:$s=2;continue;case 6:t=f[0].ReadFrame();$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[YU.nil,v];}else{l=$assertType(u,YV);}$s=1;continue;case 2:i[0].http2HeadersFrame.headerFragBuf=WP.nil;i[0].http2HeadersFrame.http2FrameHeader.invalidate();w=g[0].Close();if(!($interfaceIsEqual(w,$ifaceNil))){$s=-1;return[YU.nil,new DX(9)];}if(!($interfaceIsEqual(h[0],$ifaceNil))){$s=9;continue;}$s=10;continue;case 9:f[0].errDetail=h[0];if(HV){$s=11;continue;}$s=12;continue;case 11:$r=L.Printf(\"http2: invalid header: %v\",new WH([h[0]]));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$s=-1;return[YU.nil,(x=new DY.ptr(i[0].http2HeadersFrame.http2FrameHeader.StreamID,1,h[0]),new x.constructor.elem(x))];case 10:y=i[0].checkPseudos();if(!($interfaceIsEqual(y,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:f[0].errDetail=y;if(HV){$s=16;continue;}$s=17;continue;case 16:$r=L.Printf(\"http2: invalid pseudo headers: %v\",new WH([y]));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 17:$s=-1;return[YU.nil,(z=new DY.ptr(i[0].http2HeadersFrame.http2FrameHeader.StreamID,1,y),new z.constructor.elem(z))];case 15:$s=-1;return[i[0],$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[YU.nil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.readMetaFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.readMetaFrame=function(e){return this.$val.readMetaFrame(e);};GN=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];f[0]=new H.Buffer.ptr(WP.nil,0,XX.zero(),0);h=e.Header();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=$clone(h,EU).writeDebug(f[0]);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=e;if($assertType(i,YW,true)[1]){$s=3;continue;}if($assertType(i,YX,true)[1]){$s=4;continue;}if($assertType(i,YY,true)[1]){$s=5;continue;}if($assertType(i,YZ,true)[1]){$s=6;continue;}if($assertType(i,ZA,true)[1]){$s=7;continue;}if($assertType(i,ZB,true)[1]){$s=8;continue;}$s=9;continue;case 3:j=i.$val;g[0]=0;p=j.ForeachSetting((function(f,g){return function $b(p){var $ptr,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g[0]=g[0]+(1)>>0;if(g[0]===1){f[0].WriteString(\", settings:\");}q=B.Fprintf(f[0],\" %v=%v,\",new WH([new IE(p.ID),new $Uint32(p.Val)]));$s=1;case 1:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};})(f,g));$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;if(g[0]>0){f[0].Truncate(f[0].Len()-1>>0);}$s=9;continue;case 4:k=i.$val;q=k.Data();if(q.$length>256){q=$subslice(q,0,256);}r=B.Fprintf(f[0],\" data=%q\",new WH([q]));$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;if(k.Data().$length>256){$s=12;continue;}$s=13;continue;case 12:s=B.Fprintf(f[0],\" (%d bytes omitted)\",new WH([new $Int((k.Data().$length-256>>0))]));$s=14;case 14:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;case 13:$s=9;continue;case 5:l=i.$val;if(l.http2FrameHeader.StreamID===0){f[0].WriteString(\" (conn)\");}t=B.Fprintf(f[0],\" incr=%v\",new WH([new $Uint32(l.Increment)]));$s=15;case 15:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;$s=9;continue;case 6:m=i.$val;u=B.Fprintf(f[0],\" ping=%q\",new WH([new WP(m.Data)]));$s=16;case 16:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;$s=9;continue;case 7:n=i.$val;v=B.Fprintf(f[0],\" LastStreamID=%v ErrCode=%v Debug=%q\",new WH([new $Uint32(n.LastStreamID),new DV(n.ErrCode),n.debugData]));$s=17;case 17:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;$s=9;continue;case 8:o=i.$val;w=B.Fprintf(f[0],\" ErrCode=%v\",new WH([new DV(o.ErrCode)]));$s=18;case 18:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;case 9:$s=-1;return f[0].String();}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};GO=function(e){var $ptr,e;return e.ExpectContinueTimeout;};GP=function(e){var $ptr,e,f;f=e;if((f===(5))||(f===(10))||(f===(47))||(f===(53))||(f===(156))||(f===(157))||(f===(49159))||(f===(49161))||(f===(49162))||(f===(49169))||(f===(49170))||(f===(49171))||(f===(49172))){return true;}else{return false;}};GR=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=$ifaceNil;h=$throwNilPointerError;j=Y.WithCancel(Y.Background());$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;g=i[0];h=i[1];k=g;l=$pkg.LocalAddrContextKey;m=e.LocalAddr();$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=Y.WithValue(k,l,n);$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}g=o;p=f.baseConfig();if(!(p===ZC.nil)){$s=4;continue;}$s=5;continue;case 4:q=Y.WithValue(g,$pkg.ServerContextKey,p);$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}g=q;case 5:$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};GS=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$ifaceNil;g=$throwNilPointerError;i=Y.WithCancel(e);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;f=h[0];g=h[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};GT=function(e,f){var $ptr,e,f;return e.WithContext(f);};GV=function(e){var $ptr,e;return e.Context();};KX.ptr.prototype.idleConnTimeout=function(){var $ptr,e;e=this;if(!(e.t1===XR.nil)){return e.t1.IdleConnTimeout;}return new Q.Duration(0,0);};KX.prototype.idleConnTimeout=function(){return this.$val.idleConnTimeout();};GW=function(e){var $ptr,e;e.Uncompressed=true;};GX=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=AC.ContextClientTrace(e.Context());$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===ZD.nil||h.GotConn===$throwNilPointerError){$s=-1;return;}i=new AC.GotConnInfo.ptr(f.tconn,false,false,new Q.Duration(0,0));$r=f.mu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i.Reused=f.nextStreamID>1;i.WasIdle=($keys(f.streams).length===0)&&i.Reused;if(i.WasIdle&&!$clone(f.lastActive,Q.Time).IsZero()){i.IdleTime=$clone(Q.Now(),Q.Time).Sub($clone(f.lastActive,Q.Time));}$r=f.mu.Unlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=h.GotConn($clone(i,AC.GotConnInfo));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};GY=function(e){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(e===ZE.nil)&&!(e.WroteHeaders===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=e.WroteHeaders();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(e){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(e===ZE.nil)&&!(e.Got100Continue===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=e.Got100Continue();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};HA=function(e){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(e===ZE.nil)&&!(e.Wait100Continue===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=e.Wait100Continue();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};HB=function(e,f){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(e===ZE.nil)&&!(e.WroteRequest===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=e.WroteRequest(new AC.WroteRequestInfo.ptr(f));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};HC=function(e){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(e===ZE.nil)&&!(e.GotFirstResponseByte===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=e.GotFirstResponseByte();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};HD=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AC.ContextClientTrace(e.Context());$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=-1;return($pointerOfStructConversion(g,ZE));}return;}if($f===undefined){$f={$blk:HD};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};LA.ptr.prototype.Ping=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.ping(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.Ping};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.Ping=function(e){return this.$val.Ping(e);};HE=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=e.Clone();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:HE};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};KG.ptr.prototype.Push=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=new KM.ptr(\"\",false);if(!(f===ZF.nil)){h.Method=f.Method;h.Header=f.Header;}i=g.push(e,$clone(h,KM));$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.Push};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.Push=function(e,f){return this.$val.Push(e,f);};HF=function(e,f){var $ptr,e,f,g,h;if((g=f.IdleTimeout,(g.$high===0&&g.$low===0))){if(!((h=e.IdleTimeout,(h.$high===0&&h.$low===0)))){f.IdleTimeout=e.IdleTimeout;}else{f.IdleTimeout=e.ReadTimeout;}}return $ifaceNil;};HG=function(e){var $ptr,e;return!($interfaceIsEqual(e,$ifaceNil))&&!($interfaceIsEqual(e,$pkg.ErrAbortHandler));};HH=function(e){var $ptr,e;return e.GetBody;};HI=function(e){var $ptr,e;return $interfaceIsEqual(e,new $pkg.NoBody.constructor.elem($pkg.NoBody));};HL=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!HJ){$s=-1;return new HK(0,0);}f=HN();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return((e=f,new HK(e.$high,e.$low)));}return;}if($f===undefined){$f={$blk:HL};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};HK.prototype.check=function(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!HJ){$s=-1;return;}g=HN();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(!((f=g,h=(new $Uint64(e.$high,e.$low)),(f.$high===h.$high&&f.$low===h.$low)))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"running on the wrong goroutine\"));case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:HK.prototype.check};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(HK).prototype.check=function(){return this.$get().check();};HK.prototype.checkNotOn=function(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!HJ){$s=-1;return;}g=HN();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if((f=g,h=(new $Uint64(e.$high,e.$low)),(f.$high===h.$high&&f.$low===h.$low))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"running on the wrong goroutine\"));case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:HK.prototype.checkNotOn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(HK).prototype.checkNotOn=function(){return this.$get().checkNotOn();};HN=function(){var $ptr,e,f,g,h,i,j,k,l,m,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=HO.Get();$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=$assertType(e,WQ);$deferred.push([$methodVal(HO,\"Put\"),[f]]);g=f.$get();g=$subslice(g,0,AE.Stack(g,false));g=H.TrimPrefix(g,HM);h=H.IndexByte(g,32);if(h<0){$s=2;continue;}$s=3;continue;case 2:i=B.Sprintf(\"No space found in %q\",new WH([g]));$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$panic(new $String(i));case 3:g=$subslice(g,0,h);j=HP(g,10,64);k=j[0];l=j[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=5;continue;}$s=6;continue;case 5:m=B.Sprintf(\"Failed to parse goroutine ID out of %q: %v\",new WH([g,l]));$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$panic(new $String(m));case 6:$s=-1;return k;}return;}}catch(err){$err=err;$s=-1;return new $Uint64(0,0);}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:HN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};HP=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s;$s=0;s:while(true){switch($s){case 0:h=new $Uint64(0,0);i=$ifaceNil;j=new $Uint64(0,0);k=new $Uint64(0,0);l=j;m=k;if(g===0){g=32;}n=e;if(e.$length<1){$s=2;continue;}if(2<=f&&f<=36){$s=3;continue;}if((f===0)){$s=4;continue;}$s=5;continue;case 2:i=E.ErrSyntax;$s=7;continue;$s=6;continue;case 3:$s=6;continue;case 4:if(((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])===48)&&e.$length>1&&(((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])===120)||((1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])===88))){$s=9;continue;}if(((0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])===48)){$s=10;continue;}$s=11;continue;case 9:f=16;e=$subslice(e,2);if(e.$length<1){$s=13;continue;}$s=14;continue;case 13:i=E.ErrSyntax;$s=7;continue;case 14:$s=12;continue;case 10:f=8;$s=12;continue;case 11:f=10;case 12:case 8:$s=6;continue;case 5:i=A.New(\"invalid base \"+E.Itoa(f));$s=7;continue;case 6:case 1:h=new $Uint64(0,0);l=HQ(f);m=(o=$shiftLeft64(new $Uint64(0,1),((g>>>0))),new $Uint64(o.$high-0,o.$low-1));p=0;case 15:if(!(p<e.$length)){$s=16;continue;}q=0;r=((p<0||p>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+p]);if(48<=r&&r<=57){$s=18;continue;}if(97<=r&&r<=122){$s=19;continue;}if(65<=r&&r<=90){$s=20;continue;}$s=21;continue;case 18:q=r-48<<24>>>24;$s=22;continue;case 19:q=(r-97<<24>>>24)+10<<24>>>24;$s=22;continue;case 20:q=(r-65<<24>>>24)+10<<24>>>24;$s=22;continue;case 21:h=new $Uint64(0,0);i=E.ErrSyntax;$s=7;continue;case 22:case 17:if(((q>>0))>=f){$s=23;continue;}$s=24;continue;case 23:h=new $Uint64(0,0);i=E.ErrSyntax;$s=7;continue;case 24:if((h.$high>l.$high||(h.$high===l.$high&&h.$low>=l.$low))){$s=25;continue;}$s=26;continue;case 25:h=new $Uint64(4294967295,4294967295);i=E.ErrRange;$s=7;continue;case 26:h=$mul64(h,((new $Uint64(0,f))));t=(s=(new $Uint64(0,q)),new $Uint64(h.$high+s.$high,h.$low+s.$low));if((t.$high<h.$high||(t.$high===h.$high&&t.$low<h.$low))||(t.$high>m.$high||(t.$high===m.$high&&t.$low>m.$low))){$s=27;continue;}$s=28;continue;case 27:h=new $Uint64(4294967295,4294967295);i=E.ErrRange;$s=7;continue;case 28:h=t;p=p+(1)>>0;$s=15;continue;case 16:u=h;v=$ifaceNil;h=u;i=v;$s=-1;return[h,i];case 7:w=h;x=new E.NumError.ptr(\"ParseUint\",($bytesToString(n)),i);h=w;i=x;$s=-1;return[h,i];$s=-1;return[h,i];}return;}};HQ=function(e){var $ptr,e,f;if(e<2){return new $Uint64(0,0);}return(f=$div64(new $Uint64(4294967295,4294967295),(new $Uint64(0,e)),false),new $Uint64(f.$high+0,f.$low+1));};HT=function(){var $ptr,e,f,g,h,i,j;e=new WN([\"accept\",\"accept-charset\",\"accept-encoding\",\"accept-language\",\"accept-ranges\",\"age\",\"access-control-allow-origin\",\"allow\",\"authorization\",\"cache-control\",\"content-disposition\",\"content-encoding\",\"content-language\",\"content-length\",\"content-location\",\"content-range\",\"content-type\",\"cookie\",\"date\",\"etag\",\"expect\",\"expires\",\"from\",\"host\",\"if-match\",\"if-modified-since\",\"if-none-match\",\"if-unmodified-since\",\"last-modified\",\"link\",\"location\",\"max-forwards\",\"proxy-authenticate\",\"proxy-authorization\",\"range\",\"referer\",\"refresh\",\"retry-after\",\"server\",\"set-cookie\",\"strict-transport-security\",\"trailer\",\"transfer-encoding\",\"user-agent\",\"vary\",\"via\",\"www-authenticate\"]);f=0;while(true){if(!(f<e.$length)){break;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=NX(g);i=h;(HR||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:g};j=g;(HS||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:h};f++;}};HU=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=(g=HR[$String.keyFor(e)],g!==undefined?[g.v,true]:[\"\",false]);h=f[0];i=f[1];if(i){$s=-1;return h;}j=O.ToLower(e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:HU};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};HZ=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=U.Getenv(\"GODEBUG\");$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(O.Contains(f,\"http2debug=1\")){HV=true;}if(O.Contains(f,\"http2debug=2\")){HV=true;HW=true;HX=true;}$s=-1;return;}return;}if($f===undefined){$f={$blk:HZ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};IB.prototype.String=function(){var $ptr,e;e=this.$val;return((e<0||e>=IC.length)?($throwRuntimeError(\"index out of range\"),undefined):IC[e]);};$ptrType(IB).prototype.String=function(){return new IB(this.$get()).String();};ID.ptr.prototype.String=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"[%v = %d]\",new WH([new IE(e.ID),new $Uint32(e.Val)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:ID.ptr.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};ID.prototype.String=function(){return this.$val.String();};ID.ptr.prototype.Valid=function(){var $ptr,e,f;e=this;f=e.ID;if(f===(2)){if(!((e.Val===1))&&!((e.Val===0))){return new DX(1);}}else if(f===(4)){if(e.Val>2147483647){return new DX(3);}}else if(f===(5)){if(e.Val<16384||e.Val>16777215){return new DX(1);}}return $ifaceNil;};ID.prototype.Valid=function(){return this.$val.Valid();};IE.prototype.String=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=(g=IF[IE.keyFor(e)],g!==undefined?[g.v,true]:[\"\",false]);h=f[0];i=f[1];if(i){$s=-1;return h;}j=B.Sprintf(\"UNKNOWN_SETTING_%d\",new WH([new $Uint16(((e<<16>>>16)))]));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:IE.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(IE).prototype.String=function(){return new IE(this.$get()).String();};II=function(e){var $ptr,e,f,g,h,i;if(e.length===0){return false;}f=e;g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=h[0];if(!AH.IsTokenRune(i)){return false;}if(65<=i&&i<=90){return false;}g+=h[1];}return true;};IK=function(){var $ptr,e,f,g;e=100;while(true){if(!(e<=999)){break;}f=TG(e);if(!(f===\"\")){g=e;(IJ||$throwRuntimeError(\"assignment to entry in nil map\"))[$Int.keyFor(g)]={k:g,v:E.Itoa(e)};}e=e+(1)>>0;}};IL=function(e){var $ptr,e,f,g,h,i;f=(g=IJ[$Int.keyFor(e)],g!==undefined?[g.v,true]:[\"\",false]);h=f[0];i=f[1];if(i){return h;}return E.Itoa(e);};IN.prototype.Done=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;$r=$send(e,$clone(new XP.ptr(),XP));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:IN.prototype.Done};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(IN).prototype.Done=function(){return new IN(this.$get()).Done();};IN.prototype.Wait=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=$recv(e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f[0];$s=-1;return;}return;}if($f===undefined){$f={$blk:IN.prototype.Wait};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(IN).prototype.Wait=function(){return new IN(this.$get()).Wait();};$ptrType(IO).prototype.Init=function(){var $ptr,e;e=this;e.$set(new $Chan(XP,0));};IO.prototype.Close=function(){var $ptr,e;e=this.$val;$close(e);};$ptrType(IO).prototype.Close=function(){return new IO(this.$get()).Close();};IO.prototype.Wait=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this.$val;f=$recv(e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f[0];$s=-1;return;}return;}if($f===undefined){$f={$blk:IO.prototype.Wait};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(IO).prototype.Wait=function(){return new IO(this.$get()).Wait();};IQ=function(e){var $ptr,e;return new IP.ptr(e,WW.nil);};IP.ptr.prototype.Available=function(){var $ptr,e;e=this;if(e.bw===WW.nil){return 4096;}return e.bw.Available();};IP.prototype.Available=function(){return this.$val.Available();};IP.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(h.bw===WW.nil){$s=1;continue;}$s=2;continue;case 1:i=IR.Get();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,WW);j.Reset(h.w);h.bw=j;case 2:l=h.bw.Write(e);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:IP.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};IP.prototype.Write=function(e){return this.$val.Write(e);};IP.ptr.prototype.Flush=function(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.bw;if(f===WW.nil){$s=-1;return $ifaceNil;}g=f.Flush();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;f.Reset($ifaceNil);IR.Put(f);e.bw=WW.nil;$s=-1;return h;}return;}if($f===undefined){$f={$blk:IP.ptr.prototype.Flush};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};IP.prototype.Flush=function(){return this.$val.Flush();};IS=function(e){var $ptr,e;if(e<0||e>2147483647){$panic(new $String(\"out of range\"));}return((e>>>0));};IT=function(e){var $ptr,e;if(e>=100&&e<=199){return false;}else if((e===204)){return false;}else if((e===304)){return false;}return true;};IU.ptr.prototype.Error=function(){var $ptr,e;e=this;return e.msg;};IU.prototype.Error=function(){return this.$val.Error();};IU.ptr.prototype.Timeout=function(){var $ptr,e;e=this;return e.timeout;};IU.prototype.Timeout=function(){return this.$val.Timeout();};IU.ptr.prototype.Temporary=function(){var $ptr,e;e=this;return true;};IU.prototype.Temporary=function(){return this.$val.Temporary();};IY.ptr.prototype.Len=function(){var $ptr,e;e=this;return e.v.$length;};IY.prototype.Len=function(){return this.$val.Len();};IY.ptr.prototype.Swap=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m;g=this;h=(i=g.v,((f<0||f>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+f]));j=(k=g.v,((e<0||e>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+e]));(l=g.v,((e<0||e>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+e]=h));(m=g.v,((f<0||f>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+f]=j));};IY.prototype.Swap=function(e,f){return this.$val.Swap(e,f);};IY.ptr.prototype.Less=function(e,f){var $ptr,e,f,g,h,i;g=this;return(h=g.v,((e<0||e>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+e]))<(i=g.v,((f<0||f>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+f]));};IY.prototype.Less=function(e,f){return this.$val.Less(e,f);};IY.ptr.prototype.Keys=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=$subslice(f.v,0,0);h=e;i=0;j=$keys(h);while(true){if(!(i<j.length)){break;}k=h[j[i]];if(k===undefined){i++;continue;}l=k.k;g=$append(g,l);i++;}f.v=g;$r=N.Sort(f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:IY.ptr.prototype.Keys};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};IY.prototype.Keys=function(e){return this.$val.Keys(e);};IY.ptr.prototype.SortStrings=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.v;f.v=e;$r=N.Sort(f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f.v=g;$s=-1;return;}return;}if($f===undefined){$f={$blk:IY.ptr.prototype.SortStrings};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};IY.prototype.SortStrings=function(e){return this.$val.SortStrings(e);};IZ=function(e){var $ptr,e;return(e.length>0&&(e.charCodeAt(0)===47)&&((e.length===1)||!((e.charCodeAt(1)===47))))||e===\"*\";};JA.ptr.prototype.Len=function(){var $ptr,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);f=e.b.Len();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}}catch(err){$err=err;$s=-1;return 0;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JA.ptr.prototype.Len};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JA.prototype.Len=function(){return this.$val.Len();};JA.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=0;g=$ifaceNil;h=this;$r=h.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(h.mu,\"Unlock\"),[]]);if($interfaceIsEqual(h.c.L,$ifaceNil)){h.c.L=h.mu;}case 2:if(!($interfaceIsEqual(h.breakErr,$ifaceNil))){i=0;j=h.breakErr;f=i;g=j;$s=-1;return[f,g];}k=h.b.Len();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(k>0){$s=4;continue;}$s=5;continue;case 4:m=h.b.Read(e);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;f=l[0];g=l[1];$s=-1;return[f,g];case 5:if(!($interfaceIsEqual(h.err,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:if(!(h.readFn===$throwNilPointerError)){$s=10;continue;}$s=11;continue;case 10:$r=h.readFn();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h.readFn=$throwNilPointerError;case 11:n=0;o=h.err;f=n;g=o;$s=-1;return[f,g];case 9:$r=h.c.Wait();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=2;continue;case 3:$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:JA.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JA.prototype.Read=function(e){return this.$val.Read(e);};JA.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=0;g=$ifaceNil;h=this;$r=h.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(h.mu,\"Unlock\"),[]]);if($interfaceIsEqual(h.c.L,$ifaceNil)){h.c.L=h.mu;}$deferred.push([$methodVal(h.c,\"Signal\"),[]]);if(!($interfaceIsEqual(h.err,$ifaceNil))){i=0;j=JC;f=i;g=j;$s=-1;return[f,g];}l=h.b.Write(e);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:JA.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JA.prototype.Write=function(e){return this.$val.Write(e);};JA.ptr.prototype.CloseWithError=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.closeWithError((f.$ptr_err||(f.$ptr_err=new ZG(function(){return this.$target.err;},function($v){this.$target.err=$v;},f))),e,$throwNilPointerError);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JA.ptr.prototype.CloseWithError};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JA.prototype.CloseWithError=function(e){return this.$val.CloseWithError(e);};JA.ptr.prototype.BreakWithError=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.closeWithError((f.$ptr_breakErr||(f.$ptr_breakErr=new ZG(function(){return this.$target.breakErr;},function($v){this.$target.breakErr=$v;},f))),e,$throwNilPointerError);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JA.ptr.prototype.BreakWithError};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JA.prototype.BreakWithError=function(e){return this.$val.BreakWithError(e);};JA.ptr.prototype.closeWithErrorAndCode=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.closeWithError((g.$ptr_err||(g.$ptr_err=new ZG(function(){return this.$target.err;},function($v){this.$target.err=$v;},g))),e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JA.ptr.prototype.closeWithErrorAndCode};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JA.prototype.closeWithErrorAndCode=function(e,f){return this.$val.closeWithErrorAndCode(e,f);};JA.ptr.prototype.closeWithError=function(e,f,g){var $ptr,e,f,g,h,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);h=this;if($interfaceIsEqual(f,$ifaceNil)){$panic(new $String(\"err must be non-nil\"));}$r=h.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(h.mu,\"Unlock\"),[]]);if($interfaceIsEqual(h.c.L,$ifaceNil)){h.c.L=h.mu;}$deferred.push([$methodVal(h.c,\"Signal\"),[]]);if(!($interfaceIsEqual(e.$get(),$ifaceNil))){$s=-1;return;}h.readFn=g;e.$set(f);h.closeDoneLocked();$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JA.ptr.prototype.closeWithError};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JA.prototype.closeWithError=function(e,f,g){return this.$val.closeWithError(e,f,g);};JA.ptr.prototype.closeDoneLocked=function(){var $ptr,e,f,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$r=$f.$r;}e=this;if(e.donec===$chanNil){return;}f=$select([[e.donec],[]]);if(f[0]===0){}else if(f[0]===1){$close(e.donec);}if($f===undefined){$f={$blk:JA.ptr.prototype.closeDoneLocked};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$r=$r;return $f;};JA.prototype.closeDoneLocked=function(){return this.$val.closeDoneLocked();};JA.ptr.prototype.Err=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);if(!($interfaceIsEqual(e.breakErr,$ifaceNil))){$s=-1;return e.breakErr;}$s=-1;return e.err;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JA.ptr.prototype.Err};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JA.prototype.Err=function(){return this.$val.Err();};JA.ptr.prototype.Done=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);if(e.donec===$chanNil){e.donec=new $Chan(XP,0);if(!($interfaceIsEqual(e.err,$ifaceNil))||!($interfaceIsEqual(e.breakErr,$ifaceNil))){e.closeDoneLocked();}}$s=-1;return e.donec;}return;}}catch(err){$err=err;$s=-1;return $chanNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JA.ptr.prototype.Done};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JA.prototype.Done=function(){return this.$val.Done();};JM.ptr.prototype.maxReadFrameSize=function(){var $ptr,e,f;e=this;f=e.MaxReadFrameSize;if(f>=16384&&f<=16777215){return f;}return 1048576;};JM.prototype.maxReadFrameSize=function(){return this.$val.maxReadFrameSize();};JM.ptr.prototype.maxConcurrentStreams=function(){var $ptr,e,f;e=this;f=e.MaxConcurrentStreams;if(f>0){return f;}return 250;};JM.prototype.maxConcurrentStreams=function(){return this.$val.maxConcurrentStreams();};JN=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];if(e===ZC.nil){$panic(new $String(\"nil *http.Server\"));}if(f[0]===ZH.nil){f[0]=new JM.ptr(0,0,0,false,new Q.Duration(0,0),$throwNilPointerError);}g=HF(e,f[0]);if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}if(e.TLSConfig===XD.nil){$s=1;continue;}if(!(e.TLSConfig.CipherSuites===YI.nil)){$s=2;continue;}$s=3;continue;case 1:e.TLSConfig=new J.Config.ptr($ifaceNil,$throwNilPointerError,YG.nil,false,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,YH.nil,WN.nil,\"\",0,YH.nil,false,YI.nil,false,false,YJ.zero(),$ifaceNil,0,0,YK.nil,false,0,$ifaceNil,new P.Once.ptr(new P.Mutex.ptr(0,0),0),new P.RWMutex.ptr(new P.Mutex.ptr(0,0),0,0,0,0),YL.nil,XD.nil);$s=3;continue;case 2:h=false;i=false;j=e.TLSConfig.CipherSuites;k=0;case 4:if(!(k<j.$length)){$s=5;continue;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(m===49199){h=true;}if(GP(m)){$s=6;continue;}if(i){$s=7;continue;}$s=8;continue;case 6:i=true;$s=8;continue;case 7:n=B.Errorf(\"http2: TLSConfig.CipherSuites index %d contains an HTTP/2-approved cipher suite (%#04x), but it comes after unapproved cipher suites. With this configuration, clients that don't support previous, approved cipher suites may be given an unapproved one and reject the connection.\",new WH([new $Int(l),new $Uint16(m)]));$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;case 8:k++;$s=4;continue;case 5:if(!h){$s=10;continue;}$s=11;continue;case 10:o=B.Errorf(\"http2: TLSConfig.CipherSuites is missing HTTP/2-required TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\",new WH([]));$s=12;case 12:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return o;case 11:case 3:e.TLSConfig.PreferServerCipherSuites=true;p=false;q=e.TLSConfig.NextProtos;r=0;while(true){if(!(r<q.$length)){break;}s=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);if(s===\"h2\"){p=true;break;}r++;}if(!p){e.TLSConfig.NextProtos=$append(e.TLSConfig.NextProtos,\"h2\");}if(e.TLSNextProto===false){e.TLSNextProto=$makeMap($String.keyFor,[]);}t=(function(f){return function $b(t,u,v){var $ptr,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(JI===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=JI();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=f[0].ServeConn(u,new JO.ptr(t,v));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};})(f);u=\"h2\";(e.TLSNextProto||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(u)]={k:u,v:t};$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};JO.ptr.prototype.baseConfig=function(){var $ptr,e;e=this;if(!(e===ZI.nil)&&!(e.BaseConfig===ZC.nil)){return e.BaseConfig;}return new RZ.ptr(\"\",$ifaceNil,XD.nil,new Q.Duration(0,0),new Q.Duration(0,0),new Q.Duration(0,0),new Q.Duration(0,0),0,false,$throwNilPointerError,ZJ.nil,0,0,new P.Once.ptr(new P.Mutex.ptr(0,0),0),$ifaceNil,new P.Mutex.ptr(0,0),false,false,$chanNil);};JO.prototype.baseConfig=function(){return this.$val.baseConfig();};JO.ptr.prototype.handler=function(){var $ptr,e;e=this;if(!(e===ZI.nil)){if(!($interfaceIsEqual(e.Handler,$ifaceNil))){return e.Handler;}if(!(e.BaseConfig===ZC.nil)&&!($interfaceIsEqual(e.BaseConfig.Handler,$ifaceNil))){return e.BaseConfig.Handler;}}return $pkg.DefaultServeMux;};JO.prototype.handler=function(){return this.$val.handler();};JM.ptr.prototype.ServeConn=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;i=GR(e,f);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];$deferred.push([k,[]]);l=e.RemoteAddr();$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l.String();$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=HL();$s=4;case 4:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=new JP.ptr(g,f.baseConfig(),e,IQ(e),f.handler(),j,YN.nil,new $Chan(XP,0),new $Chan(JT,0),new $Chan(NC,8),new $Chan(KN,8),new $Chan(JU,1),new $Chan(KE,0),$chanNil,new EL.ptr(0,YM.nil),new EL.ptr(0,YM.nil),XK.nil,m,$ifaceNil,n,true,false,false,0,4294967295,g.maxConcurrentStreams(),0,0,0,0,{},65535,16384,4096,0,false,false,false,false,false,false,false,0,$chanNil,ZL.nil,ZL.nil,$chanNil,new H.Buffer.ptr(WP.nil,0,XX.zero(),0),ZM.nil);if(!((p=o.hs.WriteTimeout,(p.$high===0&&p.$low===0)))){$s=5;continue;}$s=6;continue;case 5:q=o.conn.SetWriteDeadline(new Q.Time.ptr(new $Int64(0,0),0,WL.nil));$s=7;case 7:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 6:if(!(g.NewWriteScheduler===$throwNilPointerError)){$s=8;continue;}$s=9;continue;case 8:r=g.NewWriteScheduler();$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}o.writeSched=r;$s=10;continue;case 9:o.writeSched=NL();case 10:o.flow.add(65535);o.inflow.add(65535);o.hpackEncoder=AF.NewEncoder(o.headerWriteBuf);s=FA(o.bw,e);s.ReadMetaHeaders=AF.NewDecoder(4096,$throwNilPointerError);s.MaxHeaderListSize=o.maxHeaderListSize();s.SetMaxReadFrameSize(g.maxReadFrameSize());o.framer=s;t=$assertType(e,IW,true);u=t[0];v=t[1];if(v){$s=12;continue;}$s=13;continue;case 12:o.tlsState=new J.ConnectionState.ptr(0,false,false,0,\"\",false,\"\",ZO.nil,ZP.nil,WZ.nil,WP.nil,WP.nil);w=u.ConnectionState();$s=14;case 14:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}J.ConnectionState.copy(o.tlsState,w);if(o.tlsState.Version<771){$s=15;continue;}$s=16;continue;case 15:$r=o.rejectConn(12,\"TLS version too low\");$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 16:if(o.tlsState.ServerName===\"\"){}if(!g.PermitProhibitedCipherSuites&&GP(o.tlsState.CipherSuite)){$s=18;continue;}$s=19;continue;case 18:x=B.Sprintf(\"Prohibited TLS 1.2 Cipher Suite: %x\",new WH([new $Uint16(o.tlsState.CipherSuite)]));$s=20;case 20:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;$r=o.rejectConn(12,y);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 19:case 13:z=JJ;if(!(z===$throwNilPointerError)){$s=22;continue;}$s=23;continue;case 22:$r=z(o);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 23:$r=o.serve();$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JM.ptr.prototype.ServeConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JM.prototype.ServeConn=function(e,f){return this.$val.ServeConn(e,f);};JP.ptr.prototype.rejectConn=function(e,f){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.vlogf(\"http2: server rejecting conn: %v, %s\",new WH([new DV(e),new $String(f)]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=g.framer.WriteGoAway(0,e,(new WP($stringToBytes(f))));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=g.bw.Flush();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=g.conn.Close();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.rejectConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.rejectConn=function(e,f){return this.$val.rejectConn(e,f);};JP.ptr.prototype.maxHeaderListSize=function(){var $ptr,e,f;e=this;f=e.hs.MaxHeaderBytes;if(f<=0){f=1048576;}return(((f+320>>0)>>>0));};JP.prototype.maxHeaderListSize=function(){return this.$val.maxHeaderListSize();};JP.ptr.prototype.curOpenStreams=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e.curClientStreams+e.curPushedStreams>>>0;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.curOpenStreams};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.curOpenStreams=function(){return this.$val.curOpenStreams();};JP.ptr.prototype.Framer=function(){var $ptr,e;e=this;return e.framer;};JP.prototype.Framer=function(){return this.$val.Framer();};JP.ptr.prototype.CloseConn=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.conn.Close();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.CloseConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.CloseConn=function(){return this.$val.CloseConn();};JP.ptr.prototype.Flush=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.bw.Flush();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.Flush};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.Flush=function(){return this.$val.Flush();};JP.ptr.prototype.HeaderEncoder=function(){var $ptr,e;e=this;return[e.hpackEncoder,e.headerWriteBuf];};JP.prototype.HeaderEncoder=function(){return this.$val.HeaderEncoder();};JP.ptr.prototype.state=function(e){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=(h=f.streams[$Uint32.keyFor(e)],h!==undefined?[h.v,true]:[WS.nil,false]);i=g[0];j=g[1];if(j){$s=-1;return[i.state,i];}if((k=e%2,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===1){if(e<=f.maxClientStreamID){$s=-1;return[4,WS.nil];}}else{if(e<=f.maxPushPromiseID){$s=-1;return[4,WS.nil];}}$s=-1;return[0,WS.nil];}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.state};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.state=function(e){return this.$val.state(e);};JP.ptr.prototype.setConnState=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(!(f.hs.ConnState===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=f.hs.ConnState(f.conn,e);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.setConnState};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.setConnState=function(e){return this.$val.setConnState(e);};JP.ptr.prototype.vlogf=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(HV){$s=1;continue;}$s=2;continue;case 1:$r=g.logf(e,f);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.vlogf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.vlogf=function(e,f){return this.$val.vlogf(e,f);};JP.ptr.prototype.logf=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.hs.ErrorLog;if(!(h===ZJ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=h.Printf(e,f);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=L.Printf(e,f);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.logf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.logf=function(e,f){return this.$val.logf(e,f);};JR=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=AD.ValueOf(e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($clone(g,AD.Value).Kind()===12){$s=-1;return(($clone(g,AD.Value).Uint().$low>>>0));}$s=-1;return 0;}return;}if($f===undefined){$f={$blk:JR};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JS=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(e,$ifaceNil)){$s=-1;return false;}f=e.Error();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(O.Contains(g,\"use of closed network connection\")){$s=-1;return true;}if(false){$s=2;continue;}$s=3;continue;case 2:h=$assertType(e,ZQ,true);i=h[0];j=h[1];if(j&&i.Op===\"read\"){$s=4;continue;}$s=5;continue;case 4:k=$assertType(i.Err,ZR,true);l=k[0];m=k[1];if(m&&l.Syscall===\"wsarecv\"){$s=6;continue;}$s=7;continue;case 6:n=JR(l.Err);$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;if((o===10054)||(o===10053)){$s=-1;return true;}case 7:case 5:case 3:$s=-1;return false;}return;}if($f===undefined){$f={$blk:JS};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};JP.ptr.prototype.condlogf=function(e,f,g){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;if($interfaceIsEqual(e,$ifaceNil)){$s=-1;return;}if($interfaceIsEqual(e,C.EOF)||$interfaceIsEqual(e,C.ErrUnexpectedEOF)){i=true;$s=4;continue s;}j=JS(e);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 4:if(i){$s=1;continue;}$s=2;continue;case 1:$r=h.vlogf(f,g);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=h.logf(f,g);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.condlogf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.condlogf=function(e,f,g){return this.$val.condlogf(e,f,g);};JP.ptr.prototype.canonicalHeader=function(e){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=(h=HS[$String.keyFor(e)],h!==undefined?[h.v,true]:[\"\",false]);i=g[0];j=g[1];if(j){$s=-1;return i;}k=(l=f.canonHeader[$String.keyFor(e)],l!==undefined?[l.v,true]:[\"\",false]);i=k[0];j=k[1];if(j){$s=-1;return i;}if(f.canonHeader===false){f.canonHeader={};}i=NX(e);m=e;(f.canonHeader||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:i};$s=-1;return i;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.canonicalHeader};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.canonicalHeader=function(e){return this.$val.canonicalHeader(e);};JP.ptr.prototype.readFrames=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=new $Chan(XP,0);g=$methodVal(new IN(f),\"Done\");case 1:i=e.framer.ReadFrame();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];m=$select([[e.readFrameCh,new JT.ptr(j,k,g)],[e.doneServing]]);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;if(l[0]===0){}else if(l[0]===1){$s=-1;return;}o=$select([[f],[e.doneServing]]);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;if(n[0]===0){}else if(n[0]===1){$s=-1;return;}if(FC(k)){$s=-1;return;}$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.readFrames};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.readFrames=function(){return this.$val.readFrames();};JP.ptr.prototype.writeFrameAsync=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.write.writeFrame(f);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$r=$send(f.wroteFrameCh,$clone(new JU.ptr($clone(e,NC),h),JU));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.writeFrameAsync};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.writeFrameAsync=function(e){return this.$val.writeFrameAsync(e);};JP.ptr.prototype.closeAllStreamsOnConnClose=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.streams;g=0;h=$keys(f);case 2:if(!(g<h.length)){$s=3;continue;}i=f[h[g]];if(i===undefined){g++;$s=2;continue;}j=i.v;$r=e.closeStream(j,JD);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g++;$s=2;continue;case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.closeAllStreamsOnConnClose};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.closeAllStreamsOnConnClose=function(){return this.$val.closeAllStreamsOnConnClose();};JP.ptr.prototype.stopShutdownTimer=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.shutdownTimer;if(!(f===ZL.nil)){f.Stop();}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.stopShutdownTimer};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.stopShutdownTimer=function(){return this.$val.stopShutdownTimer();};JP.ptr.prototype.notePanic=function(){var $ptr,e,f,g,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;if(!(JK===WG.nil)){$s=1;continue;}$s=2;continue;case 1:$r=JK.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(JK,\"Unlock\"),[]]);case 2:if(!(JL===$throwNilPointerError)){$s=4;continue;}$s=5;continue;case 4:f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:g=JL(e,f);$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=8;continue;}$s=9;continue;case 8:$panic(f);case 9:case 7:case 5:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JP.ptr.prototype.notePanic};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JP.prototype.notePanic=function(){return this.$val.notePanic();};JP.ptr.prototype.serve=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e,\"notePanic\"),[]]);$deferred.push([$methodVal(e.conn,\"Close\"),[]]);$deferred.push([$methodVal(e,\"closeAllStreamsOnConnClose\"),[]]);$deferred.push([$methodVal(e,\"stopShutdownTimer\"),[]]);$deferred.push([function(f){$close(f);},[e.doneServing]]);if(HV){$s=2;continue;}$s=3;continue;case 2:g=e.conn.RemoteAddr();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=e.hs;$r=e.vlogf(\"http2: server connection from %v on %p\",new WH([h,i]));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=e.writeFrame(new NC.ptr(new MN([new ID.ptr(5,e.srv.maxReadFrameSize()),new ID.ptr(3,e.advMaxStreams),new ID.ptr(6,e.maxHeaderListSize())]),WS.nil,$chanNil));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.unackedSettings=e.unackedSettings+(1)>>0;j=e.readPreface();$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:l=k;m=e.conn.RemoteAddr();$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=k;$r=e.condlogf(l,\"http2: server: error reading preface from client %v: %v\",new WH([n,o]));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 9:$r=e.setConnState(1);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.setConnState(2);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((p=e.srv.IdleTimeout,(p.$high===0&&p.$low===0)))){e.idleTimer=Q.NewTimer(e.srv.IdleTimeout);$deferred.push([$methodVal(e.idleTimer,\"Stop\"),[]]);e.idleTimerCh=e.idleTimer.C;}q=$chanNil;if(!(e.hs===ZC.nil)){$s=14;continue;}$s=15;continue;case 14:r=KU(e.hs);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!(s===$chanNil)){q=new $Chan(XP,0);$go($methodVal(e,\"awaitGracefulShutdown\"),[s,q]);}case 15:$go($methodVal(e,\"readFrames\"),[]);t=Q.NewTimer(new Q.Duration(0,2000000000));u=0;case 17:u=u+(1)>>0;w=$select([[e.wantWriteFrameCh],[e.wantStartPushCh],[e.wroteFrameCh],[e.readFrameCh],[e.bodyReadCh],[t.C],[q],[e.shutdownTimerCh],[e.idleTimerCh],[e.testHookCh]]);$s=19;case 19:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;if(v[0]===0){$s=20;continue;}if(v[0]===1){$s=21;continue;}if(v[0]===2){$s=22;continue;}if(v[0]===3){$s=23;continue;}if(v[0]===4){$s=24;continue;}if(v[0]===5){$s=25;continue;}if(v[0]===6){$s=26;continue;}if(v[0]===7){$s=27;continue;}if(v[0]===8){$s=28;continue;}if(v[0]===9){$s=29;continue;}$s=30;continue;case 20:x=$clone(v[1][0],NC);$r=e.writeFrame($clone(x,NC));$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=30;continue;case 21:y=$clone(v[1][0],KN);$r=e.startPush($clone(y,KN));$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=30;continue;case 22:z=$clone(v[1][0],JU);$r=e.wroteFrame($clone(z,JU));$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=30;continue;case 23:aa=$clone(v[1][0],JT);ab=e.processFrameFromReader($clone(aa,JT));$s=36;case 36:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(!ab){$s=34;continue;}$s=35;continue;case 34:$s=-1;return;case 35:$r=aa.readMore();$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(t.C===$chanNil)){t.Stop();t.C=$chanNil;}$s=30;continue;case 24:ac=$clone(v[1][0],KE);$r=e.noteBodyRead(ac.st,ac.n);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=30;continue;case 25:ad=e.conn.RemoteAddr();$s=39;case 39:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;$r=e.logf(\"timeout waiting for SETTINGS frames from %v\",new WH([ae]));$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 26:q=$chanNil;$r=e.startGracefulShutdown();$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=30;continue;case 27:af=e.conn.RemoteAddr();$s=42;case 42:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;$r=e.vlogf(\"GOAWAY close timer fired; closing conn from %v\",new WH([ag]));$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 28:$r=e.vlogf(\"connection is idle\",new WH([]));$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.goAway(0);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=30;continue;case 29:ah=v[1][0];$r=ah(u);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:if(!(e.inGoAway)){ai=false;$s=49;continue s;}aj=e.curOpenStreams();$s=50;case 50:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj===0;case 49:if(ai&&!e.needToSendGoAway&&!e.writingFrame){$s=47;continue;}$s=48;continue;case 47:$s=-1;return;case 48:$s=17;continue;case 18:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JP.ptr.prototype.serve};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JP.prototype.serve=function(){return this.$val.serve();};JP.ptr.prototype.awaitGracefulShutdown=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;i=$select([[g.doneServing],[e]]);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;if(h[0]===0){}else if(h[0]===1){$close(f);}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.awaitGracefulShutdown};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.awaitGracefulShutdown=function(e,f){return this.$val.awaitGracefulShutdown(e,f);};JP.ptr.prototype.readPreface=function(){var $ptr,e,f,g,h,i,j,k,l,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=[e];f=[f];f[0]=this;e[0]=new $Chan($error,1);$go((function(e,f){return function $b(){var $ptr,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=$makeSlice(WP,24);i=C.ReadFull(f[0].conn,g);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[1];if(!($interfaceIsEqual(j,$ifaceNil))){$s=2;continue;}if(!H.Equal(g,IA)){$s=3;continue;}$s=4;continue;case 2:$r=$send(e[0],j);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:k=B.Errorf(\"bogus greeting %q\",new WH([g]));$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=$send(e[0],k);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:$r=$send(e[0],$ifaceNil);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};})(e,f),[]);g=Q.NewTimer(new Q.Duration(2,1410065408));$deferred.push([$methodVal(g,\"Stop\"),[]]);i=$select([[g.C],[e[0]]]);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;if(h[0]===0){$s=2;continue;}if(h[0]===1){$s=3;continue;}$s=4;continue;case 2:$s=-1;return A.New(\"timeout waiting for client preface\");case 3:j=h[1][0];if($interfaceIsEqual(j,$ifaceNil)){$s=5;continue;}$s=6;continue;case 5:if(HV){$s=7;continue;}$s=8;continue;case 7:k=f[0].conn.RemoteAddr();$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$r=f[0].vlogf(\"http2: server: client %v said hello\",new WH([l]));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 6:$s=-1;return j;case 4:$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JP.ptr.prototype.readPreface};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JP.prototype.readPreface=function(){return this.$val.readPreface();};JP.ptr.prototype.writeDataFromHandler=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;i=JV.Get();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$assertType(i,WX);k=JW.Get();$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=$assertType(k,ZS);MP.copy(l,new MP.ptr(e.id,f,g));m=h.writeFrameFromHandler(new NC.ptr(l,e,j));$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}o=false;q=$select([[j],[h.doneServing],[e.cw]]);$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;if(p[0]===0){n=p[1][0];o=true;}else if(p[0]===1){$s=-1;return JD;}else if(p[0]===2){r=$select([[j],[]]);if(r[0]===0){n=r[1][0];o=true;}else if(r[0]===1){$s=-1;return JG;}}JV.Put(new WX(j));if(o){JW.Put(l);}$s=-1;return n;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.writeDataFromHandler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.writeDataFromHandler=function(e,f,g){return this.$val.writeDataFromHandler(e,f,g);};JP.ptr.prototype.writeFrameFromHandler=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.checkNotOn();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=$select([[f.wantWriteFrameCh,$clone(e,NC)],[f.doneServing]]);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;if(g[0]===0){$s=-1;return $ifaceNil;}else if(g[0]===1){$s=-1;return JD;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.writeFrameFromHandler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.writeFrameFromHandler=function(e){return this.$val.writeFrameFromHandler(e);};JP.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=false;if(!(($clone(e,NC).StreamID()===0))){$s=2;continue;}$s=3;continue;case 2:h=$assertType(e.write,DY,true);i=h[1];k=f.state($clone(e,NC).StreamID());$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];if((l===4)&&!i){g=true;}case 3:m=e.write;if($assertType(m,ZT,true)[1]){e.stream.wroteHeaders=true;}else if($assertType(m,MX,true)[1]){if(e.stream.wroteHeaders){if(!(e.done===$chanNil)){$panic(new $String(\"wr.done != nil for write100ContinueHeadersFrame\"));}g=true;}}if(!g){$s=5;continue;}$s=6;continue;case 5:$r=f.writeSched.Push($clone(e,NC));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$r=f.scheduleFrameWrite();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};JP.ptr.prototype.startFrameWrite=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f.writingFrame){$panic(new $String(\"internal error: can only be writing one frame at a time\"));}g=e.stream;if(!(g===WS.nil)){$s=2;continue;}$s=3;continue;case 2:h=g.state;if(h===(2)){$s=5;continue;}if(h===(4)){$s=6;continue;}$s=7;continue;case 5:i=e.write;if($assertType(i,DY,true)[1]||$assertType(i,MQ,true)[1]||$assertType(i,MY,true)[1]){$s=8;continue;}$s=9;continue;case 8:$s=10;continue;case 9:j=B.Sprintf(\"internal error: attempt to send frame on a half-closed-local stream: %v\",new WH([new e.constructor.elem(e)]));$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$panic(new $String(j));case 10:$s=7;continue;case 6:k=B.Sprintf(\"internal error: attempt to send frame on a closed stream: %v\",new WH([new e.constructor.elem(e)]));$s=12;case 12:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$panic(new $String(k));case 7:case 4:case 3:l=$assertType(e.write,ZU,true);m=l[0];n=l[1];if(n){$s=13;continue;}$s=14;continue;case 13:o=$ifaceNil;q=m.allocatePromisedID();$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;m.promisedID=p[0];o=p[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=16;continue;}$s=17;continue;case 16:f.writingFrameAsync=false;$r=e.replyToWriter(o);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 17:case 14:f.writingFrame=true;f.needsFrameFlush=true;r=e.write.staysWithinBuffer(f.bw.Available());$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if(r){$s=19;continue;}$s=20;continue;case 19:f.writingFrameAsync=false;s=e.write.writeFrame(f);$s=23;case 23:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;$r=f.wroteFrame(new JU.ptr($clone(e,NC),t));$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=21;continue;case 20:f.writingFrameAsync=true;$go($methodVal(f,\"writeFrameAsync\"),[$clone(e,NC)]);case 21:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.startFrameWrite};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.startFrameWrite=function(e){return this.$val.startFrameWrite(e);};JP.ptr.prototype.wroteFrame=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!f.writingFrame){$panic(new $String(\"internal error: expected to be already writing a frame\"));}f.writingFrame=false;f.writingFrameAsync=false;g=$clone(e.wr,NC);if(ML(g.write)){$s=2;continue;}$s=3;continue;case 2:h=g.stream;if(h===WS.nil){$panic(new $String(\"internal error: expecting non-nil stream\"));}i=h.state;if(i===(1)){$s=6;continue;}if(i===(3)){$s=7;continue;}$s=8;continue;case 6:h.state=2;$r=f.resetStream($clone(DZ(h.id,8),DY));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=8;continue;case 7:$r=f.closeStream(h,JF);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 5:$s=4;continue;case 3:j=g.write;if($assertType(j,DY,true)[1]){$s=11;continue;}if($assertType(j,MQ,true)[1]){$s=12;continue;}$s=13;continue;case 11:k=$clone(j.$val,DY);m=(n=f.streams[$Uint32.keyFor(k.StreamID)],n!==undefined?[n.v,true]:[WS.nil,false]);o=m[0];p=m[1];if(p){$s=14;continue;}$s=15;continue;case 14:$r=f.closeStream(o,new k.constructor.elem(k));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=13;continue;case 12:l=$clone(j.$val,MQ);$r=f.closeStream(g.stream,JX);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 4:$r=g.replyToWriter(e.err);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.scheduleFrameWrite();$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.wroteFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.wroteFrame=function(e){return this.$val.wroteFrame(e);};JP.ptr.prototype.scheduleFrameWrite=function(){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e.writingFrame||e.inFrameScheduleLoop){$s=-1;return;}e.inFrameScheduleLoop=true;case 2:if(!(!e.writingFrameAsync)){$s=3;continue;}if(e.needToSendGoAway){$s=4;continue;}$s=5;continue;case 4:e.needToSendGoAway=false;$r=e.startFrameWrite(new NC.ptr(new MO.ptr(e.maxClientStreamID,e.goAwayCode),WS.nil,$chanNil));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=2;continue;case 5:if(e.needToSendSettingsAck){$s=7;continue;}$s=8;continue;case 7:e.needToSendSettingsAck=false;$r=e.startFrameWrite(new NC.ptr((f=new MS.ptr(),new f.constructor.elem(f)),WS.nil,$chanNil));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=2;continue;case 8:if(!e.inGoAway||(e.goAwayCode===0)){$s=10;continue;}$s=11;continue;case 10:h=e.writeSched.Pop();$s=12;case 12:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=$clone(g[0],NC);j=g[1];if(j){$s=13;continue;}$s=14;continue;case 13:$r=e.startFrameWrite($clone(i,NC));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=2;continue;case 14:case 11:if(e.needsFrameFlush){$s=16;continue;}$s=17;continue;case 16:$r=e.startFrameWrite(new NC.ptr((k=new MM.ptr(),new k.constructor.elem(k)),WS.nil,$chanNil));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.needsFrameFlush=false;$s=2;continue;case 17:$s=3;continue;$s=2;continue;case 3:e.inFrameScheduleLoop=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.scheduleFrameWrite};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.scheduleFrameWrite=function(){return this.$val.scheduleFrameWrite();};JP.ptr.prototype.startGracefulShutdown=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.goAwayIn(0,new Q.Duration(0,0));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.startGracefulShutdown};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.startGracefulShutdown=function(){return this.$val.startGracefulShutdown();};JP.ptr.prototype.goAway=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=new Q.Duration(0,0);if(!((e===0))){g=new Q.Duration(0,250000000);}else{g=new Q.Duration(0,1000000000);}$r=f.goAwayIn(e,g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.goAway};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.goAway=function(e){return this.$val.goAway(e);};JP.ptr.prototype.goAwayIn=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g.inGoAway){$s=-1;return;}if(!((f.$high===0&&f.$low===0))){$s=2;continue;}$s=3;continue;case 2:$r=g.shutDownIn(f);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:g.inGoAway=true;g.needToSendGoAway=true;g.goAwayCode=e;$r=g.scheduleFrameWrite();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.goAwayIn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.goAwayIn=function(e,f){return this.$val.goAwayIn(e,f);};JP.ptr.prototype.shutDownIn=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f.shutdownTimer=Q.NewTimer(e);f.shutdownTimerCh=f.shutdownTimer.C;$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.shutDownIn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.shutDownIn=function(e){return this.$val.shutDownIn(e);};JP.ptr.prototype.resetStream=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.writeFrame(new NC.ptr(new e.constructor.elem(e),WS.nil,$chanNil));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=(h=f.streams[$Uint32.keyFor(e.StreamID)],h!==undefined?[h.v,true]:[WS.nil,false]);i=g[0];j=g[1];if(j){i.resetQueued=true;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.resetStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.resetStream=function(e){return this.$val.resetStream(e);};JP.ptr.prototype.processFrameFromReader=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e.err;if(!($interfaceIsEqual(g,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:if($interfaceIsEqual(g,FB)){$s=5;continue;}$s=6;continue;case 5:$r=f.goAway(6);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return true;case 6:if($interfaceIsEqual(g,C.EOF)||$interfaceIsEqual(g,C.ErrUnexpectedEOF)){h=true;$s=8;continue s;}i=JS(g);$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;case 8:j=h;if(j){$s=-1;return false;}$s=4;continue;case 3:k=e.f;if(HV){$s=10;continue;}$s=11;continue;case 10:l=GN(k);$s=12;case 12:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=new $String(l);$r=f.vlogf(\"http2: server read frame %v\",new WH([m]));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:n=f.processFrame(k);$s=14;case 14:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}g=n;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return true;}case 4:o=g;if($assertType(o,DY,true)[1]){$s=15;continue;}if($assertType(o,EA,true)[1]){$s=16;continue;}if($assertType(o,DX,true)[1]){$s=17;continue;}$s=18;continue;case 15:p=$clone(o.$val,DY);$r=f.resetStream($clone(p,DY));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return true;case 16:q=$clone(o.$val,EA);$r=f.goAway(3);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return true;case 17:r=o.$val;t=f.conn.RemoteAddr();$s=22;case 22:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=new DX(r);$r=f.logf(\"http2: server connection error from %v: %v\",new WH([u,v]));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.goAway(((r>>>0)));$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return true;case 18:s=o;if(!($interfaceIsEqual(e.err,$ifaceNil))){$s=25;continue;}$s=26;continue;case 25:w=f.conn.RemoteAddr();$s=28;case 28:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=g;$r=f.vlogf(\"http2: server closing client connection; error reading frame from client %s: %v\",new WH([x,y]));$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=27;continue;case 26:$r=f.logf(\"http2: server closing client connection: %v\",new WH([g]));$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 27:$s=-1;return false;case 19:$s=-1;return false;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processFrameFromReader};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processFrameFromReader=function(e){return this.$val.processFrameFromReader(e);};JP.ptr.prototype.processFrame=function(e){var $ptr,aa,ab,ac,ad,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!f.sawFirstSettings){g=$assertType(e,YW,true);h=g[1];if(!h){$s=-1;return new DX(1);}f.sawFirstSettings=true;}i=e;if($assertType(i,YW,true)[1]){$s=2;continue;}if($assertType(i,YU,true)[1]){$s=3;continue;}if($assertType(i,YY,true)[1]){$s=4;continue;}if($assertType(i,YZ,true)[1]){$s=5;continue;}if($assertType(i,YX,true)[1]){$s=6;continue;}if($assertType(i,ZB,true)[1]){$s=7;continue;}if($assertType(i,ZV,true)[1]){$s=8;continue;}if($assertType(i,ZA,true)[1]){$s=9;continue;}if($assertType(i,ZW,true)[1]){$s=10;continue;}$s=11;continue;case 2:j=i.$val;t=f.processSettings(j);$s=13;case 13:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return t;case 3:k=i.$val;u=f.processHeaders(k);$s=14;case 14:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return u;case 4:l=i.$val;v=f.processWindowUpdate(l);$s=15;case 15:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return v;case 5:m=i.$val;w=f.processPing(m);$s=16;case 16:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;case 6:n=i.$val;x=f.processData(n);$s=17;case 17:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$s=-1;return x;case 7:o=i.$val;y=f.processResetStream(o);$s=18;case 18:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}$s=-1;return y;case 8:p=i.$val;z=f.processPriority(p);$s=19;case 19:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}$s=-1;return z;case 9:q=i.$val;aa=f.processGoAway(q);$s=20;case 20:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$s=-1;return aa;case 10:r=i.$val;$s=-1;return new DX(1);case 11:s=i;ac=s.Header();$s=21;case 21:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=(ab=ac,new ab.constructor.elem(ab));$r=f.vlogf(\"http2: server ignoring frame: %v\",new WH([ad]));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;case 12:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processFrame};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processFrame=function(e){return this.$val.processFrame(e);};JP.ptr.prototype.processPing=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e.IsAck()){$s=-1;return $ifaceNil;}if(!((e.http2FrameHeader.StreamID===0))){$s=-1;return new DX(1);}if(f.inGoAway&&!((f.goAwayCode===0))){$s=-1;return $ifaceNil;}$r=f.writeFrame(new NC.ptr((g=new MR.ptr(e),new g.constructor.elem(g)),WS.nil,$chanNil));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processPing};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processPing=function(e){return this.$val.processPing(e);};JP.ptr.prototype.processWindowUpdate=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((e.http2FrameHeader.StreamID===0))){$s=3;continue;}if(!f.flow.add(((e.Increment>>0)))){$s=4;continue;}$s=5;continue;case 3:h=f.state(e.http2FrameHeader.StreamID);$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if(i===0){$s=-1;return new DX(1);}if(j===WS.nil){$s=-1;return $ifaceNil;}if(!j.flow.add(((e.Increment>>0)))){$s=-1;return(k=DZ(e.http2FrameHeader.StreamID,3),new k.constructor.elem(k));}$s=5;continue;case 4:$s=-1;return(l=new EA.ptr(),new l.constructor.elem(l));case 5:case 2:$r=f.scheduleFrameWrite();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processWindowUpdate};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processWindowUpdate=function(e){return this.$val.processWindowUpdate(e);};JP.ptr.prototype.processResetStream=function(e){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=f.state(e.http2FrameHeader.StreamID);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if(i===0){$s=-1;return new DX(1);}if(!(j===WS.nil)){$s=3;continue;}$s=4;continue;case 3:$r=j.cancelCtx();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.closeStream(j,(k=DZ(e.http2FrameHeader.StreamID,e.ErrCode),new k.constructor.elem(k)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processResetStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processResetStream=function(e){return this.$val.processResetStream(e);};JP.ptr.prototype.closeStream=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if((e.state===0)||(e.state===4)){$s=2;continue;}$s=3;continue;case 2:h=B.Sprintf(\"invariant; can't close stream in state %v\",new WH([new IB(e.state)]));$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$panic(new $String(h));case 3:e.state=4;if(e.isPushed()){g.curPushedStreams=g.curPushedStreams-(1)>>>0;}else{g.curClientStreams=g.curClientStreams-(1)>>>0;}delete g.streams[$Uint32.keyFor(e.id)];if($keys(g.streams).length===0){$s=5;continue;}$s=6;continue;case 5:$r=g.setConnState(2);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((i=g.srv.IdleTimeout,(i.$high===0&&i.$low===0)))){g.idleTimer.Reset(g.srv.IdleTimeout);}j=KW(g.hs);$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=8;continue;}$s=9;continue;case 8:$r=g.startGracefulShutdown();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:case 6:k=e.body;if(!(k===ZX.nil)){$s=12;continue;}$s=13;continue;case 12:l=WS.nil;m=k.Len();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$r=g.sendWindowUpdate(l,n);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=k.CloseWithError(f);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:new IO(e.cw).Close();$r=g.writeSched.CloseStream(e.id);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.closeStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.closeStream=function(e,f){return this.$val.closeStream(e,f);};JP.ptr.prototype.processSettings=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e.IsAck()){f.unackedSettings=f.unackedSettings-(1)>>0;if(f.unackedSettings<0){$s=-1;return new DX(1);}$s=-1;return $ifaceNil;}g=e.ForeachSetting($methodVal(f,\"processSetting\"));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}f.needToSendSettingsAck=true;$r=f.scheduleFrameWrite();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processSettings};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processSettings=function(e){return this.$val.processSettings(e);};JP.ptr.prototype.processSetting=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=$clone(e,ID).Valid();if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}if(HV){$s=2;continue;}$s=3;continue;case 2:$r=f.vlogf(\"http2: server processing setting %v\",new WH([new e.constructor.elem(e)]));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:h=e.ID;if(h===(1)){$s=6;continue;}if(h===(2)){$s=7;continue;}if(h===(3)){$s=8;continue;}if(h===(4)){$s=9;continue;}if(h===(5)){$s=10;continue;}if(h===(6)){$s=11;continue;}if(HV){$s=12;continue;}$s=13;continue;case 6:f.headerTableSize=e.Val;f.hpackEncoder.SetMaxDynamicTableSize(e.Val);$s=13;continue;case 7:f.pushEnabled=!((e.Val===0));$s=13;continue;case 8:f.clientMaxStreams=e.Val;$s=13;continue;case 9:i=f.processSettingInitialWindowSize(e.Val);$s=14;case 14:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;case 10:f.maxFrameSize=((e.Val>>0));$s=13;continue;case 11:f.peerMaxHeaderListSize=e.Val;$s=13;continue;case 12:$r=f.vlogf(\"http2: server ignoring unknown setting %v\",new WH([new e.constructor.elem(e)]));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:case 5:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processSetting};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processSetting=function(e){return this.$val.processSetting(e);};JP.ptr.prototype.processSettingInitialWindowSize=function(e){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=f.initialWindowSize;f.initialWindowSize=((e>>0));h=f.initialWindowSize-g>>0;i=f.streams;j=0;k=$keys(i);while(true){if(!(j<k.length)){break;}l=i[k[j]];if(l===undefined){j++;continue;}m=l.v;if(!m.flow.add(h)){$s=-1;return new DX(3);}j++;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processSettingInitialWindowSize};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processSettingInitialWindowSize=function(e){return this.$val.processSettingInitialWindowSize(e);};JP.ptr.prototype.processData=function(e){var $ptr,aa,ab,ac,ad,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f.inGoAway&&!((f.goAwayCode===0))){$s=-1;return $ifaceNil;}g=e.Data();h=$clone(e.http2FrameHeader,EU).Header().StreamID;j=f.state(h);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if((h===0)||(k===0)){$s=-1;return new DX(1);}if(l===WS.nil||!((k===1))||l.gotTrailerHeader||l.resetQueued){$s=3;continue;}$s=4;continue;case 3:if(f.inflow.available()<((e.http2FrameHeader.Length>>0))){$s=-1;return(m=DZ(h,3),new m.constructor.elem(m));}f.inflow.take(((e.http2FrameHeader.Length>>0)));$r=f.sendWindowUpdate(WS.nil,((e.http2FrameHeader.Length>>0)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(l===WS.nil)&&l.resetQueued){$s=-1;return $ifaceNil;}$s=-1;return(n=DZ(h,5),new n.constructor.elem(n));case 4:if(l.body===ZX.nil){$panic(new $String(\"internal error: should have a body in this state\"));}if(!((o=l.declBodyBytes,(o.$high===-1&&o.$low===4294967295)))&&(p=(q=l.bodyBytes,r=(new $Int64(0,g.$length)),new $Int64(q.$high+r.$high,q.$low+r.$low)),s=l.declBodyBytes,(p.$high>s.$high||(p.$high===s.$high&&p.$low>s.$low)))){$s=6;continue;}$s=7;continue;case 6:t=B.Errorf(\"sender tried to send more than declared Content-Length of %d bytes\",new WH([l.declBodyBytes]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=l.body.CloseWithError(t);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return(u=DZ(h,5),new u.constructor.elem(u));case 7:if(e.http2FrameHeader.Length>0){$s=10;continue;}$s=11;continue;case 10:if(l.inflow.available()<((e.http2FrameHeader.Length>>0))){$s=-1;return(v=DZ(h,3),new v.constructor.elem(v));}l.inflow.take(((e.http2FrameHeader.Length>>0)));if(g.$length>0){$s=12;continue;}$s=13;continue;case 12:x=l.body.Write(g);$s=14;case 14:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[0];z=w[1];if(!($interfaceIsEqual(z,$ifaceNil))){$s=-1;return(aa=DZ(h,5),new aa.constructor.elem(aa));}if(!((y===g.$length))){$panic(new $String(\"internal error: bad Writer\"));}l.bodyBytes=(ab=l.bodyBytes,ac=(new $Int64(0,g.$length)),new $Int64(ab.$high+ac.$high,ab.$low+ac.$low));case 13:ad=((e.http2FrameHeader.Length>>0))-((g.$length>>0))>>0;if(ad>0){$s=15;continue;}$s=16;continue;case 15:$r=f.sendWindowUpdate32(WS.nil,ad);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.sendWindowUpdate32(l,ad);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:case 11:if(e.StreamEnded()){$s=19;continue;}$s=20;continue;case 19:$r=l.endStream();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processData};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processData=function(e){return this.$val.processData(e);};JP.ptr.prototype.processGoAway=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((e.ErrCode===0))){$s=2;continue;}$s=3;continue;case 2:$r=f.logf(\"http2: received GOAWAY %+v, starting graceful shutdown\",new WH([e]));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=f.vlogf(\"http2: received GOAWAY %+v, starting graceful shutdown\",new WH([e]));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=f.startGracefulShutdown();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f.pushEnabled=false;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processGoAway};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processGoAway=function(e){return this.$val.processGoAway(e);};JQ.ptr.prototype.isPushed=function(){var $ptr,e,f;e=this;return(f=e.id%2,f===f?f:$throwRuntimeError(\"integer divide by zero\"))===0;};JQ.prototype.isPushed=function(){return this.$val.isPushed();};JQ.ptr.prototype.endStream=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.sc;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((g=e.declBodyBytes,(g.$high===-1&&g.$low===4294967295)))&&!((h=e.declBodyBytes,i=e.bodyBytes,(h.$high===i.$high&&h.$low===i.$low)))){$s=2;continue;}$s=3;continue;case 2:j=B.Errorf(\"request declared a Content-Length of %d but only wrote %d bytes\",new WH([e.declBodyBytes,e.bodyBytes]));$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=e.body.CloseWithError(j);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=e.body.closeWithErrorAndCode(C.EOF,$methodVal(e,\"copyTrailersToHandlerRequest\"));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.body.CloseWithError(C.EOF);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:e.state=3;$s=-1;return;}return;}if($f===undefined){$f={$blk:JQ.ptr.prototype.endStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};JQ.prototype.endStream=function(){return this.$val.endStream();};JQ.ptr.prototype.copyTrailersToHandlerRequest=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o;e=this;f=e.trailer;g=0;h=$keys(f);while(true){if(!(g<h.length)){break;}i=f[h[g]];if(i===undefined){g++;continue;}j=i.k;k=i.v;l=(m=e.reqTrailer[$String.keyFor(j)],m!==undefined?[m.v,true]:[WN.nil,false]);n=l[1];if(n){o=j;(e.reqTrailer||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(o)]={k:o,v:k};}g++;}};JQ.prototype.copyTrailersToHandlerRequest=function(){return this.$val.copyTrailersToHandlerRequest();};JP.ptr.prototype.processHeaders=function(e){var $ptr,aa,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e.http2HeadersFrame.http2FrameHeader.StreamID;if(f.inGoAway){$s=-1;return $ifaceNil;}if(!(((h=g%2,h===h?h:$throwRuntimeError(\"integer divide by zero\"))===1))){$s=-1;return new DX(1);}j=(i=f.streams[$Uint32.keyFor(e.http2HeadersFrame.http2FrameHeader.StreamID)],i!==undefined?i.v:WS.nil);if(!(j===WS.nil)){$s=2;continue;}$s=3;continue;case 2:if(j.resetQueued){$s=-1;return $ifaceNil;}k=j.processTrailerHeaders(e);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 3:if(g<=f.maxClientStreamID){$s=-1;return new DX(1);}f.maxClientStreamID=g;if(!(f.idleTimer===ZL.nil)){f.idleTimer.Stop();}if((f.curClientStreams+1>>>0)>f.advMaxStreams){if(f.unackedSettings===0){$s=-1;return(l=DZ(g,1),new l.constructor.elem(l));}$s=-1;return(m=DZ(g,7),new m.constructor.elem(m));}n=1;if(e.http2HeadersFrame.StreamEnded()){n=3;}o=f.newStream(g,0,n);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(e.http2HeadersFrame.HasPriority()){$s=6;continue;}$s=7;continue;case 6:q=JY(e.http2HeadersFrame.http2FrameHeader.StreamID,$clone(e.http2HeadersFrame.Priority,FY));if(!($interfaceIsEqual(q,$ifaceNil))){$s=-1;return q;}$r=f.writeSched.AdjustStream(p.id,$clone(e.http2HeadersFrame.Priority,FY));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:s=f.newWriterAndRequest(p,e);$s=9;case 9:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return v;}p.reqTrailer=u.Trailer;if(!(p.reqTrailer===false)){p.trailer={};}p.body=$assertType(u.Body,WU).pipe;p.declBodyBytes=u.ContentLength;w=$methodVal(f.handler,\"ServeHTTP\");if(e.Truncated){$s=10;continue;}$s=11;continue;case 10:w=KD;$s=12;continue;case 11:x=KQ(u.Header);$s=13;case 13:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;if(!($interfaceIsEqual(y,$ifaceNil))){w=KR(y);}case 12:if(!((z=f.hs.ReadTimeout,(z.$high===0&&z.$low===0)))){$s=14;continue;}$s=15;continue;case 14:aa=f.conn.SetReadDeadline(new Q.Time.ptr(new $Int64(0,0),0,WL.nil));$s=16;case 16:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;case 15:$go($methodVal(f,\"runHandler\"),[t,u,w]);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processHeaders};}$f.$ptr=$ptr;$f.aa=aa;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processHeaders=function(e){return this.$val.processHeaders(e);};JQ.ptr.prototype.processTrailerHeaders=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.sc;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f.gotTrailerHeader){$s=-1;return new DX(1);}f.gotTrailerHeader=true;if(!e.http2HeadersFrame.StreamEnded()){$s=-1;return(h=DZ(f.id,1),new h.constructor.elem(h));}if(e.PseudoFields().$length>0){$s=-1;return(i=DZ(f.id,1),new i.constructor.elem(i));}if(!(f.trailer===false)){$s=2;continue;}$s=3;continue;case 2:j=e.RegularFields();k=0;case 4:if(!(k<j.$length)){$s=5;continue;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),AF.HeaderField);m=g.canonicalHeader(l.Name);$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!KS(n)){$s=-1;return(o=DZ(f.id,1),new o.constructor.elem(o));}p=n;(f.trailer||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(p)]={k:p,v:$append((q=f.trailer[$String.keyFor(n)],q!==undefined?q.v:WN.nil),l.Value)};k++;$s=4;continue;case 5:case 3:$r=f.endStream();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JQ.ptr.prototype.processTrailerHeaders};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};JQ.prototype.processTrailerHeaders=function(e){return this.$val.processTrailerHeaders(e);};JY=function(e,f){var $ptr,e,f,g;if(e===f.StreamDep){return(g=DZ(e,1),new g.constructor.elem(g));}return $ifaceNil;};JP.ptr.prototype.processPriority=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.inGoAway){$s=-1;return $ifaceNil;}g=JY(e.http2FrameHeader.StreamID,$clone(e.http2PriorityParam,FY));if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}$r=f.writeSched.AdjustStream(e.http2FrameHeader.StreamID,$clone(e.http2PriorityParam,FY));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.processPriority};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.processPriority=function(e){return this.$val.processPriority(e);};JP.ptr.prototype.newStream=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;$r=h.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e===0){$panic(new $String(\"internal error: cannot create stream with id 0\"));}j=GS(h.baseCtx);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];m=new JQ.ptr(h,e,ZX.nil,$chanNil,k,l,new $Int64(0,0),new $Int64(0,0),new EL.ptr(0,YM.nil),new EL.ptr(0,YM.nil),WS.nil,new $Int64(0,0),0,g,false,false,false,WP.nil,false,false);(m.$ptr_cw||(m.$ptr_cw=new ZY(function(){return this.$target.cw;},function($v){this.$target.cw=$v;},m))).Init();m.flow.conn=h.flow;m.flow.add(h.initialWindowSize);m.inflow.conn=h.inflow;m.inflow.add(65535);n=e;(h.streams||$throwRuntimeError(\"assignment to entry in nil map\"))[$Uint32.keyFor(n)]={k:n,v:m};$r=h.writeSched.OpenStream(m.id,new NB.ptr(f));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(m.isPushed()){h.curPushedStreams=h.curPushedStreams+(1)>>>0;}else{h.curClientStreams=h.curClientStreams+(1)>>>0;}o=h.curOpenStreams();$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}if(o===1){$s=4;continue;}$s=5;continue;case 4:$r=h.setConnState(1);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=-1;return m;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.newStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.newStream=function(e,f,g){return this.$val.newStream(e,f,g);};JP.ptr.prototype.newWriterAndRequest=function(e,f){var $ptr,aa,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=new JZ.ptr(f.PseudoValue(\"method\"),f.PseudoValue(\"scheme\"),f.PseudoValue(\"authority\"),f.PseudoValue(\"path\"),false);i=h.method===\"CONNECT\";if(i){if(!(h.path===\"\")||!(h.scheme===\"\")||h.authority===\"\"){$s=-1;return[WR.nil,WT.nil,(j=DZ(f.http2HeadersFrame.http2FrameHeader.StreamID,1),new j.constructor.elem(j))];}}else if(h.method===\"\"||h.path===\"\"||(!(h.scheme===\"https\")&&!(h.scheme===\"http\"))){$s=-1;return[WR.nil,WT.nil,(k=DZ(f.http2HeadersFrame.http2FrameHeader.StreamID,1),new k.constructor.elem(k))];}l=!f.http2HeadersFrame.StreamEnded();if(h.method===\"HEAD\"&&l){$s=-1;return[WR.nil,WT.nil,(m=DZ(f.http2HeadersFrame.http2FrameHeader.StreamID,1),new m.constructor.elem(m))];}h.header={};n=f.RegularFields();o=0;case 2:if(!(o<n.$length)){$s=3;continue;}p=$clone(((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]),AF.HeaderField);q=g.canonicalHeader(p.Name);$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$r=new NO(h.header).Add(q,p.Value);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o++;$s=2;continue;case 3:if(h.authority===\"\"){h.authority=new NO(h.header).Get(\"Host\");}s=g.newWriterAndRequestNoBody(e,$clone(h,JZ));$s=6;case 6:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];if(!($interfaceIsEqual(v,$ifaceNil))){$s=-1;return[WR.nil,WT.nil,v];}if(l){e.reqBuf=KB();$assertType(u.Body,WU).pipe=new JA.ptr(new P.Mutex.ptr(0,0),new P.Cond.ptr(new P.noCopy.ptr(),$ifaceNil,new P.notifyList.ptr(0,0,0,0,0),0,0,$chanNil),new EI.ptr(e.reqBuf,0,0),$ifaceNil,$ifaceNil,$chanNil,$throwNilPointerError);w=(x=h.header[$String.keyFor(\"Content-Length\")],x!==undefined?[x.v,true]:[WN.nil,false]);y=w[0];z=w[1];if(z){aa=E.ParseInt((0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0]),10,64);u.ContentLength=aa[0];}else{u.ContentLength=new $Int64(-1,4294967295);}}$s=-1;return[t,u,$ifaceNil];}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.newWriterAndRequest};}$f.$ptr=$ptr;$f.aa=aa;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.newWriterAndRequest=function(e,f){return this.$val.newWriterAndRequest(e,f);};JP.ptr.prototype.newWriterAndRequestNoBody=function(e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=XK.nil;if(f.scheme===\"https\"){h=g.tlsState;}i=new NO(f.header).Get(\"Expect\")===\"100-continue\";if(i){new NO(f.header).Del(\"Expect\");}k=(j=f.header[$String.keyFor(\"Cookie\")],j!==undefined?j.v:WN.nil);if(k.$length>1){new NO(f.header).Set(\"Cookie\",O.Join(k,\"; \"));}l=false;m=(n=f.header[$String.keyFor(\"Trailer\")],n!==undefined?n.v:WN.nil);o=0;case 2:if(!(o<m.$length)){$s=3;continue;}p=((o<0||o>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+o]);q=O.Split(p,\",\");r=0;case 4:if(!(r<q.$length)){$s=5;continue;}s=((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]);t=O.TrimSpace(s);$s=6;case 6:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=NX(t);$s=7;case 7:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;v=s;if(v===(\"Transfer-Encoding\")||v===(\"Trailer\")||v===(\"Content-Length\")){}else{if(l===false){l={};}w=s;(l||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(w)]={k:w,v:WN.nil};}r++;$s=4;continue;case 5:o++;$s=2;continue;case 3:delete f.header[$String.keyFor(\"Trailer\")];x=XN.nil;y=\"\";if(f.method===\"CONNECT\"){$s=8;continue;}$s=9;continue;case 8:x=new M.URL.ptr(\"\",\"\",XM.nil,f.authority,\"\",\"\",false,\"\",\"\");y=f.authority;$s=10;continue;case 9:z=$ifaceNil;ab=M.ParseRequestURI(f.path);$s=11;case 11:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;x=aa[0];z=aa[1];if(!($interfaceIsEqual(z,$ifaceNil))){$s=-1;return[WR.nil,WT.nil,(ac=DZ(e.id,1),new ac.constructor.elem(ac))];}y=f.path;case 10:ad=new KF.ptr(e,g,false,false,ZX.nil,i);ae=new OP.ptr(f.method,x,\"HTTP/2.0\",2,0,f.header,ad,$throwNilPointerError,new $Int64(0,0),WN.nil,false,f.authority,false,false,XO.nil,l,g.remoteAddrStr,y,h,$chanNil,XH.nil,$ifaceNil);ae=GT(ae,e.ctx);af=JH.Get();$s=12;case 12:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=$assertType(af,ZZ);ah=ag.bw;KH.copy(ag,new KH.ptr(WS.nil,WT.nil,WU.nil,WV.nil,WW.nil,false,false,WN.nil,0,false,false,false,new $Int64(0,0),new $Int64(0,0),new P.Mutex.ptr(0,0),$chanNil));ag.conn=g;ag.bw=ah;ag.bw.Reset((ai=new KI.ptr(ag),new ai.constructor.elem(ai)));ag.stream=e;ag.req=ae;ag.body=ad;aj=new KG.ptr(ag);$s=-1;return[aj,ae,$ifaceNil];}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.newWriterAndRequestNoBody};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.newWriterAndRequestNoBody=function(e,f){return this.$val.newWriterAndRequestNoBody(e,f);};KB=function(){var $ptr,e,f,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$r=$f.$r;}e=$select([[KA],[]]);if(e[0]===0){f=e[1][0];return f;}else if(e[0]===1){return $makeSlice(WP,65535);}if($f===undefined){$f={$blk:KB};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$r=$r;return $f;};KC=function(e){var $ptr,e,f,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$r=$f.$r;}f=$select([[KA,e],[]]);if(f[0]===0){}else if(f[0]===1){}if($f===undefined){$f={$blk:KC};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$r=$r;return $f;};JP.ptr.prototype.runHandler=function(e,f,g){var $ptr,e,f,g,h,i,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=[e];h=[h];i=[i];i[0]=this;h[0]=true;$deferred.push([(function(e,h,i){return function $b(){var $ptr,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=e[0].rws.stream.cancelCtx();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h[0]){$s=2;continue;}$s=3;continue;case 2:j=$recover();l=i[0].writeFrameFromHandler(new NC.ptr((k=new MQ.ptr(e[0].rws.stream.id),new k.constructor.elem(k)),e[0].rws.stream,$chanNil));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;if(HG(j)){$s=5;continue;}$s=6;continue;case 5:m=$makeSlice(WP,65536);m=$subslice(m,0,AE.Stack(m,false));n=i[0].conn.RemoteAddr();$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=j;q=m;$r=i[0].logf(\"http2: panic serving %v: %v\\n%s\",new WH([o,p,q]));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return;case 3:$r=e[0].handlerDone();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};})(e,h,i),[]]);$r=g(e[0],f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h[0]=false;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:JP.ptr.prototype.runHandler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};JP.prototype.runHandler=function(e,f,g){return this.$val.runHandler(e,f,g);};KD=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=e.WriteHeader(431);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=C.WriteString(e,\"<h1>HTTP Error 431</h1><p>Request Header Field(s) Too Large</p>\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}if($f===undefined){$f={$blk:KD};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.ptr.prototype.writeHeaders=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.checkNotOn();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=$chanNil;if(!(f.h===false)){$s=2;continue;}$s=3;continue;case 2:i=JV.Get();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=$assertType(i,WX);case 3:j=g.writeFrameFromHandler(new NC.ptr(f,e,h));$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}if(!(h===$chanNil)){$s=6;continue;}$s=7;continue;case 6:m=$select([[h],[g.doneServing],[e.cw]]);$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;if(l[0]===0){n=l[1][0];JV.Put(new WX(h));$s=-1;return n;}else if(l[0]===1){$s=-1;return JD;}else if(l[0]===2){$s=-1;return JG;}case 7:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.writeHeaders};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.writeHeaders=function(e,f){return this.$val.writeHeaders(e,f);};JP.ptr.prototype.write100ContinueHeaders=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;h=f.writeFrameFromHandler(new NC.ptr((g=new MX.ptr(e.id),new g.constructor.elem(g)),e,$chanNil));$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.write100ContinueHeaders};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.write100ContinueHeaders=function(e){return this.$val.write100ContinueHeaders(e);};JP.ptr.prototype.noteBodyReadFromHandler=function(e,f,g){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;$r=h.serveG.checkNotOn();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f>0){$s=2;continue;}$s=3;continue;case 2:j=$select([[h.bodyReadCh,new KE.ptr(e,f)],[h.doneServing]]);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;if(i[0]===0){}else if(i[0]===1){}case 3:if($interfaceIsEqual(g,C.EOF)){k=e.reqBuf;if(!(k===WP.nil)){e.reqBuf=WP.nil;KC(k);}}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.noteBodyReadFromHandler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.noteBodyReadFromHandler=function(e,f,g){return this.$val.noteBodyReadFromHandler(e,f,g);};JP.ptr.prototype.noteBodyRead=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g.sendWindowUpdate(WS.nil,f);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((e.state===3))&&!((e.state===4))){$s=3;continue;}$s=4;continue;case 3:$r=g.sendWindowUpdate(e,f);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.noteBodyRead};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.noteBodyRead=function(e,f){return this.$val.noteBodyRead(e,f);};JP.ptr.prototype.sendWindowUpdate=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(!(f>=2147483647)){$s=3;continue;}$r=g.sendWindowUpdate32(e,2147483647);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=f-(2147483647)>>0;$s=2;continue;case 3:$r=g.sendWindowUpdate32(e,((f>>0)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.sendWindowUpdate};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.sendWindowUpdate=function(e,f){return this.$val.sendWindowUpdate(e,f);};JP.ptr.prototype.sendWindowUpdate32=function(e,f){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f===0){$s=-1;return;}if(f<0){$panic(new $String(\"negative update\"));}h=0;if(!(e===WS.nil)){h=e.id;}$r=g.writeFrame(new NC.ptr((i=new MY.ptr(h,((f>>>0))),new i.constructor.elem(i)),e,$chanNil));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=false;if(e===WS.nil){j=g.inflow.add(f);}else{j=e.inflow.add(f);}if(!j){$panic(new $String(\"internal error; sent too many window updates without decrements?\"));}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.sendWindowUpdate32};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.sendWindowUpdate32=function(e,f){return this.$val.sendWindowUpdate32(e,f);};KF.ptr.prototype.Close=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!(e.pipe===ZX.nil)&&!e.closed){$s=1;continue;}$s=2;continue;case 1:$r=e.pipe.BreakWithError(JE);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e.closed=true;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:KF.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};KF.prototype.Close=function(){return this.$val.Close();};KF.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(h.needsContinue){$s=1;continue;}$s=2;continue;case 1:h.needsContinue=false;$r=h.conn.write100ContinueHeaders(h.stream);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(h.pipe===ZX.nil||h.sawEOF){i=0;j=C.EOF;f=i;g=j;$s=-1;return[f,g];}l=h.pipe.Read(e);$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];if($interfaceIsEqual(g,C.EOF)){h.sawEOF=true;}if(h.conn===WV.nil&&HY){$s=-1;return[f,g];}$r=h.conn.noteBodyReadFromHandler(h.stream,f,g);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:KF.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};KF.prototype.Read=function(e){return this.$val.Read(e);};KI.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.rws.writeChunk(e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:KI.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};KI.prototype.Write=function(e){return this.$val.Write(e);};KH.ptr.prototype.hasTrailers=function(){var $ptr,e;e=this;return!((e.trailers.$length===0));};KH.prototype.hasTrailers=function(){return this.$val.hasTrailers();};KH.ptr.prototype.declareTrailer=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;e=NX(e);if(!KS(e)){$s=1;continue;}$s=2;continue;case 1:$r=f.conn.logf(\"ignoring invalid trailer %q\",new WH([new $String(e)]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:if(!MD(f.trailers,e)){f.trailers=$append(f.trailers,e);}$s=-1;return;}return;}if($f===undefined){$f={$blk:KH.ptr.prototype.declareTrailer};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};KH.prototype.declareTrailer=function(e){return this.$val.declareTrailer(e);};KH.ptr.prototype.writeChunk=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(!h.wroteHeader){h.writeHeader(200);}i=h.req.Method===\"HEAD\";if(!h.sentHeader){$s=1;continue;}$s=2;continue;case 1:h.sentHeader=true;j=\"\";k=\"\";l=j;m=k;m=new NO(h.snapHeader).Get(\"Content-Length\");if(!(m===\"\")){new NO(h.snapHeader).Del(\"Content-Length\");n=E.ParseInt(m,10,64);o=n[0];p=n[1];if($interfaceIsEqual(p,$ifaceNil)&&(o.$high>0||(o.$high===0&&o.$low>=0))){h.sentContentLen=o;}else{m=\"\";}}if(m===\"\"&&h.handlerDone&&IT(h.status)&&(e.$length>0||!i)){m=E.Itoa(e.$length);}q=(r=h.snapHeader[$String.keyFor(\"Content-Type\")],r!==undefined?[r.v,true]:[WN.nil,false]);s=q[1];if(!s&&IT(h.status)){$s=3;continue;}$s=4;continue;case 3:t=SU(e);$s=5;case 5:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}l=t;case 4:u=\"\";v=(w=h.snapHeader[$String.keyFor(\"Date\")],w!==undefined?[w.v,true]:[WN.nil,false]);x=v[1];if(!x){$s=6;continue;}$s=7;continue;case 6:y=$clone($clone(Q.Now(),Q.Time).UTC(),Q.Time).Format(\"Mon, 02 Jan 2006 15:04:05 GMT\");$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}u=y;case 7:z=(aa=h.snapHeader[$String.keyFor(\"Trailer\")],aa!==undefined?aa.v:WN.nil);ab=0;case 9:if(!(ab<z.$length)){$s=10;continue;}ac=((ab<0||ab>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ab]);$r=KO(ac,$methodVal(h,\"declareTrailer\"));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ab++;$s=9;continue;case 10:ad=(h.handlerDone&&!h.hasTrailers()&&(e.$length===0))||i;ae=h.conn.writeHeaders(h.stream,new MU.ptr(h.stream.id,h.status,h.snapHeader,WN.nil,ad,u,l,m));$s=12;case 12:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}g=ae;if(!($interfaceIsEqual(g,$ifaceNil))){af=0;ag=g;f=af;g=ag;$s=-1;return[f,g];}if(ad){ah=0;ai=$ifaceNil;f=ah;g=ai;$s=-1;return[f,g];}case 2:if(i){aj=e.$length;ak=$ifaceNil;f=aj;g=ak;$s=-1;return[f,g];}if((e.$length===0)&&!h.handlerDone){al=0;am=$ifaceNil;f=al;g=am;$s=-1;return[f,g];}if(h.handlerDone){$s=13;continue;}$s=14;continue;case 13:$r=h.promoteUndeclaredTrailers();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:an=h.handlerDone&&!h.hasTrailers();if(e.$length>0||an){$s=16;continue;}$s=17;continue;case 16:ao=h.conn.writeDataFromHandler(h.stream,e,an);$s=18;case 18:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;if(!($interfaceIsEqual(ap,$ifaceNil))){aq=0;ar=ap;f=aq;g=ar;$s=-1;return[f,g];}case 17:if(h.handlerDone&&h.hasTrailers()){$s=19;continue;}$s=20;continue;case 19:as=h.conn.writeHeaders(h.stream,new MU.ptr(h.stream.id,0,h.handlerHeader,h.trailers,true,\"\",\"\",\"\"));$s=21;case 21:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}g=as;at=e.$length;au=g;f=at;g=au;$s=-1;return[f,g];case 20:av=e.$length;aw=$ifaceNil;f=av;g=aw;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:KH.ptr.prototype.writeChunk};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};KH.prototype.writeChunk=function(e){return this.$val.writeChunk(e);};KH.ptr.prototype.promoteUndeclaredTrailers=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.handlerHeader;g=0;h=$keys(f);case 1:if(!(g<h.length)){$s=2;continue;}i=f[h[g]];if(i===undefined){g++;$s=1;continue;}j=i.k;k=i.v;if(!O.HasPrefix(j,\"Trailer:\")){$s=3;continue;}$s=4;continue;case 3:g++;$s=1;continue;case 4:l=O.TrimPrefix(j,\"Trailer:\");$r=e.declareTrailer(l);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=NX(l);(e.handlerHeader||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:k};g++;$s=1;continue;case 2:if(e.trailers.$length>1){$s=6;continue;}$s=7;continue;case 6:n=IX.Get();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=$assertType(n,AAA);$r=o.SortStrings(e.trailers);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}IX.Put(o);case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:KH.ptr.prototype.promoteUndeclaredTrailers};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};KH.prototype.promoteUndeclaredTrailers=function(){return this.$val.promoteUndeclaredTrailers();};KG.ptr.prototype.Flush=function(){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.rws;if(f===ZZ.nil){$panic(new $String(\"Header called after Handler finished\"));}if(f.bw.Buffered()>0){$s=1;continue;}$s=2;continue;case 1:g=f.bw.Flush();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return;}$s=3;continue;case 2:i=f.writeChunk(WP.nil);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.Flush};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.Flush=function(){return this.$val.Flush();};KG.ptr.prototype.CloseNotify=function(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];g=this;h=g.rws;if(h===ZZ.nil){$panic(new $String(\"CloseNotify called after Handler finished\"));}$r=h.closeNotifierMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e[0]=h.closeNotifierCh;if(e[0]===$chanNil){$s=2;continue;}$s=3;continue;case 2:e[0]=new $Chan($Bool,1);h.closeNotifierCh=e[0];f[0]=h.stream.cw;$go((function(e,f){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=new IO(f[0]).Wait();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=$send(e[0],true);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(e,f),[]);case 3:$r=h.closeNotifierMu.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e[0];}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.CloseNotify};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.CloseNotify=function(){return this.$val.CloseNotify();};KG.ptr.prototype.Header=function(){var $ptr,e,f;e=this;f=e.rws;if(f===ZZ.nil){$panic(new $String(\"Header called after Handler finished\"));}if(f.handlerHeader===false){f.handlerHeader={};}return f.handlerHeader;};KG.prototype.Header=function(){return this.$val.Header();};KG.ptr.prototype.WriteHeader=function(e){var $ptr,e,f,g;f=this;g=f.rws;if(g===ZZ.nil){$panic(new $String(\"WriteHeader called after Handler finished\"));}g.writeHeader(e);};KG.prototype.WriteHeader=function(e){return this.$val.WriteHeader(e);};KH.ptr.prototype.writeHeader=function(e){var $ptr,e,f;f=this;if(!f.wroteHeader){f.wroteHeader=true;f.status=e;if($keys(f.handlerHeader).length>0){f.snapHeader=KJ(f.handlerHeader);}}};KH.prototype.writeHeader=function(e){return this.$val.writeHeader(e);};KJ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;g=(f=$keys(e).length,((f<0||f>2147483647)?$throwRuntimeError(\"makemap: size out of range\"):{}));h=e;i=0;j=$keys(h);while(true){if(!(i<j.length)){break;}k=h[j[i]];if(k===undefined){i++;continue;}l=k.k;m=k.v;n=$makeSlice(WN,m.$length);$copySlice(n,m);o=l;(g||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(o)]={k:o,v:n};i++;}return g;};KG.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.write(e.$length,e,\"\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.Write=function(e){return this.$val.Write(e);};KG.ptr.prototype.WriteString=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.write(e.length,WP.nil,e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.WriteString=function(e){return this.$val.WriteString(e);};KG.ptr.prototype.write=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;i=$ifaceNil;j=this;k=j.rws;if(k===ZZ.nil){$panic(new $String(\"Write called after Handler finished\"));}if(!k.wroteHeader){j.WriteHeader(200);}if(!IT(k.status)){l=0;m=$pkg.ErrBodyNotAllowed;h=l;i=m;$s=-1;return[h,i];}k.wroteBytes=(n=k.wroteBytes,o=(p=(new $Int64(0,f.$length)),q=(new $Int64(0,g.length)),new $Int64(p.$high+q.$high,p.$low+q.$low)),new $Int64(n.$high+o.$high,n.$low+o.$low));if(!((r=k.sentContentLen,(r.$high===0&&r.$low===0)))&&(s=k.wroteBytes,t=k.sentContentLen,(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){u=0;v=A.New(\"http2: handler wrote more than declared Content-Length\");h=u;i=v;$s=-1;return[h,i];}if(!(f===WP.nil)){$s=1;continue;}$s=2;continue;case 1:x=k.bw.Write(f);$s=4;case 4:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;h=w[0];i=w[1];$s=-1;return[h,i];case 2:z=k.bw.WriteString(g);$s=5;case 5:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;h=y[0];i=y[1];$s=-1;return[h,i];case 3:$s=-1;return[h,i];}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.write=function(e,f,g){return this.$val.write(e,f,g);};KG.ptr.prototype.handlerDone=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.rws;f.handlerDone=true;$r=e.Flush();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.rws=ZZ.nil;JH.Put(f);$s=-1;return;}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.handlerDone};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.handlerDone=function(){return this.$val.handlerDone();};KG.ptr.prototype.push=function(e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.rws.stream;i=h.sc;$r=i.serveG.checkNotOn();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h.isPushed()){$s=-1;return KK;}if(f.Method===\"\"){f.Method=\"GET\";}if(f.Header===false){f.Header=$makeMap($String.keyFor,[]);}j=\"http\";if(!(g.rws.req.TLS===XK.nil)){j=\"https\";}l=M.Parse(e);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}if(m.Scheme===\"\"){$s=3;continue;}$s=4;continue;case 3:if(!O.HasPrefix(e,\"/\")){$s=6;continue;}$s=7;continue;case 6:o=B.Errorf(\"target must be an absolute URL or an absolute path: %q\",new WH([new $String(e)]));$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return o;case 7:m.Scheme=j;m.Host=g.rws.req.Host;$s=5;continue;case 4:if(!(m.Scheme===j)){$s=9;continue;}$s=10;continue;case 9:p=B.Errorf(\"cannot push URL with scheme %q from request with scheme %q\",new WH([new $String(m.Scheme),new $String(j)]));$s=11;case 11:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return p;case 10:if(m.Host===\"\"){$s=-1;return A.New(\"URL must have a host\");}case 5:q=f.Header;r=0;s=$keys(q);case 12:if(!(r<s.length)){$s=13;continue;}t=q[s[r]];if(t===undefined){r++;$s=12;continue;}u=t.k;if(O.HasPrefix(u,\":\")){$s=14;continue;}$s=15;continue;case 14:v=B.Errorf(\"promised request headers cannot include pseudo header %q\",new WH([new $String(u)]));$s=16;case 16:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return v;case 15:w=O.ToLower(u);$s=18;case 18:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;if(x===(\"content-length\")||x===(\"content-encoding\")||x===(\"trailer\")||x===(\"te\")||x===(\"expect\")||x===(\"host\")){$s=19;continue;}$s=20;continue;case 19:y=B.Errorf(\"promised request headers cannot include %q\",new WH([new $String(u)]));$s=21;case 21:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}$s=-1;return y;case 20:case 17:r++;$s=12;continue;case 13:z=KQ(f.Header);$s=22;case 22:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;if(!($interfaceIsEqual(aa,$ifaceNil))){$s=-1;return aa;}if(!(f.Method===\"GET\")&&!(f.Method===\"HEAD\")){$s=23;continue;}$s=24;continue;case 23:ab=B.Errorf(\"method %q must be GET or HEAD\",new WH([new $String(f.Method)]));$s=25;case 25:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}$s=-1;return ab;case 24:ac=JV.Get();$s=26;case 26:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=new KN.ptr(h,f.Method,m,KJ(f.Header),$assertType(ac,WX));af=$select([[i.doneServing],[h.cw],[i.wantStartPushCh,$clone(ad,KN)]]);$s=27;case 27:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;if(ae[0]===0){$s=28;continue;}if(ae[0]===1){$s=29;continue;}if(ae[0]===2){$s=30;continue;}$s=31;continue;case 28:$s=-1;return JD;case 29:$s=-1;return JG;case 30:case 31:ah=$select([[i.doneServing],[h.cw],[ad.done]]);$s=32;case 32:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ag=ah;if(ag[0]===0){$s=-1;return JD;}else if(ag[0]===1){$s=-1;return JG;}else if(ag[0]===2){ai=ag[1][0];JV.Put(new WX(ad.done));$s=-1;return ai;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:KG.ptr.prototype.push};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};KG.prototype.push=function(e,f){return this.$val.push(e,f);};JP.ptr.prototype.startPush=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];f=[f];f[0]=this;$r=f[0].serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((e[0].parent.state===1))&&!((e[0].parent.state===3))){$s=2;continue;}$s=3;continue;case 2:$r=$send(e[0].done,JG);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:if(!f[0].pushEnabled){$s=5;continue;}$s=6;continue;case 5:$r=$send(e[0].done,$pkg.ErrNotSupported);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 6:g=(function(e,f){return function $b(){var $ptr,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=f[0].serveG.check();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!f[0].pushEnabled){$s=-1;return[0,$pkg.ErrNotSupported];}if((f[0].curPushedStreams+1>>>0)>f[0].clientMaxStreams){$s=-1;return[0,KL];}if((f[0].maxPushPromiseID+2>>>0)>=2147483648){$s=2;continue;}$s=3;continue;case 2:$r=f[0].startGracefulShutdown();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[0,KL];case 3:f[0].maxPushPromiseID=f[0].maxPushPromiseID+(2)>>>0;g=f[0].maxPushPromiseID;h=f[0].newStream(g,e[0].parent.id,3);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;k=f[0].newWriterAndRequestNoBody(i,new JZ.ptr(e[0].method,e[0].url.Scheme,e[0].url.Host,e[0].url.RequestURI(),KJ(e[0].header)));$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];n=j[2];if(!($interfaceIsEqual(n,$ifaceNil))){$s=7;continue;}$s=8;continue;case 7:o=B.Sprintf(\"newWriterAndRequestNoBody(%+v): %v\",new WH([e[0].url,n]));$s=9;case 9:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$panic(new $String(o));case 8:$go($methodVal(f[0],\"runHandler\"),[l,m,$methodVal(f[0].handler,\"ServeHTTP\")]);$s=-1;return[g,$ifaceNil];}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};})(e,f);$r=f[0].writeFrame(new NC.ptr(new MW.ptr(e[0].parent.id,e[0].method,e[0].url,e[0].header,g,0),e[0].parent,e[0].done));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:JP.ptr.prototype.startPush};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};JP.prototype.startPush=function(e){return this.$val.startPush(e);};KO=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=I.TrimString(e);if(e===\"\"){$s=-1;return;}if(!O.Contains(e,\",\")){$s=1;continue;}$s=2;continue;case 1:$r=f(e);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:g=O.Split(e,\",\");h=0;case 4:if(!(h<g.$length)){$s=5;continue;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i=I.TrimString(i);if(!(i===\"\")){$s=6;continue;}$s=7;continue;case 6:$r=f(i);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:h++;$s=4;continue;case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:KO};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};KQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=KP;g=0;case 1:if(!(g<f.$length)){$s=2;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=(j=e[$String.keyFor(h)],j!==undefined?[j.v,true]:[WN.nil,false]);k=i[1];if(k){$s=3;continue;}$s=4;continue;case 3:l=B.Errorf(\"request header %q is not valid in HTTP/2\",new WH([new $String(h)]));$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;case 4:g++;$s=1;continue;case 2:n=(m=e[$String.keyFor(\"Te\")],m!==undefined?m.v:WN.nil);if(n.$length>0&&(n.$length>1||(!((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0])===\"trailers\")&&!((0>=n.$length?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+0])===\"\")))){$s=-1;return A.New(\"request header \\\"TE\\\" may only be \\\"trailers\\\" in HTTP/2\");}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:KQ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};KR=function(e){var $ptr,e;return(function $b(f,g){var $ptr,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=f;i=e.Error();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$r=RH(h,j,400);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});};KS=function(e){var $ptr,e,f;e=NX(e);if(O.HasPrefix(e,\"If-\")||(f=KT[$String.keyFor(e)],f!==undefined?f.v:false)){return false;}return true;};KU=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=KV;if(!(f===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:g=f(e);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 2:h=e;i=$assertType(h,AAB,true);j=i[0];k=i[1];if(k){$s=4;continue;}$s=5;continue;case 4:l=j.getDoneChan();$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;case 5:$s=-1;return $chanNil;}return;}if($f===undefined){$f={$blk:KU};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};KW=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=e;g=$assertType(f,AAC,true);h=g[0];i=g[1];if(i){$s=1;continue;}$s=2;continue;case 1:j=h.doKeepAlives();$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return!j;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:KW};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};KX.ptr.prototype.maxHeaderListSize=function(){var $ptr,e;e=this;if(e.MaxHeaderListSize===0){return 10485760;}if(e.MaxHeaderListSize===4294967295){return 0;}return e.MaxHeaderListSize;};KX.prototype.maxHeaderListSize=function(){return this.$val.maxHeaderListSize();};KX.ptr.prototype.disableCompression=function(){var $ptr,e;e=this;return e.DisableCompression||(!(e.t1===XR.nil)&&e.t1.DisableCompression);};KX.prototype.disableCompression=function(){return this.$val.disableCompression();};KX.ptr.prototype.connPool=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.connPoolOnce.Do($methodVal(e,\"initConnPool\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e.connPoolOrDef;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.connPool};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.connPool=function(){return this.$val.connPool();};KX.ptr.prototype.initConnPool=function(){var $ptr,e;e=this;if(!($interfaceIsEqual(e.ConnPool,$ifaceNil))){e.connPoolOrDef=e.ConnPool;}else{e.connPoolOrDef=new DN.ptr(e,new P.Mutex.ptr(0,0),false,false,false,false);}};KX.prototype.initConnPool=function(){return this.$val.initConnPool();};LB.ptr.prototype.awaitRequestCancel=function(e){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=GV(e);if(!(e.Cancel===$chanNil)){h=false;$s=3;continue s;}i=g.Done();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===$chanNil;case 3:if(h){$s=1;continue;}$s=2;continue;case 1:$s=-1;return;case 2:k=g.Done();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=$select([[e.Cancel],[k],[f.done]]);$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=l;if(j[0]===0){$s=7;continue;}if(j[0]===1){$s=8;continue;}if(j[0]===2){$s=9;continue;}$s=10;continue;case 7:$r=f.cancelStream();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.bufPipe.CloseWithError(LL);$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 8:$r=f.cancelStream();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=g.Err();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$r=f.bufPipe.CloseWithError(m);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=10;continue;case 9:case 10:$s=-1;return;}return;}if($f===undefined){$f={$blk:LB.ptr.prototype.awaitRequestCancel};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};LB.prototype.awaitRequestCancel=function(e){return this.$val.awaitRequestCancel(e);};LB.ptr.prototype.cancelStream=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.cc.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.didReset;e.didReset=true;$r=e.cc.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!f){$s=3;continue;}$s=4;continue;case 3:$r=e.cc.writeStreamReset(e.ID,8,$ifaceNil);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return;}return;}if($f===undefined){$f={$blk:LB.ptr.prototype.cancelStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};LB.prototype.cancelStream=function(){return this.$val.cancelStream();};LB.ptr.prototype.checkResetOrDone=function(){var $ptr,e,f,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$r=$f.$r;}e=this;f=$select([[e.peerReset],[e.done],[]]);if(f[0]===0){return e.resetErr;}else if(f[0]===1){return JG;}else if(f[0]===2){return $ifaceNil;}if($f===undefined){$f={$blk:LB.ptr.prototype.checkResetOrDone};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$r=$r;return $f;};LB.prototype.checkResetOrDone=function(){return this.$val.checkResetOrDone();};LB.ptr.prototype.abortRequestBodyWrite=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if($interfaceIsEqual(e,$ifaceNil)){$panic(new $String(\"nil error\"));}g=f.cc;$r=g.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f.stopReqBody=e;$r=g.cond.Broadcast();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g.mu.Unlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:LB.ptr.prototype.abortRequestBodyWrite};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};LB.prototype.abortRequestBodyWrite=function(e){return this.$val.abortRequestBodyWrite(e);};LC.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(!($interfaceIsEqual(h.err.$get(),$ifaceNil))){i=0;j=h.err.$get();f=i;g=j;$s=-1;return[f,g];}l=h.w.Write(e);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];h.err.$set(g);$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:LC.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};LC.prototype.Write=function(e){return this.$val.Write(e);};KX.ptr.prototype.RoundTrip=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.RoundTripOpt(e,new LE.ptr(false));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.RoundTrip};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};LF=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=\"\";i=R.SplitHostPort(f);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];l=h[2];if(!($interfaceIsEqual(l,$ifaceNil))){k=\"443\";if(e===\"http\"){k=\"80\";}j=f;}n=AG.ToASCII(j);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if($interfaceIsEqual(p,$ifaceNil)){j=o;}if(O.HasPrefix(j,\"[\")&&O.HasSuffix(j,\"]\")){g=j+\":\"+k;$s=-1;return g;}g=R.JoinHostPort(j,k);$s=-1;return g;}return;}if($f===undefined){$f={$blk:LF};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};KX.ptr.prototype.RoundTripOpt=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(!(e.URL.Scheme===\"https\"||(e.URL.Scheme===\"http\"&&g.AllowHTTP))){$s=-1;return[XH.nil,A.New(\"http2: unsupported scheme\")];}h=LF(e.URL.Scheme,e.URL.Host);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;case 2:k=g.connPool();$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k.GetClientConn(e,i);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j=l;m=j[0];n=j[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:$r=g.vlogf(\"http2: Transport failed to get client conn for %s: %v\",new WH([new $String(i),n]));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,n];case 7:$r=GX(e,m);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=m.RoundTrip(e);$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];n=o[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=11;continue;}$s=12;continue;case 11:s=LK(e,n);$s=13;case 13:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;e=r[0];n=r[1];if($interfaceIsEqual(n,$ifaceNil)){$s=2;continue;}case 12:if(!($interfaceIsEqual(n,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:$r=g.vlogf(\"RoundTrip failure: %v\",new WH([n]));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,n];case 15:$s=-1;return[q,$ifaceNil];$s=2;continue;case 3:$s=-1;return[XH.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.RoundTripOpt};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.RoundTripOpt=function(e,f){return this.$val.RoundTripOpt(e,f);};KX.ptr.prototype.CloseIdleConnections=function(){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;g=e.connPool();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=$assertType(g,DM,true);h=f[0];i=f[1];if(i){$s=2;continue;}$s=3;continue;case 2:$r=h.closeIdleConnections();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.CloseIdleConnections};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.CloseIdleConnections=function(){return this.$val.CloseIdleConnections();};LK=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=[g];h=f;if($interfaceIsEqual(h,(LH))||$interfaceIsEqual(h,(LI))){$s=2;continue;}if($interfaceIsEqual(h,(LJ))){$s=3;continue;}$s=4;continue;case 2:$s=-1;return[e,$ifaceNil];case 3:if($interfaceIsEqual(e.Body,$ifaceNil)||HI(e.Body)){$s=-1;return[e,$ifaceNil];}i=HH(e);if(i===$throwNilPointerError){$s=-1;return[WT.nil,A.New(\"http2: Transport: peer server initiated graceful shutdown after some of Request.Body was written; define Request.GetBody to avoid this error\")];}k=i();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[WT.nil,m];}g[0]=$clone(e,OP);g[0].Body=l;$s=-1;return[g[0],$ifaceNil];case 4:$s=-1;return[WT.nil,f];case 5:case 1:$s=-1;return[WT.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:LK};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};KX.ptr.prototype.dialClientConn=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;i=R.SplitHostPort(e);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[2];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[YC.nil,k];}m=e;n=g.newTLSConfig(j);$s=2;case 2:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=g.dialTLS()(\"tcp\",m,o);$s=3;case 3:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}l=p;q=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[YC.nil,k];}r=g.newClientConn(q,f);$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return r;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.dialClientConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.dialClientConn=function(e,f){return this.$val.dialClientConn(e,f);};KX.ptr.prototype.newTLSConfig=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=new J.Config.ptr($ifaceNil,$throwNilPointerError,YG.nil,false,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,YH.nil,WN.nil,\"\",0,YH.nil,false,YI.nil,false,false,YJ.zero(),$ifaceNil,0,0,YK.nil,false,0,$ifaceNil,new P.Once.ptr(new P.Mutex.ptr(0,0),0),new P.RWMutex.ptr(new P.Mutex.ptr(0,0),0,0,0,0),YL.nil,XD.nil);if(!(f.TLSClientConfig===XD.nil)){$s=1;continue;}$s=2;continue;case 1:h=HE(f.TLSClientConfig);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}J.Config.copy(g,h);case 2:if(!MD(g.NextProtos,\"h2\")){g.NextProtos=$appendSlice(new WN([\"h2\"]),g.NextProtos);}if(g.ServerName===\"\"){g.ServerName=e;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.newTLSConfig};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.newTLSConfig=function(e){return this.$val.newTLSConfig(e);};KX.ptr.prototype.dialTLS=function(){var $ptr,e;e=this;if(!(e.DialTLS===$throwNilPointerError)){return e.DialTLS;}return $methodVal(e,\"dialTLSDefault\");};KX.prototype.dialTLS=function(){return this.$val.dialTLS();};KX.ptr.prototype.dialTLSDefault=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;j=J.Dial(e,f,g);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[$ifaceNil,l];}m=k.Handshake();$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return[$ifaceNil,n];}if(!g.InsecureSkipVerify){$s=3;continue;}$s=4;continue;case 3:o=k.VerifyHostname(g.ServerName);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){$s=-1;return[$ifaceNil,p];}case 4:q=k.ConnectionState();$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=$clone(q,J.ConnectionState);s=r.NegotiatedProtocol;if(!(s===\"h2\")){$s=7;continue;}$s=8;continue;case 7:t=B.Errorf(\"http2: unexpected ALPN protocol %q; want %q\",new WH([new $String(s),new $String(\"h2\")]));$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$s=-1;return[$ifaceNil,t];case 8:if(!r.NegotiatedProtocolIsMutual){$s=-1;return[$ifaceNil,A.New(\"http2: could not negotiate protocol mutually\")];}$s=-1;return[k,$ifaceNil];}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.dialTLSDefault};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.dialTLSDefault=function(e,f,g){return this.$val.dialTLSDefault(e,f,g);};KX.ptr.prototype.disableKeepAlives=function(){var $ptr,e;e=this;return!(e.t1===XR.nil)&&e.t1.DisableKeepAlives;};KX.prototype.disableKeepAlives=function(){return this.$val.disableKeepAlives();};KX.ptr.prototype.expectContinueTimeout=function(){var $ptr,e;e=this;if(e.t1===XR.nil){return new Q.Duration(0,0);}return GO(e.t1);};KX.prototype.expectContinueTimeout=function(){return this.$val.expectContinueTimeout();};KX.ptr.prototype.NewClientConn=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.newClientConn(e,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.NewClientConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.NewClientConn=function(e){return this.$val.NewClientConn(e);};KX.ptr.prototype.newClientConn=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=[g];h=this;i=new LA.ptr(h,e,XK.nil,f,new $Chan(XP,0),$ifaceNil,new Q.Duration(0,0),ZL.nil,new P.Mutex.ptr(0,0),AAD.nil,new EL.ptr(0,YM.nil),new EL.ptr(0,YM.nil),false,true,ZA.nil,\"\",{},1,{},WW.nil,AAE.nil,YN.nil,new Q.Time.ptr(new $Int64(0,0),0,WL.nil),16384,1000,65535,new H.Buffer.ptr(WP.nil,0,XX.zero(),0),ZM.nil,WZ.nil,new P.Mutex.ptr(0,0),$ifaceNil);j=h.idleConnTimeout();if(!((j.$high===0&&j.$low===0))){i.idleTimeout=j;i.idleTimer=Q.AfterFunc(j,$methodVal(i,\"onIdleTimeout\"));}if(HV){$s=1;continue;}$s=2;continue;case 1:k=i;l=e.RemoteAddr();$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$r=h.vlogf(\"http2: Transport creating client conn %p to %v\",new WH([k,m]));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:i.cond=P.NewCond(i.mu);i.flow.add(65535);i.bw=G.NewWriter((n=new LC.ptr(e,(i.$ptr_werr||(i.$ptr_werr=new ZG(function(){return this.$target.werr;},function($v){this.$target.werr=$v;},i)))),new n.constructor.elem(n)));i.br=G.NewReader(e);i.fr=FA(i.bw,i.br);i.fr.ReadMetaHeaders=AF.NewDecoder(4096,$throwNilPointerError);i.fr.MaxHeaderListSize=h.maxHeaderListSize();i.henc=AF.NewEncoder(i.hbuf);o=$assertType(e,IW,true);p=o[0];q=o[1];if(q){$s=5;continue;}$s=6;continue;case 5:r=p.ConnectionState();$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}g[0]=$clone(r,J.ConnectionState);i.tlsState=g[0];case 6:s=new AAF([new ID.ptr(2,0),new ID.ptr(4,4194304)]);t=h.maxHeaderListSize();if(!((t===0))){s=$append(s,new ID.ptr(6,t));}u=i.bw.Write(IA);$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}u;v=i.fr.WriteSettings(s);$s=9;case 9:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;w=i.fr.WriteWindowUpdate(0,1073741824);$s=10;case 10:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}w;i.inflow.add(1073807359);x=i.bw.Flush();$s=11;case 11:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}x;if(!($interfaceIsEqual(i.werr,$ifaceNil))){$s=-1;return[YC.nil,i.werr];}$go($methodVal(i,\"readLoop\"),[]);$s=-1;return[i,$ifaceNil];}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.newClientConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.newClientConn=function(e,f){return this.$val.newClientConn(e,f);};LA.ptr.prototype.setGoAway=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.mu,\"Unlock\"),[]]);g=f.goAway;f.goAway=e;if(f.goAwayDebug===\"\"){f.goAwayDebug=($bytesToString(e.DebugData()));}if(!(g===ZA.nil)&&!((g.ErrCode===0))){f.goAway.ErrCode=g.ErrCode;}h=e.LastStreamID;i=f.streams;j=0;k=$keys(i);while(true){if(!(j<k.length)){break;}l=i[k[j]];if(l===undefined){j++;continue;}m=l.k;n=l.v;if(m>h){o=$select([[n.resc,new LT.ptr(XH.nil,LI)],[]]);if(o[0]===0){}else if(o[0]===1){}}j++;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LA.ptr.prototype.setGoAway};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LA.prototype.setGoAway=function(e){return this.$val.setGoAway(e);};LA.ptr.prototype.CanTakeNewRequest=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);$s=-1;return e.canTakeNewRequestLocked();}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LA.ptr.prototype.CanTakeNewRequest};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LA.prototype.CanTakeNewRequest=function(){return this.$val.CanTakeNewRequest();};LA.ptr.prototype.canTakeNewRequestLocked=function(){var $ptr,e,f,g;e=this;if(e.singleUse&&e.nextStreamID>1){return false;}return e.goAway===ZA.nil&&!e.closed&&(f=(new $Int64(0,($keys(e.streams).length+1>>0))),g=(new $Int64(0,e.maxConcurrentStreams)),(f.$high<g.$high||(f.$high===g.$high&&f.$low<g.$low)))&&e.nextStreamID<2147483647;};LA.prototype.canTakeNewRequestLocked=function(){return this.$val.canTakeNewRequestLocked();};LA.ptr.prototype.onIdleTimeout=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.closeIfIdle();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.onIdleTimeout};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.onIdleTimeout=function(){return this.$val.onIdleTimeout();};LA.ptr.prototype.closeIfIdle=function(){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($keys(e.streams).length>0){$s=2;continue;}$s=3;continue;case 2:$r=e.mu.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 3:e.closed=true;f=e.nextStreamID;$r=e.mu.Unlock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(HV){$s=6;continue;}$s=7;continue;case 6:$r=e.vlogf(\"http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)\",new WH([e,new $Bool(e.singleUse),new $Uint32((f-2>>>0))]));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:g=e.tconn.Close();$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.closeIfIdle};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.closeIfIdle=function(){return this.$val.closeIfIdle();};LA.ptr.prototype.frameScratchBuffer=function(){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.maxFrameSize;if(f>524288){f=524288;}g=e.freeBuf;h=0;case 2:if(!(h<g.$length)){$s=3;continue;}i=h;j=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(j.$length>=((f>>0))){$s=4;continue;}$s=5;continue;case 4:(k=e.freeBuf,((i<0||i>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+i]=WP.nil));$r=e.mu.Unlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $subslice(j,0,f);case 5:h++;$s=2;continue;case 3:$r=e.mu.Unlock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $makeSlice(WP,f);}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.frameScratchBuffer};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.frameScratchBuffer=function(){return this.$val.frameScratchBuffer();};LA.ptr.prototype.putFrameScratchBuffer=function(e){var $ptr,e,f,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.mu,\"Unlock\"),[]]);if(f.freeBuf.$length<4){f.freeBuf=$append(f.freeBuf,e);$s=-1;return;}g=f.freeBuf;h=0;while(true){if(!(h<g.$length)){break;}i=h;j=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(j===WP.nil){(k=f.freeBuf,((i<0||i>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+i]=e));$s=-1;return;}h++;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LA.ptr.prototype.putFrameScratchBuffer};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LA.prototype.putFrameScratchBuffer=function(e){return this.$val.putFrameScratchBuffer(e);};LM=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$makeSlice(WN,0,$keys(e.Trailer).length);g=e.Trailer;h=0;i=$keys(g);while(true){if(!(h<i.length)){break;}j=g[i[h]];if(j===undefined){h++;continue;}k=j.k;k=NX(k);l=k;if(l===(\"Transfer-Encoding\")||l===(\"Trailer\")||l===(\"Content-Length\")){$s=-1;return[\"\",new LR.ptr(\"invalid Trailer key\",k)];}f=$append(f,k);h++;}if(f.$length>0){$s=1;continue;}$s=2;continue;case 1:$r=N.Strings(f);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[O.Join(f,\",\"),$ifaceNil];case 2:$s=-1;return[\"\",$ifaceNil];}return;}if($f===undefined){$f={$blk:LM};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};LA.ptr.prototype.responseHeaderTimeout=function(){var $ptr,e;e=this;if(!(e.t.t1===XR.nil)){return e.t.t1.ResponseHeaderTimeout;}return new Q.Duration(0,0);};LA.prototype.responseHeaderTimeout=function(){return this.$val.responseHeaderTimeout();};LN=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=new NO(e.Header).Get(\"Upgrade\");if(!(f===\"\")){$s=1;continue;}$s=2;continue;case 1:h=B.Errorf(\"http2: invalid Upgrade request header: %q\",new WH([(g=e.Header[$String.keyFor(\"Upgrade\")],g!==undefined?g.v:WN.nil)]));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;case 2:j=(i=e.Header[$String.keyFor(\"Transfer-Encoding\")],i!==undefined?i.v:WN.nil);if(j.$length>0&&(j.$length>1||!((0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0])===\"\")&&!((0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0])===\"chunked\"))){$s=4;continue;}$s=5;continue;case 4:k=B.Errorf(\"http2: invalid Transfer-Encoding request header: %q\",new WH([j]));$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 5:m=(l=e.Header[$String.keyFor(\"Connection\")],l!==undefined?l.v:WN.nil);if(m.$length>0&&(m.$length>1||!((0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])===\"\")&&!((0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])===\"close\")&&!((0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])===\"keep-alive\"))){$s=7;continue;}$s=8;continue;case 7:n=B.Errorf(\"http2: invalid Connection request header: %q\",new WH([m]));$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;case 8:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};LO=function(e){var $ptr,e,f;if($interfaceIsEqual(e.Body,$ifaceNil)){return new $Int64(0,0);}if(!((f=e.ContentLength,(f.$high===0&&f.$low===0)))){return e.ContentLength;}return new $Int64(-1,4294967295);};LA.ptr.prototype.RoundTrip=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=[e];f=[f];g=[g];h=[h];g[0]=this;i=LN(e[0]);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return[XH.nil,j];}if(!(g[0].idleTimer===ZL.nil)){g[0].idleTimer.Stop();}l=LM(e[0]);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return[XH.nil,n];}o=!(m===\"\");$r=g[0].mu.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q.Time.copy(g[0].lastActive,Q.Now());if(g[0].closed||!g[0].canTakeNewRequestLocked()){$s=4;continue;}$s=5;continue;case 4:$r=g[0].mu.Unlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,LH];case 5:p=e[0].Body;q=!($interfaceIsEqual(p,$ifaceNil));r=LO(e[0]);s=false;if(!g[0].t.disableCompression()&&new NO(e[0].Header).Get(\"Accept-Encoding\")===\"\"&&new NO(e[0].Header).Get(\"Range\")===\"\"&&!(e[0].Method===\"HEAD\")){s=true;}u=g[0].encodeHeaders(e[0],s,m,r);$s=7;case 7:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];n=t[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:$r=g[0].mu.Unlock();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,n];case 9:h[0]=g[0].newStream();h[0].req=e[0];w=HD(e[0]);$s=11;case 11:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}h[0].trace=w;h[0].requestedGzip=s;f[0]=$clone(g[0].t.getBodyWriterState(h[0],p),MH);h[0].on100=$methodVal($clone(f[0],MH),\"on100\");$r=g[0].wmu.Lock();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}x=!q&&!o;y=g[0].writeHeaders(h[0].ID,x,v);$s=13;case 13:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;$r=g[0].wmu.Unlock();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=GY(h[0].trace);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g[0].mu.Unlock();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(z,$ifaceNil))){$s=17;continue;}$s=18;continue;case 17:if(q){$s=19;continue;}$s=20;continue;case 19:aa=e[0].Body.Close();$s=21;case 21:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}aa;$clone(f[0],MH).cancel();case 20:$r=g[0].forgetStreamID(h[0].ID);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=HB(h[0].trace,z);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,z];case 18:ab=$chanNil;if(q){$s=24;continue;}$s=25;continue;case 24:$r=$clone(f[0],MH).scheduleBodyWrite();$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=26;continue;case 25:$r=HB(h[0].trace,$ifaceNil);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ac=g[0].responseHeaderTimeout();if(!((ac.$high===0&&ac.$low===0))){ad=Q.NewTimer(ac);$deferred.push([$methodVal(ad,\"Stop\"),[]]);ab=ad.C;}case 26:ae=h[0].resc;af=false;ag=GV(e[0]);ah=(function(e,f,g,h){return function $b(ah){var $ptr,ah,ai,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;ah=$f.ah;ai=$f.ai;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ai=ah.res;if(!($interfaceIsEqual(ah.err,$ifaceNil))||ai.StatusCode>299){$s=1;continue;}$s=2;continue;case 1:$clone(f[0],MH).cancel();$r=h[0].abortRequestBodyWrite(LP);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(!($interfaceIsEqual(ah.err,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:if($interfaceIsEqual(ah.err,LI)){$s=6;continue;}$s=7;continue;case 6:$r=g[0].mu.Lock();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h[0].startedWrite){ah.err=LJ;}$r=g[0].mu.Unlock();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$r=g[0].forgetStreamID(h[0].ID);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,ah.err];case 5:ai.Request=e[0];ai.TLS=g[0].tlsState;$s=-1;return[ai,$ifaceNil];}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ah=ah;$f.ai=ai;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g,h);case 29:aj=ag.Done();$s=31;case 31:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ak=$select([[ae],[ab],[aj],[e[0].Cancel],[h[0].peerReset],[f[0].resc]]);$s=32;case 32:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ai=ak;if(ai[0]===0){$s=33;continue;}if(ai[0]===1){$s=34;continue;}if(ai[0]===2){$s=35;continue;}if(ai[0]===3){$s=36;continue;}if(ai[0]===4){$s=37;continue;}if(ai[0]===5){$s=38;continue;}$s=39;continue;case 33:al=$clone(ai[1][0],LT);am=ah($clone(al,LT));$s=40;case 40:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}$s=-1;return am;case 34:$r=g[0].forgetStreamID(h[0].ID);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!q||af){$s=42;continue;}$s=43;continue;case 42:$r=g[0].writeStreamReset(h[0].ID,8,$ifaceNil);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=44;continue;case 43:$clone(f[0],MH).cancel();$r=h[0].abortRequestBodyWrite(LQ);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 44:$s=-1;return[XH.nil,IV];case 35:$r=g[0].forgetStreamID(h[0].ID);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!q||af){$s=48;continue;}$s=49;continue;case 48:$r=g[0].writeStreamReset(h[0].ID,8,$ifaceNil);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=50;continue;case 49:$clone(f[0],MH).cancel();$r=h[0].abortRequestBodyWrite(LQ);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 50:an=ag.Err();$s=53;case 53:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return[XH.nil,an];case 36:$r=g[0].forgetStreamID(h[0].ID);$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!q||af){$s=55;continue;}$s=56;continue;case 55:$r=g[0].writeStreamReset(h[0].ID,8,$ifaceNil);$s=58;case 58:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=57;continue;case 56:$clone(f[0],MH).cancel();$r=h[0].abortRequestBodyWrite(LQ);$s=59;case 59:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 57:$s=-1;return[XH.nil,LL];case 37:$s=-1;return[XH.nil,h[0].resetErr];case 38:ao=ai[1][0];ap=$select([[ae],[]]);if(ap[0]===0){$s=60;continue;}if(ap[0]===1){$s=61;continue;}$s=62;continue;case 60:aq=$clone(ap[1][0],LT);ar=ah($clone(aq,LT));$s=63;case 63:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 61:case 62:if(!($interfaceIsEqual(ao,$ifaceNil))){$s=-1;return[XH.nil,ao];}af=true;as=g[0].responseHeaderTimeout();if(!((as.$high===0&&as.$low===0))){at=Q.NewTimer(as);$deferred.push([$methodVal(at,\"Stop\"),[]]);ab=at.C;}case 39:$s=29;continue;case 30:$s=-1;return[XH.nil,$ifaceNil];}return;}}catch(err){$err=err;$s=-1;return[XH.nil,$ifaceNil];}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LA.ptr.prototype.RoundTrip};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LA.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};LA.ptr.prototype.writeHeaders=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;i=true;j=((h.maxFrameSize>>0));case 1:if(!(g.$length>0&&$interfaceIsEqual(h.werr,$ifaceNil))){$s=2;continue;}k=g;if(k.$length>j){k=$subslice(k,0,j);}g=$subslice(g,k.$length);l=g.$length===0;if(i){$s=3;continue;}$s=4;continue;case 3:m=h.fr.WriteHeaders(new FW.ptr(e,k,f,l,0,new FY.ptr(0,false,0)));$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;i=false;$s=5;continue;case 4:n=h.fr.WriteContinuation(e,l,k);$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 5:$s=1;continue;case 2:o=h.bw.Flush();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;$s=-1;return h.werr;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.writeHeaders};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.writeHeaders=function(e,f,g){return this.$val.writeHeaders(e,f,g);};LB.ptr.prototype.writeRequestBody=function(e,f){var $ptr,aa,ab,ac,ad,ae,af,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=[f];g=[g];h=[h];h[0]=$ifaceNil;g[0]=this;i=g[0].cc;j=false;k=i.frameScratchBuffer();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;$deferred.push([$methodVal(i,\"putFrameScratchBuffer\"),[l]]);$deferred.push([(function(f,g,h){return function $b(){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=HB(g[0].trace,h[0]);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=f[0].Close();$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if($interfaceIsEqual(h[0],$ifaceNil)){h[0]=n;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(f,g,h),[]]);m=g[0].req;n=!(m.Trailer===false);o=false;case 2:if(!(!o)){$s=3;continue;}q=e.Read(l);$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=p[1];if($interfaceIsEqual(s,C.EOF)){o=true;s=$ifaceNil;}else if(!($interfaceIsEqual(s,$ifaceNil))){h[0]=s;$s=-1;return h[0];}t=$subslice(l,0,r);case 5:if(!(t.$length>0&&$interfaceIsEqual(s,$ifaceNil))){$s=6;continue;}u=0;w=g[0].awaitFlowControl(t.$length);$s=7;case 7:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;u=v[0];s=v[1];if($interfaceIsEqual(s,LP)){$s=9;continue;}if($interfaceIsEqual(s,LQ)){$s=10;continue;}if(!($interfaceIsEqual(s,$ifaceNil))){$s=11;continue;}$s=12;continue;case 9:h[0]=s;$s=-1;return h[0];case 10:$r=i.writeStreamReset(g[0].ID,8,$ifaceNil);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h[0]=s;$s=-1;return h[0];case 11:h[0]=s;$s=-1;return h[0];case 12:case 8:$r=i.wmu.Lock();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}x=$subslice(t,0,u);t=$subslice(t,u);j=o&&(t.$length===0)&&!n;y=i.fr.WriteData(g[0].ID,j,x);$s=15;case 15:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}s=y;if($interfaceIsEqual(s,$ifaceNil)){$s=16;continue;}$s=17;continue;case 16:z=i.bw.Flush();$s=18;case 18:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}s=z;case 17:$r=i.wmu.Unlock();$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 6:if(!($interfaceIsEqual(s,$ifaceNil))){h[0]=s;$s=-1;return h[0];}$s=2;continue;case 3:if(j){h[0]=$ifaceNil;$s=-1;return h[0];}aa=WP.nil;if(n){$s=20;continue;}$s=21;continue;case 20:$r=i.mu.Lock();$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(i.mu,\"Unlock\"),[]]);ab=i.encodeTrailers(m);$s=23;case 23:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;case 21:$r=i.wmu.Lock();$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(i.wmu,\"Unlock\"),[]]);if(aa.$length>0){$s=25;continue;}$s=26;continue;case 25:ac=i.writeHeaders(g[0].ID,true,aa);$s=28;case 28:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}h[0]=ac;$s=27;continue;case 26:ad=i.fr.WriteData(g[0].ID,true,WP.nil);$s=29;case 29:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}h[0]=ad;case 27:ae=i.bw.Flush();$s=30;case 30:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;if(!($interfaceIsEqual(af,$ifaceNil))&&$interfaceIsEqual(h[0],$ifaceNil)){h[0]=af;}h[0]=h[0];$s=-1;return h[0];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return h[0];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:LB.ptr.prototype.writeRequestBody};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LB.prototype.writeRequestBody=function(e,f){return this.$val.writeRequestBody(e,f);};LB.ptr.prototype.awaitFlowControl=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=0;g=$ifaceNil;h=this;i=h.cc;$r=i.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(i.mu,\"Unlock\"),[]]);case 2:if(i.closed){j=0;k=LG;f=j;g=k;$s=-1;return[f,g];}if(!($interfaceIsEqual(h.stopReqBody,$ifaceNil))){l=0;m=h.stopReqBody;f=l;g=m;$s=-1;return[f,g];}n=h.checkResetOrDone();if(!($interfaceIsEqual(n,$ifaceNil))){o=0;p=n;f=o;g=p;$s=-1;return[f,g];}q=h.flow.available();if(q>0){r=q;if(((r>>0))>e){r=((e>>0));}if(r>((i.maxFrameSize>>0))){r=((i.maxFrameSize>>0));}h.flow.take(r);s=r;t=$ifaceNil;f=s;g=t;$s=-1;return[f,g];}$r=i.cond.Wait();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=2;continue;case 3:$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:LB.ptr.prototype.awaitFlowControl};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LB.prototype.awaitFlowControl=function(e){return this.$val.awaitFlowControl(e);};LR.ptr.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"%s %q\",new WH([new $String(e.what),new $String(e.str)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:LR.ptr.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};LR.prototype.Error=function(){return this.$val.Error();};LA.ptr.prototype.encodeHeaders=function(e,f,g,h){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;i.hbuf.Reset();j=e.Host;if(j===\"\"){j=e.URL.Host;}l=AH.PunycodeHostPort(j);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;j=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[WP.nil,m];}n=\"\";if(!(e.Method===\"CONNECT\")){$s=2;continue;}$s=3;continue;case 2:n=e.URL.RequestURI();if(!IZ(n)){$s=4;continue;}$s=5;continue;case 4:o=n;n=O.TrimPrefix(n,e.URL.Scheme+\"://\"+j);if(!IZ(n)){$s=6;continue;}$s=7;continue;case 6:if(!(e.URL.Opaque===\"\")){$s=8;continue;}$s=9;continue;case 8:p=B.Errorf(\"invalid request :path %q from URL.Opaque = %q\",new WH([new $String(o),new $String(e.URL.Opaque)]));$s=11;case 11:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$s=-1;return[WP.nil,p];case 9:q=B.Errorf(\"invalid request :path %q\",new WH([new $String(o)]));$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return[WP.nil,q];case 10:case 7:case 5:case 3:r=e.Header;s=0;t=$keys(r);case 13:if(!(s<t.length)){$s=14;continue;}u=r[t[s]];if(u===undefined){s++;$s=13;continue;}v=u.k;w=u.v;if(!AH.ValidHeaderFieldName(v)){$s=15;continue;}$s=16;continue;case 15:x=B.Errorf(\"invalid HTTP header name %q\",new WH([new $String(v)]));$s=17;case 17:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$s=-1;return[WP.nil,x];case 16:y=w;z=0;case 18:if(!(z<y.$length)){$s=19;continue;}aa=((z<0||z>=y.$length)?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+z]);if(!AH.ValidHeaderFieldValue(aa)){$s=20;continue;}$s=21;continue;case 20:ab=B.Errorf(\"invalid HTTP header value %q for header %q\",new WH([new $String(aa),new $String(v)]));$s=22;case 22:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}$s=-1;return[WP.nil,ab];case 21:z++;$s=18;continue;case 19:s++;$s=13;continue;case 14:$r=i.writeHeader(\":authority\",j);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=i.writeHeader(\":method\",e.Method);$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(e.Method===\"CONNECT\")){$s=25;continue;}$s=26;continue;case 25:$r=i.writeHeader(\":path\",n);$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=i.writeHeader(\":scheme\",e.URL.Scheme);$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 26:if(!(g===\"\")){$s=29;continue;}$s=30;continue;case 29:$r=i.writeHeader(\"trailer\",g);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 30:ac=false;ad=e.Header;ae=0;af=$keys(ad);case 32:if(!(ae<af.length)){$s=33;continue;}ag=ad[af[ae]];if(ag===undefined){ae++;$s=32;continue;}ah=ag.k;ai=ag.v;aj=O.ToLower(ah);$s=34;case 34:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ak=aj;al=ak;if(al===(\"host\")||al===(\"content-length\")){$s=36;continue;}if(al===(\"connection\")||al===(\"proxy-connection\")||al===(\"transfer-encoding\")||al===(\"upgrade\")||al===(\"keep-alive\")){$s=37;continue;}if(al===(\"user-agent\")){$s=38;continue;}$s=39;continue;case 36:ae++;$s=32;continue;$s=39;continue;case 37:ae++;$s=32;continue;$s=39;continue;case 38:ac=true;if(ai.$length<1){ae++;$s=32;continue;}ai=$subslice(ai,0,1);if((0>=ai.$length?($throwRuntimeError(\"index out of range\"),undefined):ai.$array[ai.$offset+0])===\"\"){ae++;$s=32;continue;}case 39:case 35:am=ai;an=0;case 40:if(!(an<am.$length)){$s=41;continue;}ao=((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]);$r=i.writeHeader(ak,ao);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an++;$s=40;continue;case 41:ae++;$s=32;continue;case 33:if(LS(e.Method,h)){$s=43;continue;}$s=44;continue;case 43:$r=i.writeHeader(\"content-length\",E.FormatInt(h,10));$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 44:if(f){$s=46;continue;}$s=47;continue;case 46:$r=i.writeHeader(\"accept-encoding\",\"gzip\");$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 47:if(!ac){$s=49;continue;}$s=50;continue;case 49:$r=i.writeHeader(\"user-agent\",\"Go-http-client/2.0\");$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 50:$s=-1;return[i.hbuf.Bytes(),$ifaceNil];}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.encodeHeaders};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.encodeHeaders=function(e,f,g,h){return this.$val.encodeHeaders(e,f,g,h);};LS=function(e,f){var $ptr,e,f,g;if((f.$high>0||(f.$high===0&&f.$low>0))){return true;}if((f.$high<0||(f.$high===0&&f.$low<0))){return false;}g=e;if(g===(\"POST\")||g===(\"PUT\")||g===(\"PATCH\")){return true;}else{return false;}};LA.ptr.prototype.encodeTrailers=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;f.hbuf.Reset();g=e.Trailer;h=0;i=$keys(g);case 1:if(!(h<i.length)){$s=2;continue;}j=g[i[h]];if(j===undefined){h++;$s=1;continue;}k=j.k;l=j.v;m=O.ToLower(k);$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=l;p=0;case 4:if(!(p<o.$length)){$s=5;continue;}q=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);$r=f.writeHeader(n,q);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=4;continue;case 5:h++;$s=1;continue;case 2:$s=-1;return f.hbuf.Bytes();}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.encodeTrailers};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.encodeTrailers=function(e){return this.$val.encodeTrailers(e);};LA.ptr.prototype.writeHeader=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(HV){$s=1;continue;}$s=2;continue;case 1:$r=L.Printf(\"http2: Transport encoding header %q = %q\",new WH([new $String(e),new $String(f)]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:h=g.henc.WriteField(new AF.HeaderField.ptr(e,f,false));$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.writeHeader};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.writeHeader=function(e,f){return this.$val.writeHeader(e,f);};LA.ptr.prototype.newStream=function(){var $ptr,e,f,g;e=this;f=new LB.ptr(e,WT.nil,ZE.nil,e.nextStreamID,new $Chan(LT,1),new JA.ptr(new P.Mutex.ptr(0,0),new P.Cond.ptr(new P.noCopy.ptr(),$ifaceNil,new P.notifyList.ptr(0,0,0,0,0),0,0,$chanNil),$ifaceNil,$ifaceNil,$ifaceNil,$chanNil,$throwNilPointerError),false,false,$throwNilPointerError,new EL.ptr(0,YM.nil),new EL.ptr(0,YM.nil),new $Int64(0,0),$ifaceNil,$ifaceNil,false,new $Chan(XP,0),$ifaceNil,new $Chan(XP,0),false,false,false,false,AAG.nil);f.flow.add(((e.initialWindowSize>>0)));f.flow.setConnFlow(e.flow);f.inflow.add(4194304);f.inflow.setConnFlow(e.inflow);e.nextStreamID=e.nextStreamID+(2)>>>0;g=f.ID;(e.streams||$throwRuntimeError(\"assignment to entry in nil map\"))[$Uint32.keyFor(g)]={k:g,v:f};return f;};LA.prototype.newStream=function(){return this.$val.newStream();};LA.ptr.prototype.forgetStreamID=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.streamByID(e,true);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.forgetStreamID};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.forgetStreamID=function(e){return this.$val.forgetStreamID(e);};LA.ptr.prototype.streamByID=function(e,f){var $ptr,e,f,g,h,i,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;$r=g.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.mu,\"Unlock\"),[]]);i=(h=g.streams[$Uint32.keyFor(e)],h!==undefined?h.v:AAH.nil);if(f&&!(i===AAH.nil)&&!g.closed){$s=2;continue;}$s=3;continue;case 2:Q.Time.copy(g.lastActive,Q.Now());delete g.streams[$Uint32.keyFor(e)];if(($keys(g.streams).length===0)&&!(g.idleTimer===ZL.nil)){g.idleTimer.Reset(g.idleTimeout);}$close(i.done);$r=g.cond.Broadcast();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return i;}return;}}catch(err){$err=err;$s=-1;return AAH.nil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LA.ptr.prototype.streamByID};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LA.prototype.streamByID=function(e,f){return this.$val.streamByID(e,f);};LA.ptr.prototype.readLoop=function(){var $ptr,e,f,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;f=new LU.ptr(e,{},false);$deferred.push([$methodVal(f,\"cleanup\"),[]]);g=f.run();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e.readerErr=g;h=$assertType(e.readerErr,DX,true);i=h[0];j=h[1];if(j){$s=2;continue;}$s=3;continue;case 2:$r=e.wmu.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=e.fr.WriteGoAway(0,((i>>>0)),WP.nil);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;$r=e.wmu.Unlock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LA.ptr.prototype.readLoop};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LA.prototype.readLoop=function(){return this.$val.readLoop();};LV.ptr.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"http2: server sent GOAWAY and closed the connection; LastStreamID=%v, ErrCode=%v, debug=%q\",new WH([new $Uint32(e.LastStreamID),new DV(e.ErrCode),new $String(e.DebugData)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:LV.ptr.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};LV.prototype.Error=function(){return this.$val.Error();};LW=function(e){var $ptr,e,f,g,h;if($interfaceIsEqual(e,C.EOF)){return true;}f=$assertType(e,ZQ,true);g=f[0];h=f[1];return h&&g.Op===\"read\";};LU.ptr.prototype.cleanup=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;f=e.cc;$deferred.push([$methodVal(f.tconn,\"Close\"),[]]);g=f.t.connPool();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$deferred.push([$methodVal(g,\"MarkDead\"),[f]]);$deferred.push([function(h){$close(h);},[f.readerDone]]);if(!(f.idleTimer===ZL.nil)){f.idleTimer.Stop();}i=f.readerErr;$r=f.mu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(f.goAway===ZA.nil)&&LW(i)){i=(j=new LV.ptr(f.goAway.LastStreamID,f.goAway.ErrCode,f.goAwayDebug),new j.constructor.elem(j));}else if($interfaceIsEqual(i,C.EOF)){i=C.ErrUnexpectedEOF;}k=e.activeRes;l=0;m=$keys(k);case 3:if(!(l<m.length)){$s=4;continue;}n=k[m[l]];if(n===undefined){l++;$s=3;continue;}o=n.v;$r=o.bufPipe.CloseWithError(i);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l++;$s=3;continue;case 4:p=f.streams;q=0;r=$keys(p);case 6:if(!(q<r.length)){$s=7;continue;}s=p[r[q]];if(s===undefined){q++;$s=6;continue;}t=s.v;u=$select([[t.resc,new LT.ptr(XH.nil,i)],[]]);if(u[0]===0){}else if(u[0]===1){}$close(t.done);q++;$s=6;continue;case 7:f.closed=true;$r=f.cond.Broadcast();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.mu.Unlock();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LU.ptr.prototype.cleanup};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LU.prototype.cleanup=function(){return this.$val.cleanup();};LU.ptr.prototype.run=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.cc;e.closeWhenIdle=f.t.disableKeepAlives()||f.singleUse;g=false;h=false;case 1:j=f.fr.ReadFrame();$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:$r=f.vlogf(\"http2: Transport readFrame error on conn %p: (%T) %v\",new WH([f,l,l]));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:m=$assertType(l,DY,true);n=$clone(m[0],DY);o=m[1];if(o){$s=7;continue;}if(!($interfaceIsEqual(l,$ifaceNil))){$s=8;continue;}$s=9;continue;case 7:p=f.streamByID(n.StreamID,true);$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(!(q===AAH.nil)){$s=11;continue;}$s=12;continue;case 11:$r=q.cc.writeStreamReset(q.ID,n.Code,l);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($interfaceIsEqual(n.Cause,$ifaceNil)){n.Cause=f.fr.errDetail;}$r=e.endStreamError(q,new n.constructor.elem(n));$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:$s=1;continue;$s=9;continue;case 8:$s=-1;return l;case 9:if(HV){$s=15;continue;}$s=16;continue;case 15:r=GN(k);$s=17;case 17:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=new $String(r);$r=f.vlogf(\"http2: Transport received %s\",new WH([s]));$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:if(!h){$s=19;continue;}$s=20;continue;case 19:t=$assertType(k,YW,true);u=t[1];if(!u){$s=21;continue;}$s=22;continue;case 21:$r=f.logf(\"protocol error: received %T before a SETTINGS frame\",new WH([k]));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return new DX(1);case 22:h=true;case 20:v=false;w=k;if($assertType(w,YU,true)[1]){$s=24;continue;}if($assertType(w,YX,true)[1]){$s=25;continue;}if($assertType(w,ZA,true)[1]){$s=26;continue;}if($assertType(w,ZB,true)[1]){$s=27;continue;}if($assertType(w,YW,true)[1]){$s=28;continue;}if($assertType(w,ZW,true)[1]){$s=29;continue;}if($assertType(w,YY,true)[1]){$s=30;continue;}if($assertType(w,YZ,true)[1]){$s=31;continue;}$s=32;continue;case 24:x=w.$val;ag=e.processHeaders(x);$s=34;case 34:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}l=ag;v=true;g=true;$s=33;continue;case 25:y=w.$val;ah=e.processData(y);$s=35;case 35:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}l=ah;v=true;$s=33;continue;case 26:z=w.$val;ai=e.processGoAway(z);$s=36;case 36:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}l=ai;v=true;$s=33;continue;case 27:aa=w.$val;aj=e.processResetStream(aa);$s=37;case 37:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}l=aj;v=true;$s=33;continue;case 28:ab=w.$val;ak=e.processSettings(ab);$s=38;case 38:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}l=ak;$s=33;continue;case 29:ac=w.$val;l=e.processPushPromise(ac);$s=33;continue;case 30:ad=w.$val;al=e.processWindowUpdate(ad);$s=39;case 39:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}l=al;$s=33;continue;case 31:ae=w.$val;am=e.processPing(ae);$s=40;case 40:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}l=am;$s=33;continue;case 32:af=w;$r=f.logf(\"Transport: unhandled response frame type %T\",new WH([af]));$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 33:if(!($interfaceIsEqual(l,$ifaceNil))){$s=42;continue;}$s=43;continue;case 42:if(HV){$s=44;continue;}$s=45;continue;case 44:an=f;ao=GN(k);$s=46;case 46:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=new $String(ao);aq=l;$r=f.vlogf(\"http2: Transport conn %p received error from processing frame %v: %v\",new WH([an,ap,aq]));$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 45:$s=-1;return l;case 43:if(e.closeWhenIdle&&g&&v&&($keys(e.activeRes).length===0)){$s=48;continue;}$s=49;continue;case 48:$r=f.closeIfIdle();$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 49:$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.run};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.run=function(){return this.$val.run();};LU.ptr.prototype.processHeaders=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.cc;h=g.streamByID(e.http2HeadersFrame.http2FrameHeader.StreamID,e.http2HeadersFrame.StreamEnded());$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(i===AAH.nil){$s=-1;return $ifaceNil;}if(!i.firstByte){$s=2;continue;}$s=3;continue;case 2:if(!(i.trace===ZE.nil)){$s=4;continue;}$s=5;continue;case 4:$r=HC(i.trace);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:i.firstByte=true;case 3:if(!i.pastHeaders){$s=7;continue;}$s=8;continue;case 7:i.pastHeaders=true;$s=9;continue;case 8:j=f.processTrailers(i,e);$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;case 9:l=f.handleResponse(i,e);$s=11;case 11:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=12;continue;}$s=13;continue;case 12:o=$assertType(n,DX,true);p=o[1];if(p){$s=-1;return n;}$r=i.cc.writeStreamReset(e.http2HeadersFrame.http2FrameHeader.StreamID,1,n);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=$send(i.resc,$clone(new LT.ptr(XH.nil,n),LT));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;case 13:if(m===XH.nil){$s=-1;return $ifaceNil;}if(!($interfaceIsEqual(m.Body,MC))){q=i.ID;(f.activeRes||$throwRuntimeError(\"assignment to entry in nil map\"))[$Uint32.keyFor(q)]={k:q,v:i};}i.resTrailer=(m.$ptr_Trailer||(m.$ptr_Trailer=new AAG(function(){return this.$target.Trailer;},function($v){this.$target.Trailer=$v;},m)));$r=$send(i.resc,$clone(new LT.ptr(m,$ifaceNil),LT));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.processHeaders};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.processHeaders=function(e){return this.$val.processHeaders(e);};LU.ptr.prototype.handleResponse=function(e,f){var $ptr,aa,ab,ac,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(f.Truncated){$s=-1;return[XH.nil,MA];}h=f.PseudoValue(\"status\");if(h===\"\"){$s=-1;return[XH.nil,A.New(\"missing status pseudo header\")];}i=E.Atoi(h);j=i[0];k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return[XH.nil,A.New(\"malformed non-numeric status pseudo header\")];}if(j===100){$s=1;continue;}$s=2;continue;case 1:$r=GZ(e.trace);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(e.on100===$throwNilPointerError)){$s=4;continue;}$s=5;continue;case 4:$r=e.on100();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:e.pastHeaders=false;$s=-1;return[XH.nil,$ifaceNil];case 2:l={};m=new PM.ptr(h+\" \"+TG(j),j,\"HTTP/2.0\",2,0,l,$ifaceNil,new $Int64(0,0),WN.nil,false,false,false,WT.nil,XK.nil);n=f.RegularFields();o=0;case 7:if(!(o<n.$length)){$s=8;continue;}p=[p];q=$clone(((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]),AF.HeaderField);r=NX(q.Name);if(r===\"Trailer\"){$s=9;continue;}$s=10;continue;case 9:p[0]=m.Trailer;if(p[0]===false){p[0]={};m.Trailer=p[0];}$r=KO(q.Value,(function(p){return function(s){var $ptr,s,t;t=NX(s);(p[0]||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(t)]={k:t,v:WN.nil};};})(p));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:s=r;(l||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(s)]={k:s,v:$append((t=l[$String.keyFor(r)],t!==undefined?t.v:WN.nil),q.Value)};case 11:o++;$s=7;continue;case 8:u=f.http2HeadersFrame.StreamEnded();v=e.req.Method===\"HEAD\";if(!u||v){m.ContentLength=new $Int64(-1,4294967295);x=(w=m.Header[$String.keyFor(\"Content-Length\")],w!==undefined?w.v:WN.nil);if(x.$length===1){y=E.ParseInt((0>=x.$length?($throwRuntimeError(\"index out of range\"),undefined):x.$array[x.$offset+0]),10,64);z=y[0];aa=y[1];if($interfaceIsEqual(aa,$ifaceNil)){m.ContentLength=z;}else{}}else if(x.$length>1){}}if(u||v){m.Body=MC;$s=-1;return[m,$ifaceNil];}ab=new H.Buffer.ptr(WP.nil,0,XX.zero(),0);JA.copy(e.bufPipe,new JA.ptr(new P.Mutex.ptr(0,0),new P.Cond.ptr(new P.noCopy.ptr(),$ifaceNil,new P.notifyList.ptr(0,0,0,0,0),0,0,$chanNil),ab,$ifaceNil,$ifaceNil,$chanNil,$throwNilPointerError));e.bytesRemain=m.ContentLength;m.Body=(ac=new LX.ptr(e),new ac.constructor.elem(ac));$go($methodVal(e,\"awaitRequestCancel\"),[e.req]);if(e.requestedGzip&&new NO(m.Header).Get(\"Content-Encoding\")===\"gzip\"){new NO(m.Header).Del(\"Content-Encoding\");new NO(m.Header).Del(\"Content-Length\");m.ContentLength=new $Int64(-1,4294967295);m.Body=new MF.ptr(m.Body,AAI.nil,$ifaceNil);GW(m);}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.handleResponse};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.handleResponse=function(e,f){return this.$val.handleResponse(e,f);};LU.ptr.prototype.processTrailers=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(e.pastTrailers){$s=-1;return new DX(1);}e.pastTrailers=true;if(!f.http2HeadersFrame.StreamEnded()){$s=-1;return new DX(1);}if(f.PseudoFields().$length>0){$s=-1;return new DX(1);}h={};i=f.RegularFields();j=0;while(true){if(!(j<i.$length)){break;}k=$clone(((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]),AF.HeaderField);l=NX(k.Name);m=l;(h||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:$append((n=h[$String.keyFor(l)],n!==undefined?n.v:WN.nil),k.Value)};j++;}e.trailer=h;$r=g.endStream(e);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.processTrailers};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.processTrailers=function(e,f){return this.$val.processTrailers(e,f);};LX.ptr.prototype.Read=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=0;g=$ifaceNil;h=this;i=h.cs;j=i.cc;if(!($interfaceIsEqual(i.readErr,$ifaceNil))){k=0;l=i.readErr;f=k;g=l;$s=-1;return[f,g];}n=h.cs.bufPipe.Read(e);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;f=m[0];g=m[1];if(!((o=i.bytesRemain,(o.$high===-1&&o.$low===4294967295)))){$s=2;continue;}$s=3;continue;case 2:if((p=(new $Int64(0,f)),q=i.bytesRemain,(p.$high>q.$high||(p.$high===q.$high&&p.$low>q.$low)))){$s=4;continue;}$s=5;continue;case 4:f=(((r=i.bytesRemain,r.$low+((r.$high>>31)*4294967296))>>0));if($interfaceIsEqual(g,$ifaceNil)){$s=6;continue;}$s=7;continue;case 6:g=A.New(\"net/http: server replied with more than declared Content-Length; truncated\");$r=j.writeStreamReset(i.ID,1,g);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:i.readErr=g;s=(((t=i.bytesRemain,t.$low+((t.$high>>31)*4294967296))>>0));u=g;f=s;g=u;$s=-1;return[f,g];case 5:i.bytesRemain=(v=i.bytesRemain,w=(new $Int64(0,f)),new $Int64(v.$high-w.$high,v.$low-w.$low));if($interfaceIsEqual(g,C.EOF)&&(x=i.bytesRemain,(x.$high>0||(x.$high===0&&x.$low>0)))){g=C.ErrUnexpectedEOF;i.readErr=g;y=f;z=g;f=y;g=z;$s=-1;return[f,g];}case 3:if(f===0){$s=-1;return[f,g];}$r=j.mu.Lock();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(j.mu,\"Unlock\"),[]]);aa=0;ab=0;ac=aa;ad=ab;ae=j.inflow.available();if(ae<536870912){ac=1073741824-ae>>0;j.inflow.add(ac);}if($interfaceIsEqual(g,$ifaceNil)){$s=10;continue;}$s=11;continue;case 10:af=i.bufPipe.Len();$s=12;case 12:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=((i.inflow.available()>>0))+af>>0;if(ag<4190208){ad=(((4194304-ag>>0)>>0));i.inflow.add(ad);}case 11:if(!((ac===0))||!((ad===0))){$s=13;continue;}$s=14;continue;case 13:$r=j.wmu.Lock();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(j.wmu,\"Unlock\"),[]]);if(!((ac===0))){$s=16;continue;}$s=17;continue;case 16:ah=j.fr.WriteWindowUpdate(0,IS(ac));$s=18;case 18:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ah;case 17:if(!((ad===0))){$s=19;continue;}$s=20;continue;case 19:ai=j.fr.WriteWindowUpdate(i.ID,IS(ad));$s=21;case 21:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ai;case 20:aj=j.bw.Flush();$s=22;case 22:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}aj;case 14:$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:LX.ptr.prototype.Read};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LX.prototype.Read=function(e){return this.$val.Read(e);};LX.ptr.prototype.Close=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.cs;g=f.cc;h=f.bufPipe.Err();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=$interfaceIsEqual(h,C.EOF);j=f.bufPipe.Len();$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k>0||!i){$s=3;continue;}$s=4;continue;case 3:$r=g.mu.Lock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g.wmu.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!i){$s=7;continue;}$s=8;continue;case 7:l=g.fr.WriteRSTStream(f.ID,8);$s=9;case 9:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;case 8:if(k>0){$s=10;continue;}$s=11;continue;case 10:g.inflow.add(((k>>0)));m=g.fr.WriteWindowUpdate(0,((k>>>0)));$s=12;case 12:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 11:n=g.bw.Flush();$s=13;case 13:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$r=g.wmu.Unlock();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g.mu.Unlock();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=f.bufPipe.BreakWithError(LY);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LX.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};LX.prototype.Close=function(){return this.$val.Close();};LU.ptr.prototype.processData=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.cc;h=g.streamByID(e.http2FrameHeader.StreamID,e.StreamEnded());$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=e.Data();if(i===AAH.nil){$s=2;continue;}$s=3;continue;case 2:$r=g.mu.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=g.nextStreamID;$r=g.mu.Unlock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e.http2FrameHeader.StreamID>=k){$s=6;continue;}$s=7;continue;case 6:$r=g.logf(\"http2: Transport received unsolicited DATA frame; closing connection\",new WH([]));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return new DX(1);case 7:if(e.http2FrameHeader.Length>0){$s=9;continue;}$s=10;continue;case 9:$r=g.mu.Lock();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g.inflow.add(((e.http2FrameHeader.Length>>0)));$r=g.mu.Unlock();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g.wmu.Lock();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=g.fr.WriteWindowUpdate(0,(e.http2FrameHeader.Length));$s=14;case 14:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=g.bw.Flush();$s=15;case 15:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$r=g.wmu.Unlock();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=-1;return $ifaceNil;case 3:if(e.http2FrameHeader.Length>0){$s=17;continue;}$s=18;continue;case 17:if(j.$length>0&&$interfaceIsEqual(i.bufPipe.b,$ifaceNil)){$s=19;continue;}$s=20;continue;case 19:$r=g.logf(\"http2: Transport received DATA frame for closed stream; closing connection\",new WH([]));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return new DX(1);case 20:$r=g.mu.Lock();$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.inflow.available()>=((e.http2FrameHeader.Length>>0))){$s=23;continue;}$s=24;continue;case 23:i.inflow.take(((e.http2FrameHeader.Length>>0)));$s=25;continue;case 24:$r=g.mu.Unlock();$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return new DX(3);case 25:n=((e.http2FrameHeader.Length>>0))-((j.$length>>0))>>0;if(n>0){$s=27;continue;}$s=28;continue;case 27:i.inflow.add(n);g.inflow.add(n);$r=g.wmu.Lock();$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}o=g.fr.WriteWindowUpdate(0,((n>>>0)));$s=30;case 30:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;p=g.fr.WriteWindowUpdate(i.ID,((n>>>0)));$s=31;case 31:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}p;q=g.bw.Flush();$s=32;case 32:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;$r=g.wmu.Unlock();$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 28:r=i.didReset;$r=g.mu.Unlock();$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(j.$length>0&&!r){$s=35;continue;}$s=36;continue;case 35:t=i.bufPipe.Write(j);$s=37;case 37:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[1];if(!($interfaceIsEqual(u,$ifaceNil))){$s=38;continue;}$s=39;continue;case 38:$r=f.endStreamError(i,u);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return u;case 39:case 36:case 18:if(e.StreamEnded()){$s=41;continue;}$s=42;continue;case 41:$r=f.endStream(i);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 42:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.processData};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.processData=function(e){return this.$val.processData(e);};LU.ptr.prototype.endStream=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.endStreamError(e,$ifaceNil);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.endStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.endStream=function(e){return this.$val.endStream(e);};LU.ptr.prototype.endStreamError=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=$throwNilPointerError;if($interfaceIsEqual(f,$ifaceNil)){f=C.EOF;h=$methodVal(e,\"copyTrailers\");}$r=e.bufPipe.closeWithErrorAndCode(f,h);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}delete g.activeRes[$Uint32.keyFor(e.ID)];if(MI(e.req)){g.closeWhenIdle=true;}i=$select([[e.resc,new LT.ptr(XH.nil,f)],[]]);if(i[0]===0){}else if(i[0]===1){}$s=-1;return;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.endStreamError};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.endStreamError=function(e,f){return this.$val.endStreamError(e,f);};LB.ptr.prototype.copyTrailers=function(){var $ptr,e,f,g,h,i,j,k,l,m;e=this;f=e.trailer;g=0;h=$keys(f);while(true){if(!(g<h.length)){break;}i=f[h[g]];if(i===undefined){g++;continue;}j=i.k;k=i.v;l=e.resTrailer;if(l.$get()===false){l.$set({});}m=j;(l.$get()||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:k};g++;}};LB.prototype.copyTrailers=function(){return this.$val.copyTrailers();};LU.ptr.prototype.processGoAway=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.cc;h=g.t.connPool();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=h.MarkDead(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((e.ErrCode===0))){$s=3;continue;}$s=4;continue;case 3:$r=g.vlogf(\"transport got GOAWAY with error code = %v\",new WH([new DV(e.ErrCode)]));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=g.setGoAway(e);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.processGoAway};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.processGoAway=function(e){return this.$val.processGoAway(e);};LU.ptr.prototype.processSettings=function(e){var $ptr,e,f,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=[f];g=this;f[0]=g.cc;$r=f[0].mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f[0].mu,\"Unlock\"),[]]);if(e.IsAck()){if(f[0].wantSettingsAck){f[0].wantSettingsAck=false;$s=-1;return $ifaceNil;}$s=-1;return new DX(1);}h=e.ForeachSetting((function(f){return function $b(h){var $ptr,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=h.ID;if(i===(5)){$s=2;continue;}if(i===(3)){$s=3;continue;}if(i===(4)){$s=4;continue;}$s=5;continue;case 2:f[0].maxFrameSize=h.Val;$s=6;continue;case 3:f[0].maxConcurrentStreams=h.Val;$s=6;continue;case 4:if(h.Val>2147483647){$s=-1;return new DX(3);}j=((h.Val>>0))-((f[0].initialWindowSize>>0))>>0;k=f[0].streams;l=0;m=$keys(k);while(true){if(!(l<m.length)){break;}n=k[m[l]];if(n===undefined){l++;continue;}o=n.v;o.flow.add(j);l++;}$r=f[0].cond.Broadcast();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f[0].initialWindowSize=h.Val;$s=6;continue;case 5:$r=f[0].vlogf(\"Unhandled Setting: %v\",new WH([new h.constructor.elem(h)]));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 1:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};})(f));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}$r=f[0].wmu.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f[0].wmu,\"Unlock\"),[]]);j=f[0].fr.WriteSettingsAck();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=f[0].bw.Flush();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;$s=-1;return f[0].werr;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LU.ptr.prototype.processSettings};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LU.prototype.processSettings=function(e){return this.$val.processSettings(e);};LU.ptr.prototype.processWindowUpdate=function(e){var $ptr,e,f,g,h,i,j,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;g=f.cc;h=g.streamByID(e.http2FrameHeader.StreamID,false);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!((e.http2FrameHeader.StreamID===0))&&i===AAH.nil){$s=-1;return $ifaceNil;}$r=g.mu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.mu,\"Unlock\"),[]]);j=g.flow;if(!(i===AAH.nil)){j=i.flow;}if(!j.add(((e.Increment>>0)))){$s=-1;return new DX(3);}$r=g.cond.Broadcast();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LU.ptr.prototype.processWindowUpdate};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LU.prototype.processWindowUpdate=function(e){return this.$val.processWindowUpdate(e);};LU.ptr.prototype.processResetStream=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.cc.streamByID(e.http2FrameHeader.StreamID,true);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===AAH.nil){$s=-1;return $ifaceNil;}i=$select([[h.peerReset],[]]);if(i[0]===0){$s=2;continue;}if(i[0]===1){$s=3;continue;}$s=4;continue;case 2:$s=4;continue;case 3:j=$clone(DZ(h.ID,e.ErrCode),DY);h.resetErr=new j.constructor.elem(j);$close(h.peerReset);$r=h.bufPipe.CloseWithError(new j.constructor.elem(j));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=h.cc.cond.Broadcast();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:delete f.activeRes[$Uint32.keyFor(h.ID)];$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LU.ptr.prototype.processResetStream};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};LU.prototype.processResetStream=function(e){return this.$val.processResetStream(e);};LA.ptr.prototype.ping=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=new $Chan(XP,0);h=YS.zero();case 1:j=Z.Read(new WP(h));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}$r=f.mu.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=(m=f.pings[YS.keyFor(h)],m!==undefined?[m.v,true]:[$chanNil,false]);n=l[1];if(!n){$s=5;continue;}$s=6;continue;case 5:o=$clone(h,YS);(f.pings||$throwRuntimeError(\"assignment to entry in nil map\"))[YS.keyFor(o)]={k:o,v:g};$r=f.mu.Unlock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=2;continue;case 6:$r=f.mu.Unlock();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:$r=f.wmu.Lock();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=f.fr.WritePing(false,$clone(h,YS));$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(!($interfaceIsEqual(q,$ifaceNil))){$s=11;continue;}$s=12;continue;case 11:$r=f.wmu.Unlock();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return q;case 12:r=f.bw.Flush();$s=14;case 14:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;if(!($interfaceIsEqual(s,$ifaceNil))){$s=15;continue;}$s=16;continue;case 15:$r=f.wmu.Unlock();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return s;case 16:$r=f.wmu.Unlock();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=e.Done();$s=19;case 19:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=$select([[g],[u],[f.readerDone]]);$s=20;case 20:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}t=v;if(t[0]===0){$s=21;continue;}if(t[0]===1){$s=22;continue;}if(t[0]===2){$s=23;continue;}$s=24;continue;case 21:$s=-1;return $ifaceNil;case 22:w=e.Err();$s=25;case 25:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;case 23:$s=-1;return f.readerErr;case 24:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.ping};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.ping=function(e){return this.$val.ping(e);};LU.ptr.prototype.processPing=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;if(e.IsAck()){$s=1;continue;}$s=2;continue;case 1:g=f.cc;$r=g.mu.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.mu,\"Unlock\"),[]]);h=(i=g.pings[YS.keyFor(e.Data)],i!==undefined?[i.v,true]:[$chanNil,false]);j=h[0];k=h[1];if(k){$close(j);delete g.pings[YS.keyFor(e.Data)];}$s=-1;return $ifaceNil;case 2:l=f.cc;$r=l.wmu.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(l.wmu,\"Unlock\"),[]]);m=l.fr.WritePing(true,$clone(e.Data,YS));$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}o=l.bw.Flush();$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return o;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:LU.ptr.prototype.processPing};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};LU.prototype.processPing=function(e){return this.$val.processPing(e);};LU.ptr.prototype.processPushPromise=function(e){var $ptr,e,f;f=this;return new DX(1);};LU.prototype.processPushPromise=function(e){return this.$val.processPushPromise(e);};LA.ptr.prototype.writeStreamReset=function(e,f,g){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;$r=h.wmu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=h.fr.WriteRSTStream(e,f);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=h.bw.Flush();$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$r=h.wmu.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.writeStreamReset};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.writeStreamReset=function(e,f,g){return this.$val.writeStreamReset(e,f,g);};LA.ptr.prototype.logf=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.t.logf(e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.logf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.logf=function(e,f){return this.$val.logf(e,f);};LA.ptr.prototype.vlogf=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.t.vlogf(e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:LA.ptr.prototype.vlogf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};LA.prototype.vlogf=function(e,f){return this.$val.vlogf(e,f);};KX.ptr.prototype.vlogf=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(HV){$s=1;continue;}$s=2;continue;case 1:$r=g.logf(e,f);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.vlogf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.vlogf=function(e,f){return this.$val.vlogf(e,f);};KX.ptr.prototype.logf=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=L.Printf(e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:KX.ptr.prototype.logf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};KX.prototype.logf=function(e,f){return this.$val.logf(e,f);};MD=function(e,f){var $ptr,e,f,g,h,i;g=e;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(i===f){return true;}h++;}return false;};ME.ptr.prototype.RoundTrip=function(e){var $ptr,e,f;f=this;return[XH.nil,f.err];};ME.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};MF.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(!($interfaceIsEqual(h.zerr,$ifaceNil))){i=0;j=h.zerr;f=i;g=j;$s=-1;return[f,g];}if(h.zr===AAI.nil){$s=1;continue;}$s=2;continue;case 1:l=X.NewReader(h.body);$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;h.zr=k[0];g=k[1];if(!($interfaceIsEqual(g,$ifaceNil))){h.zerr=g;m=0;n=g;f=m;g=n;$s=-1;return[f,g];}case 2:p=h.zr.Read(e);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;f=o[0];g=o[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:MF.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};MF.prototype.Read=function(e){return this.$val.Read(e);};MF.ptr.prototype.Close=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.body.Close();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:MF.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};MF.prototype.Close=function(){return this.$val.Close();};KX.ptr.prototype.getBodyWriterState=function(e,f){var $ptr,e,f,g,h,i,j,k;g=new MH.ptr(AAH.nil,ZL.nil,AAJ.nil,$throwNilPointerError,$chanNil,new Q.Duration(0,0));h=this;g.cs=e;if($interfaceIsEqual(f,$ifaceNil)){return g;}i=new $Chan($error,1);g.resc=i;g.fn=(function $b(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=e.cc.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.startedWrite=true;$r=e.cc.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=e.writeRequestBody(f,e.req.Body);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=$send(i,j);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});g.delay=h.expectContinueTimeout();if((j=g.delay,(j.$high===0&&j.$low===0))||!AH.HeaderValuesContainsToken((k=e.req.Header[$String.keyFor(\"Expect\")],k!==undefined?k.v:WN.nil),\"100-continue\")){return g;}g.fnonce=new P.Once.ptr(new P.Mutex.ptr(0,0),0);g.timer=Q.AfterFunc(new Q.Duration(7342547,765657088),(function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=g.fnonce.Do(g.fn);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}));return g;};KX.prototype.getBodyWriterState=function(e,f){return this.$val.getBodyWriterState(e,f);};MH.ptr.prototype.cancel=function(){var $ptr,e;e=this;if(!(e.timer===ZL.nil)){e.timer.Stop();}};MH.prototype.cancel=function(){return this.$val.cancel();};MH.ptr.prototype.on100=function(){var $ptr,e;e=this;if(e.timer===ZL.nil){return;}e.timer.Stop();$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=e.fnonce.Do(e.fn);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);};MH.prototype.on100=function(){return this.$val.on100();};MH.ptr.prototype.scheduleBodyWrite=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(e.timer===ZL.nil){$s=1;continue;}$s=2;continue;case 1:$go(e.fn,[]);$s=-1;return;case 2:$r=HA(e.cs.trace);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e.timer.Stop()){e.timer.Reset(e.delay);}$s=-1;return;}return;}if($f===undefined){$f={$blk:MH.ptr.prototype.scheduleBodyWrite};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};MH.prototype.scheduleBodyWrite=function(){return this.$val.scheduleBodyWrite();};MI=function(e){var $ptr,e,f;return e.Close||AH.HeaderValuesContainsToken((f=e.Header[$String.keyFor(\"Connection\")],f!==undefined?f.v:WN.nil),\"close\");};ML=function(e){var $ptr,e,f,g,h,i;f=e;if($assertType(f,ZS,true)[1]){g=f.$val;return g.endStream;}else if($assertType(f,ZT,true)[1]){h=f.$val;return h.endStream;}else if(f===$ifaceNil){i=f;$panic(new $String(\"writeEndsStream called on nil writeFramer\"));}return false;};MM.ptr.prototype.writeFrame=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=e.Flush();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:MM.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};MM.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MM.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e;return false;};MM.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MN.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return(9+($imul(6,f.$length))>>0)<=e;};$ptrType(MN).prototype.staysWithinBuffer=function(e){return this.$get().staysWithinBuffer(e);};MN.prototype.writeFrame=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.Framer();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.WriteSettings(($subslice(new AAF(f.$array),f.$offset,f.$offset+f.$length)));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:MN.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(MN).prototype.writeFrame=function(e){return this.$get().writeFrame(e);};MO.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.Framer();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.WriteGoAway(f.maxStreamID,f.code,WP.nil);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!((f.code===0))){$s=3;continue;}$s=4;continue;case 3:j=e.Flush();$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$r=Q.Sleep(new Q.Duration(0,50000000));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=e.CloseConn();$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;case 4:$s=-1;return i;}return;}if($f===undefined){$f={$blk:MO.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};MO.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MO.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e;return false;};MO.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MP.ptr.prototype.String=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"writeData(stream=%d, p=%d, endStream=%v)\",new WH([new $Uint32(e.streamID),new $Int(e.p.$length),new $Bool(e.endStream)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:MP.ptr.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};MP.prototype.String=function(){return this.$val.String();};MP.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.Framer();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.WriteData(f.streamID,f.endStream,f.p);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:MP.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};MP.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MP.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return(9+f.p.$length>>0)<=e;};MP.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MQ.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.Framer();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.WriteRSTStream(f.StreamID,2);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:MQ.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};MQ.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MQ.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return 13<=e;};MQ.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};DY.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.Framer();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.WriteRSTStream(f.StreamID,f.Code);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:DY.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};DY.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};DY.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return 13<=e;};DY.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MR.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.Framer();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.WritePing(true,$clone(f.pf.Data,YS));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:MR.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};MR.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MR.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return 17<=e;};MR.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MS.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=e.Framer();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f.WriteSettingsAck();$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:MS.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};MS.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MS.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e;return 9<=e;};MS.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MT=function(e,f,g){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=true;case 1:if(!(f.$length>0)){$s=2;continue;}i=f;if(i.$length>16384){i=$subslice(i,0,16384);}f=$subslice(f,i.$length);j=g(e,i,h,f.$length===0);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}h=false;$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:MT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};MV=function(e,f,g){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(HV){$s=1;continue;}$s=2;continue;case 1:$r=L.Printf(\"http2: server encoding header %q = %q\",new WH([new $String(f),new $String(g)]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:h=e.WriteField(new AF.HeaderField.ptr(f,g,false));$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=-1;return;}return;}if($f===undefined){$f={$blk:MV};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};MU.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return false;};MU.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MU.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;h=e.HeaderEncoder();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];j.Reset();if(!((f.httpResCode===0))){$s=2;continue;}$s=3;continue;case 2:$r=MV(i,\":status\",IL(f.httpResCode));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=MZ(i,f.h,f.trailers);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(f.contentType===\"\")){$s=6;continue;}$s=7;continue;case 6:$r=MV(i,\"content-type\",f.contentType);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:if(!(f.contentLength===\"\")){$s=9;continue;}$s=10;continue;case 9:$r=MV(i,\"content-length\",f.contentLength);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:if(!(f.date===\"\")){$s=12;continue;}$s=13;continue;case 12:$r=MV(i,\"date\",f.date);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 13:k=j.Bytes();if((k.$length===0)&&f.trailers===WN.nil){$panic(new $String(\"unexpected empty hpack\"));}l=MT(e,k,$methodVal(f,\"writeHeaderBlock\"));$s=15;case 15:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:MU.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};MU.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MU.ptr.prototype.writeHeaderBlock=function(e,f,g,h){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(g){$s=1;continue;}$s=2;continue;case 1:j=e.Framer();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j.WriteHeaders(new FW.ptr(i.streamID,f,i.endStream,h,0,new FY.ptr(0,false,0)));$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 2:l=e.Framer();$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l.WriteContinuation(i.streamID,h,f);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return m;case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:MU.ptr.prototype.writeHeaderBlock};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};MU.prototype.writeHeaderBlock=function(e,f,g,h){return this.$val.writeHeaderBlock(e,f,g,h);};MW.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return false;};MW.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MW.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;h=e.HeaderEncoder();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];j.Reset();$r=MV(i,\":method\",f.method);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=MV(i,\":scheme\",f.url.Scheme);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=MV(i,\":authority\",f.url.Host);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=MV(i,\":path\",f.url.RequestURI());$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=MZ(i,f.h,WN.nil);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=j.Bytes();if(k.$length===0){$panic(new $String(\"unexpected empty hpack\"));}l=MT(e,k,$methodVal(f,\"writeHeaderBlock\"));$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:MW.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};MW.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MW.ptr.prototype.writeHeaderBlock=function(e,f,g,h){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(g){$s=1;continue;}$s=2;continue;case 1:j=e.Framer();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j.WritePushPromise(new GG.ptr(i.streamID,i.promisedID,f,h,0));$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 2:l=e.Framer();$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l.WriteContinuation(i.streamID,h,f);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return m;case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:MW.ptr.prototype.writeHeaderBlock};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};MW.prototype.writeHeaderBlock=function(e,f,g,h){return this.$val.writeHeaderBlock(e,f,g,h);};MX.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;h=e.HeaderEncoder();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];j.Reset();$r=MV(i,\":status\",\"100\");$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=e.Framer();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k.WriteHeaders(new FW.ptr(f.streamID,j.Bytes(),false,true,0,new FY.ptr(0,false,0)));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:MX.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};MX.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MX.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return 29<=e;};MX.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MY.ptr.prototype.staysWithinBuffer=function(e){var $ptr,e,f;f=this;return 13<=e;};MY.prototype.staysWithinBuffer=function(e){return this.$val.staysWithinBuffer(e);};MY.ptr.prototype.writeFrame=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=e.Framer();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.WriteWindowUpdate(f.streamID,f.n);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:MY.ptr.prototype.writeFrame};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};MY.prototype.writeFrame=function(e){return this.$val.writeFrame(e);};MZ=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);if(g===WN.nil){$s=1;continue;}$s=2;continue;case 1:h=IX.Get();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=$assertType(h,AAA);$deferred.push([$methodVal(IX,\"Put\"),[i]]);j=i.Keys(f);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}g=j;case 2:k=g;l=0;case 5:if(!(l<k.$length)){$s=6;continue;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);o=(n=f[$String.keyFor(m)],n!==undefined?n.v:WN.nil);p=HU(m);$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}m=p;if(!II(m)){$s=8;continue;}$s=9;continue;case 8:l++;$s=5;continue;case 9:q=m===\"transfer-encoding\";r=o;s=0;case 10:if(!(s<r.$length)){$s=11;continue;}t=((s<0||s>=r.$length)?($throwRuntimeError(\"index out of range\"),undefined):r.$array[r.$offset+s]);if(!AH.ValidHeaderFieldValue(t)){$s=12;continue;}$s=13;continue;case 12:s++;$s=10;continue;case 13:if(q&&!(t===\"trailers\")){$s=14;continue;}$s=15;continue;case 14:s++;$s=10;continue;case 15:$r=MV(e,m,t);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s++;$s=10;continue;case 11:l++;$s=5;continue;case 6:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:MZ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};NC.ptr.prototype.StreamID=function(){var $ptr,e,f,g,h;e=this;if(e.stream===WS.nil){f=$assertType(e.write,DY,true);g=$clone(f[0],DY);h=f[1];if(h){return g.StreamID;}return 0;}return e.stream.id;};NC.prototype.StreamID=function(){return this.$val.StreamID();};NC.ptr.prototype.DataSize=function(){var $ptr,e,f,g,h;e=this;f=$assertType(e.write,ZS,true);g=f[0];h=f[1];if(h){return g.p.$length;}return 0;};NC.prototype.DataSize=function(){return this.$val.DataSize();};NC.ptr.prototype.Consume=function(e){var $ptr,e,f,g,h,i,j,k,l,m;f=this;g=new NC.ptr($ifaceNil,WS.nil,$chanNil);h=$assertType(f.write,ZS,true);i=h[0];j=h[1];if(!j||(i.p.$length===0)){return[f,g,1];}k=f.stream.flow.available();if(e<k){k=e;}if(f.stream.sc.maxFrameSize<k){k=f.stream.sc.maxFrameSize;}if(k<=0){return[g,g,0];}if(i.p.$length>((k>>0))){f.stream.flow.take(k);l=new NC.ptr(new MP.ptr(i.streamID,$subslice(i.p,0,k),false),f.stream,$chanNil);m=new NC.ptr(new MP.ptr(i.streamID,$subslice(i.p,k),i.endStream),f.stream,f.done);return[l,m,2];}f.stream.flow.take(((i.p.$length>>0)));return[f,g,1];};NC.prototype.Consume=function(e){return this.$val.Consume(e);};NC.ptr.prototype.String=function(){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=\"\";g=$assertType(e.write,B.Stringer,true);h=g[0];i=g[1];if(i){$s=1;continue;}$s=2;continue;case 1:j=h.String();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}f=j;$s=3;continue;case 2:k=B.Sprintf(\"%T\",new WH([e.write]));$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}f=k;case 3:l=B.Sprintf(\"[FrameWriteRequest stream=%d, ch=%v, writer=%v]\",new WH([new $Uint32($clone(e,NC).StreamID()),new $Bool(!(e.done===$chanNil)),new $String(f)]));$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:NC.ptr.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};NC.prototype.String=function(){return this.$val.String();};NC.ptr.prototype.replyToWriter=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.done===$chanNil){$s=-1;return;}g=$select([[f.done,e],[]]);if(g[0]===0){$s=1;continue;}if(g[0]===1){$s=2;continue;}$s=3;continue;case 1:$s=3;continue;case 2:h=B.Sprintf(\"unbuffered done channel passed in for type %T\",new WH([f.write]));$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$panic(new $String(h));case 3:f.write=$ifaceNil;$s=-1;return;}return;}if($f===undefined){$f={$blk:NC.ptr.prototype.replyToWriter};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};NC.prototype.replyToWriter=function(e){return this.$val.replyToWriter(e);};ND.ptr.prototype.empty=function(){var $ptr,e;e=this;return e.s.$length===0;};ND.prototype.empty=function(){return this.$val.empty();};ND.ptr.prototype.push=function(e){var $ptr,e,f;f=this;f.s=$append(f.s,e);};ND.prototype.push=function(e){return this.$val.push(e);};ND.ptr.prototype.shift=function(){var $ptr,e,f,g,h,i;e=this;if(e.s.$length===0){$panic(new $String(\"invalid use of queue\"));}g=$clone((f=e.s,(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])),NC);$copySlice(e.s,$subslice(e.s,1));NC.copy((h=e.s,i=e.s.$length-1>>0,((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i])),new NC.ptr($ifaceNil,WS.nil,$chanNil));e.s=$subslice(e.s,0,(e.s.$length-1>>0));return g;};ND.prototype.shift=function(){return this.$val.shift();};ND.ptr.prototype.consume=function(e){var $ptr,e,f,g,h,i,j,k,l,m;f=this;if(f.s.$length===0){return[new NC.ptr($ifaceNil,WS.nil,$chanNil),false];}g=$clone((h=f.s,(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0])),NC).Consume(e);i=$clone(g[0],NC);j=$clone(g[1],NC);k=g[2];l=k;if(l===(0)){return[new NC.ptr($ifaceNil,WS.nil,$chanNil),false];}else if(l===(1)){f.shift();}else if(l===(2)){NC.copy((m=f.s,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])),j);}return[i,true];};ND.prototype.consume=function(e){return this.$val.consume(e);};$ptrType(NE).prototype.put=function(e){var $ptr,e,f,g,h,i,j;f=this;g=e.s;h=0;while(true){if(!(h<g.$length)){break;}i=h;NC.copy((j=e.s,((i<0||i>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+i])),new NC.ptr($ifaceNil,WS.nil,$chanNil));h++;}e.s=$subslice(e.s,0,0);f.$set($append(f.$get(),e));};$ptrType(NE).prototype.get=function(){var $ptr,e,f,g,h,i,j;e=this;f=e.$get().$length;if(f===0){return new ND.ptr(AAK.nil);}g=f-1>>0;i=(h=e.$get(),((g<0||g>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+g]));(j=e.$get(),((g<0||g>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+g]=AAL.nil));e.$set($subslice((e.$get()),0,g));return i;};NL=function(){var $ptr;return new NM.ptr(new ND.ptr(AAK.nil),{},NE.nil);};NM.ptr.prototype.OpenStream=function(e,f){var $ptr,e,f,g;g=this;};NM.prototype.OpenStream=function(e,f){return this.$val.OpenStream(e,f);};NM.ptr.prototype.CloseStream=function(e){var $ptr,e,f,g,h,i,j;f=this;g=(h=f.sq[$Uint32.keyFor(e)],h!==undefined?[h.v,true]:[AAL.nil,false]);i=g[0];j=g[1];if(!j){return;}delete f.sq[$Uint32.keyFor(e)];(f.$ptr_queuePool||(f.$ptr_queuePool=new AAP(function(){return this.$target.queuePool;},function($v){this.$target.queuePool=$v;},f))).put(i);};NM.prototype.CloseStream=function(e){return this.$val.CloseStream(e);};NM.ptr.prototype.AdjustStream=function(e,f){var $ptr,e,f,g;g=this;};NM.prototype.AdjustStream=function(e,f){return this.$val.AdjustStream(e,f);};NM.ptr.prototype.Push=function(e){var $ptr,e,f,g,h,i,j,k,l;f=this;g=$clone(e,NC).StreamID();if(g===0){f.zero.push($clone(e,NC));return;}h=(i=f.sq[$Uint32.keyFor(g)],i!==undefined?[i.v,true]:[AAL.nil,false]);j=h[0];k=h[1];if(!k){j=(f.$ptr_queuePool||(f.$ptr_queuePool=new AAP(function(){return this.$target.queuePool;},function($v){this.$target.queuePool=$v;},f))).get();l=g;(f.sq||$throwRuntimeError(\"assignment to entry in nil map\"))[$Uint32.keyFor(l)]={k:l,v:j};}j.push($clone(e,NC));};NM.prototype.Push=function(e){return this.$val.Push(e);};NM.ptr.prototype.Pop=function(){var $ptr,e,f,g,h,i,j,k,l,m;e=this;if(!e.zero.empty()){return[e.zero.shift(),true];}f=e.sq;g=0;h=$keys(f);while(true){if(!(g<h.length)){break;}i=f[h[g]];if(i===undefined){g++;continue;}j=i.v;k=j.consume(2147483647);l=$clone(k[0],NC);m=k[1];if(m){return[l,true];}g++;}return[new NC.ptr($ifaceNil,WS.nil,$chanNil),false];};NM.prototype.Pop=function(){return this.$val.Pop();};NO.prototype.Add=function(e,f){var $ptr,e,f,g;g=this.$val;new I.MIMEHeader((g)).Add(e,f);};$ptrType(NO).prototype.Add=function(e,f){return new NO(this.$get()).Add(e,f);};NO.prototype.Set=function(e,f){var $ptr,e,f,g;g=this.$val;new I.MIMEHeader((g)).Set(e,f);};$ptrType(NO).prototype.Set=function(e,f){return new NO(this.$get()).Set(e,f);};NO.prototype.Get=function(e){var $ptr,e,f;f=this.$val;return new I.MIMEHeader((f)).Get(e);};$ptrType(NO).prototype.Get=function(e){return new NO(this.$get()).Get(e);};NO.prototype.get=function(e){var $ptr,e,f,g,h;f=this.$val;h=(g=f[$String.keyFor(e)],g!==undefined?g.v:WN.nil);if(h.$length>0){return(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]);}return\"\";};$ptrType(NO).prototype.get=function(e){return new NO(this.$get()).get(e);};NO.prototype.Del=function(e){var $ptr,e,f;f=this.$val;new I.MIMEHeader((f)).Del(e);};$ptrType(NO).prototype.Del=function(e){return new NO(this.$get()).Del(e);};NO.prototype.Write=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this.$val;g=new NO(f).WriteSubset(e,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:NO.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(NO).prototype.Write=function(e){return new NO(this.$get()).Write(e);};NO.prototype.clone=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o;e=this.$val;g=(f=$keys(e).length,((f<0||f>2147483647)?$throwRuntimeError(\"makemap: size out of range\"):{}));h=e;i=0;j=$keys(h);while(true){if(!(i<j.length)){break;}k=h[j[i]];if(k===undefined){i++;continue;}l=k.k;m=k.v;n=$makeSlice(WN,m.$length);$copySlice(n,m);o=l;(g||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(o)]={k:o,v:n};i++;}return g;};$ptrType(NO).prototype.clone=function(){return new NO(this.$get()).clone();};NT.ptr.prototype.WriteString=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.w.Write((new WP($stringToBytes(e))));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:NT.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};NT.prototype.WriteString=function(e){return this.$val.WriteString(e);};NV.ptr.prototype.Len=function(){var $ptr,e;e=this;return e.kvs.$length;};NV.prototype.Len=function(){return this.$val.Len();};NV.ptr.prototype.Swap=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m;g=this;h=$clone((i=g.kvs,((f<0||f>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+f])),NU);j=$clone((k=g.kvs,((e<0||e>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+e])),NU);NU.copy((l=g.kvs,((e<0||e>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+e])),h);NU.copy((m=g.kvs,((f<0||f>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+f])),j);};NV.prototype.Swap=function(e,f){return this.$val.Swap(e,f);};NV.ptr.prototype.Less=function(e,f){var $ptr,e,f,g,h,i;g=this;return(h=g.kvs,((e<0||e>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+e])).key<(i=g.kvs,((f<0||f>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+f])).key;};NV.prototype.Less=function(e,f){return this.$val.Less(e,f);};NO.prototype.sortedKeyValues=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=WY.nil;g=AAR.nil;h=this.$val;i=NW.Get();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}g=$assertType(i,AAR);if(g.kvs.$capacity<$keys(h).length){g.kvs=$makeSlice(WY,0,$keys(h).length);}f=$subslice(g.kvs,0,0);j=h;k=0;l=$keys(j);while(true){if(!(k<l.length)){break;}m=j[l[k]];if(m===undefined){k++;continue;}n=m.k;o=m.v;if(!(p=e[$String.keyFor(n)],p!==undefined?p.v:false)){f=$append(f,new NU.ptr(n,o));}k++;}g.kvs=f;$r=N.Sort(g);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=f;r=g;f=q;g=r;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:NO.prototype.sortedKeyValues};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(NO).prototype.sortedKeyValues=function(e){return new NO(this.$get()).sortedKeyValues(e);};NO.prototype.WriteSubset=function(e,f){var $ptr,aa,ab,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this.$val;h=$assertType(e,NS,true);i=h[0];j=h[1];if(!j){i=(k=new NT.ptr(e),new k.constructor.elem(k));}m=new NO(g).sortedKeyValues(f);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=n;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=$clone(((q<0||q>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+q]),NU);s=r.values;t=0;case 4:if(!(t<s.$length)){$s=5;continue;}u=((t<0||t>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+t]);v=NR.Replace(u);$s=6;case 6:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;u=I.TrimString(u);w=new WN([r.key,\": \",u,\"\\r\\n\"]);x=0;case 7:if(!(x<w.$length)){$s=8;continue;}y=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);aa=i.WriteString(y);$s=9;case 9:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[1];if(!($interfaceIsEqual(ab,$ifaceNil))){$s=-1;return ab;}x++;$s=7;continue;case 8:t++;$s=4;continue;case 5:q++;$s=2;continue;case 3:NW.Put(o);$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:NO.prototype.WriteSubset};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(NO).prototype.WriteSubset=function(e,f){return new NO(this.$get()).WriteSubset(e,f);};NX=function(e){var $ptr,e;return I.CanonicalMIMEHeaderKey(e);};$pkg.CanonicalHeaderKey=NX;NY=function(e,f){var $ptr,e,f,g,h,i;if(f.length>e.length||f===\"\"){return false;}if(e===f){return true;}g=0;while(true){if(!(g<=(e.length-f.length>>0))){break;}h=e.charCodeAt(g);if(!((h===f.charCodeAt(0)))&&!((((h|32)>>>0)===f.charCodeAt(0)))){g=g+(1)>>0;continue;}if(g>0&&!NZ(e.charCodeAt((g-1>>0)))){g=g+(1)>>0;continue;}i=g+f.length>>0;if(!((i===e.length))&&!NZ(e.charCodeAt(i))){g=g+(1)>>0;continue;}if(O.EqualFold($substring(e,g,(g+f.length>>0)),f)){return true;}g=g+(1)>>0;}return false;};NZ=function(e){var $ptr,e;return(e===32)||(e===44)||(e===9);};OA=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;g=(f=$keys(e).length,((f<0||f>2147483647)?$throwRuntimeError(\"makemap: size out of range\"):{}));h=e;i=0;j=$keys(h);while(true){if(!(i<j.length)){break;}k=h[j[i]];if(k===undefined){i++;continue;}l=k.k;m=k.v;n=$makeSlice(WN,m.$length);$copySlice(n,m);o=l;(g||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(o)]={k:o,v:n};i++;}return g;};OC.ptr.prototype.String=function(){var $ptr,e;e=this;return\"net/http context value \"+e.name;};OC.prototype.String=function(){return this.$val.String();};OD=function(e){var $ptr,e;return O.LastIndex(e,\":\")>O.LastIndex(e,\"]\");};OE=function(e){var $ptr,e;if(OD(e)){return O.TrimSuffix(e,\":\");}return e;};OF=function(e){var $ptr,e;return!AH.IsTokenRune(e);};OG=function(e){var $ptr,e,f;f=0;while(true){if(!(f<e.length)){break;}if(e.charCodeAt(f)>=128){return false;}f=f+(1)>>0;}return true;};OH=function(e){var $ptr,e,f,g,h,i;f=0;g=0;while(true){if(!(g<e.length)){break;}if(e.charCodeAt(g)>=128){f=f+(3)>>0;}else{f=f+(1)>>0;}g=g+(1)>>0;}if(f===e.length){return e;}h=$makeSlice(WP,0,f);i=0;while(true){if(!(i<e.length)){break;}if(e.charCodeAt(i)>=128){h=$append(h,37);h=E.AppendInt(h,(new $Int64(0,e.charCodeAt(i))),16);}else{h=$append(h,e.charCodeAt(i));}i=i+(1)>>0;}return($bytesToString(h));};OI.ptr.prototype.Read=function(e){var $ptr,e;return[0,C.EOF];};OI.prototype.Read=function(e){return this.$val.Read(e);};OI.ptr.prototype.Close=function(){var $ptr;return $ifaceNil;};OI.prototype.Close=function(){return this.$val.Close();};OI.ptr.prototype.WriteTo=function(e){var $ptr,e;return[new $Int64(0,0),$ifaceNil];};OI.prototype.WriteTo=function(e){return this.$val.WriteTo(e);};OM.ptr.prototype.Error=function(){var $ptr,e;e=this;return e.ErrorString;};OM.prototype.Error=function(){return this.$val.Error();};ON.ptr.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"%s %q\",new WH([new $String(e.what),new $String(e.str)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:ON.ptr.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};ON.prototype.Error=function(){return this.$val.Error();};OP.ptr.prototype.Context=function(){var $ptr,e;e=this;if(!($interfaceIsEqual(e.ctx,$ifaceNil))){return e.ctx;}return Y.Background();};OP.prototype.Context=function(){return this.$val.Context();};OP.ptr.prototype.WithContext=function(e){var $ptr,e,f,g;f=this;if($interfaceIsEqual(e,$ifaceNil)){$panic(new $String(\"nil context\"));}g=new OP.ptr(\"\",XN.nil,\"\",0,0,false,$ifaceNil,$throwNilPointerError,new $Int64(0,0),WN.nil,false,\"\",false,false,XO.nil,false,\"\",\"\",XK.nil,$chanNil,XH.nil,$ifaceNil);OP.copy(g,f);g.ctx=e;return g;};OP.prototype.WithContext=function(e){return this.$val.WithContext(e);};OP.ptr.prototype.ProtoAtLeast=function(e,f){var $ptr,e,f,g;g=this;return g.ProtoMajor>e||(g.ProtoMajor===e)&&g.ProtoMinor>=f;};OP.prototype.ProtoAtLeast=function(e,f){return this.$val.ProtoAtLeast(e,f);};OP.ptr.prototype.protoAtLeastOutgoing=function(e,f){var $ptr,e,f,g;g=this;if((g.ProtoMajor===0)&&(g.ProtoMinor===0)&&(e===1)&&f<=1){return true;}return g.ProtoAtLeast(e,f);};OP.prototype.protoAtLeastOutgoing=function(e,f){return this.$val.protoAtLeastOutgoing(e,f);};OP.ptr.prototype.UserAgent=function(){var $ptr,e;e=this;return new NO(e.Header).Get(\"User-Agent\");};OP.prototype.UserAgent=function(){return this.$val.UserAgent();};OP.ptr.prototype.Cookies=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=BL(e.Header,\"\");$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.Cookies};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.Cookies=function(){return this.$val.Cookies();};OP.ptr.prototype.Cookie=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;h=BL(f.Header,e);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=0;case 2:if(!(i<g.$length)){$s=3;continue;}j=((i<0||i>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+i]);$s=-1;return[j,$ifaceNil];$s=2;continue;case 3:$s=-1;return[XV.nil,$pkg.ErrNoCookie];}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.Cookie};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.Cookie=function(e){return this.$val.Cookie(e);};OP.ptr.prototype.AddCookie=function(e){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=BQ(e.Name);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=new $String(g);i=BR(e.Value);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=new $String(i);k=B.Sprintf(\"%s=%s\",new WH([h,j]));$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=new NO(f.Header).Get(\"Cookie\");if(!(m===\"\")){new NO(f.Header).Set(\"Cookie\",m+\"; \"+l);}else{new NO(f.Header).Set(\"Cookie\",l);}$s=-1;return;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.AddCookie};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.AddCookie=function(e){return this.$val.AddCookie(e);};OP.ptr.prototype.Referer=function(){var $ptr,e;e=this;return new NO(e.Header).Get(\"Referer\");};OP.prototype.Referer=function(){return this.$val.Referer();};OP.ptr.prototype.MultipartReader=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(e.MultipartForm===OQ){$s=-1;return[AAS.nil,A.New(\"http: MultipartReader called twice\")];}if(!(e.MultipartForm===XO.nil)){$s=-1;return[AAS.nil,A.New(\"http: multipart handled by ParseMultipartForm\")];}e.MultipartForm=OQ;f=e.multipartReader();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.MultipartReader};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.MultipartReader=function(){return this.$val.MultipartReader();};OP.ptr.prototype.multipartReader=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=new NO(e.Header).Get(\"Content-Type\");if(f===\"\"){$s=-1;return[AAS.nil,$pkg.ErrNotMultipart];}h=S.ParseMediaType(f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];k=g[2];if(!($interfaceIsEqual(k,$ifaceNil))||!(i===\"multipart/form-data\")){$s=-1;return[AAS.nil,$pkg.ErrNotMultipart];}l=(m=j[$String.keyFor(\"boundary\")],m!==undefined?[m.v,true]:[\"\",false]);n=l[0];o=l[1];if(!o){$s=-1;return[AAS.nil,$pkg.ErrMissingBoundary];}$s=-1;return[T.NewReader(e.Body,n),$ifaceNil];}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.multipartReader};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.multipartReader=function(){return this.$val.multipartReader();};OP.ptr.prototype.isH2Upgrade=function(){var $ptr,e;e=this;return e.Method===\"PRI\"&&($keys(e.Header).length===0)&&e.URL.Path===\"*\"&&e.Proto===\"HTTP/2.0\";};OP.prototype.isH2Upgrade=function(){return this.$val.isH2Upgrade();};OR=function(e,f){var $ptr,e,f;if(!(e===\"\")){return e;}return f;};OP.ptr.prototype.Write=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.write(e,false,false,$throwNilPointerError);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.Write=function(e){return this.$val.Write(e);};OP.ptr.prototype.WriteProxy=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.write(e,true,false,$throwNilPointerError);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.WriteProxy};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.WriteProxy=function(e){return this.$val.WriteProxy(e);};OP.ptr.prototype.write=function(e,f,g,h){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);i=[i];j=[j];i[0]=$ifaceNil;k=this;l=AC.ContextClientTrace(k.Context());$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}j[0]=l;if(!(j[0]===ZD.nil)&&!(j[0].WroteRequest===$throwNilPointerError)){$s=2;continue;}$s=3;continue;case 2:$deferred.push([(function(i,j){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=j[0].WroteRequest(new AC.WroteRequestInfo.ptr(i[0]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(i,j),[]]);case 3:m=OU(k.Host);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(n===\"\"){$s=5;continue;}$s=6;continue;case 5:if(k.URL===XN.nil){i[0]=OS;$s=-1;return i[0];}o=OU(k.URL.Host);$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;case 6:n=OV(n);p=k.URL.RequestURI();if(f&&!(k.URL.Scheme===\"\")&&k.URL.Opaque===\"\"){p=k.URL.Scheme+\"://\"+n+p;}else if(k.Method===\"CONNECT\"&&k.URL.Path===\"\"){p=n;}q=WW.nil;r=$assertType(e,C.ByteWriter,true);s=r[1];if(!s){q=G.NewWriter(e);e=q;}u=B.Fprintf(e,\"%s %s HTTP/1.1\\r\\n\",new WH([new $String(OR(k.Method,\"GET\")),new $String(p)]));$s=8;case 8:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;i[0]=t[1];if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}w=B.Fprintf(e,\"Host: %s\\r\\n\",new WH([new $String(n)]));$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;i[0]=v[1];if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}x=\"Go-http-client/1.1\";y=(z=k.Header[$String.keyFor(\"User-Agent\")],z!==undefined?[z.v,true]:[WN.nil,false]);aa=y[1];if(aa){x=new NO(k.Header).Get(\"User-Agent\");}if(!(x===\"\")){$s=10;continue;}$s=11;continue;case 10:ac=B.Fprintf(e,\"User-Agent: %s\\r\\n\",new WH([new $String(x)]));$s=12;case 12:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;i[0]=ab[1];if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}case 11:ae=TK(k);$s=13;case 13:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;af=ad[0];i[0]=ad[1];if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}ag=af.WriteHeader(e);$s=14;case 14:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}i[0]=ag;if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}ah=new NO(k.Header).WriteSubset(e,OO);$s=15;case 15:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}i[0]=ah;if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}if(!(g===false)){$s=16;continue;}$s=17;continue;case 16:ai=new NO(g).Write(e);$s=18;case 18:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}i[0]=ai;if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}case 17:ak=C.WriteString(e,\"\\r\\n\");$s=19;case 19:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}aj=ak;i[0]=aj[1];if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}if(!(j[0]===ZD.nil)&&!(j[0].WroteHeaders===$throwNilPointerError)){$s=20;continue;}$s=21;continue;case 20:$r=j[0].WroteHeaders();$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:if(!(h===$throwNilPointerError)){$s=23;continue;}$s=24;continue;case 23:al=$assertType(e,WW,true);am=al[0];an=al[1];if(an){$s=25;continue;}$s=26;continue;case 25:ao=am.Flush();$s=27;case 27:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}i[0]=ao;if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}case 26:if(!(j[0]===ZD.nil)&&!(j[0].Wait100Continue===$throwNilPointerError)){$s=28;continue;}$s=29;continue;case 28:$r=j[0].Wait100Continue();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:ap=h();$s=33;case 33:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!ap){$s=31;continue;}$s=32;continue;case 31:$r=k.closeBody();$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i[0]=$ifaceNil;$s=-1;return i[0];case 32:case 24:aq=$assertType(e,WW,true);ar=aq[0];as=aq[1];if(as&&af.FlushHeaders){$s=35;continue;}$s=36;continue;case 35:at=ar.Flush();$s=37;case 37:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(!($interfaceIsEqual(au,$ifaceNil))){i[0]=au;$s=-1;return i[0];}case 36:av=af.WriteBody(e);$s=38;case 38:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}i[0]=av;if(!($interfaceIsEqual(i[0],$ifaceNil))){i[0]=i[0];$s=-1;return i[0];}if(!(q===WW.nil)){$s=39;continue;}$s=40;continue;case 39:aw=q.Flush();$s=41;case 41:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}i[0]=aw;$s=-1;return i[0];case 40:i[0]=$ifaceNil;$s=-1;return i[0];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return i[0];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:OP.ptr.prototype.write};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};OP.prototype.write=function(e,f,g,h){return this.$val.write(e,f,g,h);};OT=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(OG(e)){$s=-1;return[e,$ifaceNil];}f=O.ToLower(e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;g=$clone(AK.Fold,AK.Transformer).String(e);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;h=new AJ.Form(0).String(e);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}e=h;i=AG.ToASCII(e);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}if($f===undefined){$f={$blk:OT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};OU=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=O.IndexAny(e,\" /\");if(!((f===-1))){e=$substring(e,0,f);}h=R.SplitHostPort(e);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];k=g[2];if(!($interfaceIsEqual(k,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:m=OT(e);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=-1;return e;}$s=-1;return n;case 3:q=OT(i);$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];k=p[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return e;}$s=-1;return R.JoinHostPort(r,j);}return;}if($f===undefined){$f={$blk:OU};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};OV=function(e){var $ptr,e,f,g;if(!O.HasPrefix(e,\"[\")){return e;}f=O.LastIndex(e,\"]\");if(f<0){return e;}g=O.LastIndex($substring(e,0,f),\"%\");if(g<0){return e;}return $substring(e,0,g)+$substring(e,f);};OW=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=0;g=0;h=false;i=e;if(i===(\"HTTP/1.1\")){j=1;k=1;l=true;f=j;g=k;h=l;return[f,g,h];}else if(i===(\"HTTP/1.0\")){m=1;n=0;o=true;f=m;g=n;h=o;return[f,g,h];}if(!O.HasPrefix(e,\"HTTP/\")){p=0;q=0;r=false;f=p;g=q;h=r;return[f,g,h];}s=O.Index(e,\".\");if(s<0){t=0;u=0;v=false;f=t;g=u;h=v;return[f,g,h];}w=E.Atoi($substring(e,5,s));f=w[0];x=w[1];if(!($interfaceIsEqual(x,$ifaceNil))||f<0||f>1000000){y=0;z=0;aa=false;f=y;g=z;h=aa;return[f,g,h];}ab=E.Atoi($substring(e,(s+1>>0)));g=ab[0];x=ab[1];if(!($interfaceIsEqual(x,$ifaceNil))||g<0||g>1000000){ac=0;ad=0;ae=false;f=ac;g=ad;h=ae;return[f,g,h];}af=f;ag=g;ah=true;f=af;g=ag;h=ah;return[f,g,h];};$pkg.ParseHTTPVersion=OW;OX=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(e.length>0)){f=false;$s=1;continue s;}g=O.IndexFunc(e,OF);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g===-1;case 1:$s=-1;return f;}return;}if($f===undefined){$f={$blk:OX};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};OY=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=[h];i=[i];j=[j];if(e===\"\"){e=\"GET\";}k=OX(e);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(!k){$s=1;continue;}$s=2;continue;case 1:l=B.Errorf(\"net/http: invalid method %q\",new WH([new $String(e)]));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return[WT.nil,l];case 2:n=M.Parse(f);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(!($interfaceIsEqual(p,$ifaceNil))){$s=-1;return[WT.nil,p];}q=$assertType(g,C.ReadCloser,true);r=q[0];s=q[1];if(!s&&!($interfaceIsEqual(g,$ifaceNil))){r=D.NopCloser(g);}o.Host=OE(o.Host);t=new OP.ptr(e,o,\"HTTP/1.1\",1,1,{},r,$throwNilPointerError,new $Int64(0,0),WN.nil,false,o.Host,false,false,XO.nil,false,\"\",\"\",XK.nil,$chanNil,XH.nil,$ifaceNil);if(!($interfaceIsEqual(g,$ifaceNil))){u=g;if($assertType(u,YQ,true)[1]){v=u.$val;t.ContentLength=(new $Int64(0,v.Len()));h[0]=v.Bytes();t.GetBody=(function(h,i,j){return function(){var $ptr,z;z=H.NewReader(h[0]);return[D.NopCloser(z),$ifaceNil];};})(h,i,j);}else if($assertType(u,AAT,true)[1]){w=u.$val;t.ContentLength=(new $Int64(0,w.Len()));j[0]=$clone(w,H.Reader);t.GetBody=(function(h,i,j){return function(){var $ptr,z;z=$clone(j[0],H.Reader);return[D.NopCloser(z),$ifaceNil];};})(h,i,j);}else if($assertType(u,AAU,true)[1]){x=u.$val;t.ContentLength=(new $Int64(0,x.Len()));i[0]=$clone(x,O.Reader);t.GetBody=(function(h,i,j){return function(){var $ptr,z;z=$clone(i[0],O.Reader);return[D.NopCloser(z),$ifaceNil];};})(h,i,j);}else{y=u;}if(!(t.GetBody===$throwNilPointerError)&&(z=t.ContentLength,(z.$high===0&&z.$low===0))){t.Body=new $pkg.NoBody.constructor.elem($pkg.NoBody);t.GetBody=(function(h,i,j){return function(){var $ptr;return[new $pkg.NoBody.constructor.elem($pkg.NoBody),$ifaceNil];};})(h,i,j);}}$s=-1;return[t,$ifaceNil];}return;}if($f===undefined){$f={$blk:OY};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NewRequest=OY;OP.ptr.prototype.BasicAuth=function(){var $ptr,e,f,g,h,i,j;e=\"\";f=\"\";g=false;h=this;i=new NO(h.Header).Get(\"Authorization\");if(i===\"\"){return[e,f,g];}j=OZ(i);e=j[0];f=j[1];g=j[2];return[e,f,g];};OP.prototype.BasicAuth=function(){return this.$val.BasicAuth();};OZ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p;f=\"\";g=\"\";h=false;if(!O.HasPrefix(e,\"Basic \")){return[f,g,h];}i=K.StdEncoding.DecodeString($substring(e,6));j=i[0];k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){return[f,g,h];}l=($bytesToString(j));m=O.IndexByte(l,58);if(m<0){return[f,g,h];}n=$substring(l,0,m);o=$substring(l,(m+1>>0));p=true;f=n;g=o;h=p;return[f,g,h];};OP.ptr.prototype.SetBasicAuth=function(e,f){var $ptr,e,f,g;g=this;new NO(g.Header).Set(\"Authorization\",\"Basic \"+AX(e,f));};OP.prototype.SetBasicAuth=function(e,f){return this.$val.SetBasicAuth(e,f);};PA=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=\"\";g=\"\";h=\"\";i=false;j=O.Index(e,\" \");k=O.Index($substring(e,(j+1>>0)),\" \");if(j<0||k<0){return[f,g,h,i];}k=k+((j+1>>0))>>0;l=$substring(e,0,j);m=$substring(e,(j+1>>0),k);n=$substring(e,(k+1>>0));o=true;f=l;g=m;h=n;i=o;return[f,g,h,i];};PC=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=PB.Get();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){h=$assertType(g,AAV);h.R=e;$s=-1;return h;}$s=-1;return I.NewReader(e);}return;}if($f===undefined){$f={$blk:PC};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};PD=function(e){var $ptr,e;e.R=AAE.nil;PB.Put(e);};PF=function(e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=[g];h=[h];i=WT.nil;g[0]=$ifaceNil;j=PC(e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}h[0]=j;i=new OP.ptr(\"\",XN.nil,\"\",0,0,false,$ifaceNil,$throwNilPointerError,new $Int64(0,0),WN.nil,false,\"\",false,false,XO.nil,false,\"\",\"\",XK.nil,$chanNil,XH.nil,$ifaceNil);k=\"\";m=h[0].ReadLine();$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;k=l[0];g[0]=l[1];if(!($interfaceIsEqual(g[0],$ifaceNil))){n=WT.nil;o=g[0];i=n;g[0]=o;$s=-1;return[i,g[0]];}$deferred.push([(function(g,h){return function(){var $ptr;PD(h[0]);if($interfaceIsEqual(g[0],C.EOF)){g[0]=C.ErrUnexpectedEOF;}};})(g,h),[]]);p=false;q=PA(k);i.Method=q[0];i.RequestURI=q[1];i.Proto=q[2];p=q[3];if(!p){r=WT.nil;s=new ON.ptr(\"malformed HTTP request\",k);i=r;g[0]=s;$s=-1;return[i,g[0]];}t=i.RequestURI;u=OW(i.Proto);i.ProtoMajor=u[0];i.ProtoMinor=u[1];p=u[2];if(!p){v=WT.nil;w=new ON.ptr(\"malformed HTTP version\",i.Proto);i=v;g[0]=w;$s=-1;return[i,g[0]];}x=i.Method===\"CONNECT\"&&!O.HasPrefix(t,\"/\");if(x){t=\"http://\"+t;}z=M.ParseRequestURI(t);$s=3;case 3:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;i.URL=y[0];g[0]=y[1];if(!($interfaceIsEqual(g[0],$ifaceNil))){aa=WT.nil;ab=g[0];i=aa;g[0]=ab;$s=-1;return[i,g[0]];}if(x){i.URL.Scheme=\"\";}ad=h[0].ReadMIMEHeader();$s=4;case 4:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ac=ad;ae=ac[0];g[0]=ac[1];if(!($interfaceIsEqual(g[0],$ifaceNil))){af=WT.nil;ag=g[0];i=af;g[0]=ag;$s=-1;return[i,g[0]];}i.Header=(ae);i.Host=i.URL.Host;if(i.Host===\"\"){i.Host=new NO(i.Header).get(\"Host\");}if(f){delete i.Header[$String.keyFor(\"Host\")];}PO(i.Header);i.Close=TV(i.ProtoMajor,i.ProtoMinor,i.Header,false);ah=TR(i,e);$s=5;case 5:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}g[0]=ah;if(!($interfaceIsEqual(g[0],$ifaceNil))){ai=WT.nil;aj=g[0];i=ai;g[0]=aj;$s=-1;return[i,g[0]];}if(i.isH2Upgrade()){i.ContentLength=new $Int64(-1,4294967295);i.Close=true;}ak=i;al=$ifaceNil;i=ak;g[0]=al;$s=-1;return[i,g[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[i,g[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:PF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};PG=function(e,f,g){var $ptr,e,f,g;return new PH.ptr(e,f,g,$ifaceNil);};$pkg.MaxBytesReader=PG;PH.ptr.prototype.Read=function(e){var $ptr,aa,ab,ac,ad,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(!($interfaceIsEqual(h.err,$ifaceNil))){i=0;j=h.err;f=i;g=j;$s=-1;return[f,g];}if(e.$length===0){k=0;l=$ifaceNil;f=k;g=l;$s=-1;return[f,g];}if((m=(new $Int64(0,e.$length)),n=(o=h.n,new $Int64(o.$high+0,o.$low+1)),(m.$high>n.$high||(m.$high===n.$high&&m.$low>n.$low)))){e=$subslice(e,0,$flatten64((p=h.n,new $Int64(p.$high+0,p.$low+1))));}r=h.r.Read(e);$s=1;case 1:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;f=q[0];g=q[1];if((s=(new $Int64(0,f)),t=h.n,(s.$high<t.$high||(s.$high===t.$high&&s.$low<=t.$low)))){h.n=(u=h.n,v=(new $Int64(0,f)),new $Int64(u.$high-v.$high,u.$low-v.$low));h.err=g;w=f;x=g;f=w;g=x;$s=-1;return[f,g];}f=(((y=h.n,y.$low+((y.$high>>31)*4294967296))>>0));h.n=new $Int64(0,0);z=$assertType(h.w,AAW,true);aa=z[0];ab=z[1];if(ab){$s=2;continue;}$s=3;continue;case 2:$r=aa.requestTooLarge();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:h.err=A.New(\"http: request body too large\");ac=f;ad=h.err;f=ac;g=ad;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:PH.ptr.prototype.Read};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};PH.prototype.Read=function(e){return this.$val.Read(e);};PH.ptr.prototype.Close=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.r.Close();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:PH.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};PH.prototype.Close=function(){return this.$val.Close();};PI=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o;g=f;h=0;i=$keys(g);while(true){if(!(h<i.length)){break;}j=g[i[h]];if(j===undefined){h++;continue;}k=j.k;l=j.v;m=l;n=0;while(true){if(!(n<m.$length)){break;}o=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);new M.Values(e).Add(k,o);n++;}h++;}};PJ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=false;g=$ifaceNil;if($interfaceIsEqual(e.Body,$ifaceNil)){g=A.New(\"missing form body\");$s=-1;return[f,g];}h=new NO(e.Header).Get(\"Content-Type\");if(h===\"\"){h=\"application/octet-stream\";}j=S.ParseMediaType(h);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;h=i[0];g=i[2];if(h===\"application/x-www-form-urlencoded\"){$s=3;continue;}if(h===\"multipart/form-data\"){$s=4;continue;}$s=5;continue;case 3:k=e.Body;l=new $Int64(2147483647,4294967295);m=$assertType(e.Body,AAX,true);n=m[1];if(!n){l=new $Int64(0,10485760);k=C.LimitReader(e.Body,new $Int64(l.$high+0,l.$low+1));}p=D.ReadAll(k);$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[0];r=o[1];if(!($interfaceIsEqual(r,$ifaceNil))){if($interfaceIsEqual(g,$ifaceNil)){g=r;}$s=2;continue;}if((s=(new $Int64(0,q.$length)),(s.$high>l.$high||(s.$high===l.$high&&s.$low>l.$low)))){g=A.New(\"http: POST too large\");$s=-1;return[f,g];}t=M.ParseQuery(($bytesToString(q)));f=t[0];r=t[1];if($interfaceIsEqual(g,$ifaceNil)){g=r;}$s=5;continue;case 4:case 5:case 2:$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:PJ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};OP.ptr.prototype.ParseForm=function(){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=$ifaceNil;if(e.PostForm===false){$s=1;continue;}$s=2;continue;case 1:if(e.Method===\"POST\"||e.Method===\"PUT\"||e.Method===\"PATCH\"){$s=3;continue;}$s=4;continue;case 3:h=PJ(e);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;e.PostForm=g[0];f=g[1];case 4:if(e.PostForm===false){e.PostForm={};}case 2:if(e.Form===false){if($keys(e.PostForm).length>0){e.Form={};PI(e.Form,e.PostForm);}i=false;if(!(e.URL===XN.nil)){j=$ifaceNil;k=M.ParseQuery(e.URL.RawQuery);i=k[0];j=k[1];if($interfaceIsEqual(f,$ifaceNil)){f=j;}}if(i===false){i={};}if(e.Form===false){e.Form=i;}else{PI(e.Form,i);}}$s=-1;return f;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.ParseForm};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.ParseForm=function(){return this.$val.ParseForm();};OP.ptr.prototype.ParseMultipartForm=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.MultipartForm===OQ){$s=-1;return A.New(\"http: multipart handled by MultipartReader\");}if(f.Form===false){$s=1;continue;}$s=2;continue;case 1:g=f.ParseForm();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return h;}case 2:if(!(f.MultipartForm===XO.nil)){$s=-1;return $ifaceNil;}j=f.multipartReader();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return l;}n=k.ReadForm(e);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];l=m[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return l;}if(f.PostForm===false){f.PostForm={};}p=o.Value;q=0;r=$keys(p);while(true){if(!(q<r.length)){break;}s=p[r[q]];if(s===undefined){q++;continue;}t=s.k;u=s.v;v=t;(f.Form||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(v)]={k:v,v:$appendSlice((w=f.Form[$String.keyFor(t)],w!==undefined?w.v:WN.nil),u)};x=t;(f.PostForm||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(x)]={k:x,v:$appendSlice((y=f.PostForm[$String.keyFor(t)],y!==undefined?y.v:WN.nil),u)};q++;}f.MultipartForm=o;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.ParseMultipartForm};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.ParseMultipartForm=function(e){return this.$val.ParseMultipartForm(e);};OP.ptr.prototype.FormValue=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.Form===false){$s=1;continue;}$s=2;continue;case 1:g=f.ParseMultipartForm(new $Int64(0,33554432));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:i=(h=f.Form[$String.keyFor(e)],h!==undefined?h.v:WN.nil);if(i.$length>0){$s=-1;return(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]);}$s=-1;return\"\";}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.FormValue};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.FormValue=function(e){return this.$val.FormValue(e);};OP.ptr.prototype.PostFormValue=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.PostForm===false){$s=1;continue;}$s=2;continue;case 1:g=f.ParseMultipartForm(new $Int64(0,33554432));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;case 2:i=(h=f.PostForm[$String.keyFor(e)],h!==undefined?h.v:WN.nil);if(i.$length>0){$s=-1;return(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]);}$s=-1;return\"\";}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.PostFormValue};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.PostFormValue=function(e){return this.$val.PostFormValue(e);};OP.ptr.prototype.FormFile=function(e){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.MultipartForm===OQ){$s=-1;return[$ifaceNil,AAY.nil,A.New(\"http: multipart handled by MultipartReader\")];}if(f.MultipartForm===XO.nil){$s=1;continue;}$s=2;continue;case 1:g=f.ParseMultipartForm(new $Int64(0,33554432));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[$ifaceNil,AAY.nil,h];}case 2:if(!(f.MultipartForm===XO.nil)&&!(f.MultipartForm.File===false)){j=(i=f.MultipartForm.File[$String.keyFor(e)],i!==undefined?i.v:AAZ.nil);if(j.$length>0){k=(0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0]).Open();l=k[0];m=k[1];$s=-1;return[l,(0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0]),m];}}$s=-1;return[$ifaceNil,AAY.nil,$pkg.ErrMissingFile];}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.FormFile};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.FormFile=function(e){return this.$val.FormFile(e);};OP.ptr.prototype.expectsContinue=function(){var $ptr,e;e=this;return NY(new NO(e.Header).get(\"Expect\"),\"100-continue\");};OP.prototype.expectsContinue=function(){return this.$val.expectsContinue();};OP.ptr.prototype.wantsHttp10KeepAlive=function(){var $ptr,e;e=this;if(!((e.ProtoMajor===1))||!((e.ProtoMinor===0))){return false;}return NY(new NO(e.Header).get(\"Connection\"),\"keep-alive\");};OP.prototype.wantsHttp10KeepAlive=function(){return this.$val.wantsHttp10KeepAlive();};OP.ptr.prototype.wantsClose=function(){var $ptr,e;e=this;return NY(new NO(e.Header).get(\"Connection\"),\"close\");};OP.prototype.wantsClose=function(){return this.$val.wantsClose();};OP.ptr.prototype.closeBody=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!($interfaceIsEqual(e.Body,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:f=e.Body.Close();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:OP.ptr.prototype.closeBody};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};OP.prototype.closeBody=function(){return this.$val.closeBody();};OP.ptr.prototype.isReplayable=function(){var $ptr,e,f;e=this;if($interfaceIsEqual(e.Body,$ifaceNil)){f=OR(e.Method,\"GET\");if(f===(\"GET\")||f===(\"HEAD\")||f===(\"OPTIONS\")||f===(\"TRACE\")){return true;}}return false;};OP.prototype.isReplayable=function(){return this.$val.isReplayable();};OP.ptr.prototype.outgoingLength=function(){var $ptr,e,f;e=this;if($interfaceIsEqual(e.Body,$ifaceNil)||$interfaceIsEqual(e.Body,new $pkg.NoBody.constructor.elem($pkg.NoBody))){return new $Int64(0,0);}if(!((f=e.ContentLength,(f.$high===0&&f.$low===0)))){return e.ContentLength;}return new $Int64(-1,4294967295);};OP.prototype.outgoingLength=function(){return this.$val.outgoingLength();};PK=function(e){var $ptr,e,f;f=e;if(f===(\"GET\")||f===(\"HEAD\")||f===(\"DELETE\")||f===(\"OPTIONS\")||f===(\"PROPFIND\")||f===(\"SEARCH\")){return true;}return false;};PM.ptr.prototype.Cookies=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=BJ(e.Header);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:PM.ptr.prototype.Cookies};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};PM.prototype.Cookies=function(){return this.$val.Cookies();};PM.ptr.prototype.Location=function(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=new NO(e.Header).Get(\"Location\");if(f===\"\"){$s=-1;return[XN.nil,$pkg.ErrNoLocation];}if(!(e.Request===WT.nil)&&!(e.Request.URL===XN.nil)){$s=1;continue;}$s=2;continue;case 1:g=e.Request.URL.Parse(f);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;case 2:h=M.Parse(f);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$s=-1;return h;}return;}if($f===undefined){$f={$blk:PM.ptr.prototype.Location};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};PM.prototype.Location=function(){return this.$val.Location();};PN=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=I.NewReader(e);h=new PM.ptr(\"\",0,\"\",0,0,false,$ifaceNil,new $Int64(0,0),WN.nil,false,false,false,f,XK.nil);j=g.ReadLine();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if(!($interfaceIsEqual(l,$ifaceNil))){if($interfaceIsEqual(l,C.EOF)){l=C.ErrUnexpectedEOF;}$s=-1;return[XH.nil,l];}m=O.SplitN(k,\" \",3);if(m.$length<2){$s=-1;return[XH.nil,new ON.ptr(\"malformed HTTP response\",k)];}n=\"\";if(m.$length>2){n=(2>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+2]);}if(!(((1>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+1]).length===3))){$s=-1;return[XH.nil,new ON.ptr(\"malformed HTTP status code\",(1>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+1]))];}o=E.Atoi((1>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+1]));h.StatusCode=o[0];l=o[1];if(!($interfaceIsEqual(l,$ifaceNil))||h.StatusCode<0){$s=-1;return[XH.nil,new ON.ptr(\"malformed HTTP status code\",(1>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+1]))];}h.Status=(1>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+1])+\" \"+n;h.Proto=(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0]);p=false;q=OW(h.Proto);h.ProtoMajor=q[0];h.ProtoMinor=q[1];p=q[2];if(!p){$s=-1;return[XH.nil,new ON.ptr(\"malformed HTTP version\",h.Proto)];}s=g.ReadMIMEHeader();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];l=r[1];if(!($interfaceIsEqual(l,$ifaceNil))){if($interfaceIsEqual(l,C.EOF)){l=C.ErrUnexpectedEOF;}$s=-1;return[XH.nil,l];}h.Header=(t);PO(h.Header);u=TR(h,e);$s=3;case 3:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}l=u;if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return[XH.nil,l];}$s=-1;return[h,$ifaceNil];}return;}if($f===undefined){$f={$blk:PN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ReadResponse=PN;PO=function(e){var $ptr,e,f,g,h,i,j,k,l,m;f=(g=e[$String.keyFor(\"Pragma\")],g!==undefined?[g.v,true]:[WN.nil,false]);h=f[0];i=f[1];if(i&&h.$length>0&&(0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0])===\"no-cache\"){j=(k=e[$String.keyFor(\"Cache-Control\")],k!==undefined?[k.v,true]:[WN.nil,false]);l=j[1];if(!l){m=\"Cache-Control\";(e||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:new WN([\"no-cache\"])};}}};PM.ptr.prototype.ProtoAtLeast=function(e,f){var $ptr,e,f,g;g=this;return g.ProtoMajor>e||(g.ProtoMajor===e)&&g.ProtoMinor>=f;};PM.prototype.ProtoAtLeast=function(e,f){return this.$val.ProtoAtLeast(e,f);};PM.ptr.prototype.Write=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.Status;if(g===\"\"){h=false;i=(j=TF[$Int.keyFor(f.StatusCode)],j!==undefined?[j.v,true]:[\"\",false]);g=i[0];h=i[1];if(!h){g=\"status code \"+E.Itoa(f.StatusCode);}}else{g=O.TrimPrefix(g,E.Itoa(f.StatusCode)+\" \");}l=B.Fprintf(e,\"HTTP/%d.%d %03d %s\\r\\n\",new WH([new $Int(f.ProtoMajor),new $Int(f.ProtoMinor),new $Int(f.StatusCode),new $String(g)]));$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return m;}n=new PM.ptr(\"\",0,\"\",0,0,false,$ifaceNil,new $Int64(0,0),WN.nil,false,false,false,WT.nil,XK.nil);PM.copy(n,f);if((o=n.ContentLength,(o.$high===0&&o.$low===0))&&!($interfaceIsEqual(n.Body,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:p=ABA.zero();r=n.Body.Read(new WP(p));$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];t=q[1];if(!($interfaceIsEqual(t,$ifaceNil))&&!($interfaceIsEqual(t,C.EOF))){$s=-1;return t;}if(s===0){n.Body=new $pkg.NoBody.constructor.elem($pkg.NoBody);}else{n.ContentLength=new $Int64(-1,4294967295);n.Body=(u=new ABC.ptr(C.MultiReader(new ABB([H.NewReader($subslice(new WP(p),0,1)),f.Body])),f.Body),new u.constructor.elem(u));}case 3:if((v=n.ContentLength,(v.$high===-1&&v.$low===4294967295))&&!n.Close&&n.ProtoAtLeast(1,1)&&!TS(n.TransferEncoding)&&!n.Uncompressed){n.Close=true;}x=TK(n);$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[0];z=w[1];if(!($interfaceIsEqual(z,$ifaceNil))){$s=-1;return z;}aa=y.WriteHeader(e);$s=6;case 6:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;if(!($interfaceIsEqual(z,$ifaceNil))){$s=-1;return z;}ab=new NO(f.Header).WriteSubset(e,PL);$s=7;case 7:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}z=ab;if(!($interfaceIsEqual(z,$ifaceNil))){$s=-1;return z;}ac=y.shouldSendContentLength();if((ad=n.ContentLength,(ad.$high===0&&ad.$low===0))&&!TS(n.TransferEncoding)&&!ac&&TN(f.StatusCode)){$s=8;continue;}$s=9;continue;case 8:af=C.WriteString(e,\"Content-Length: 0\\r\\n\");$s=10;case 10:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;ag=ae[1];if(!($interfaceIsEqual(ag,$ifaceNil))){$s=-1;return ag;}case 9:ai=C.WriteString(e,\"\\r\\n\");$s=11;case 11:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}ah=ai;aj=ah[1];if(!($interfaceIsEqual(aj,$ifaceNil))){$s=-1;return aj;}ak=y.WriteBody(e);$s=12;case 12:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}z=ak;if(!($interfaceIsEqual(z,$ifaceNil))){$s=-1;return z;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:PM.ptr.prototype.Write};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};PM.prototype.Write=function(e){return this.$val.Write(e);};PU.ptr.prototype.hijacked=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);$s=-1;return e.hijackedv;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:PU.ptr.prototype.hijacked};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};PU.prototype.hijacked=function(){return this.$val.hijacked();};PU.ptr.prototype.hijackLocked=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$ifaceNil;f=ABD.nil;g=$ifaceNil;h=this;if(h.hijackedv){i=$ifaceNil;j=ABD.nil;k=$pkg.ErrHijacked;e=i;f=j;g=k;$s=-1;return[e,f,g];}$r=h.r.abortPendingRead();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h.hijackedv=true;e=h.rwc;l=e.SetDeadline(new Q.Time.ptr(new $Int64(0,0),0,WL.nil));$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;f=G.NewReadWriter(h.bufr,G.NewWriter(e));if(h.r.hasByte){$s=3;continue;}$s=4;continue;case 3:n=h.bufr.Peek(h.bufr.Buffered()+1>>0);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:p=$ifaceNil;q=ABD.nil;s=B.Errorf(\"unexpected Peek failure reading buffered byte: %v\",new WH([o]));$s=8;case 8:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;e=p;f=q;g=r;$s=-1;return[e,f,g];case 7:case 4:$r=h.setState(e,3);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[e,f,g];}return;}if($f===undefined){$f={$blk:PU.ptr.prototype.hijackLocked};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};PU.prototype.hijackLocked=function(){return this.$val.hijackLocked();};PV.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(!h.wroteHeader){$s=1;continue;}$s=2;continue;case 1:$r=h.writeHeader(e);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(h.res.req.Method===\"HEAD\"){i=e.$length;j=$ifaceNil;f=i;g=j;$s=-1;return[f,g];}if(h.chunking){$s=4;continue;}$s=5;continue;case 4:l=B.Fprintf(h.res.conn.bufw,\"%x\\r\\n\",new WH([new $Int(e.$length)]));$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;g=k[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=7;continue;}$s=8;continue;case 7:m=h.res.conn.rwc.Close();$s=9;case 9:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;$s=-1;return[f,g];case 8:case 5:o=h.res.conn.bufw.Write(e);$s=10;case 10:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;f=n[0];g=n[1];if(h.chunking&&$interfaceIsEqual(g,$ifaceNil)){$s=11;continue;}$s=12;continue;case 11:q=h.res.conn.bufw.Write(PW);$s=13;case 13:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;g=p[1];case 12:if(!($interfaceIsEqual(g,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:r=h.res.conn.rwc.Close();$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;case 15:$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:PV.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};PV.prototype.Write=function(e){return this.$val.Write(e);};PV.ptr.prototype.flush=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!e.wroteHeader){$s=1;continue;}$s=2;continue;case 1:$r=e.writeHeader(WP.nil);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=e.res.conn.bufw.Flush();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=-1;return;}return;}if($f===undefined){$f={$blk:PV.ptr.prototype.flush};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};PV.prototype.flush=function(){return this.$val.flush();};PV.ptr.prototype.close=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!e.wroteHeader){$s=1;continue;}$s=2;continue;case 1:$r=e.writeHeader(WP.nil);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(e.chunking){$s=4;continue;}$s=5;continue;case 4:f=e.res.conn.bufw;g=f.WriteString(\"0\\r\\n\");$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=e.res.finalTrailers();if(!(h===false)){$s=7;continue;}$s=8;continue;case 7:i=new NO(h).Write(f);$s=9;case 9:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 8:j=f.WriteString(\"\\r\\n\");$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:PV.ptr.prototype.close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};PV.prototype.close=function(){return this.$val.close();};PY.ptr.prototype.finalTrailers=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;f=false;g=e.handlerHeader;h=0;i=$keys(g);while(true){if(!(h<i.length)){break;}j=g[i[h]];if(j===undefined){h++;continue;}k=j.k;l=j.v;if(O.HasPrefix(k,\"Trailer:\")){if(f===false){f={};}m=O.TrimPrefix(k,\"Trailer:\");(f||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:l};}h++;}n=e.trailers;o=0;while(true){if(!(o<n.$length)){break;}p=((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]);if(f===false){f={};}q=(r=e.handlerHeader[$String.keyFor(p)],r!==undefined?r.v:WN.nil);s=0;while(true){if(!(s<q.$length)){break;}t=((s<0||s>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+s]);new NO(f).Add(p,t);s++;}o++;}return f;};PY.prototype.finalTrailers=function(){return this.$val.finalTrailers();};$ptrType(PZ).prototype.isSet=function(){var $ptr,e,f;e=this;return!((AL.LoadInt32(((f=e,new ABE(function(){return(f.$get()>>0);},function($v){f.$set(($v>>0));},f.$target))))===0));};$ptrType(PZ).prototype.setTrue=function(){var $ptr,e,f;e=this;AL.StoreInt32(((f=e,new ABE(function(){return(f.$get()>>0);},function($v){f.$set(($v>>0));},f.$target))),1);};PY.ptr.prototype.declareTrailer=function(e){var $ptr,e,f,g;f=this;e=NX(e);g=e;if(g===(\"Transfer-Encoding\")||g===(\"Content-Length\")||g===(\"Trailer\")){return;}f.trailers=$append(f.trailers,e);};PY.prototype.declareTrailer=function(e){return this.$val.declareTrailer(e);};PY.ptr.prototype.requestTooLarge=function(){var $ptr,e;e=this;e.closeAfterReply=true;e.requestBodyLimitHit=true;if(!e.wroteHeader){new NO(e.Header()).Set(\"Connection\",\"close\");}};PY.prototype.requestTooLarge=function(){return this.$val.requestTooLarge();};PY.ptr.prototype.needsSniff=function(){var $ptr,e,f,g,h,i;e=this;f=(g=e.handlerHeader[$String.keyFor(\"Content-Type\")],g!==undefined?[g.v,true]:[WN.nil,false]);h=f[1];return!e.cw.wroteHeader&&!h&&(i=e.written,(i.$high<0||(i.$high===0&&i.$low<512)));};PY.prototype.needsSniff=function(){return this.$val.needsSniff();};QB=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=false;g=$ifaceNil;h=e;if($assertType(h,ABF,true)[1]){$s=1;continue;}if($assertType(h,ABG,true)[1]){$s=2;continue;}$s=3;continue;case 1:i=h.$val;l=i.Stat();m=l[0];n=l[1];if(!($interfaceIsEqual(n,$ifaceNil))){o=false;p=n;f=o;g=p;$s=-1;return[f,g];}r=m.Mode();$s=5;case 5:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=new U.FileMode(r).IsRegular();$s=6;case 6:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}q=s;t=$ifaceNil;f=q;g=t;$s=-1;return[f,g];case 2:j=h.$val;v=QB(j.R);$s=7;case 7:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;f=u[0];g=u[1];$s=-1;return[f,g];case 3:k=h;$s=-1;return[f,g];case 4:$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:QB};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};PY.ptr.prototype.ReadFrom=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=new $Int64(0,0);g=$ifaceNil;h=this;i=$assertType(h.conn.rwc,C.ReaderFrom,true);j=i[0];k=i[1];m=QB(e);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];g=l[1];if(!($interfaceIsEqual(g,$ifaceNil))){o=new $Int64(0,0);p=g;f=o;g=p;$s=-1;return[f,g];}if(!k||!n){$s=2;continue;}$s=3;continue;case 2:q=QH.Get();$s=4;case 4:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=$assertType(q,WQ);$deferred.push([$methodVal(QH,\"Put\"),[r]]);u=C.CopyBuffer((t=new QA.ptr(h),new t.constructor.elem(t)),e,r.$get());$s=5;case 5:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}s=u;f=s[0];g=s[1];$s=-1;return[f,g];case 3:if(!h.wroteHeader){$s=6;continue;}$s=7;continue;case 6:$r=h.WriteHeader(200);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:if(h.needsSniff()){$s=9;continue;}$s=10;continue;case 9:x=C.Copy((w=new QA.ptr(h),new w.constructor.elem(w)),C.LimitReader(e,new $Int64(0,512)));$s=11;case 11:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}v=x;y=v[0];z=v[1];f=(aa=y,new $Int64(f.$high+aa.$high,f.$low+aa.$low));if(!($interfaceIsEqual(z,$ifaceNil))){ab=f;ac=z;f=ab;g=ac;$s=-1;return[f,g];}case 10:ad=h.w.Flush();$s=12;case 12:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ad;$r=h.cw.flush();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!h.cw.chunking&&h.bodyAllowed()){$s=14;continue;}$s=15;continue;case 14:af=j.ReadFrom(e);$s=16;case 16:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=af;ag=ae[0];ah=ae[1];f=(ai=ag,new $Int64(f.$high+ai.$high,f.$low+ai.$low));h.written=(aj=h.written,ak=ag,new $Int64(aj.$high+ak.$high,aj.$low+ak.$low));al=f;am=ah;f=al;g=am;$s=-1;return[f,g];case 15:ap=C.Copy((ao=new QA.ptr(h),new ao.constructor.elem(ao)),e);$s=17;case 17:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}an=ap;aq=an[0];g=an[1];f=(ar=aq,new $Int64(f.$high+ar.$high,f.$low+ar.$low));as=f;at=g;f=as;g=at;$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:PY.ptr.prototype.ReadFrom};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};PY.prototype.ReadFrom=function(e){return this.$val.ReadFrom(e);};RZ.ptr.prototype.newConn=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=new PU.ptr(f,$throwNilPointerError,e,\"\",XK.nil,$ifaceNil,ABH.nil,AAE.nil,WW.nil,\"\",new AL.Value.ptr(new AL.noCopy.ptr(),$ifaceNil),new AL.Value.ptr(new AL.noCopy.ptr(),$ifaceNil),new P.Mutex.ptr(0,0),false);if(false){$s=1;continue;}$s=2;continue;case 1:h=SQ(\"server\",g.rwc);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g.rwc=h;case 2:$s=-1;return g;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.newConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.newConn=function(e){return this.$val.newConn(e);};QD.ptr.prototype.lock=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(e.cond===AAD.nil){e.cond=P.NewCond(e.mu);}$s=-1;return;}return;}if($f===undefined){$f={$blk:QD.ptr.prototype.lock};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};QD.prototype.lock=function(){return this.$val.lock();};QD.ptr.prototype.unlock=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.mu.Unlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:QD.ptr.prototype.unlock};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};QD.prototype.unlock=function(){return this.$val.unlock();};QD.ptr.prototype.startBackgroundRead=function(){var $ptr,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e,\"unlock\"),[]]);if(e.inRead){$panic(new $String(\"invalid concurrent Body.Read call\"));}if(e.hasByte){$s=-1;return;}e.inRead=true;f=e.conn.rwc.SetReadDeadline(new Q.Time.ptr(new $Int64(0,0),0,WL.nil));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$go($methodVal(e,\"backgroundRead\"),[]);$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:QD.ptr.prototype.startBackgroundRead};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};QD.prototype.startBackgroundRead=function(){return this.$val.startBackgroundRead();};QD.ptr.prototype.backgroundRead=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;g=e.conn.rwc.Read(new WP(e.byteBuf));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];$r=e.lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h===1){$s=3;continue;}$s=4;continue;case 3:e.hasByte=true;$r=e.closeNotifyFromPipelinedRequest();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:j=$assertType(i,R.Error,true);k=j[0];l=j[1];if(!(l&&e.aborted)){m=false;$s=9;continue s;}n=k.Timeout();$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 9:if(m){$s=6;continue;}if(!($interfaceIsEqual(i,$ifaceNil))){$s=7;continue;}$s=8;continue;case 6:$s=8;continue;case 7:$r=e.handleReadError(i);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:e.aborted=false;e.inRead=false;$r=e.unlock();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.cond.Broadcast();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:QD.ptr.prototype.backgroundRead};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};QD.prototype.backgroundRead=function(){return this.$val.backgroundRead();};QD.ptr.prototype.abortPendingRead=function(){var $ptr,e,f,g,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e,\"unlock\"),[]]);if(!e.inRead){$s=-1;return;}e.aborted=true;f=e.conn.rwc.SetReadDeadline($clone(OB,Q.Time));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 3:if(!(e.inRead)){$s=4;continue;}$r=e.cond.Wait();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 4:g=e.conn.rwc.SetReadDeadline(new Q.Time.ptr(new $Int64(0,0),0,WL.nil));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:QD.ptr.prototype.abortPendingRead};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};QD.prototype.abortPendingRead=function(){return this.$val.abortPendingRead();};QD.ptr.prototype.setReadLimit=function(e){var $ptr,e,f;f=this;f.remain=e;};QD.prototype.setReadLimit=function(e){return this.$val.setReadLimit(e);};QD.ptr.prototype.setInfiniteReadLimit=function(){var $ptr,e;e=this;e.remain=new $Int64(2147483647,4294967295);};QD.prototype.setInfiniteReadLimit=function(){return this.$val.setInfiniteReadLimit();};QD.ptr.prototype.hitReadLimit=function(){var $ptr,e,f;e=this;return(f=e.remain,(f.$high<0||(f.$high===0&&f.$low<=0)));};QD.prototype.hitReadLimit=function(){return this.$val.hitReadLimit();};QD.ptr.prototype.handleReadError=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.conn.cancelCtx();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f.closeNotify();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:QD.ptr.prototype.handleReadError};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};QD.prototype.handleReadError=function(e){return this.$val.handleReadError(e);};QD.ptr.prototype.closeNotifyFromPipelinedRequest=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.closeNotify();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:QD.ptr.prototype.closeNotifyFromPipelinedRequest};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};QD.prototype.closeNotifyFromPipelinedRequest=function(){return this.$val.closeNotifyFromPipelinedRequest();};QD.ptr.prototype.closeNotify=function(){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=$assertType(e.conn.curReq.Load(),ABI,true);g=f[0];if(!(g===ABI.nil)){$s=1;continue;}$s=2;continue;case 1:if(AL.CompareAndSwapInt32((g.$ptr_didCloseNotify||(g.$ptr_didCloseNotify=new ABE(function(){return this.$target.didCloseNotify;},function($v){this.$target.didCloseNotify=$v;},g))),0,1)){$s=3;continue;}$s=4;continue;case 3:$r=$send(g.closeNotifyCh,true);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:QD.ptr.prototype.closeNotify};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};QD.prototype.closeNotify=function(){return this.$val.closeNotify();};QD.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;$r=h.lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h.inRead){$s=2;continue;}$s=3;continue;case 2:$r=h.unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$panic(new $String(\"invalid concurrent Body.Read call\"));case 3:if(h.hitReadLimit()){$s=5;continue;}$s=6;continue;case 5:$r=h.unlock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=0;j=C.EOF;f=i;g=j;$s=-1;return[f,g];case 6:if(!($interfaceIsEqual(h.bgErr,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=h.bgErr;$r=h.unlock();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=0;l=g;f=k;g=l;$s=-1;return[f,g];case 9:if(e.$length===0){$s=11;continue;}$s=12;continue;case 11:$r=h.unlock();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m=0;n=$ifaceNil;f=m;g=n;$s=-1;return[f,g];case 12:if((o=(new $Int64(0,e.$length)),p=h.remain,(o.$high>p.$high||(o.$high===p.$high&&o.$low>p.$low)))){e=$subslice(e,0,$flatten64(h.remain));}if(h.hasByte){$s=14;continue;}$s=15;continue;case 14:(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=h.byteBuf[0]);h.hasByte=false;$r=h.unlock();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=1;r=$ifaceNil;f=q;g=r;$s=-1;return[f,g];case 15:h.inRead=true;$r=h.unlock();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=h.conn.rwc.Read(e);$s=18;case 18:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;f=s[0];g=s[1];$r=h.lock();$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h.inRead=false;if(!($interfaceIsEqual(g,$ifaceNil))){$s=20;continue;}$s=21;continue;case 20:$r=h.handleReadError(g);$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 21:h.remain=(u=h.remain,v=(new $Int64(0,f)),new $Int64(u.$high-v.$high,u.$low-v.$low));$r=h.unlock();$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=h.cond.Broadcast();$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}w=f;x=g;f=w;g=x;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:QD.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};QD.prototype.Read=function(e){return this.$val.Read(e);};QI=function(e){var $ptr,e,f;f=e;if(f===(2048)){return QF;}else if(f===(4096)){return QG;}return ABJ.nil;};QJ=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=QE.Get();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(g,$ifaceNil))){h=$assertType(g,AAE);h.Reset(e);$s=-1;return h;}$s=-1;return G.NewReader(e);}return;}if($f===undefined){$f={$blk:QJ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};QK=function(e){var $ptr,e;e.Reset($ifaceNil);QE.Put(e);};QL=function(e,f){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=QI(f);if(!(g===ABJ.nil)){$s=1;continue;}$s=2;continue;case 1:h=g.Get();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){j=$assertType(i,WW);j.Reset(e);$s=-1;return j;}case 2:$s=-1;return G.NewWriterSize(e,f);}return;}if($f===undefined){$f={$blk:QL};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};QM=function(e){var $ptr,e,f;e.Reset($ifaceNil);f=QI(e.Available());if(!(f===ABJ.nil)){f.Put(e);}};RZ.ptr.prototype.maxHeaderBytes=function(){var $ptr,e;e=this;if(e.MaxHeaderBytes>0){return e.MaxHeaderBytes;}return 1048576;};RZ.prototype.maxHeaderBytes=function(){return this.$val.maxHeaderBytes();};RZ.ptr.prototype.initialReadLimitSize=function(){var $ptr,e,f;e=this;return(f=(new $Int64(0,e.maxHeaderBytes())),new $Int64(f.$high+0,f.$low+4096));};RZ.prototype.initialReadLimitSize=function(){return this.$val.initialReadLimitSize();};QN.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(h.closed){i=0;j=$pkg.ErrBodyReadAfterClose;f=i;g=j;$s=-1;return[f,g];}if(!(!h.resp.wroteContinue)){k=false;$s=3;continue s;}l=h.resp.conn.hijacked();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=!l;case 3:if(k){$s=1;continue;}$s=2;continue;case 1:h.resp.wroteContinue=true;m=h.resp.conn.bufw.WriteString(\"HTTP/1.1 100 Continue\\r\\n\\r\\n\");$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;n=h.resp.conn.bufw.Flush();$s=6;case 6:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;case 2:p=h.readCloser.Read(e);$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;f=o[0];g=o[1];if($interfaceIsEqual(g,C.EOF)){h.sawEOF=true;}$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:QN.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};QN.prototype.Read=function(e){return this.$val.Read(e);};QN.ptr.prototype.Close=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;e.closed=true;f=e.readCloser.Close();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:QN.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};QN.prototype.Close=function(){return this.$val.Close();};QO=function(e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:Q.Time.copy(f,$clone(f,Q.Time).UTC());h=$clone(f,Q.Time).Date();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];k=g[2];m=$clone(f,Q.Time).Clock();$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=$clone(f,Q.Time).Weekday();$s=3;case 3:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=$substring(\"SunMonTueWedThuFriSat\",($imul(3,q)));s=$substring(\"JanFebMarAprMayJunJulAugSepOctNovDec\",($imul(3,((j-1>>0)))));$s=-1;return $append(e,r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),44,32,(((48+(t=k/10,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(u=k%10,u===u?u:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),32,s.charCodeAt(0),s.charCodeAt(1),s.charCodeAt(2),32,(((48+(v=i/1000,(v===v&&v!==1/0&&v!==-1/0)?v>>0:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(w=((x=i/100,(x===x&&x!==1/0&&x!==-1/0)?x>>0:$throwRuntimeError(\"integer divide by zero\")))%10,w===w?w:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(y=((z=i/10,(z===z&&z!==1/0&&z!==-1/0)?z>>0:$throwRuntimeError(\"integer divide by zero\")))%10,y===y?y:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(aa=i%10,aa===aa?aa:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),32,(((48+(ab=n/10,(ab===ab&&ab!==1/0&&ab!==-1/0)?ab>>0:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(ac=n%10,ac===ac?ac:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),58,(((48+(ad=o/10,(ad===ad&&ad!==1/0&&ad!==-1/0)?ad>>0:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(ae=o%10,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),58,(((48+(af=p/10,(af===af&&af!==1/0&&af!==-1/0)?af>>0:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),(((48+(ag=p%10,ag===ag?ag:$throwRuntimeError(\"integer divide by zero\"))>>0)<<24>>>24)),32,71,77,84);}return;}if($f===undefined){$f={$blk:QO};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};PU.ptr.prototype.readRequest=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=[f];g=[g];h=ABI.nil;i=$ifaceNil;f[0]=this;j=f[0].hijacked();$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=1;continue;}$s=2;continue;case 1:k=ABI.nil;l=$pkg.ErrHijacked;h=k;i=l;$s=-1;return[h,i];case 2:m=new Q.Time.ptr(new $Int64(0,0),0,WL.nil);n=new Q.Time.ptr(new $Int64(0,0),0,WL.nil);o=$clone(Q.Now(),Q.Time);p=f[0].server.readHeaderTimeout();if(!((p.$high===0&&p.$low===0))){Q.Time.copy(n,$clone(o,Q.Time).Add(p));}q=f[0].server.ReadTimeout;if(!((q.$high===0&&q.$low===0))){Q.Time.copy(m,$clone(o,Q.Time).Add(q));}r=f[0].rwc.SetReadDeadline($clone(n,Q.Time));$s=4;case 4:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;g[0]=f[0].server.WriteTimeout;if(!((g[0].$high===0&&g[0].$low===0))){$s=5;continue;}$s=6;continue;case 5:$deferred.push([(function(f,g){return function $b(){var $ptr,s,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;s=$f.s;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:s=f[0].rwc.SetWriteDeadline($clone($clone(Q.Now(),Q.Time).Add(g[0]),Q.Time));$s=1;case 1:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.s=s;$f.$s=$s;$f.$r=$r;return $f;};})(f,g),[]]);case 6:f[0].r.setReadLimit(f[0].server.initialReadLimitSize());if(f[0].lastMethod===\"POST\"){$s=7;continue;}$s=8;continue;case 7:t=f[0].bufr.Peek(4);$s=9;case 9:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=f[0].bufr.Discard(SS(u));$s=10;case 10:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}v;case 8:x=PF(f[0].bufr,false);$s=11;case 11:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=x;y=w[0];i=w[1];if(!($interfaceIsEqual(i,$ifaceNil))){if(f[0].r.hitReadLimit()){z=ABI.nil;aa=QP;h=z;i=aa;$s=-1;return[h,i];}ab=ABI.nil;ac=i;h=ab;i=ac;$s=-1;return[h,i];}if(!QQ(y)){ad=ABI.nil;ae=new RC(\"unsupported protocol version\");h=ad;i=ae;$s=-1;return[h,i];}f[0].lastMethod=y.Method;f[0].r.setInfiniteReadLimit();af=(ag=y.Header[$String.keyFor(\"Host\")],ag!==undefined?[ag.v,true]:[WN.nil,false]);ah=af[0];ai=af[1];aj=y.isH2Upgrade();if(y.ProtoAtLeast(1,1)&&(!ai||(ah.$length===0))&&!aj){ak=ABI.nil;al=new RC(\"missing required Host header\");h=ak;i=al;$s=-1;return[h,i];}if(ah.$length>1){am=ABI.nil;an=new RC(\"too many Host headers\");h=am;i=an;$s=-1;return[h,i];}if((ah.$length===1)&&!AH.ValidHostHeader((0>=ah.$length?($throwRuntimeError(\"index out of range\"),undefined):ah.$array[ah.$offset+0]))){ao=ABI.nil;ap=new RC(\"malformed Host header\");h=ao;i=ap;$s=-1;return[h,i];}aq=y.Header;ar=0;as=$keys(aq);while(true){if(!(ar<as.length)){break;}at=aq[as[ar]];if(at===undefined){ar++;continue;}au=at.k;av=at.v;if(!AH.ValidHeaderFieldName(au)){aw=ABI.nil;ax=new RC(\"invalid header name\");h=aw;i=ax;$s=-1;return[h,i];}ay=av;az=0;while(true){if(!(az<ay.$length)){break;}ba=((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]);if(!AH.ValidHeaderFieldValue(ba)){bb=ABI.nil;bc=new RC(\"invalid header value\");h=bb;i=bc;$s=-1;return[h,i];}az++;}ar++;}delete y.Header[$String.keyFor(\"Host\")];be=Y.WithCancel(e);$s=12;case 12:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bd=be;e=bd[0];bf=bd[1];y.ctx=e;y.RemoteAddr=f[0].remoteAddr;y.TLS=f[0].tlsState;bg=$assertType(y.Body,ABK,true);bh=bg[0];bi=bg[1];if(bi){bh.doEarlyClose=true;}if(!$clone(n,Q.Time).Equal($clone(m,Q.Time))){$s=13;continue;}$s=14;continue;case 13:bj=f[0].rwc.SetReadDeadline($clone(m,Q.Time));$s=15;case 15:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bj;case 14:h=new PY.ptr(f[0],y,y.Body,bf,false,false,y.wantsHttp10KeepAlive(),y.wantsClose(),WW.nil,new PV.ptr(ABI.nil,false,false,false),{},false,new $Int64(0,0),new $Int64(-1,4294967295),0,false,false,WN.nil,0,ABM.zero(),ABN.zero(),new $Chan($Bool,1),0);if(aj){h.closeAfterReply=true;}h.cw.res=h;bk=QL(h.cw,2048);$s=16;case 16:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}h.w=bk;bl=h;bm=$ifaceNil;h=bl;i=bm;$s=-1;return[h,i];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[h,i];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:PU.ptr.prototype.readRequest};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};PU.prototype.readRequest=function(e){return this.$val.readRequest(e);};QQ=function(e){var $ptr,e;if(e.ProtoMajor===1){return true;}if((e.ProtoMajor===2)&&(e.ProtoMinor===0)&&e.Method===\"PRI\"&&e.RequestURI===\"*\"){return true;}return false;};PY.ptr.prototype.Header=function(){var $ptr,e;e=this;if(e.cw.header===false&&e.wroteHeader&&!e.cw.wroteHeader){e.cw.header=new NO(e.handlerHeader).clone();}e.calledHeader=true;return e.handlerHeader;};PY.prototype.Header=function(){return this.$val.Header();};PY.ptr.prototype.WriteHeader=function(e){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.conn.hijacked();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=1;continue;}$s=2;continue;case 1:$r=f.conn.server.logf(\"http: response.WriteHeader on hijacked connection\",new WH([]));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:if(f.wroteHeader){$s=5;continue;}$s=6;continue;case 5:$r=f.conn.server.logf(\"http: multiple response.WriteHeader calls\",new WH([]));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 6:f.wroteHeader=true;f.status=e;if(f.calledHeader&&f.cw.header===false){f.cw.header=new NO(f.handlerHeader).clone();}h=new NO(f.handlerHeader).get(\"Content-Length\");if(!(h===\"\")){$s=8;continue;}$s=9;continue;case 8:i=E.ParseInt(h,10,64);j=i[0];k=i[1];if($interfaceIsEqual(k,$ifaceNil)&&(j.$high>0||(j.$high===0&&j.$low>=0))){$s=10;continue;}$s=11;continue;case 10:f.contentLength=j;$s=12;continue;case 11:$r=f.conn.server.logf(\"http: invalid Content-Length of %q\",new WH([new $String(h)]));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}new NO(f.handlerHeader).Del(\"Content-Length\");case 12:case 9:$s=-1;return;}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.WriteHeader};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.WriteHeader=function(e){return this.$val.WriteHeader(e);};QR.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(!(f.date===WP.nil)){$s=1;continue;}$s=2;continue;case 1:g=e.Write(QU);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=e.Write(f.date);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=e.Write(PW);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 2:if(!(f.contentLength===WP.nil)){$s=6;continue;}$s=7;continue;case 6:j=e.Write(QT);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=e.Write(f.contentLength);$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=e.Write(PW);$s=10;case 10:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;case 7:m=new WN([f.contentType,f.connection,f.transferEncoding]);n=0;case 11:if(!(n<m.$length)){$s=12;continue;}o=n;p=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);if(!(p===\"\")){$s=13;continue;}$s=14;continue;case 13:q=e.Write(((o<0||o>=QS.$length)?($throwRuntimeError(\"index out of range\"),undefined):QS.$array[QS.$offset+o]));$s=15;case 15:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;r=e.Write(PX);$s=16;case 16:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}r;s=e.WriteString(p);$s=17;case 17:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}s;t=e.Write(PW);$s=18;case 18:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}t;case 14:n++;$s=11;continue;case 12:$s=-1;return;}return;}if($f===undefined){$f={$blk:QR.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};QR.prototype.Write=function(e){return this.$val.Write(e);};PV.ptr.prototype.writeHeader=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];h=[h];i=this;if(i.wroteHeader){$s=-1;return;}i.wroteHeader=true;j=i.res;k=j.conn.server.doKeepAlives();l=j.req.Method===\"HEAD\";g[0]=i.header;h[0]=!(g[0]===false);if(!h[0]){g[0]=j.handlerHeader;}f[0]=false;m=(function(f,g,h){return function(m){var $ptr,m,n,o,p,q;if(h[0]){new NO(g[0]).Del(m);return;}n=(o=g[0][$String.keyFor(m)],o!==undefined?[o.v,true]:[WN.nil,false]);p=n[1];if(!p){return;}if(f[0]===false){f[0]={};}q=m;(f[0]||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(q)]={k:q,v:true};};})(f,g,h);n=new QR.ptr(\"\",\"\",\"\",WP.nil,WP.nil);o=false;p=i.header;q=0;r=$keys(p);while(true){if(!(q<r.length)){break;}s=p[r[q]];if(s===undefined){q++;continue;}t=s.k;if(O.HasPrefix(t,\"Trailer:\")){if(f[0]===false){f[0]={};}u=t;(f[0]||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(u)]={k:u,v:true};o=true;}q++;}v=(w=i.header[$String.keyFor(\"Trailer\")],w!==undefined?w.v:WN.nil);x=0;case 1:if(!(x<v.$length)){$s=2;continue;}y=((x<0||x>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+x]);o=true;$r=QV(y,$methodVal(i.res,\"declareTrailer\"));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}x++;$s=1;continue;case 2:z=new NO(g[0]).get(\"Transfer-Encoding\");aa=!(z===\"\");if((j.$ptr_handlerDone||(j.$ptr_handlerDone=new XS(function(){return this.$target.handlerDone;},function($v){this.$target.handlerDone=$v;},j))).isSet()&&!o&&!aa&&TN(j.status)&&new NO(g[0]).get(\"Content-Length\")===\"\"&&(!l||e.$length>0)){j.contentLength=(new $Int64(0,e.$length));n.contentLength=E.AppendInt($subslice(new WP(i.res.clenBuf),0,0),(new $Int64(0,e.$length)),10);}if(j.wants10KeepAlive&&k){ab=!(new NO(g[0]).get(\"Content-Length\")===\"\");if(ab&&new NO(g[0]).get(\"Connection\")===\"keep-alive\"){j.closeAfterReply=false;}}ad=!((ac=j.contentLength,(ac.$high===-1&&ac.$low===4294967295)));if(j.wants10KeepAlive&&(l||ad||!TN(j.status))){ae=(af=g[0][$String.keyFor(\"Connection\")],af!==undefined?[af.v,true]:[WN.nil,false]);ag=ae[1];if(!ag){n.connection=\"keep-alive\";}}else if(!j.req.ProtoAtLeast(1,1)||j.wantsClose){j.closeAfterReply=true;}if(new NO(g[0]).get(\"Connection\")===\"close\"||!k){j.closeAfterReply=true;}ah=$assertType(j.req.Body,ABO,true);ai=ah[0];aj=ah[1];if(aj&&!ai.sawEOF){j.closeAfterReply=true;}if(!((ak=j.req.ContentLength,(ak.$high===0&&ak.$low===0)))&&!j.closeAfterReply){$s=4;continue;}$s=5;continue;case 4:al=false;am=false;an=al;ao=am;ap=j.req.Body;if($assertType(ap,ABO,true)[1]){$s=6;continue;}if($assertType(ap,ABK,true)[1]){$s=7;continue;}$s=8;continue;case 6:aq=ap.$val;if(aq.resp.wroteContinue){an=true;}$s=9;continue;case 7:ar=ap.$val;$r=ar.mu.Lock();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(ar.closed){if(!ar.sawEOF){j.closeAfterReply=true;}}else if((at=ar.unreadDataSizeLocked(),(at.$high>0||(at.$high===0&&at.$low>=262144)))){ao=true;}else{an=true;}$r=ar.mu.Unlock();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 8:as=ap;an=true;case 9:if(an){$s=12;continue;}$s=13;continue;case 12:av=C.CopyN(D.Discard,j.reqBody,new $Int64(0,262145));$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}au=av;aw=au[1];ax=aw;if($interfaceIsEqual(ax,$ifaceNil)){$s=16;continue;}if($interfaceIsEqual(ax,($pkg.ErrBodyReadAfterClose))){$s=17;continue;}if($interfaceIsEqual(ax,(C.EOF))){$s=18;continue;}$s=19;continue;case 16:ao=true;$s=20;continue;case 17:$s=20;continue;case 18:ay=j.reqBody.Close();$s=21;case 21:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}aw=ay;if(!($interfaceIsEqual(aw,$ifaceNil))){j.closeAfterReply=true;}$s=20;continue;case 19:j.closeAfterReply=true;case 20:case 15:case 13:if(ao){$s=22;continue;}$s=23;continue;case 22:j.requestTooLarge();$r=m(\"Connection\");$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n.connection=\"close\";case 23:case 5:az=j.status;if(TN(az)){$s=25;continue;}$s=26;continue;case 25:ba=(bb=g[0][$String.keyFor(\"Content-Type\")],bb!==undefined?[bb.v,true]:[WN.nil,false]);bc=ba[1];if(!bc&&!aa){$s=28;continue;}$s=29;continue;case 28:bd=SU(e);$s=30;case 30:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}n.contentType=bd;case 29:$s=27;continue;case 26:be=TQ(az);bf=0;case 31:if(!(bf<be.$length)){$s=32;continue;}bg=((bf<0||bf>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bf]);$r=m(bg);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bf++;$s=31;continue;case 32:case 27:bh=(bi=g[0][$String.keyFor(\"Date\")],bi!==undefined?[bi.v,true]:[WN.nil,false]);bj=bh[1];if(!bj){$s=34;continue;}$s=35;continue;case 34:bk=QO($subslice(new WP(i.res.dateBuf),0,0),$clone(Q.Now(),Q.Time));$s=36;case 36:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}n.date=bk;case 35:if(ad&&aa&&!(z===\"identity\")){$s=37;continue;}$s=38;continue;case 37:$r=j.conn.server.logf(\"http: WriteHeader called with both Transfer-Encoding of %q and a Content-Length of %d\",new WH([new $String(z),j.contentLength]));$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=m(\"Content-Length\");$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ad=false;case 38:if(j.req.Method===\"HEAD\"||!TN(az)){$s=41;continue;}if(az===204){$s=42;continue;}if(ad){$s=43;continue;}if(j.req.ProtoAtLeast(1,1)){$s=44;continue;}$s=45;continue;case 41:$s=46;continue;case 42:$r=m(\"Transfer-Encoding\");$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 43:$r=m(\"Transfer-Encoding\");$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 44:if(aa&&z===\"identity\"){$s=49;continue;}$s=50;continue;case 49:i.chunking=false;j.closeAfterReply=true;$s=51;continue;case 50:i.chunking=true;n.transferEncoding=\"chunked\";if(aa&&z===\"chunked\"){$s=52;continue;}$s=53;continue;case 52:$r=m(\"Transfer-Encoding\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 53:case 51:$s=46;continue;case 45:j.closeAfterReply=true;$r=m(\"Transfer-Encoding\");$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 46:if(i.chunking){$s=56;continue;}$s=57;continue;case 56:$r=m(\"Content-Length\");$s=58;case 58:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 57:if(!j.req.ProtoAtLeast(1,0)){$s=-1;return;}if(j.closeAfterReply&&(!k||!NY(new NO(i.header).get(\"Connection\"),\"close\"))){$s=59;continue;}$s=60;continue;case 59:$r=m(\"Connection\");$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(j.req.ProtoAtLeast(1,1)){n.connection=\"close\";}case 60:bl=QY(j.req,az);$s=62;case 62:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bm=j.conn.bufw.WriteString(bl);$s=63;case 63:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}bm;bn=new NO(i.header).WriteSubset(j.conn.bufw,f[0]);$s=64;case 64:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}bn;$r=$clone(n,QR).Write(j.conn.bufw);$s=65;case 65:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bo=j.conn.bufw.Write(PW);$s=66;case 66:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bo;$s=-1;return;}return;}if($f===undefined){$f={$blk:PV.ptr.prototype.writeHeader};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};PV.prototype.writeHeader=function(e){return this.$val.writeHeader(e);};QV=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=I.TrimString(e);if(e===\"\"){$s=-1;return;}if(!O.Contains(e,\",\")){$s=1;continue;}$s=2;continue;case 1:$r=f(e);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:g=O.Split(e,\",\");h=0;case 4:if(!(h<g.$length)){$s=5;continue;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i=I.TrimString(i);if(!(i===\"\")){$s=6;continue;}$s=7;continue;case 6:$r=f(i);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:h++;$s=4;continue;case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:QV};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};QY=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=f;h=e.ProtoAtLeast(1,1);if(!h){g=-g;}$r=QW.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=(j=QX[$Int.keyFor(g)],j!==undefined?[j.v,true]:[\"\",false]);k=i[0];l=i[1];$r=QW.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(l){$s=-1;return k;}m=\"HTTP/1.0\";if(h){m=\"HTTP/1.1\";}n=B.Sprintf(\"%03d\",new WH([new $Int(f)]));$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=(q=TF[$Int.keyFor(f)],q!==undefined?[q.v,true]:[\"\",false]);r=p[0];l=p[1];if(!l){r=\"status code \"+o;}k=m+\" \"+o+\" \"+r+\"\\r\\n\";if(l){$s=4;continue;}$s=5;continue;case 4:$r=QW.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(QW,\"Unlock\"),[]]);s=g;(QX||$throwRuntimeError(\"assignment to entry in nil map\"))[$Int.keyFor(s)]={k:s,v:k};case 5:$s=-1;return k;}return;}}catch(err){$err=err;$s=-1;return\"\";}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:QY};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};PY.ptr.prototype.bodyAllowed=function(){var $ptr,e;e=this;if(!e.wroteHeader){$panic(new $String(\"\"));}return TN(e.status);};PY.prototype.bodyAllowed=function(){return this.$val.bodyAllowed();};PY.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.write(e.$length,e,\"\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.Write=function(e){return this.$val.Write(e);};PY.ptr.prototype.WriteString=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.write(e.length,WP.nil,e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.WriteString};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.WriteString=function(e){return this.$val.WriteString(e);};PY.ptr.prototype.write=function(e,f,g){var $ptr,aa,ab,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;i=$ifaceNil;j=this;k=j.conn.hijacked();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(k){$s=1;continue;}$s=2;continue;case 1:if(e>0){$s=4;continue;}$s=5;continue;case 4:$r=j.conn.server.logf(\"http: response.Write on hijacked connection\",new WH([]));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:l=0;m=$pkg.ErrHijacked;h=l;i=m;$s=-1;return[h,i];case 2:if(!j.wroteHeader){$s=7;continue;}$s=8;continue;case 7:$r=j.WriteHeader(200);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:if(e===0){n=0;o=$ifaceNil;h=n;i=o;$s=-1;return[h,i];}if(!j.bodyAllowed()){p=0;q=$pkg.ErrBodyNotAllowed;h=p;i=q;$s=-1;return[h,i];}j.written=(r=j.written,s=(new $Int64(0,e)),new $Int64(r.$high+s.$high,r.$low+s.$low));if(!((t=j.contentLength,(t.$high===-1&&t.$low===4294967295)))&&(u=j.written,v=j.contentLength,(u.$high>v.$high||(u.$high===v.$high&&u.$low>v.$low)))){w=0;x=$pkg.ErrContentLength;h=w;i=x;$s=-1;return[h,i];}if(!(f===WP.nil)){$s=10;continue;}$s=11;continue;case 10:z=j.w.Write(f);$s=13;case 13:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;h=y[0];i=y[1];$s=-1;return[h,i];case 11:ab=j.w.WriteString(g);$s=14;case 14:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;h=aa[0];i=aa[1];$s=-1;return[h,i];case 12:$s=-1;return[h,i];}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.write};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.write=function(e,f,g){return this.$val.write(e,f,g);};PY.ptr.prototype.finishRequest=function(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;(e.$ptr_handlerDone||(e.$ptr_handlerDone=new XS(function(){return this.$target.handlerDone;},function($v){this.$target.handlerDone=$v;},e))).setTrue();if(!e.wroteHeader){$s=1;continue;}$s=2;continue;case 1:$r=e.WriteHeader(200);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=e.w.Flush();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;QM(e.w);$r=e.cw.close();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e.conn.bufw.Flush();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$r=e.conn.r.abortPendingRead();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=e.reqBody.Close();$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;if(!(e.req.MultipartForm===XO.nil)){e.req.MultipartForm.RemoveAll();}$s=-1;return;}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.finishRequest};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.finishRequest=function(){return this.$val.finishRequest();};PY.ptr.prototype.shouldReuseConnection=function(){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(e.closeAfterReply){$s=-1;return false;}if(!(e.req.Method===\"HEAD\")&&!((f=e.contentLength,(f.$high===-1&&f.$low===4294967295)))&&e.bodyAllowed()&&!((g=e.contentLength,h=e.written,(g.$high===h.$high&&g.$low===h.$low)))){$s=-1;return false;}if(!($interfaceIsEqual(e.conn.werr,$ifaceNil))){$s=-1;return false;}i=e.closedRequestBodyEarly();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(i){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:$s=-1;return true;}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.shouldReuseConnection};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.shouldReuseConnection=function(){return this.$val.shouldReuseConnection();};PY.ptr.prototype.closedRequestBodyEarly=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=$assertType(e.req.Body,ABK,true);g=f[0];h=f[1];if(!(h)){i=false;$s=1;continue s;}j=g.didEarlyClose();$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 1:$s=-1;return i;}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.closedRequestBodyEarly};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.closedRequestBodyEarly=function(){return this.$val.closedRequestBodyEarly();};PY.ptr.prototype.Flush=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!e.wroteHeader){$s=1;continue;}$s=2;continue;case 1:$r=e.WriteHeader(200);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=e.w.Flush();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$r=e.cw.flush();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.Flush};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.Flush=function(){return this.$val.Flush();};PU.ptr.prototype.finalFlush=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!(e.bufr===AAE.nil)){QK(e.bufr);e.bufr=AAE.nil;}if(!(e.bufw===WW.nil)){$s=1;continue;}$s=2;continue;case 1:f=e.bufw.Flush();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;QM(e.bufw);e.bufw=WW.nil;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:PU.ptr.prototype.finalFlush};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};PU.prototype.finalFlush=function(){return this.$val.finalFlush();};PU.ptr.prototype.close=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.finalFlush();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.rwc.Close();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=-1;return;}return;}if($f===undefined){$f={$blk:PU.ptr.prototype.close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};PU.prototype.close=function(){return this.$val.close();};PU.ptr.prototype.closeWriteAndWait=function(){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.finalFlush();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=$assertType(e.rwc,QZ,true);g=f[0];h=f[1];if(h){$s=2;continue;}$s=3;continue;case 2:i=g.CloseWrite();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 3:$r=Q.Sleep(new Q.Duration(0,500000000));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:PU.ptr.prototype.closeWriteAndWait};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};PU.prototype.closeWriteAndWait=function(){return this.$val.closeWriteAndWait();};RA=function(e){var $ptr,e,f;f=e;if(f===(\"\")||f===(\"http/1.1\")||f===(\"http/1.0\")){return false;}return true;};PU.ptr.prototype.setState=function(e,f){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.server;i=f;if(i===(0)){$s=2;continue;}if((i===(3))||(i===(4))){$s=3;continue;}$s=4;continue;case 2:$r=h.trackConn(g,true);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:$r=h.trackConn(g,false);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:g.curState.Store(((f<0||f>=RB.length)?($throwRuntimeError(\"index out of range\"),undefined):RB[f]));j=h.ConnState;if(!(j===$throwNilPointerError)){$s=7;continue;}$s=8;continue;case 7:$r=j(e,f);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=-1;return;}return;}if($f===undefined){$f={$blk:PU.ptr.prototype.setState};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};PU.prototype.setState=function(e,f){return this.$val.setState(e,f);};RC.prototype.Error=function(){var $ptr,e;e=this.$val;return\"Bad Request: \"+(e);};$ptrType(RC).prototype.Error=function(){return new RC(this.$get()).Error();};RD=function(e){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(e,C.EOF)){$s=-1;return true;}f=$assertType(e,R.Error,true);g=f[0];h=f[1];if(!(h)){i=false;$s=3;continue s;}j=g.Timeout();$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;case 3:if(i){$s=1;continue;}$s=2;continue;case 1:$s=-1;return true;case 2:k=$assertType(e,ZQ,true);l=k[0];m=k[1];if(m&&l.Op===\"read\"){$s=-1;return true;}$s=-1;return false;}return;}if($f===undefined){$f={$blk:RD};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};PU.ptr.prototype.serve=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=[f];f[0]=this;g=f[0].rwc.RemoteAddr();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g.String();$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f[0].remoteAddr=h;$deferred.push([(function(f){return function $b(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=$recover();if(!($interfaceIsEqual(i,$ifaceNil))&&!($interfaceIsEqual(i,$pkg.ErrAbortHandler))){$s=1;continue;}$s=2;continue;case 1:j=$makeSlice(WP,65536);j=$subslice(j,0,AE.Stack(j,false));$r=f[0].server.logf(\"http: panic serving %v: %v\\n%s\",new WH([new $String(f[0].remoteAddr),i,j]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:k=f[0].hijacked();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(!k){$s=4;continue;}$s=5;continue;case 4:$r=f[0].close();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=f[0].setState(f[0].rwc,4);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};})(f),[]]);i=$assertType(f[0].rwc,ABP,true);j=i[0];k=i[1];if(k){$s=3;continue;}$s=4;continue;case 3:l=f[0].server.ReadTimeout;if(!((l.$high===0&&l.$low===0))){$s=5;continue;}$s=6;continue;case 5:m=f[0].rwc.SetReadDeadline($clone($clone(Q.Now(),Q.Time).Add(l),Q.Time));$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 6:n=f[0].server.WriteTimeout;if(!((n.$high===0&&n.$low===0))){$s=8;continue;}$s=9;continue;case 8:o=f[0].rwc.SetWriteDeadline($clone($clone(Q.Now(),Q.Time).Add(n),Q.Time));$s=10;case 10:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;case 9:p=j.Handshake();$s=11;case 11:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;if(!($interfaceIsEqual(q,$ifaceNil))){$s=12;continue;}$s=13;continue;case 12:r=f[0].rwc.RemoteAddr();$s=14;case 14:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=q;$r=f[0].server.logf(\"http: TLS handshake error from %s: %v\",new WH([s,t]));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 13:f[0].tlsState=new J.ConnectionState.ptr(0,false,false,0,\"\",false,\"\",ZO.nil,ZP.nil,WZ.nil,WP.nil,WP.nil);u=j.ConnectionState();$s=16;case 16:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}J.ConnectionState.copy(f[0].tlsState,u);v=f[0].tlsState.NegotiatedProtocol;if(RA(v)){$s=17;continue;}$s=18;continue;case 17:x=(w=f[0].server.TLSNextProto[$String.keyFor(v)],w!==undefined?w.v:$throwNilPointerError);if(!(x===$throwNilPointerError)){$s=19;continue;}$s=20;continue;case 19:y=new SM.ptr(j,new SD.ptr(f[0].server));$r=x(f[0].server,j,new y.constructor.elem(y));$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:$s=-1;return;case 18:case 4:aa=Y.WithCancel(e);$s=22;case 22:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;e=z[0];ab=z[1];f[0].cancelCtx=ab;$deferred.push([ab,[]]);f[0].r=new QD.ptr(f[0],new P.Mutex.ptr(0,0),false,ABA.zero(),$ifaceNil,AAD.nil,false,false,new $Int64(0,0));ac=QJ(f[0].r);$s=23;case 23:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}f[0].bufr=ac;ae=QL((ad=new SR.ptr(f[0]),new ad.constructor.elem(ad)),4096);$s=24;case 24:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}f[0].bufw=ae;case 25:ag=f[0].readRequest(e);$s=27;case 27:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;ah=af[0];ai=af[1];if(!((aj=f[0].r.remain,ak=f[0].server.initialReadLimitSize(),(aj.$high===ak.$high&&aj.$low===ak.$low)))){$s=28;continue;}$s=29;continue;case 28:$r=f[0].setState(f[0].rwc,1);$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 29:if(!($interfaceIsEqual(ai,$ifaceNil))){$s=31;continue;}$s=32;continue;case 31:if($interfaceIsEqual(ai,QP)){$s=33;continue;}$s=34;continue;case 33:al=B.Fprintf(f[0].rwc,\"HTTP/1.1 431 Request Header Fields Too Large\\r\\nContent-Type: text/plain; charset=utf-8\\r\\nConnection: close\\r\\n\\r\\n431 Request Header Fields Too Large\",new WH([]));$s=35;case 35:if($c){$c=false;al=al.$blk();}if(al&&al.$blk!==undefined){break s;}al;$r=f[0].closeWriteAndWait();$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 34:am=RD(ai);$s=39;case 39:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}if(am){$s=37;continue;}$s=38;continue;case 37:$s=-1;return;case 38:an=\"400 Bad Request\";ao=$assertType(ai,RC,true);ap=ao[0];aq=ao[1];if(aq){an=an+\": \"+(ap);}ar=B.Fprintf(f[0].rwc,\"HTTP/1.1 \"+an+\"\\r\\nContent-Type: text/plain; charset=utf-8\\r\\nConnection: close\\r\\n\\r\\n\"+an,new WH([]));$s=40;case 40:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}ar;$s=-1;return;case 32:as=ah.req;if(as.expectsContinue()){$s=41;continue;}if(!(new NO(as.Header).get(\"Expect\")===\"\")){$s=42;continue;}$s=43;continue;case 41:if(as.ProtoAtLeast(1,1)&&!((at=as.ContentLength,(at.$high===0&&at.$low===0)))){as.Body=new QN.ptr(ah,as.Body,false,false);}$s=43;continue;case 42:$r=ah.sendExpectationFailed();$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 43:f[0].curReq.Store(ah);au=RF(as.Body);$s=48;case 48:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}if(au){$s=45;continue;}$s=46;continue;case 45:$r=RE(as.Body,$methodVal(ah.conn.r,\"startBackgroundRead\"));$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=47;continue;case 46:if(ah.conn.bufr.Buffered()>0){$s=50;continue;}$s=51;continue;case 50:$r=ah.conn.r.closeNotifyFromPipelinedRequest();$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 51:$r=ah.conn.r.startBackgroundRead();$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 47:$r=new SD.ptr(f[0].server).ServeHTTP(ah,ah.req);$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=ah.cancelCtx();$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=f[0].hijacked();$s=58;case 58:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av){$s=56;continue;}$s=57;continue;case 56:$s=-1;return;case 57:$r=ah.finishRequest();$s=59;case 59:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aw=ah.shouldReuseConnection();$s=62;case 62:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(!aw){$s=60;continue;}$s=61;continue;case 60:if(ah.requestBodyLimitHit){ax=true;$s=65;continue s;}ay=ah.closedRequestBodyEarly();$s=66;case 66:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay;case 65:if(ax){$s=63;continue;}$s=64;continue;case 63:$r=f[0].closeWriteAndWait();$s=67;case 67:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 64:$s=-1;return;case 61:$r=f[0].setState(f[0].rwc,2);$s=68;case 68:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f[0].curReq.Store((ABI.nil));if(!ah.conn.server.doKeepAlives()){$s=-1;return;}az=f[0].server.idleTimeout();if(!((az.$high===0&&az.$low===0))){$s=69;continue;}$s=70;continue;case 69:ba=f[0].rwc.SetReadDeadline($clone($clone(Q.Now(),Q.Time).Add(az),Q.Time));$s=71;case 71:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ba;bc=f[0].bufr.Peek(4);$s=72;case 72:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bb=bc;bd=bb[1];if(!($interfaceIsEqual(bd,$ifaceNil))){$s=-1;return;}case 70:be=f[0].rwc.SetReadDeadline(new Q.Time.ptr(new $Int64(0,0),0,WL.nil));$s=73;case 73:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}be;$s=25;continue;case 26:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:PU.ptr.prototype.serve};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};PU.prototype.serve=function(e){return this.$val.serve(e);};PY.ptr.prototype.sendExpectationFailed=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;new NO(e.Header()).Set(\"Connection\",\"close\");$r=e.WriteHeader(417);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.finishRequest();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:PY.ptr.prototype.sendExpectationFailed};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};PY.prototype.sendExpectationFailed=function(){return this.$val.sendExpectationFailed();};PY.ptr.prototype.Hijack=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=$ifaceNil;f=ABD.nil;g=$ifaceNil;h=this;if((h.$ptr_handlerDone||(h.$ptr_handlerDone=new XS(function(){return this.$target.handlerDone;},function($v){this.$target.handlerDone=$v;},h))).isSet()){$panic(new $String(\"net/http: Hijack called after ServeHTTP finished\"));}if(h.wroteHeader){$s=1;continue;}$s=2;continue;case 1:$r=h.cw.flush();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:i=h.conn;$r=i.mu.Lock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(i.mu,\"Unlock\"),[]]);k=i.hijackLocked();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;e=j[0];f=j[1];g=j[2];if($interfaceIsEqual(g,$ifaceNil)){QM(h.w);h.w=WW.nil;}l=e;m=f;n=g;e=l;f=m;g=n;$s=-1;return[e,f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[e,f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:PY.ptr.prototype.Hijack};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};PY.prototype.Hijack=function(){return this.$val.Hijack();};PY.ptr.prototype.CloseNotify=function(){var $ptr,e;e=this;if((e.$ptr_handlerDone||(e.$ptr_handlerDone=new XS(function(){return this.$target.handlerDone;},function($v){this.$target.handlerDone=$v;},e))).isSet()){$panic(new $String(\"net/http: CloseNotify called after ServeHTTP finished\"));}return e.closeNotifyCh;};PY.prototype.CloseNotify=function(){return this.$val.CloseNotify();};RE=function(e,f){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=e;if($assertType(g,ABO,true)[1]){$s=1;continue;}if($assertType(g,ABK,true)[1]){$s=2;continue;}$s=3;continue;case 1:h=g.$val;$r=RE(h.readCloser,f);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 2:i=g.$val;$r=i.registerOnHitEOF(f);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 3:j=g;k=B.Sprintf(\"%T\",new WH([e]));$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$panic(new $String(\"unexpected type \"+k));case 4:$s=-1;return;}return;}if($f===undefined){$f={$blk:RE};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};RF=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(e,new $pkg.NoBody.constructor.elem($pkg.NoBody))){$s=-1;return false;}f=e;if($assertType(f,ABO,true)[1]){$s=1;continue;}if($assertType(f,ABK,true)[1]){$s=2;continue;}$s=3;continue;case 1:g=f.$val;j=RF(g.readCloser);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;case 2:h=f.$val;k=h.bodyRemains();$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 3:i=f;l=B.Sprintf(\"%T\",new WH([e]));$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$panic(new $String(\"unexpected type \"+l));case 4:$s=-1;return false;}return;}if($f===undefined){$f={$blk:RF};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};RG.prototype.ServeHTTP=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this.$val;$r=g(e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:RG.prototype.ServeHTTP};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(RG).prototype.ServeHTTP=function(e,f){return new RG(this.$get()).ServeHTTP(e,f);};RH=function(e,f,g){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=e.Header();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=new NO(h).Set(\"Content-Type\",\"text/plain; charset=utf-8\");$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=e.Header();$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$r=new NO(i).Set(\"X-Content-Type-Options\",\"nosniff\");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.WriteHeader(g);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=B.Fprintln(e,new WH([new $String(f)]));$s=6;case 6:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=-1;return;}return;}if($f===undefined){$f={$blk:RH};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Error=RH;RI=function(e,f){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=RH(e,\"404 page not found\",404);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:RI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.NotFound=RI;RJ=function(){var $ptr;return new RG((RI));};$pkg.NotFoundHandler=RJ;RL=function(e,f,g,h){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=M.Parse(g);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];l=i[1];if($interfaceIsEqual(l,$ifaceNil)){if(k.Scheme===\"\"&&k.Host===\"\"){m=f.URL.Path;if(m===\"\"){m=\"/\";}if(g===\"\"||!((g.charCodeAt(0)===47))){n=V.Split(m);o=n[0];g=o+g;}p=\"\";q=O.Index(g,\"?\");if(!((q===-1))){r=$substring(g,0,q);s=$substring(g,q);g=r;p=s;}t=O.HasSuffix(g,\"/\");g=V.Clean(g);if(t&&!O.HasSuffix(g,\"/\")){g=g+(\"/\");}g=g+(p);}}u=e.Header();$s=2;case 2:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$r=new NO(u).Set(\"Location\",OH(g));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.WriteHeader(h);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(f.Method===\"GET\"){$s=5;continue;}$s=6;continue;case 5:v=RN(g);$s=7;case 7:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}x=\"<a href=\\\"\"+v+\"\\\">\"+(w=TF[$Int.keyFor(h)],w!==undefined?w.v:\"\")+\"</a>.\\n\";y=B.Fprintln(e,new WH([new $String(x)]));$s=8;case 8:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}y;case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:RL};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Redirect=RL;RN=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=RM.Replace(e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:RN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};RO.ptr.prototype.ServeHTTP=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=RL(e,f,g.url,g.code);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:RO.ptr.prototype.ServeHTTP};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};RO.prototype.ServeHTTP=function(e,f){return this.$val.ServeHTTP(e,f);};RP=function(e,f){var $ptr,e,f;return new RO.ptr(e,f);};$pkg.RedirectHandler=RP;RU=function(e,f){var $ptr,e,f,g;if(e.length===0){return false;}g=e.length;if(!((e.charCodeAt((g-1>>0))===47))){return e===f;}return f.length>=g&&$substring(f,0,g)===e;};RV=function(e){var $ptr,e,f;if(e===\"\"){return\"/\";}if(!((e.charCodeAt(0)===47))){e=\"/\"+e;}f=V.Clean(e);if((e.charCodeAt((e.length-1>>0))===47)&&!(f===\"/\")){f=f+(\"/\");}return f;};RQ.ptr.prototype.match=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=$ifaceNil;g=\"\";h=this;i=0;j=h.m;k=0;l=$keys(j);while(true){if(!(k<l.length)){break;}m=j[l[k]];if(m===undefined){k++;continue;}n=m.k;o=$clone(m.v,RR);if(!RU(n,e)){k++;continue;}if($interfaceIsEqual(f,$ifaceNil)||n.length>i){i=n.length;f=o.h;g=o.pattern;}k++;}return[f,g];};RQ.prototype.match=function(e){return this.$val.match(e);};RQ.ptr.prototype.Handler=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$ifaceNil;g=\"\";h=this;if(!(e.Method===\"CONNECT\")){$s=1;continue;}$s=2;continue;case 1:i=RV(e.URL.Path);if(!(i===e.URL.Path)){$s=3;continue;}$s=4;continue;case 3:k=h.handler(e.Host,i);$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;g=j[1];l=$clone(e.URL,M.URL);l.Path=i;m=RP(l.String(),301);n=g;f=m;g=n;$s=-1;return[f,g];case 4:case 2:p=h.handler(e.Host,e.URL.Path);$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;f=o[0];g=o[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:RQ.ptr.prototype.Handler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};RQ.prototype.Handler=function(e){return this.$val.Handler(e);};RQ.ptr.prototype.handler=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=$ifaceNil;h=\"\";i=this;$r=i.mu.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(i.mu,\"RUnlock\"),[]]);if(i.hosts){j=i.match(e+f);g=j[0];h=j[1];}if($interfaceIsEqual(g,$ifaceNil)){k=i.match(f);g=k[0];h=k[1];}if($interfaceIsEqual(g,$ifaceNil)){l=RJ();m=\"\";g=l;h=m;}$s=-1;return[g,h];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[g,h];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:RQ.ptr.prototype.handler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RQ.prototype.handler=function(e,f){return this.$val.handler(e,f);};RQ.ptr.prototype.ServeHTTP=function(e,f){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(f.RequestURI===\"*\"){$s=1;continue;}$s=2;continue;case 1:if(f.ProtoAtLeast(1,1)){$s=3;continue;}$s=4;continue;case 3:h=e.Header();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}$r=new NO(h).Set(\"Connection\",\"close\");$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$r=e.WriteHeader(400);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 2:j=g.Handler(f);$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[0];$r=k.ServeHTTP(e,f);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:RQ.ptr.prototype.ServeHTTP};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};RQ.prototype.ServeHTTP=function(e,f){return this.$val.ServeHTTP(e,f);};RQ.ptr.prototype.Handle=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;$r=g.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.mu,\"Unlock\"),[]]);if(e===\"\"){$panic(new $String(\"http: invalid pattern \"+e));}if($interfaceIsEqual(f,$ifaceNil)){$panic(new $String(\"http: nil handler\"));}if((h=g.m[$String.keyFor(e)],h!==undefined?h.v:new RR.ptr(false,$ifaceNil,\"\")).explicit){$panic(new $String(\"http: multiple registrations for \"+e));}if(g.m===false){g.m={};}i=e;(g.m||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new RR.ptr(true,f,e)};if(!((e.charCodeAt(0)===47))){g.hosts=true;}j=e.length;if(j>0&&(e.charCodeAt((j-1>>0))===47)&&!(k=g.m[$String.keyFor($substring(e,0,(j-1>>0)))],k!==undefined?k.v:new RR.ptr(false,$ifaceNil,\"\")).explicit){l=e;if(!((e.charCodeAt(0)===47))){l=$substring(e,O.Index(e,\"/\"));}m=new M.URL.ptr(\"\",\"\",XM.nil,\"\",l,\"\",false,\"\",\"\");n=$substring(e,0,(j-1>>0));(g.m||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(n)]={k:n,v:new RR.ptr(false,RP(m.String(),301),e)};}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RQ.ptr.prototype.Handle};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RQ.prototype.Handle=function(e,f){return this.$val.Handle(e,f);};RQ.ptr.prototype.HandleFunc=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.Handle(e,new RG((f)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:RQ.ptr.prototype.HandleFunc};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};RQ.prototype.HandleFunc=function(e,f){return this.$val.HandleFunc(e,f);};RZ.ptr.prototype.getDoneChan=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);$s=-1;return e.getDoneChanLocked();}return;}}catch(err){$err=err;$s=-1;return $chanNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.getDoneChan};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.getDoneChan=function(){return this.$val.getDoneChan();};RZ.ptr.prototype.getDoneChanLocked=function(){var $ptr,e;e=this;if(e.doneChan===$chanNil){e.doneChan=new $Chan(XP,0);}return e.doneChan;};RZ.prototype.getDoneChanLocked=function(){return this.$val.getDoneChanLocked();};RZ.ptr.prototype.closeDoneChanLocked=function(){var $ptr,e,f,g,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$r=$f.$r;}e=this;f=e.getDoneChanLocked();g=$select([[f],[]]);if(g[0]===0){}else if(g[0]===1){$close(f);}if($f===undefined){$f={$blk:RZ.ptr.prototype.closeDoneChanLocked};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$r=$r;return $f;};RZ.prototype.closeDoneChanLocked=function(){return this.$val.closeDoneChanLocked();};RZ.ptr.prototype.Close=function(){var $ptr,e,f,g,h,i,j,k,l,m,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);e.closeDoneChanLocked();f=e.closeListenersLocked();$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=e.activeConn;i=0;j=$keys(h);case 3:if(!(i<j.length)){$s=4;continue;}k=h[j[i]];if(k===undefined){i++;$s=3;continue;}l=k.k;m=l.rwc.Close();$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;delete e.activeConn[ABL.keyFor(l)];i++;$s=3;continue;case 4:$s=-1;return g;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.Close=function(){return this.$val.Close();};RZ.ptr.prototype.Shutdown=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;AL.AddInt32((f.$ptr_inShutdown||(f.$ptr_inShutdown=new ABE(function(){return this.$target.inShutdown;},function($v){this.$target.inShutdown=$v;},f))),1);$deferred.push([AL.AddInt32,[(f.$ptr_inShutdown||(f.$ptr_inShutdown=new ABE(function(){return this.$target.inShutdown;},function($v){this.$target.inShutdown=$v;},f))),-1]]);$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=f.closeListenersLocked();$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;f.closeDoneChanLocked();$r=f.mu.Unlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=Q.NewTicker(SA);$deferred.push([$methodVal(i,\"Stop\"),[]]);case 4:j=f.closeIdleConns();$s=8;case 8:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}if(j){$s=6;continue;}$s=7;continue;case 6:$s=-1;return h;case 7:l=e.Done();$s=9;case 9:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=$select([[l],[i.C]]);$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}k=m;if(k[0]===0){$s=11;continue;}if(k[0]===1){$s=12;continue;}$s=13;continue;case 11:n=e.Err();$s=14;case 14:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;case 12:case 13:$s=4;continue;case 5:$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.Shutdown};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.Shutdown=function(e){return this.$val.Shutdown(e);};RZ.ptr.prototype.closeIdleConns=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);f=true;g=e.activeConn;h=0;i=$keys(g);case 2:if(!(h<i.length)){$s=3;continue;}j=g[i[h]];if(j===undefined){h++;$s=2;continue;}k=j.k;l=$assertType(k.curState.Load(),SB,true);m=l[0];n=l[1];if(!n||!((m===2))){$s=4;continue;}$s=5;continue;case 4:f=false;h++;$s=2;continue;case 5:o=k.rwc.Close();$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;delete e.activeConn[ABL.keyFor(k)];h++;$s=2;continue;case 3:$s=-1;return f;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.closeIdleConns};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.closeIdleConns=function(){return this.$val.closeIdleConns();};RZ.ptr.prototype.closeListenersLocked=function(){var $ptr,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=$ifaceNil;g=e.listeners;h=0;i=$keys(g);case 1:if(!(h<i.length)){$s=2;continue;}j=g[i[h]];if(j===undefined){h++;$s=1;continue;}k=j.k;l=k.Close();$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;if(!($interfaceIsEqual(m,$ifaceNil))&&$interfaceIsEqual(f,$ifaceNil)){f=m;}delete e.listeners[R.Listener.keyFor(k)];h++;$s=1;continue;case 2:$s=-1;return f;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.closeListenersLocked};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.closeListenersLocked=function(){return this.$val.closeListenersLocked();};SB.prototype.String=function(){var $ptr,e,f;e=this.$val;return(f=SC[SB.keyFor(e)],f!==undefined?f.v:\"\");};$ptrType(SB).prototype.String=function(){return new SB(this.$get()).String();};SD.ptr.prototype.ServeHTTP=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.srv.Handler;if($interfaceIsEqual(h,$ifaceNil)){h=$pkg.DefaultServeMux;}if(f.RequestURI===\"*\"&&f.Method===\"OPTIONS\"){h=(i=new SL.ptr(),new i.constructor.elem(i));}$r=h.ServeHTTP(e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:SD.ptr.prototype.ServeHTTP};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};SD.prototype.ServeHTTP=function(e,f){return this.$val.ServeHTTP(e,f);};RZ.ptr.prototype.ListenAndServe=function(){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.Addr;if(f===\"\"){f=\":http\";}g=R.Listen(\"tcp\",f);h=g[0];i=g[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}k=e.Serve((j=new SK.ptr($assertType(h,ABQ)),new j.constructor.elem(j)));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.ListenAndServe};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.ListenAndServe=function(){return this.$val.ListenAndServe();};RZ.ptr.prototype.shouldConfigureHTTP2ForServe=function(){var $ptr,e;e=this;if(e.TLSConfig===XD.nil){return true;}return ST(e.TLSConfig.NextProtos,\"h2\");};RZ.prototype.shouldConfigureHTTP2ForServe=function(){return this.$val.shouldConfigureHTTP2ForServe();};RZ.ptr.prototype.Serve=function(e){var $ptr,aa,ab,ac,ad,ae,af,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$deferred.push([$methodVal(e,\"Close\"),[]]);g=SE;if(!(g===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=g(f,e);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:h=new Q.Duration(0,0);i=f.setupHTTP2_Serve();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}$r=f.trackListener(e,true);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f,\"trackListener\"),[e,false]]);k=Y.Background();l=Y.WithValue(k,$pkg.ServerContextKey,f);$s=6;case 6:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=m;o=$pkg.LocalAddrContextKey;p=e.Addr();$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=Y.WithValue(n,o,q);$s=8;case 8:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}m=r;case 9:t=e.Accept();$s=11;case 11:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;u=s[0];v=s[1];if(!($interfaceIsEqual(v,$ifaceNil))){$s=12;continue;}$s=13;continue;case 12:x=f.getDoneChan();$s=14;case 14:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}w=$select([[x],[]]);if(w[0]===0){$s=15;continue;}if(w[0]===1){$s=16;continue;}$s=17;continue;case 15:$s=-1;return $pkg.ErrServerClosed;case 16:case 17:y=$assertType(v,R.Error,true);z=y[0];aa=y[1];if(!(aa)){ab=false;$s=20;continue s;}ac=z.Temporary();$s=21;case 21:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=ac;case 20:if(ab){$s=18;continue;}$s=19;continue;case 18:if((h.$high===0&&h.$low===0)){h=new Q.Duration(0,5000000);}else{h=$mul64(h,(new Q.Duration(0,2)));}ad=new Q.Duration(0,1000000000);if((h.$high>ad.$high||(h.$high===ad.$high&&h.$low>ad.$low))){h=ad;}$r=f.logf(\"http: Accept error: %v; retrying in %v\",new WH([v,h]));$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Q.Sleep(h);$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=9;continue;case 19:$s=-1;return v;case 13:h=new Q.Duration(0,0);ae=f.newConn(u);$s=24;case 24:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;$r=af.setState(af.rwc,0);$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$go($methodVal(af,\"serve\"),[m]);$s=9;continue;case 10:$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.Serve};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.Serve=function(e){return this.$val.Serve(e);};RZ.ptr.prototype.trackListener=function(e,f){var $ptr,e,f,g,h,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;$r=g.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.mu,\"Unlock\"),[]]);if(g.listeners===false){g.listeners={};}if(f){if(($keys(g.listeners).length===0)&&($keys(g.activeConn).length===0)){g.doneChan=$chanNil;}h=e;(g.listeners||$throwRuntimeError(\"assignment to entry in nil map\"))[R.Listener.keyFor(h)]={k:h,v:new XP.ptr()};}else{delete g.listeners[R.Listener.keyFor(e)];}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.trackListener};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.trackListener=function(e,f){return this.$val.trackListener(e,f);};RZ.ptr.prototype.trackConn=function(e,f){var $ptr,e,f,g,h,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;$r=g.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.mu,\"Unlock\"),[]]);if(g.activeConn===false){g.activeConn={};}if(f){h=e;(g.activeConn||$throwRuntimeError(\"assignment to entry in nil map\"))[ABL.keyFor(h)]={k:h,v:new XP.ptr()};}else{delete g.activeConn[ABL.keyFor(e)];}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.trackConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.trackConn=function(e,f){return this.$val.trackConn(e,f);};RZ.ptr.prototype.idleTimeout=function(){var $ptr,e,f;e=this;if(!((f=e.IdleTimeout,(f.$high===0&&f.$low===0)))){return e.IdleTimeout;}return e.ReadTimeout;};RZ.prototype.idleTimeout=function(){return this.$val.idleTimeout();};RZ.ptr.prototype.readHeaderTimeout=function(){var $ptr,e,f;e=this;if(!((f=e.ReadHeaderTimeout,(f.$high===0&&f.$low===0)))){return e.ReadHeaderTimeout;}return e.ReadTimeout;};RZ.prototype.readHeaderTimeout=function(){return this.$val.readHeaderTimeout();};RZ.ptr.prototype.doKeepAlives=function(){var $ptr,e;e=this;return(AL.LoadInt32((e.$ptr_disableKeepAlives||(e.$ptr_disableKeepAlives=new ABE(function(){return this.$target.disableKeepAlives;},function($v){this.$target.disableKeepAlives=$v;},e))))===0)&&!e.shuttingDown();};RZ.prototype.doKeepAlives=function(){return this.$val.doKeepAlives();};RZ.ptr.prototype.shuttingDown=function(){var $ptr,e;e=this;return!((AL.LoadInt32((e.$ptr_inShutdown||(e.$ptr_inShutdown=new ABE(function(){return this.$target.inShutdown;},function($v){this.$target.inShutdown=$v;},e))))===0));};RZ.prototype.shuttingDown=function(){return this.$val.shuttingDown();};RZ.ptr.prototype.SetKeepAlivesEnabled=function(e){var $ptr,e,f,g,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;if(e){AL.StoreInt32((f.$ptr_disableKeepAlives||(f.$ptr_disableKeepAlives=new ABE(function(){return this.$target.disableKeepAlives;},function($v){this.$target.disableKeepAlives=$v;},f))),0);$s=-1;return;}AL.StoreInt32((f.$ptr_disableKeepAlives||(f.$ptr_disableKeepAlives=new ABE(function(){return this.$target.disableKeepAlives;},function($v){this.$target.disableKeepAlives=$v;},f))),1);g=f.closeIdleConns();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$r=f.mu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.mu,\"Unlock\"),[]]);f.closeDoneChanLocked();f.doneChan=$chanNil;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:RZ.ptr.prototype.SetKeepAlivesEnabled};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};RZ.prototype.SetKeepAlivesEnabled=function(e){return this.$val.SetKeepAlivesEnabled(e);};RZ.ptr.prototype.logf=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(!(g.ErrorLog===ZJ.nil)){$s=1;continue;}$s=2;continue;case 1:$r=g.ErrorLog.Printf(e,f);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 2:$r=L.Printf(e,f);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.logf};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.logf=function(e,f){return this.$val.logf(e,f);};RZ.ptr.prototype.ListenAndServeTLS=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.Addr;if(h===\"\"){h=\":https\";}i=g.setupHTTP2_ListenAndServeTLS();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(j,$ifaceNil))){$s=-1;return j;}k=WD(g.TLSConfig);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if(!ST(l.NextProtos,\"http/1.1\")){l.NextProtos=$append(l.NextProtos,\"http/1.1\");}m=l.Certificates.$length>0||!(l.GetCertificate===$throwNilPointerError);if(!m||!(e===\"\")||!(f===\"\")){$s=3;continue;}$s=4;continue;case 3:n=$ifaceNil;l.Certificates=$makeSlice(YG,1);p=J.LoadX509KeyPair(e,f);$s=5;case 5:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;J.Certificate.copy((q=l.Certificates,(0>=q.$length?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+0])),o[0]);n=o[1];if(!($interfaceIsEqual(n,$ifaceNil))){$s=-1;return n;}case 4:r=R.Listen(\"tcp\",h);s=r[0];t=r[1];if(!($interfaceIsEqual(t,$ifaceNil))){$s=-1;return t;}v=J.NewListener((u=new SK.ptr($assertType(s,ABQ)),new u.constructor.elem(u)),l);w=g.Serve(v);$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.ListenAndServeTLS};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.ListenAndServeTLS=function(e,f){return this.$val.ListenAndServeTLS(e,f);};RZ.ptr.prototype.setupHTTP2_ListenAndServeTLS=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.nextProtoOnce.Do($methodVal(e,\"onceSetNextProtoDefaults\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e.nextProtoErr;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.setupHTTP2_ListenAndServeTLS};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.setupHTTP2_ListenAndServeTLS=function(){return this.$val.setupHTTP2_ListenAndServeTLS();};RZ.ptr.prototype.setupHTTP2_Serve=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.nextProtoOnce.Do($methodVal(e,\"onceSetNextProtoDefaults_Serve\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e.nextProtoErr;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.setupHTTP2_Serve};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.setupHTTP2_Serve=function(){return this.$val.setupHTTP2_Serve();};RZ.ptr.prototype.onceSetNextProtoDefaults_Serve=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(e.shouldConfigureHTTP2ForServe()){$s=1;continue;}$s=2;continue;case 1:$r=e.onceSetNextProtoDefaults();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.onceSetNextProtoDefaults_Serve};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.onceSetNextProtoDefaults_Serve=function(){return this.$val.onceSetNextProtoDefaults_Serve();};RZ.ptr.prototype.onceSetNextProtoDefaults=function(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=U.Getenv(\"GODEBUG\");$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=O.Contains(f,\"http2server=0\");$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=1;continue;}$s=2;continue;case 1:$s=-1;return;case 2:if(e.TLSNextProto===false){$s=5;continue;}$s=6;continue;case 5:h=JN(e,ZH.nil);$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}e.nextProtoErr=h;case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:RZ.ptr.prototype.onceSetNextProtoDefaults};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};RZ.prototype.onceSetNextProtoDefaults=function(){return this.$val.onceSetNextProtoDefaults();};SK.ptr.prototype.Accept=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$ifaceNil;f=$ifaceNil;g=this;i=g.TCPListener.AcceptTCP();$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];f=h[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return[e,f];}k=j.SetKeepAlive(true);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=j.SetKeepAlivePeriod(new Q.Duration(41,3906340864));$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;m=j;n=$ifaceNil;e=m;f=n;$s=-1;return[e,f];}return;}if($f===undefined){$f={$blk:SK.ptr.prototype.Accept};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};SK.prototype.Accept=function(){return this.$val.Accept();};SL.ptr.prototype.ServeHTTP=function(e,f){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=e.Header();$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=new NO(g).Set(\"Content-Length\",\"0\");$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!((h=f.ContentLength,(h.$high===0&&h.$low===0)))){$s=3;continue;}$s=4;continue;case 3:i=PG(e,f.Body,new $Int64(0,4096));j=C.Copy(D.Discard,i);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 4:$s=-1;return;}return;}if($f===undefined){$f={$blk:SL.ptr.prototype.ServeHTTP};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};SL.prototype.ServeHTTP=function(e,f){return this.$val.ServeHTTP(e,f);};SM.ptr.prototype.ServeHTTP=function(e,f){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if(f.TLS===XK.nil){$s=1;continue;}$s=2;continue;case 1:f.TLS=new J.ConnectionState.ptr(0,false,false,0,\"\",false,\"\",ZO.nil,ZP.nil,WZ.nil,WP.nil,WP.nil);h=g.c.ConnectionState();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}J.ConnectionState.copy(f.TLS,h);case 2:if($interfaceIsEqual(f.Body,$ifaceNil)){f.Body=new $pkg.NoBody.constructor.elem($pkg.NoBody);}if(f.RemoteAddr===\"\"){$s=4;continue;}$s=5;continue;case 4:i=g.c.RemoteAddr();$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i.String();$s=7;case 7:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}f.RemoteAddr=j;case 5:$r=$clone(g.h,SD).ServeHTTP(e,f);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:SM.ptr.prototype.ServeHTTP};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};SM.prototype.ServeHTTP=function(e,f){return this.$val.ServeHTTP(e,f);};SQ=function(e,f){var $ptr,e,f,g,h,i,j,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$r=SO.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(SO,\"Unlock\"),[]]);g=e;(SP||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:(h=SP[$String.keyFor(e)],h!==undefined?h.v:0)+(1)>>0};j=B.Sprintf(\"%s-%d\",new WH([new $String(e),new $Int((i=SP[$String.keyFor(e)],i!==undefined?i.v:0))]));$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return new SN.ptr(j,f);}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:SQ};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};SN.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;$r=L.Printf(\"%s.Write(%d) = ....\",new WH([new $String(h.name),new $Int(e.$length)]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=h.Conn.Write(e);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$r=L.Printf(\"%s.Write(%d) = %d, %v\",new WH([new $String(h.name),new $Int(e.$length),new $Int(f),g]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:SN.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};SN.prototype.Write=function(e){return this.$val.Write(e);};SN.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;$r=L.Printf(\"%s.Read(%d) = ....\",new WH([new $String(h.name),new $Int(e.$length)]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=h.Conn.Read(e);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];$r=L.Printf(\"%s.Read(%d) = %d, %v\",new WH([new $String(h.name),new $Int(e.$length),new $Int(f),g]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:SN.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};SN.prototype.Read=function(e){return this.$val.Read(e);};SN.ptr.prototype.Close=function(){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$ifaceNil;f=this;$r=L.Printf(\"%s.Close() = ...\",new WH([new $String(f.name)]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=f.Conn.Close();$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;$r=L.Printf(\"%s.Close() = %v\",new WH([new $String(f.name),e]));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:SN.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};SN.prototype.Close=function(){return this.$val.Close();};SR.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.c.rwc.Write(e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];if(!($interfaceIsEqual(g,$ifaceNil))&&$interfaceIsEqual(h.c.werr,$ifaceNil)){$s=2;continue;}$s=3;continue;case 2:h.c.werr=g;$r=h.c.cancelCtx();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:SR.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};SR.prototype.Write=function(e){return this.$val.Write(e);};SS=function(e){var $ptr,e,f,g,h,i;f=0;g=e;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if((i===13)||(i===10)){f=f+(1)>>0;h++;continue;}break;}return f;};ST=function(e,f){var $ptr,e,f,g,h,i;g=e;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if(i===f){return true;}h++;}return false;};SU=function(e){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e.$length>512){e=$subslice(e,0,512);}f=0;while(true){if(!(f<e.$length&&SV(((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f])))){break;}f=f+(1)>>0;}g=SX;h=0;case 1:if(!(h<g.$length)){$s=2;continue;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);j=i.match(e,f);$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!(k===\"\")){$s=-1;return k;}h++;$s=1;continue;case 2:$s=-1;return\"application/octet-stream\";}return;}if($f===undefined){$f={$blk:SU};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DetectContentType=SU;SV=function(e){var $ptr,e,f;f=e;if((f===(9))||(f===(10))||(f===(12))||(f===(13))||(f===(32))){return true;}return false;};SY.ptr.prototype.match=function(e,f){var $ptr,e,f,g;g=this;if(H.HasPrefix(e,g.sig)){return g.ct;}return\"\";};SY.prototype.match=function(e,f){return this.$val.match(e,f);};SZ.ptr.prototype.match=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m;g=this;if(g.skipWS){e=$subslice(e,f);}if(!((g.pat.$length===g.mask.$length))){return\"\";}if(e.$length<g.mask.$length){return\"\";}h=g.mask;i=0;while(true){if(!(i<h.$length)){break;}j=i;k=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);l=(((j<0||j>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+j])&k)>>>0;if(!((l===(m=g.pat,((j<0||j>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+j]))))){return\"\";}i++;}return g.ct;};SZ.prototype.match=function(e,f){return this.$val.match(e,f);};TA.prototype.match=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=this;e=$subslice(e,f);if(e.$length<(g.$length+1>>0)){return\"\";}h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;k=((i<0||i>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+i]);l=((j<0||j>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+j]);if(65<=k&&k<=90){l=(l&(223))>>>0;}if(!((k===l))){return\"\";}i++;}n=(m=g.$length,((m<0||m>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+m]));if(!((n===32))&&!((n===62))){return\"\";}return\"text/html; charset=utf-8\";};$ptrType(TA).prototype.match=function(e,f){return this.$get().match(e,f);};TD.ptr.prototype.match=function(e,f){var $ptr,e,f,g,h,i;if(e.$length<12){return\"\";}g=(($clone(AA.BigEndian,AA.bigEndian).Uint32($subslice(e,0,4))>>0));if(!(((h=g%4,h===h?h:$throwRuntimeError(\"integer divide by zero\"))===0))||e.$length<g){return\"\";}if(!H.Equal($subslice(e,4,8),TB)){return\"\";}i=8;while(true){if(!(i<g)){break;}if(i===12){i=i+(4)>>0;continue;}if(H.Equal($subslice(e,i,(i+3>>0)),TC)){return\"video/mp4\";}i=i+(4)>>0;}return\"\";};TD.prototype.match=function(e,f){return this.$val.match(e,f);};TE.ptr.prototype.match=function(e,f){var $ptr,e,f,g,h,i;g=$subslice(e,f);h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);if((i<=8)||((i===11))||(14<=i&&i<=26)||(28<=i&&i<=31)){return\"\";}h++;}return\"text/plain; charset=utf-8\";};TE.prototype.match=function(e,f){return this.$val.match(e,f);};TG=function(e){var $ptr,e,f;return(f=TF[$Int.keyFor(e)],f!==undefined?f.v:\"\");};$pkg.StatusText=TG;TH.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j;f=0;g=$ifaceNil;h=this;i=0;j=h.err;f=i;g=j;return[f,g];};TH.prototype.Read=function(e){return this.$val.Read(e);};TI.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n;f=0;g=$ifaceNil;h=this;if(h.done){i=0;j=C.EOF;f=i;g=j;return[f,g];}if(e.$length===0){k=0;l=$ifaceNil;f=k;g=l;return[f,g];}h.done=true;(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=h.b);m=1;n=C.EOF;f=m;g=n;return[f,g];};TI.prototype.Read=function(e){return this.$val.Read(e);};TK=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=ABR.nil;g=$ifaceNil;f=new TJ.ptr(\"\",$ifaceNil,$ifaceNil,false,new $Int64(0,0),false,WN.nil,false,false,false,$chanNil);h=false;i=e;if($assertType(i,WT,true)[1]){$s=1;continue;}if($assertType(i,XH,true)[1]){$s=2;continue;}$s=3;continue;case 1:j=i.$val;if(!((l=j.ContentLength,(l.$high===0&&l.$low===0)))&&$interfaceIsEqual(j.Body,$ifaceNil)){$s=4;continue;}$s=5;continue;case 4:m=ABR.nil;o=B.Errorf(\"http: Request.ContentLength=%d with nil Body\",new WH([j.ContentLength]));$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;f=m;g=n;$s=-1;return[f,g];case 5:f.Method=OR(j.Method,\"GET\");f.Close=j.Close;f.TransferEncoding=j.TransferEncoding;f.Trailer=j.Trailer;h=j.protoAtLeastOutgoing(1,1);f.Body=j.Body;f.BodyCloser=j.Body;f.ContentLength=j.outgoingLength();if(!((q=f.ContentLength,(q.$high<0||(q.$high===0&&q.$low<0)))&&(f.TransferEncoding.$length===0)&&h)){p=false;$s=9;continue s;}r=f.shouldSendChunkedRequestBody();$s=10;case 10:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}p=r;case 9:if(p){$s=7;continue;}$s=8;continue;case 7:f.TransferEncoding=new WN([\"chunked\"]);case 8:$s=3;continue;case 2:k=i.$val;f.IsResponse=true;if(!(k.Request===WT.nil)){f.Method=k.Request.Method;}f.Body=k.Body;f.BodyCloser=k.Body;f.ContentLength=k.ContentLength;f.Close=k.Close;f.TransferEncoding=k.TransferEncoding;f.Trailer=k.Trailer;h=k.ProtoAtLeast(1,1);f.ResponseToHEAD=TL(f.Method);case 3:if(f.ResponseToHEAD){f.Body=$ifaceNil;if(TS(f.TransferEncoding)){f.ContentLength=new $Int64(-1,4294967295);}}else{if(!h||$interfaceIsEqual(f.Body,$ifaceNil)){f.TransferEncoding=WN.nil;}if(TS(f.TransferEncoding)){f.ContentLength=new $Int64(-1,4294967295);}else if($interfaceIsEqual(f.Body,$ifaceNil)){f.ContentLength=new $Int64(0,0);}}if(!TS(f.TransferEncoding)){f.Trailer=false;}s=f;t=$ifaceNil;f=s;g=t;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:TK};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};TJ.ptr.prototype.shouldSendChunkedRequestBody=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if((f=e.ContentLength,(f.$high>0||(f.$high===0&&f.$low>=0)))||$interfaceIsEqual(e.Body,$ifaceNil)){$s=-1;return false;}if(PK(e.Method)){$s=1;continue;}$s=2;continue;case 1:$r=e.probeRequestBody();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return!($interfaceIsEqual(e.Body,$ifaceNil));case 2:$s=-1;return true;}return;}if($f===undefined){$f={$blk:TJ.ptr.prototype.shouldSendChunkedRequestBody};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};TJ.prototype.shouldSendChunkedRequestBody=function(){return this.$val.shouldSendChunkedRequestBody();};TJ.ptr.prototype.probeRequestBody=function(){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=[e];e[0]=this;e[0].ByteReadCh=new $Chan(QC,1);$go((function(e){return function $b(f){var $ptr,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=ABA.zero();h=new QC.ptr(0,$ifaceNil,0);j=f.Read(new WP(g));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;h.n=i[0];h.err=i[1];if(h.n===1){h.b=g[0];}$r=$send(e[0].ByteReadCh,$clone($clone(h,QC),QC));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};})(e),[e[0].Body]);f=Q.NewTimer(new Q.Duration(0,200000000));h=$select([[e[0].ByteReadCh],[f.C]]);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;if(g[0]===0){i=$clone(g[1][0],QC);f.Stop();if((i.n===0)&&$interfaceIsEqual(i.err,C.EOF)){e[0].Body=$ifaceNil;e[0].ContentLength=new $Int64(0,0);}else if(i.n===1){if(!($interfaceIsEqual(i.err,$ifaceNil))){e[0].Body=C.MultiReader(new ABB([new TI.ptr(i.b,false),(j=new TH.ptr(i.err),new j.constructor.elem(j))]));}else{e[0].Body=C.MultiReader(new ABB([new TI.ptr(i.b,false),e[0].Body]));}}else if(!($interfaceIsEqual(i.err,$ifaceNil))){e[0].Body=(k=new TH.ptr(i.err),new k.constructor.elem(k));}}else if(g[0]===1){e[0].Body=C.MultiReader(new ABB([(l=new UF.ptr(e[0]),new l.constructor.elem(l)),e[0].Body]));e[0].FlushHeaders=true;}$s=-1;return;}return;}if($f===undefined){$f={$blk:TJ.ptr.prototype.probeRequestBody};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};TJ.prototype.probeRequestBody=function(){return this.$val.probeRequestBody();};TL=function(e){var $ptr,e;return e===\"HEAD\";};TJ.ptr.prototype.shouldSendContentLength=function(){var $ptr,e,f,g,h;e=this;if(TS(e.TransferEncoding)){return false;}if((f=e.ContentLength,(f.$high>0||(f.$high===0&&f.$low>0)))){return true;}if((g=e.ContentLength,(g.$high<0||(g.$high===0&&g.$low<0)))){return false;}if(e.Method===\"POST\"||e.Method===\"PUT\"){return true;}if((h=e.ContentLength,(h.$high===0&&h.$low===0))&&TT(e.TransferEncoding)){if(e.Method===\"GET\"||e.Method===\"HEAD\"){return false;}return true;}return false;};TJ.prototype.shouldSendContentLength=function(){return this.$val.shouldSendContentLength();};TJ.ptr.prototype.WriteHeader=function(e){var $ptr,aa,ab,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.Close){$s=1;continue;}$s=2;continue;case 1:h=C.WriteString(e,\"Connection: close\\r\\n\");$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[1];if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}case 2:if(f.shouldSendContentLength()){$s=4;continue;}if(TS(f.TransferEncoding)){$s=5;continue;}$s=6;continue;case 4:k=C.WriteString(e,\"Content-Length: \");$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];if(!($interfaceIsEqual(l,$ifaceNil))){$s=-1;return l;}n=C.WriteString(e,E.FormatInt(f.ContentLength,10)+\"\\r\\n\");$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[1];if(!($interfaceIsEqual(o,$ifaceNil))){$s=-1;return o;}$s=6;continue;case 5:q=C.WriteString(e,\"Transfer-Encoding: chunked\\r\\n\");$s=9;case 9:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return r;}case 6:if(!(f.Trailer===false)){$s=10;continue;}$s=11;continue;case 10:s=$makeSlice(WN,0,$keys(f.Trailer).length);t=f.Trailer;u=0;v=$keys(t);while(true){if(!(u<v.length)){break;}w=t[v[u]];if(w===undefined){u++;continue;}x=w.k;x=NX(x);y=x;if(y===(\"Transfer-Encoding\")||y===(\"Trailer\")||y===(\"Content-Length\")){$s=-1;return new ON.ptr(\"invalid Trailer key\",x);}s=$append(s,x);u++;}if(s.$length>0){$s=12;continue;}$s=13;continue;case 12:$r=N.Strings(s);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}aa=C.WriteString(e,\"Trailer: \"+O.Join(s,\",\")+\"\\r\\n\");$s=15;case 15:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[1];if(!($interfaceIsEqual(ab,$ifaceNil))){$s=-1;return ab;}case 13:case 11:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:TJ.ptr.prototype.WriteHeader};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};TJ.prototype.WriteHeader=function(e){return this.$val.WriteHeader(e);};TJ.ptr.prototype.WriteBody=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=$ifaceNil;h=new $Int64(0,0);if(!($interfaceIsEqual(f.Body,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:if(TS(f.TransferEncoding)){$s=3;continue;}if((i=f.ContentLength,(i.$high===-1&&i.$low===4294967295))){$s=4;continue;}$s=5;continue;case 3:j=$assertType(e,WW,true);k=j[0];l=j[1];if(l&&!f.IsResponse){e=new AM.FlushAfterChunkWriter.ptr(k);}m=AM.NewChunkedWriter(e);o=C.Copy(m,f.Body);$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;g=n[1];if($interfaceIsEqual(g,$ifaceNil)){$s=8;continue;}$s=9;continue;case 8:p=m.Close();$s=10;case 10:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}g=p;case 9:$s=6;continue;case 4:r=C.Copy(e,f.Body);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;h=q[0];g=q[1];$s=6;continue;case 5:t=C.Copy(e,C.LimitReader(f.Body,f.ContentLength));$s=12;case 12:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;h=s[0];g=s[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}u=new $Int64(0,0);w=C.Copy(D.Discard,f.Body);$s=13;case 13:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;u=v[0];g=v[1];h=(x=u,new $Int64(h.$high+x.$high,h.$low+x.$low));case 6:if(!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return g;}case 2:if(!($interfaceIsEqual(f.BodyCloser,$ifaceNil))){$s=14;continue;}$s=15;continue;case 14:y=f.BodyCloser.Close();$s=16;case 16:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!($interfaceIsEqual(z,$ifaceNil))){$s=-1;return z;}case 15:if(!f.ResponseToHEAD&&!((aa=f.ContentLength,(aa.$high===-1&&aa.$low===4294967295)))&&!((ab=f.ContentLength,(ab.$high===h.$high&&ab.$low===h.$low)))){$s=17;continue;}$s=18;continue;case 17:ac=B.Errorf(\"http: ContentLength=%d with Body length %d\",new WH([f.ContentLength,h]));$s=19;case 19:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}$s=-1;return ac;case 18:if(TS(f.TransferEncoding)){$s=20;continue;}$s=21;continue;case 20:if(!(f.Trailer===false)){$s=22;continue;}$s=23;continue;case 22:ad=new NO(f.Trailer).Write(e);$s=24;case 24:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;if(!($interfaceIsEqual(ae,$ifaceNil))){$s=-1;return ae;}case 23:ag=C.WriteString(e,\"\\r\\n\");$s=25;case 25:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;g=af[1];case 21:$s=-1;return g;}return;}if($f===undefined){$f={$blk:TJ.ptr.prototype.WriteBody};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};TJ.prototype.WriteBody=function(e){return this.$val.WriteBody(e);};TM.ptr.prototype.protoAtLeast=function(e,f){var $ptr,e,f,g;g=this;return g.ProtoMajor>e||((g.ProtoMajor===e)&&g.ProtoMinor>=f);};TM.prototype.protoAtLeast=function(e,f){return this.$val.protoAtLeast(e,f);};TN=function(e){var $ptr,e;if(e>=100&&e<=199){return false;}else if((e===204)){return false;}else if((e===304)){return false;}return true;};TQ=function(e){var $ptr,e;if((e===304)){return TO;}else if(!TN(e)){return TP;}return WN.nil;};TR=function(e,f){var $ptr,aa,ab,ac,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=$ifaceNil;h=new TM.ptr(false,0,\"GET\",0,0,$ifaceNil,new $Int64(0,0),WN.nil,false,false);i=false;j=e;if($assertType(j,XH,true)[1]){k=j.$val;h.Header=k.Header;h.StatusCode=k.StatusCode;h.ProtoMajor=k.ProtoMajor;h.ProtoMinor=k.ProtoMinor;h.Close=TV(h.ProtoMajor,h.ProtoMinor,h.Header,true);i=true;if(!(k.Request===WT.nil)){h.RequestMethod=k.Request.Method;}}else if($assertType(j,WT,true)[1]){l=j.$val;h.Header=l.Header;h.RequestMethod=l.Method;h.ProtoMajor=l.ProtoMajor;h.ProtoMinor=l.ProtoMinor;h.StatusCode=200;h.Close=l.Close;}else{m=j;$panic(new $String(\"unexpected type\"));}if((h.ProtoMajor===0)&&(h.ProtoMinor===0)){n=1;o=1;h.ProtoMajor=n;h.ProtoMinor=o;}p=h.fixTransferEncoding();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}g=p;if(!($interfaceIsEqual(g,$ifaceNil))){g=g;$s=-1;return g;}r=TU(i,h.StatusCode,h.RequestMethod,h.Header,h.TransferEncoding);$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[0];g=q[1];if(!($interfaceIsEqual(g,$ifaceNil))){g=g;$s=-1;return g;}if(i&&h.RequestMethod===\"HEAD\"){$s=3;continue;}$s=4;continue;case 3:u=UE(new NO(h.Header).get(\"Content-Length\"));$s=6;case 6:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){g=w;$s=-1;return g;}else{h.ContentLength=v;}$s=5;continue;case 4:h.ContentLength=s;case 5:y=TW(h.Header,h.TransferEncoding);$s=7;case 7:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;h.Trailer=x[0];g=x[1];if(!($interfaceIsEqual(g,$ifaceNil))){g=g;$s=-1;return g;}z=e;if($assertType(z,XH,true)[1]){if((s.$high===-1&&s.$low===4294967295)&&!TS(h.TransferEncoding)&&TN(h.StatusCode)){h.Close=true;}}if(TS(h.TransferEncoding)){if(TL(h.RequestMethod)){h.Body=new $pkg.NoBody.constructor.elem($pkg.NoBody);}else{h.Body=new TX.ptr(AM.NewChunkedReader(f),e,f,h.Close,false,new P.Mutex.ptr(0,0),false,false,false,$throwNilPointerError);}}else if((s.$high===0&&s.$low===0)){h.Body=new $pkg.NoBody.constructor.elem($pkg.NoBody);}else if((s.$high>0||(s.$high===0&&s.$low>0))){h.Body=new TX.ptr(C.LimitReader(f,s),$ifaceNil,AAE.nil,h.Close,false,new P.Mutex.ptr(0,0),false,false,false,$throwNilPointerError);}else if(h.Close){h.Body=new TX.ptr(f,$ifaceNil,AAE.nil,h.Close,false,new P.Mutex.ptr(0,0),false,false,false,$throwNilPointerError);}else{h.Body=new $pkg.NoBody.constructor.elem($pkg.NoBody);}aa=e;if($assertType(aa,WT,true)[1]){ab=aa.$val;ab.Body=h.Body;ab.ContentLength=h.ContentLength;ab.TransferEncoding=h.TransferEncoding;ab.Close=h.Close;ab.Trailer=h.Trailer;}else if($assertType(aa,XH,true)[1]){ac=aa.$val;ac.Body=h.Body;ac.ContentLength=h.ContentLength;ac.TransferEncoding=h.TransferEncoding;ac.Close=h.Close;ac.Trailer=h.Trailer;}g=$ifaceNil;$s=-1;return g;}return;}if($f===undefined){$f={$blk:TR};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};TS=function(e){var $ptr,e;return e.$length>0&&(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])===\"chunked\";};TT=function(e){var $ptr,e;return(e.$length===1)&&(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])===\"identity\";};TM.ptr.prototype.fixTransferEncoding=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=(g=e.Header[$String.keyFor(\"Transfer-Encoding\")],g!==undefined?[g.v,true]:[WN.nil,false]);h=f[0];i=f[1];if(!i){$s=-1;return $ifaceNil;}delete e.Header[$String.keyFor(\"Transfer-Encoding\")];if(!e.protoAtLeast(1,1)){$s=-1;return $ifaceNil;}j=O.Split((0>=h.$length?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+0]),\",\");k=$makeSlice(WN,0,j.$length);l=j;m=0;case 1:if(!(m<l.$length)){$s=2;continue;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);o=O.TrimSpace(n);$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=O.ToLower(o);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}n=p;if(n===\"identity\"){$s=2;continue;}if(!(n===\"chunked\")){$s=-1;return new ON.ptr(\"unsupported transfer encoding\",n);}k=$subslice(k,0,(k.$length+1>>0));(q=k.$length-1>>0,((q<0||q>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+q]=n));m++;$s=1;continue;case 2:if(k.$length>1){$s=-1;return new ON.ptr(\"too many transfer encodings\",O.Join(k,\",\"));}if(k.$length>0){delete e.Header[$String.keyFor(\"Content-Length\")];e.TransferEncoding=k;$s=-1;return $ifaceNil;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:TM.ptr.prototype.fixTransferEncoding};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};TM.prototype.fixTransferEncoding=function(){return this.$val.fixTransferEncoding();};TU=function(e,f,g,h,i){var $ptr,aa,ab,ac,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=!e;l=(k=h[$String.keyFor(\"Content-Length\")],k!==undefined?k.v:WN.nil);if(l.$length>1){$s=1;continue;}$s=2;continue;case 1:m=O.TrimSpace((0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=$subslice(l,1);p=0;case 4:if(!(p<o.$length)){$s=5;continue;}q=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);r=O.TrimSpace(q);$s=8;case 8:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if(!(n===r)){$s=6;continue;}$s=7;continue;case 6:s=B.Errorf(\"http: message cannot contain multiple Content-Length headers; got %q\",new WH([l]));$s=9;case 9:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$s=-1;return[new $Int64(0,0),s];case 7:p++;$s=4;continue;case 5:new NO(h).Del(\"Content-Length\");new NO(h).Add(\"Content-Length\",n);l=(t=h[$String.keyFor(\"Content-Length\")],t!==undefined?t.v:WN.nil);case 2:if(TL(g)){$s=10;continue;}$s=11;continue;case 10:if(j&&l.$length>0&&!((l.$length===1)&&(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])===\"0\")){$s=12;continue;}$s=13;continue;case 12:u=B.Errorf(\"http: method cannot contain a Content-Length; got %q\",new WH([l]));$s=14;case 14:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}$s=-1;return[new $Int64(0,0),u];case 13:$s=-1;return[new $Int64(0,0),$ifaceNil];case 11:if((v=f/100,(v===v&&v!==1/0&&v!==-1/0)?v>>0:$throwRuntimeError(\"integer divide by zero\"))===1){$s=-1;return[new $Int64(0,0),$ifaceNil];}w=f;if((w===(204))||(w===(304))){$s=-1;return[new $Int64(0,0),$ifaceNil];}if(TS(i)){$s=-1;return[new $Int64(-1,4294967295),$ifaceNil];}x=\"\";if(l.$length===1){$s=15;continue;}$s=16;continue;case 15:y=O.TrimSpace((0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));$s=17;case 17:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y;case 16:if(!(x===\"\")){$s=18;continue;}$s=19;continue;case 18:aa=UE(x);$s=21;case 21:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}z=aa;ab=z[0];ac=z[1];if(!($interfaceIsEqual(ac,$ifaceNil))){$s=-1;return[new $Int64(-1,4294967295),ac];}$s=-1;return[ab,$ifaceNil];case 19:new NO(h).Del(\"Content-Length\");case 20:if(j){$s=-1;return[new $Int64(0,0),$ifaceNil];}$s=-1;return[new $Int64(-1,4294967295),$ifaceNil];}return;}if($f===undefined){$f={$blk:TU};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};TV=function(e,f,g,h){var $ptr,e,f,g,h,i,j,k;if(e<1){return true;}j=(i=g[$String.keyFor(\"Connection\")],i!==undefined?i.v:WN.nil);k=AH.HeaderValuesContainsToken(j,\"close\");if((e===1)&&(f===0)){return k||!AH.HeaderValuesContainsToken(j,\"keep-alive\");}if(k&&h){new NO(g).Del(\"Connection\");}return k;};TW=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=[g];h=[h];i=(j=e[$String.keyFor(\"Trailer\")],j!==undefined?[j.v,true]:[WN.nil,false]);k=i[0];l=i[1];if(!l){$s=-1;return[false,$ifaceNil];}new NO(e).Del(\"Trailer\");h[0]={};g[0]=$ifaceNil;m=k;n=0;case 1:if(!(n<m.$length)){$s=2;continue;}o=((n<0||n>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+n]);$r=QV(o,(function(g,h){return function(p){var $ptr,p,q,r;p=NX(p);q=p;if(q===(\"Transfer-Encoding\")||q===(\"Trailer\")||q===(\"Content-Length\")){if($interfaceIsEqual(g[0],$ifaceNil)){g[0]=new ON.ptr(\"bad trailer key\",p);return;}}r=p;(h[0]||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:WN.nil};};})(g,h));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}n++;$s=1;continue;case 2:if(!($interfaceIsEqual(g[0],$ifaceNil))){$s=-1;return[false,g[0]];}if($keys(h[0]).length===0){$s=-1;return[false,$ifaceNil];}if(!TS(f)){$s=-1;return[false,$pkg.ErrUnexpectedTrailer];}$s=-1;return[h[0],$ifaceNil];}return;}if($f===undefined){$f={$blk:TW};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};TX.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=0;g=$ifaceNil;h=this;$r=h.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(h.mu,\"Unlock\"),[]]);if(h.closed){i=0;j=$pkg.ErrBodyReadAfterClose;f=i;g=j;$s=-1;return[f,g];}l=h.readLocked(e);$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:TX.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};TX.prototype.Read=function(e){return this.$val.Read(e);};TX.ptr.prototype.readLocked=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(h.sawEOF){i=0;j=C.EOF;f=i;g=j;$s=-1;return[f,g];}l=h.src.Read(e);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];if($interfaceIsEqual(g,C.EOF)){$s=2;continue;}$s=3;continue;case 2:h.sawEOF=true;if(!($interfaceIsEqual(h.hdr,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:m=h.readTrailer();$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;if(!($interfaceIsEqual(n,$ifaceNil))){g=n;h.sawEOF=false;h.closed=true;}h.hdr=$ifaceNil;$s=6;continue;case 5:o=$assertType(h.src,ABG,true);p=o[0];q=o[1];if(q&&(r=p.N,(r.$high>0||(r.$high===0&&r.$low>0)))){g=C.ErrUnexpectedEOF;}case 6:case 3:if($interfaceIsEqual(g,$ifaceNil)&&f>0){s=$assertType(h.src,ABG,true);t=s[0];u=s[1];if(u&&(v=t.N,(v.$high===0&&v.$low===0))){g=C.EOF;h.sawEOF=true;}}if(h.sawEOF&&!(h.onHitEOF===$throwNilPointerError)){$s=8;continue;}$s=9;continue;case 8:$r=h.onHitEOF();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:w=f;x=g;f=w;g=x;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:TX.ptr.prototype.readLocked};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};TX.prototype.readLocked=function(e){return this.$val.readLocked(e);};UA=function(e){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=4;case 1:h=e.Peek(f);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if(H.HasSuffix(i,TZ)){$s=-1;return true;}if(!($interfaceIsEqual(j,$ifaceNil))){$s=2;continue;}f=f+(1)>>0;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:UA};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};TX.ptr.prototype.readTrailer=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;g=e.r.Peek(2);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];if(H.Equal(h,TY)){$s=2;continue;}$s=3;continue;case 2:j=e.r.Discard(2);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=-1;return $ifaceNil;case 3:if(h.$length<2){$s=-1;return UB;}if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}k=UA(e.r);$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if(!k){$s=5;continue;}$s=6;continue;case 5:$s=-1;return A.New(\"http: suspiciously long trailer after chunked body\");case 6:m=I.NewReader(e.r).ReadMIMEHeader();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];i=l[1];if(!($interfaceIsEqual(i,$ifaceNil))){if($interfaceIsEqual(i,C.EOF)){$s=-1;return UB;}$s=-1;return i;}o=e.hdr;if($assertType(o,WT,true)[1]){p=o.$val;UC((p.$ptr_Trailer||(p.$ptr_Trailer=new AAG(function(){return this.$target.Trailer;},function($v){this.$target.Trailer=$v;},p))),(n));}else if($assertType(o,XH,true)[1]){q=o.$val;UC((q.$ptr_Trailer||(q.$ptr_Trailer=new AAG(function(){return this.$target.Trailer;},function($v){this.$target.Trailer=$v;},q))),(n));}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:TX.ptr.prototype.readTrailer};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};TX.prototype.readTrailer=function(){return this.$val.readTrailer();};UC=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m;if(e.$get()===false){e.$set(f);return;}g=f;h=0;i=$keys(g);while(true){if(!(h<i.length)){break;}j=g[i[h]];if(j===undefined){h++;continue;}k=j.k;l=j.v;m=k;(e.$get()||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(m)]={k:m,v:l};h++;}};TX.ptr.prototype.unreadDataSizeLocked=function(){var $ptr,e,f,g,h;e=this;f=$assertType(e.src,ABG,true);g=f[0];h=f[1];if(h){return g.N;}return new $Int64(-1,4294967295);};TX.prototype.unreadDataSizeLocked=function(){return this.$val.unreadDataSizeLocked();};TX.ptr.prototype.Close=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);if(e.closed){$s=-1;return $ifaceNil;}f=$ifaceNil;if(e.sawEOF){$s=3;continue;}if($interfaceIsEqual(e.hdr,$ifaceNil)&&e.closing){$s=4;continue;}if(e.doEarlyClose){$s=5;continue;}$s=6;continue;case 3:$s=7;continue;case 4:$s=7;continue;case 5:g=$assertType(e.src,ABG,true);h=g[0];i=g[1];if(i&&(j=h.N,(j.$high>0||(j.$high===0&&j.$low>262144)))){$s=8;continue;}$s=9;continue;case 8:e.earlyClose=true;$s=10;continue;case 9:k=new $Int64(0,0);n=C.CopyN(D.Discard,(m=new UD.ptr(e),new m.constructor.elem(m)),new $Int64(0,262144));$s=11;case 11:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;k=l[0];f=l[1];if($interfaceIsEqual(f,C.EOF)){f=$ifaceNil;}if((k.$high===0&&k.$low===262144)){e.earlyClose=true;}case 10:$s=7;continue;case 6:q=C.Copy(D.Discard,(p=new UD.ptr(e),new p.constructor.elem(p)));$s=12;case 12:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;f=o[1];case 7:case 2:e.closed=true;$s=-1;return f;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:TX.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};TX.prototype.Close=function(){return this.$val.Close();};TX.ptr.prototype.didEarlyClose=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);$s=-1;return e.earlyClose;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:TX.ptr.prototype.didEarlyClose};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};TX.prototype.didEarlyClose=function(){return this.$val.didEarlyClose();};TX.ptr.prototype.bodyRemains=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);$s=-1;return!e.sawEOF;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:TX.ptr.prototype.bodyRemains};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};TX.prototype.bodyRemains=function(){return this.$val.bodyRemains();};TX.ptr.prototype.registerOnHitEOF=function(e){var $ptr,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.mu,\"Unlock\"),[]]);f.onHitEOF=e;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:TX.ptr.prototype.registerOnHitEOF};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};TX.prototype.registerOnHitEOF=function(e){return this.$val.registerOnHitEOF(e);};UD.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(h.b.closed){i=0;j=$pkg.ErrBodyReadAfterClose;f=i;g=j;$s=-1;return[f,g];}l=h.b.readLocked(e);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=k[0];g=k[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:UD.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};UD.prototype.Read=function(e){return this.$val.Read(e);};UE=function(e){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=O.TrimSpace(e);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e===\"\"){$s=-1;return[new $Int64(-1,4294967295),$ifaceNil];}g=E.ParseInt(e,10,64);h=g[0];i=g[1];if(!($interfaceIsEqual(i,$ifaceNil))||(h.$high<0||(h.$high===0&&h.$low<0))){$s=-1;return[new $Int64(0,0),new ON.ptr(\"bad Content-Length\",e)];}$s=-1;return[h,$ifaceNil];}return;}if($f===undefined){$f={$blk:UE};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};UF.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(e.$length===0){$s=-1;return[f,g];}i=$recv(h.tw.ByteReadCh);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=$clone(i[0],QC);k=j.n;l=j.err;f=k;g=l;if(f===1){(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]=j.b);}$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:UF.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};UF.prototype.Read=function(e){return this.$val.Read(e);};UG.ptr.prototype.onceSetNextProtoDefaults=function(){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=U.Getenv(\"GODEBUG\");$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=O.Contains(f,\"http2client=0\");$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=1;continue;}$s=2;continue;case 1:$s=-1;return;case 2:if(!(e.TLSNextProto===false)){$s=-1;return;}if(!(e.TLSClientConfig===XD.nil)||!(e.Dial===$throwNilPointerError)||!(e.DialTLS===$throwNilPointerError)){$s=-1;return;}i=DS(e);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];k=h[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=6;continue;}$s=7;continue;case 6:$r=L.Printf(\"Error enabling Transport HTTP/2 support: %v\",new WH([k]));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 7:e.h2transport=j;l=e.MaxResponseHeaderBytes;if(!((l.$high===0&&l.$low===0))&&(j.MaxHeaderListSize===0)){if((l.$high>0||(l.$high===0&&l.$low>=4294967295))){j.MaxHeaderListSize=4294967295;}else{j.MaxHeaderListSize=((l.$low>>>0));}}$s=-1;return;}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.onceSetNextProtoDefaults};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.onceSetNextProtoDefaults=function(){return this.$val.onceSetNextProtoDefaults();};UJ.ptr.prototype.extraHeaders=function(){var $ptr,e;e=this;if(e.extra===false){e.extra={};}return e.extra;};UJ.prototype.extraHeaders=function(){return this.$val.extraHeaders();};UG.ptr.prototype.RoundTrip=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.nextProtoOnce.Do($methodVal(f,\"onceSetNextProtoDefaults\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=e.Context();h=AC.ContextClientTrace(g);$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(e.URL===XN.nil){$s=3;continue;}$s=4;continue;case 3:$r=e.closeBody();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,A.New(\"http: nil Request.URL\")];case 4:if(e.Header===false){$s=6;continue;}$s=7;continue;case 6:$r=e.closeBody();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,A.New(\"http: nil Request.Header\")];case 7:j=e.URL.Scheme;k=j===\"http\"||j===\"https\";if(k){$s=9;continue;}$s=10;continue;case 9:l=e.Header;m=0;n=$keys(l);case 11:if(!(m<n.length)){$s=12;continue;}o=l[n[m]];if(o===undefined){m++;$s=11;continue;}p=o.k;q=o.v;if(!AH.ValidHeaderFieldName(p)){$s=13;continue;}$s=14;continue;case 13:r=B.Errorf(\"net/http: invalid header field name %q\",new WH([new $String(p)]));$s=15;case 15:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}$s=-1;return[XH.nil,r];case 14:s=q;t=0;case 16:if(!(t<s.$length)){$s=17;continue;}u=((t<0||t>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+t]);if(!AH.ValidHeaderFieldValue(u)){$s=18;continue;}$s=19;continue;case 18:v=B.Errorf(\"net/http: invalid header field value %q for key %v\",new WH([new $String(u),new $String(p)]));$s=20;case 20:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}$s=-1;return[XH.nil,v];case 19:t++;$s=16;continue;case 17:m++;$s=11;continue;case 12:case 10:w=$assertType(f.altProto.Load(),ABS,true);x=w[0];z=(y=x[$String.keyFor(j)],y!==undefined?y.v:$ifaceNil);if(!($interfaceIsEqual(z,$ifaceNil))){$s=21;continue;}$s=22;continue;case 21:ab=z.RoundTrip(e);$s=23;case 23:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;ac=aa[0];ad=aa[1];if(!($interfaceIsEqual(ad,$pkg.ErrSkipAltProtocol))){$s=-1;return[ac,ad];}case 22:if(!k){$s=24;continue;}$s=25;continue;case 24:$r=e.closeBody();$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,new ON.ptr(\"unsupported protocol scheme\",j)];case 25:if(!(!(e.Method===\"\"))){ae=false;$s=29;continue s;}af=OX(e.Method);$s=30;case 30:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ae=!af;case 29:if(ae){$s=27;continue;}$s=28;continue;case 27:ag=B.Errorf(\"net/http: invalid method %q\",new WH([new $String(e.Method)]));$s=31;case 31:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}$s=-1;return[XH.nil,ag];case 28:if(e.URL.Host===\"\"){$s=32;continue;}$s=33;continue;case 32:$r=e.closeBody();$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,A.New(\"http: no Host in request URL\")];case 33:case 35:ah=new UJ.ptr(e,false,i);aj=f.connectMethodForRequest(ah);$s=37;case 37:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;ak=$clone(ai[0],VC);al=ai[1];if(!($interfaceIsEqual(al,$ifaceNil))){$s=38;continue;}$s=39;continue;case 38:$r=e.closeBody();$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,al];case 39:an=f.getConn(ah,$clone(ak,VC));$s=41;case 41:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}am=an;ao=am[0];al=am[1];if(!($interfaceIsEqual(al,$ifaceNil))){$s=42;continue;}$s=43;continue;case 42:$r=f.setReqCanceler(e,$throwNilPointerError);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.closeBody();$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[XH.nil,al];case 43:ap=XH.nil;if(!($interfaceIsEqual(ao.alt,$ifaceNil))){$s=46;continue;}$s=47;continue;case 46:$r=f.setReqCanceler(e,$throwNilPointerError);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar=ao.alt.RoundTrip(e);$s=50;case 50:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=ar;ap=aq[0];al=aq[1];$s=48;continue;case 47:at=ao.roundTrip(ah);$s=51;case 51:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}as=at;ap=as[0];al=as[1];case 48:if($interfaceIsEqual(al,$ifaceNil)){$s=-1;return[ap,$ifaceNil];}au=ao.shouldRetryRequest(e,al);$s=54;case 54:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}if(!au){$s=52;continue;}$s=53;continue;case 52:av=$assertType(al,UY,true);aw=$clone(av[0],UY);ax=av[1];if(ax){al=aw.err;}$s=-1;return[XH.nil,al];case 53:$r=VQ();$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=35;continue;case 36:$s=-1;return[XH.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.RoundTrip};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.RoundTrip=function(e){return this.$val.RoundTrip(e);};VE.ptr.prototype.shouldRetryRequest=function(e,f){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;if($interfaceIsEqual(f,LD)){$s=-1;return true;}if($interfaceIsEqual(f,OS)){$s=-1;return false;}h=g.isReused();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}if(!h){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:i=$assertType(f,VF,true);j=i[1];if(j){$s=-1;return true;}if(!e.isReplayable()){$s=-1;return false;}k=$assertType(f,UY,true);l=k[1];if(l){$s=-1;return true;}if($interfaceIsEqual(f,UV)){$s=-1;return true;}$s=-1;return false;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.shouldRetryRequest};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.shouldRetryRequest=function(e,f){return this.$val.shouldRetryRequest(e,f);};UG.ptr.prototype.RegisterProtocol=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;$r=g.altMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.altMu,\"Unlock\"),[]]);h=$assertType(g.altProto.Load(),ABS,true);i=h[0];j=(k=i[$String.keyFor(e)],k!==undefined?[k.v,true]:[$ifaceNil,false]);l=j[1];if(l){$panic(new $String(\"protocol \"+e+\" already registered\"));}m={};n=i;o=0;p=$keys(n);while(true){if(!(o<p.length)){break;}q=n[p[o]];if(q===undefined){o++;continue;}r=q.k;s=q.v;t=r;(m||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(t)]={k:t,v:s};o++;}u=e;(m||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(u)]={k:u,v:f};g.altProto.Store(new ABS(m));$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:UG.ptr.prototype.RegisterProtocol};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};UG.prototype.RegisterProtocol=function(e,f){return this.$val.RegisterProtocol(e,f);};UG.ptr.prototype.CloseIdleConnections=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.nextProtoOnce.Do($methodVal(e,\"onceSetNextProtoDefaults\"));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.idleMu.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.idleConn;e.idleConn=false;e.idleConnCh=false;e.wantIdle=true;WE.copy(e.idleLRU,new WE.ptr(XC.nil,false));$r=e.idleMu.Unlock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=f;h=0;i=$keys(g);case 4:if(!(h<i.length)){$s=5;continue;}j=g[i[h]];if(j===undefined){h++;$s=4;continue;}k=j.v;l=k;m=0;case 6:if(!(m<l.$length)){$s=7;continue;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);$r=n.close(UT);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}m++;$s=6;continue;case 7:h++;$s=4;continue;case 5:o=e.h2transport;if(!(o===XE.nil)){$s=9;continue;}$s=10;continue;case 9:$r=o.CloseIdleConnections();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:$s=-1;return;}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.CloseIdleConnections};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.CloseIdleConnections=function(){return this.$val.CloseIdleConnections();};UG.ptr.prototype.CancelRequest=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;$r=f.cancelRequest(e,VL);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.CancelRequest};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.CancelRequest=function(e){return this.$val.CancelRequest(e);};UG.ptr.prototype.cancelRequest=function(e,f){var $ptr,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;$r=g.reqMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=(h=g.reqCanceler[WT.keyFor(e)],h!==undefined?h.v:$throwNilPointerError);delete g.reqCanceler[WT.keyFor(e)];$r=g.reqMu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(i===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:$r=i(f);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:$s=-1;return;}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.cancelRequest};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.cancelRequest=function(e,f){return this.$val.cancelRequest(e,f);};UG.ptr.prototype.connectMethodForRequest=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=new VC.ptr(XN.nil,\"\",\"\");g=$ifaceNil;h=this;i=e.Request.URL.Port();if(!WF(i)){$s=1;continue;}$s=2;continue;case 1:j=$clone(f,VC);l=B.Errorf(\"invalid URL port %q\",new WH([new $String(i)]));$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;VC.copy(f,j);g=k;$s=-1;return[f,g];case 2:f.targetScheme=e.Request.URL.Scheme;m=VW(e.Request.URL);$s=4;case 4:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}f.targetAddr=m;if(!(h.Proxy===$throwNilPointerError)){$s=5;continue;}$s=6;continue;case 5:o=h.Proxy(e.Request);$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;f.proxyURL=n[0];g=n[1];if($interfaceIsEqual(g,$ifaceNil)&&!(f.proxyURL===XN.nil)){$s=8;continue;}$s=9;continue;case 8:p=f.proxyURL.Port();if(!WF(p)){$s=10;continue;}$s=11;continue;case 10:q=$clone(f,VC);s=B.Errorf(\"invalid proxy URL port %q\",new WH([new $String(p)]));$s=12;case 12:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;VC.copy(f,q);g=r;$s=-1;return[f,g];case 11:case 9:case 6:t=$clone(f,VC);u=g;VC.copy(f,t);g=u;$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.connectMethodForRequest};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.connectMethodForRequest=function(e){return this.$val.connectMethodForRequest(e);};VC.ptr.prototype.proxyAuth=function(){var $ptr,e,f,g,h,i;e=this;if(e.proxyURL===XN.nil){return\"\";}f=e.proxyURL.User;if(!(f===XM.nil)){g=f.Username();h=f.Password();i=h[0];return\"Basic \"+AX(g,i);}return\"\";};VC.prototype.proxyAuth=function(){return this.$val.proxyAuth();};UY.ptr.prototype.Error=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"net/http: Transport failed to read from server: %v\",new WH([e.err]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:UY.ptr.prototype.Error};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};UY.prototype.Error=function(){return this.$val.Error();};UG.ptr.prototype.putOrCloseIdleConn=function(e){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;g=f.tryPutIdleConn(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(h,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:$r=e.close(h);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.putOrCloseIdleConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.putOrCloseIdleConn=function(e){return this.$val.putOrCloseIdleConn(e);};UG.ptr.prototype.maxIdleConnsPerHost=function(){var $ptr,e,f;e=this;f=e.MaxIdleConnsPerHost;if(!((f===0))){return f;}return 2;};UG.prototype.maxIdleConnsPerHost=function(){return this.$val.maxIdleConnsPerHost();};UG.ptr.prototype.tryPutIdleConn=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;if(f.DisableKeepAlives||f.MaxIdleConnsPerHost<0){$s=-1;return UO;}g=e.isBroken();$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g){$s=1;continue;}$s=2;continue;case 1:$s=-1;return UP;case 2:if(!($interfaceIsEqual(e.alt,$ifaceNil))){$s=-1;return UX;}$r=e.markReused();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=$clone(e.cacheKey,VD);$r=f.idleMu.Lock();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.idleMu,\"Unlock\"),[]]);j=(i=f.idleConnCh[VD.keyFor(h)],i!==undefined?i.v:$chanNil);k=$select([[j,e],[]]);if(k[0]===0){$s=-1;return $ifaceNil;}else if(k[0]===1){if(!(j===$chanNil)){delete f.idleConnCh[VD.keyFor(h)];}}if(f.wantIdle){$s=-1;return UQ;}if(f.idleConn===false){f.idleConn={};}m=(l=f.idleConn[VD.keyFor(h)],l!==undefined?l.v:ABU.nil);if(m.$length>=f.maxIdleConnsPerHost()){$s=-1;return US;}n=m;o=0;case 6:if(!(o<n.$length)){$s=7;continue;}p=((o<0||o>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+o]);if(p===e){$s=8;continue;}$s=9;continue;case 8:$r=L.Fatalf(\"dup idle pconn %p in freelist\",new WH([e]));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:o++;$s=6;continue;case 7:q=$clone(h,VD);(f.idleConn||$throwRuntimeError(\"assignment to entry in nil map\"))[VD.keyFor(q)]={k:q,v:$append(m,e)};f.idleLRU.add(e);if(!((f.MaxIdleConns===0))&&f.idleLRU.len()>f.MaxIdleConns){$s=11;continue;}$s=12;continue;case 11:r=f.idleLRU.removeOldest();$r=r.close(UR);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f.removeIdleConnLocked(r);case 12:if((s=f.IdleConnTimeout,(s.$high>0||(s.$high===0&&s.$low>0)))){if(!(e.idleTimer===ZL.nil)){e.idleTimer.Reset(f.IdleConnTimeout);}else{e.idleTimer=Q.AfterFunc(f.IdleConnTimeout,$methodVal(e,\"closeConnIfStillIdle\"));}}Q.Time.copy(e.idleAt,Q.Now());$s=-1;return $ifaceNil;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:UG.ptr.prototype.tryPutIdleConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};UG.prototype.tryPutIdleConn=function(e){return this.$val.tryPutIdleConn(e);};UG.ptr.prototype.getIdleConnCh=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;if(f.DisableKeepAlives){$s=-1;return $chanNil;}g=$clone(e.key(),VD);$r=f.idleMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.idleMu,\"Unlock\"),[]]);f.wantIdle=false;if(f.idleConnCh===false){f.idleConnCh={};}h=(i=f.idleConnCh[VD.keyFor(g)],i!==undefined?[i.v,true]:[$chanNil,false]);j=h[0];k=h[1];if(!k){j=new $Chan(ABT,0);l=$clone(g,VD);(f.idleConnCh||$throwRuntimeError(\"assignment to entry in nil map\"))[VD.keyFor(l)]={k:l,v:j};}$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;return $chanNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:UG.ptr.prototype.getIdleConnCh};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};UG.prototype.getIdleConnCh=function(e){return this.$val.getIdleConnCh(e);};UG.ptr.prototype.getIdleConn=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=ABT.nil;g=new Q.Time.ptr(new $Int64(0,0),0,WL.nil);h=this;i=$clone(e.key(),VD);$r=h.idleMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(h.idleMu,\"Unlock\"),[]]);case 2:j=(k=h.idleConn[VD.keyFor(i)],k!==undefined?[k.v,true]:[ABU.nil,false]);l=j[0];m=j[1];if(!m){n=ABT.nil;o=new Q.Time.ptr(new $Int64(0,0),0,WL.nil);f=n;Q.Time.copy(g,o);$s=-1;return[f,g];}if(l.$length===1){f=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);delete h.idleConn[VD.keyFor(i)];}else{f=(p=l.$length-1>>0,((p<0||p>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+p]));q=$clone(i,VD);(h.idleConn||$throwRuntimeError(\"assignment to entry in nil map\"))[VD.keyFor(q)]={k:q,v:$subslice(l,0,(l.$length-1>>0))};}h.idleLRU.remove(f);r=f.isBroken();$s=6;case 6:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}if(r){$s=4;continue;}$s=5;continue;case 4:$s=2;continue;case 5:if(!(f.idleTimer===ZL.nil)&&!f.idleTimer.Stop()){$s=2;continue;}s=f;t=$clone(f.idleAt,Q.Time);f=s;Q.Time.copy(g,t);$s=-1;return[f,g];$s=2;continue;case 3:$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:UG.ptr.prototype.getIdleConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};UG.prototype.getIdleConn=function(e){return this.$val.getIdleConn(e);};UG.ptr.prototype.removeIdleConn=function(e){var $ptr,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$r=f.idleMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.idleMu,\"Unlock\"),[]]);f.removeIdleConnLocked(e);$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:UG.ptr.prototype.removeIdleConn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};UG.prototype.removeIdleConn=function(e){return this.$val.removeIdleConn(e);};UG.ptr.prototype.removeIdleConnLocked=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p;f=this;if(!(e.idleTimer===ZL.nil)){e.idleTimer.Stop();}f.idleLRU.remove(e);g=$clone(e.cacheKey,VD);h=(i=f.idleConn[VD.keyFor(g)],i!==undefined?[i.v,true]:[ABU.nil,false]);j=h[0];k=j.$length;if(k===(0)){}else if(k===(1)){if((0>=j.$length?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+0])===e){delete f.idleConn[VD.keyFor(g)];}}else{l=j;m=0;while(true){if(!(m<l.$length)){break;}n=m;o=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);if(!(o===e)){m++;continue;}$copySlice($subslice(j,n),$subslice(j,(n+1>>0)));p=$clone(g,VD);(f.idleConn||$throwRuntimeError(\"assignment to entry in nil map\"))[VD.keyFor(p)]={k:p,v:$subslice(j,0,(j.$length-1>>0))};break;}}};UG.prototype.removeIdleConnLocked=function(e){return this.$val.removeIdleConnLocked(e);};UG.ptr.prototype.setReqCanceler=function(e,f){var $ptr,e,f,g,h,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;$r=g.reqMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.reqMu,\"Unlock\"),[]]);if(g.reqCanceler===false){g.reqCanceler={};}if(!(f===$throwNilPointerError)){h=e;(g.reqCanceler||$throwRuntimeError(\"assignment to entry in nil map\"))[WT.keyFor(h)]={k:h,v:f};}else{delete g.reqCanceler[WT.keyFor(e)];}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:UG.ptr.prototype.setReqCanceler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};UG.prototype.setReqCanceler=function(e,f){return this.$val.setReqCanceler(e,f);};UG.ptr.prototype.replaceReqCanceler=function(e,f){var $ptr,e,f,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=this;$r=g.reqMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.reqMu,\"Unlock\"),[]]);h=(i=g.reqCanceler[WT.keyFor(e)],i!==undefined?[i.v,true]:[$throwNilPointerError,false]);j=h[1];if(!j){$s=-1;return false;}if(!(f===$throwNilPointerError)){k=e;(g.reqCanceler||$throwRuntimeError(\"assignment to entry in nil map\"))[WT.keyFor(k)]={k:k,v:f};}else{delete g.reqCanceler[WT.keyFor(e)];}$s=-1;return true;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:UG.ptr.prototype.replaceReqCanceler};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};UG.prototype.replaceReqCanceler=function(e,f){return this.$val.replaceReqCanceler(e,f);};UG.ptr.prototype.dial=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;if(!(h.DialContext===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:i=h.DialContext(e,f,g);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;case 2:if(!(h.Dial===$throwNilPointerError)){$s=4;continue;}$s=5;continue;case 4:k=h.Dial(f,g);$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if($interfaceIsEqual(l,$ifaceNil)&&$interfaceIsEqual(m,$ifaceNil)){m=A.New(\"net/http: Transport.Dial hook returned (nil, nil)\");}$s=-1;return[l,m];case 5:n=UZ.DialContext(e,f,g);$s=7;case 7:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.dial};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.dial=function(e,f,g){return this.$val.dial(e,f,g);};UG.ptr.prototype.getConn=function(e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];g=[g];h=[h];i=[i];j=[j];k=[k];l=[l];j[0]=this;m=e.Request;n=e.trace;h[0]=m.Context();if(!(n===ZD.nil)&&!(n.GetConn===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:o=f[0].addr();$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=n.GetConn(o);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:q=j[0].getIdleConn($clone(f[0],VC));$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;r=p[0];s=$clone(p[1],Q.Time);if(!(r===ABT.nil)){$s=6;continue;}$s=7;continue;case 6:if(!(n===ZD.nil)&&!(n.GotConn===$throwNilPointerError)){$s=8;continue;}$s=9;continue;case 8:t=r.gotIdleConnTrace($clone(s,Q.Time));$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=n.GotConn($clone(t,AC.GotConnInfo));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:$r=j[0].setReqCanceler(m,(function(f,g,h,i,j,k,l){return function(u){var $ptr,u;};})(f,g,h,i,j,k,l));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[r,$ifaceNil];case 7:i[0]=new $Chan(ABV,0);l[0]=VR;k[0]=VS;u=(function(f,g,h,i,j,k,l){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=l[0]();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$go((function(f,g,h,i,j,k,l){return function $b(){var $ptr,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:u=$recv(i[0]);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}v=$clone(u[0],ABV);if($interfaceIsEqual(v.err,$ifaceNil)){$s=2;continue;}$s=3;continue;case 2:$r=j[0].putOrCloseIdleConn(v.pc);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$r=k[0]();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};})(f,g,h,i,j,k,l),[]);$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(f,g,h,i,j,k,l);g[0]=new $Chan($error,1);$r=j[0].setReqCanceler(m,(function(f,g,h,i,j,k,l){return function $b(v){var $ptr,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(g[0],v);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};})(f,g,h,i,j,k,l));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$go((function(f,g,h,i,j,k,l){return function $b(){var $ptr,v,w,x,y,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:w=j[0].dialConn(h[0],$clone(f[0],VC));$s=1;case 1:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}v=w;x=v[0];y=v[1];$r=$send(i[0],$clone(new ABV.ptr(x,y),ABV));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$r=$r;return $f;};})(f,g,h,i,j,k,l),[]);v=j[0].getIdleConnCh($clone(f[0],VC));$s=14;case 14:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;y=m.Context().Done();$s=15;case 15:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=$select([[i[0]],[w],[m.Cancel],[y],[g[0]]]);$s=16;case 16:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}x=z;if(x[0]===0){$s=17;continue;}if(x[0]===1){$s=18;continue;}if(x[0]===2){$s=19;continue;}if(x[0]===3){$s=20;continue;}if(x[0]===4){$s=21;continue;}$s=22;continue;case 17:aa=$clone(x[1][0],ABV);if(!(aa.pc===ABT.nil)){$s=23;continue;}$s=24;continue;case 23:if(!(n===ZD.nil)&&!(n.GotConn===$throwNilPointerError)&&$interfaceIsEqual(aa.pc.alt,$ifaceNil)){$s=25;continue;}$s=26;continue;case 25:$r=n.GotConn(new AC.GotConnInfo.ptr(aa.pc.conn,false,false,new Q.Duration(0,0)));$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 26:$s=-1;return[aa.pc,$ifaceNil];case 24:ac=m.Context().Done();$s=28;case 28:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ab=$select([[m.Cancel],[ac],[g[0]],[]]);if(ab[0]===0){$s=29;continue;}if(ab[0]===1){$s=30;continue;}if(ab[0]===2){$s=31;continue;}if(ab[0]===3){$s=32;continue;}$s=33;continue;case 29:$s=-1;return[ABT.nil,VM];case 30:ad=m.Context().Err();$s=34;case 34:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}$s=-1;return[ABT.nil,ad];case 31:ae=ab[1][0];if($interfaceIsEqual(ae,VL)){ae=VM;}$s=-1;return[ABT.nil,ae];case 32:$s=-1;return[ABT.nil,aa.err];case 33:$s=22;continue;case 18:af=x[1][0];$r=u();$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(n===ZD.nil)&&!(n.GotConn===$throwNilPointerError)){$s=36;continue;}$s=37;continue;case 36:ag=af.isReused();$s=38;case 38:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}$r=n.GotConn(new AC.GotConnInfo.ptr(af.conn,ag,false,new Q.Duration(0,0)));$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:$s=-1;return[af,$ifaceNil];case 19:$r=u();$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return[ABT.nil,VM];case 20:$r=u();$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ah=m.Context().Err();$s=42;case 42:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}$s=-1;return[ABT.nil,ah];case 21:ai=x[1][0];$r=u();$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($interfaceIsEqual(ai,VL)){ai=VM;}$s=-1;return[ABT.nil,ai];case 22:$s=-1;return[ABT.nil,$ifaceNil];}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.getConn};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.getConn=function(e,f){return this.$val.getConn(e,f);};UG.ptr.prototype.dialConn=function(e,f){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=[g];h=[h];i=[i];j=[j];k=[k];l=[l];m=[m];n=this;o=new VE.ptr($ifaceNil,n,$clone(f.key(),VD),$ifaceNil,XK.nil,AAE.nil,WW.nil,new $Int64(0,0),new $Chan(VH,1),new $Chan(VI,1),new $Chan(XP,0),false,false,new $Int64(0,0),new $Chan($error,1),new $Chan(XP,0),new Q.Time.ptr(new $Int64(0,0),0,WL.nil),ZL.nil,new P.Mutex.ptr(0,0),0,$ifaceNil,$ifaceNil,false,false,$throwNilPointerError);p=AC.ContextClientTrace(e);$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}m[0]=p;q=!(n.DialTLS===$throwNilPointerError)&&f.targetScheme===\"https\"&&f.proxyURL===XN.nil;if(q){$s=2;continue;}$s=3;continue;case 2:r=$ifaceNil;t=f.addr();$s=5;case 5:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=n.DialTLS(\"tcp\",u);$s=6;case 6:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}s=v;o.conn=s[0];r=s[1];if(!($interfaceIsEqual(r,$ifaceNil))){$s=-1;return[ABT.nil,r];}if($interfaceIsEqual(o.conn,$ifaceNil)){$s=-1;return[ABT.nil,A.New(\"net/http: Transport.DialTLS returned (nil, nil)\")];}w=$assertType(o.conn,ABP,true);x=w[0];y=w[1];if(y){$s=7;continue;}$s=8;continue;case 7:if(!(m[0]===ZD.nil)&&!(m[0].TLSHandshakeStart===$throwNilPointerError)){$s=9;continue;}$s=10;continue;case 9:$r=m[0].TLSHandshakeStart();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 10:z=x.Handshake();$s=12;case 12:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}aa=z;if(!($interfaceIsEqual(aa,$ifaceNil))){$s=13;continue;}$s=14;continue;case 13:$go($methodVal(o.conn,\"Close\"),[]);if(!(m[0]===ZD.nil)&&!(m[0].TLSHandshakeDone===$throwNilPointerError)){$s=15;continue;}$s=16;continue;case 15:$r=m[0].TLSHandshakeDone(new J.ConnectionState.ptr(0,false,false,0,\"\",false,\"\",ZO.nil,ZP.nil,WZ.nil,WP.nil,WP.nil),aa);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 16:$s=-1;return[ABT.nil,aa];case 14:ab=x.ConnectionState();$s=18;case 18:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}h[0]=$clone(ab,J.ConnectionState);if(!(m[0]===ZD.nil)&&!(m[0].TLSHandshakeDone===$throwNilPointerError)){$s=19;continue;}$s=20;continue;case 19:$r=m[0].TLSHandshakeDone($clone(h[0],J.ConnectionState),$ifaceNil);$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 20:o.tlsState=h[0];case 8:$s=4;continue;case 3:ad=e;ae=f.addr();$s=22;case 22:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}af=ae;ag=n.dial(ad,\"tcp\",af);$s=23;case 23:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ac=ag;ah=ac[0];ai=ac[1];if(!($interfaceIsEqual(ai,$ifaceNil))){if(!(f.proxyURL===XN.nil)){ai=new R.OpError.ptr(\"proxyconnect\",\"tcp\",$ifaceNil,$ifaceNil,ai);}$s=-1;return[ABT.nil,ai];}o.conn=ah;case 4:if(f.proxyURL===XN.nil){$s=25;continue;}if(f.targetScheme===\"http\"){$s=26;continue;}if(f.targetScheme===\"https\"){$s=27;continue;}$s=28;continue;case 25:$s=28;continue;case 26:o.isProxy=true;j[0]=f.proxyAuth();if(!(j[0]===\"\")){o.mutateHeaderFunc=(function(g,h,i,j,k,l,m){return function(aj){var $ptr,aj;new NO(aj).Set(\"Proxy-Authorization\",j[0]);};})(g,h,i,j,k,l,m);}$s=28;continue;case 27:aj=o.conn;ak=n.ProxyConnectHeader;if(ak===false){ak={};}al=new OP.ptr(\"CONNECT\",new M.URL.ptr(\"\",f.targetAddr,XM.nil,\"\",\"\",\"\",false,\"\",\"\"),\"\",0,0,ak,$ifaceNil,$throwNilPointerError,new $Int64(0,0),WN.nil,false,f.targetAddr,false,false,XO.nil,false,\"\",\"\",XK.nil,$chanNil,XH.nil,$ifaceNil);am=f.proxyAuth();if(!(am===\"\")){new NO(al.Header).Set(\"Proxy-Authorization\",am);}an=al.Write(aj);$s=29;case 29:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}an;ao=G.NewReader(aj);aq=PN(ao,al);$s=30;case 30:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[0];as=ap[1];if(!($interfaceIsEqual(as,$ifaceNil))){$s=31;continue;}$s=32;continue;case 31:at=aj.Close();$s=33;case 33:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}at;$s=-1;return[ABT.nil,as];case 32:if(!((ar.StatusCode===200))){$s=34;continue;}$s=35;continue;case 34:au=O.SplitN(ar.Status,\" \",2);av=aj.Close();$s=36;case 36:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}av;$s=-1;return[ABT.nil,A.New((1>=au.$length?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+1]))];case 35:case 28:case 24:if(f.targetScheme===\"https\"&&!q){$s=37;continue;}$s=38;continue;case 37:aw=WD(n.TLSClientConfig);$s=39;case 39:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;if(ax.ServerName===\"\"){ax.ServerName=f.tlsHost();}ay=o.conn;l[0]=J.Client(ay,ax);i[0]=new $Chan($error,2);k[0]=ZL.nil;az=n.TLSHandshakeTimeout;if(!((az.$high===0&&az.$low===0))){k[0]=Q.AfterFunc(az,(function(g,h,i,j,k,l,m){return function $b(){var $ptr,ba,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;ba=$f.ba;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(i[0],(ba=new WB.ptr(),new ba.constructor.elem(ba)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ba=ba;$f.$s=$s;$f.$r=$r;return $f;};})(g,h,i,j,k,l,m));}$go((function(g,h,i,j,k,l,m){return function $b(){var $ptr,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(m[0]===ZD.nil)&&!(m[0].TLSHandshakeStart===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:$r=m[0].TLSHandshakeStart();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:ba=l[0].Handshake();$s=4;case 4:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;if(!(k[0]===ZL.nil)){k[0].Stop();}$r=$send(i[0],bb);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};})(g,h,i,j,k,l,m),[]);ba=$recv(i[0]);$s=40;case 40:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba[0];if(!($interfaceIsEqual(bb,$ifaceNil))){$s=41;continue;}$s=42;continue;case 41:bc=ay.Close();$s=43;case 43:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bc;if(!(m[0]===ZD.nil)&&!(m[0].TLSHandshakeDone===$throwNilPointerError)){$s=44;continue;}$s=45;continue;case 44:$r=m[0].TLSHandshakeDone(new J.ConnectionState.ptr(0,false,false,0,\"\",false,\"\",ZO.nil,ZP.nil,WZ.nil,WP.nil,WP.nil),bb);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 45:$s=-1;return[ABT.nil,bb];case 42:if(!ax.InsecureSkipVerify){$s=47;continue;}$s=48;continue;case 47:bd=l[0].VerifyHostname(ax.ServerName);$s=49;case 49:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;if(!($interfaceIsEqual(be,$ifaceNil))){$s=50;continue;}$s=51;continue;case 50:bf=ay.Close();$s=52;case 52:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bf;$s=-1;return[ABT.nil,be];case 51:case 48:bg=l[0].ConnectionState();$s=53;case 53:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}g[0]=$clone(bg,J.ConnectionState);if(!(m[0]===ZD.nil)&&!(m[0].TLSHandshakeDone===$throwNilPointerError)){$s=54;continue;}$s=55;continue;case 54:$r=m[0].TLSHandshakeDone($clone(g[0],J.ConnectionState),$ifaceNil);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 55:o.tlsState=g[0];o.conn=l[0];case 38:bh=o.tlsState;if(!(bh===XK.nil)&&bh.NegotiatedProtocolIsMutual&&!(bh.NegotiatedProtocol===\"\")){$s=57;continue;}$s=58;continue;case 57:bi=(bj=n.TLSNextProto[$String.keyFor(bh.NegotiatedProtocol)],bj!==undefined?[bj.v,true]:[$throwNilPointerError,false]);bk=bi[0];bl=bi[1];if(bl){$s=59;continue;}$s=60;continue;case 59:bm=bk(f.targetAddr,$assertType(o.conn,ABP));$s=61;case 61:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}$s=-1;return[new VE.ptr(bm,XR.nil,new VD.ptr(\"\",\"\",\"\"),$ifaceNil,XK.nil,AAE.nil,WW.nil,new $Int64(0,0),$chanNil,$chanNil,$chanNil,false,false,new $Int64(0,0),$chanNil,$chanNil,new Q.Time.ptr(new $Int64(0,0),0,WL.nil),ZL.nil,new P.Mutex.ptr(0,0),0,$ifaceNil,$ifaceNil,false,false,$throwNilPointerError),$ifaceNil];case 60:case 58:o.br=G.NewReader(o);o.bw=G.NewWriter((bn=new VA.ptr(o),new bn.constructor.elem(bn)));$go($methodVal(o,\"readLoop\"),[]);$go($methodVal(o,\"writeLoop\"),[]);$s=-1;return[o,$ifaceNil];}return;}if($f===undefined){$f={$blk:UG.ptr.prototype.dialConn};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};UG.prototype.dialConn=function(e,f){return this.$val.dialConn(e,f);};VA.ptr.prototype.Write=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;j=h.pc.conn.Write(e);$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;f=i[0];g=i[1];h.pc.nwrite=(k=h.pc.nwrite,l=(new $Int64(0,f)),new $Int64(k.$high+l.$high,k.$low+l.$low));$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:VA.ptr.prototype.Write};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};VA.prototype.Write=function(e){return this.$val.Write(e);};VC.ptr.prototype.key=function(){var $ptr,e,f,g;e=this;f=\"\";g=e.targetAddr;if(!(e.proxyURL===XN.nil)){f=e.proxyURL.String();if(e.targetScheme===\"http\"){g=\"\";}}return new VD.ptr(f,e.targetScheme,g);};VC.prototype.key=function(){return this.$val.key();};VC.ptr.prototype.addr=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;if(!(e.proxyURL===XN.nil)){$s=1;continue;}$s=2;continue;case 1:f=VW(e.proxyURL);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 2:$s=-1;return e.targetAddr;}return;}if($f===undefined){$f={$blk:VC.ptr.prototype.addr};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};VC.prototype.addr=function(){return this.$val.addr();};VC.ptr.prototype.tlsHost=function(){var $ptr,e,f;e=this;f=e.targetAddr;if(OD(f)){f=$substring(f,0,O.LastIndex(f,\":\"));}return f;};VC.prototype.tlsHost=function(){return this.$val.tlsHost();};VD.ptr.prototype.String=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=B.Sprintf(\"%s|%s|%s\",new WH([new $String(e.proxy),new $String(e.scheme),new $String(e.addr)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:VD.ptr.prototype.String};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};VD.prototype.String=function(){return this.$val.String();};VE.ptr.prototype.maxHeaderResponseSize=function(){var $ptr,e,f;e=this;f=e.t.MaxResponseHeaderBytes;if(!((f.$high===0&&f.$low===0))){return f;}return new $Int64(0,10485760);};VE.prototype.maxHeaderResponseSize=function(){return this.$val.maxHeaderResponseSize();};VE.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if((i=h.readLimit,(i.$high<0||(i.$high===0&&i.$low<=0)))){$s=1;continue;}$s=2;continue;case 1:j=0;l=B.Errorf(\"read limit of %d bytes exhausted\",new WH([h.maxHeaderResponseSize()]));$s=3;case 3:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;f=j;g=k;$s=-1;return[f,g];case 2:if((m=(new $Int64(0,e.$length)),n=h.readLimit,(m.$high>n.$high||(m.$high===n.$high&&m.$low>n.$low)))){e=$subslice(e,0,$flatten64(h.readLimit));}p=h.conn.Read(e);$s=4;case 4:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;f=o[0];g=o[1];if($interfaceIsEqual(g,C.EOF)){h.sawEOF=true;}h.readLimit=(q=h.readLimit,r=(new $Int64(0,f)),new $Int64(q.$high-r.$high,q.$low-r.$low));$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.Read=function(e){return this.$val.Read(e);};VE.ptr.prototype.isBroken=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=!($interfaceIsEqual(e.closed,$ifaceNil));$r=e.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.isBroken};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.isBroken=function(){return this.$val.isBroken();};VE.ptr.prototype.canceled=function(){var $ptr,e,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);$s=-1;return e.canceledErr;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.canceled};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.canceled=function(){return this.$val.canceled();};VE.ptr.prototype.isReused=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=e.reused;$r=e.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.isReused};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.isReused=function(){return this.$val.isReused();};VE.ptr.prototype.gotIdleConnTrace=function(e){var $ptr,e,f,g,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=new AC.GotConnInfo.ptr($ifaceNil,false,false,new Q.Duration(0,0));g=this;$r=g.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(g.mu,\"Unlock\"),[]]);f.Reused=g.reused;f.Conn=g.conn;f.WasIdle=true;if(!$clone(e,Q.Time).IsZero()){f.IdleTime=Q.Since($clone(e,Q.Time));}$s=-1;return f;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return f;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.gotIdleConnTrace};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.gotIdleConnTrace=function(e){return this.$val.gotIdleConnTrace(e);};VE.ptr.prototype.cancelRequest=function(e){var $ptr,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.mu,\"Unlock\"),[]]);f.canceledErr=e;$r=f.closeLocked(VL);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.cancelRequest};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.cancelRequest=function(e){return this.$val.cancelRequest(e);};VE.ptr.prototype.closeConnIfStillIdle=function(){var $ptr,e,f,g,h,i,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;f=e.t;$r=f.idleMu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.idleMu,\"Unlock\"),[]]);g=(h=f.idleLRU.m[ABT.keyFor(e)],h!==undefined?[h.v,true]:[ABW.nil,false]);i=g[1];if(!i){$s=-1;return;}f.removeIdleConnLocked(e);$r=e.close(UW);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.closeConnIfStillIdle};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.closeConnIfStillIdle=function(){return this.$val.closeConnIfStillIdle();};VE.ptr.prototype.mapRoundTripErrorFromReadLoop=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=$ifaceNil;i=this;if($interfaceIsEqual(g,$ifaceNil)){h=$ifaceNil;$s=-1;return h;}j=i.canceled();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(!($interfaceIsEqual(k,$ifaceNil))){h=k;$s=-1;return h;}if($interfaceIsEqual(g,UV)){h=g;$s=-1;return h;}l=$assertType(g,UY,true);m=l[1];if(m){h=g;$s=-1;return h;}n=i.isBroken();$s=4;case 4:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}if(n){$s=2;continue;}$s=3;continue;case 2:o=$recv(i.writeLoopDone);$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o[0];if((p=i.nwrite,(p.$high===f.$high&&p.$low===f.$low))&&(q=e.outgoingLength(),(q.$high===0&&q.$low===0))){h=(r=new VF.ptr(g),new r.constructor.elem(r));$s=-1;return h;}case 3:h=g;$s=-1;return h;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.mapRoundTripErrorFromReadLoop};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.mapRoundTripErrorFromReadLoop=function(e,f,g){return this.$val.mapRoundTripErrorFromReadLoop(e,f,g);};VE.ptr.prototype.mapRoundTripErrorAfterClosed=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=this;h=g.canceled();$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return i;}j=g.closed;if($interfaceIsEqual(j,UV)){$s=-1;return j;}k=$assertType(j,UY,true);l=k[1];if(l){$s=-1;return j;}m=$recv(g.writeLoopDone);$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m[0];if((n=g.nwrite,(n.$high===f.$high&&n.$low===f.$low))&&(o=e.outgoingLength(),(o.$high===0&&o.$low===0))){$s=-1;return(p=new VF.ptr(j),new p.constructor.elem(p));}q=B.Errorf(\"net/http: HTTP/1.x transport connection broken: %v\",new WH([j]));$s=3;case 3:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.mapRoundTripErrorAfterClosed};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.mapRoundTripErrorAfterClosed=function(e,f){return this.$val.mapRoundTripErrorAfterClosed(e,f);};VE.ptr.prototype.readLoop=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=[e];f=[f];g=[g];g[0]=this;e[0]=UU;$deferred.push([(function(e,f,g){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=g[0].close(e[0]);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g[0].t.removeIdleConn(g[0]);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g),[]]);h=(function(e,f,g){return function $b(h){var $ptr,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=g[0].t.tryPutIdleConn(g[0]);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(j,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:e[0]=j;if(!(h===ZD.nil)&&!(h.PutIdleConn===$throwNilPointerError)&&!($interfaceIsEqual(j,UO))){$s=4;continue;}$s=5;continue;case 4:$r=h.PutIdleConn(j);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:$s=-1;return false;case 3:if(!(h===ZD.nil)&&!(h.PutIdleConn===$throwNilPointerError)){$s=7;continue;}$s=8;continue;case 7:$r=h.PutIdleConn($ifaceNil);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:$s=-1;return true;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g);f[0]=new $Chan(XP,0);$deferred.push([function(i){$close(i);},[f[0]]]);$r=VT.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=VU;$r=VT.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;case 3:if(!(k)){$s=4;continue;}l=[l];g[0].readLimit=g[0].maxHeaderResponseSize();n=g[0].br.Peek(1);$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[1];$r=g[0].mu.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(g[0].numExpectedResponses===0){$s=7;continue;}$s=8;continue;case 7:$r=g[0].readLoopPeekFailLocked(o);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=g[0].mu.Unlock();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 8:$r=g[0].mu.Unlock();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p=$recv(g[0].reqch);$s=12;case 12:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=$clone(p[0],VH);r=AC.ContextClientTrace(q.req.Context());$s=13;case 13:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=XH.nil;if($interfaceIsEqual(o,$ifaceNil)){$s=14;continue;}$s=15;continue;case 14:v=g[0].readResponse($clone(q,VH),s);$s=17;case 17:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;t=u[0];o=u[1];$s=16;continue;case 15:o=(w=new UY.ptr(o),new w.constructor.elem(w));e[0]=o;case 16:if(!($interfaceIsEqual(o,$ifaceNil))){$s=18;continue;}$s=19;continue;case 18:if((x=g[0].readLimit,(x.$high<0||(x.$high===0&&x.$low<=0)))){$s=20;continue;}$s=21;continue;case 20:y=B.Errorf(\"net/http: server response headers exceeded %d bytes; aborted\",new WH([g[0].maxHeaderResponseSize()]));$s=22;case 22:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}o=y;case 21:z=g[0].shouldRetryRequest(q.req,o);$s=25;case 25:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}if(!z){$s=23;continue;}$s=24;continue;case 23:$r=g[0].t.setReqCanceler(q.req,$throwNilPointerError);$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:ab=$select([[q.ch,new VG.ptr(XH.nil,o)],[q.callerGone]]);$s=27;case 27:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}aa=ab;if(aa[0]===0){}else if(aa[0]===1){$s=-1;return;}$s=-1;return;case 19:g[0].readLimit=new $Int64(2147483647,4294967295);$r=g[0].mu.Lock();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g[0].numExpectedResponses=g[0].numExpectedResponses-(1)>>0;$r=g[0].mu.Unlock();$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ad=!(q.req.Method===\"HEAD\")&&!((ac=t.ContentLength,(ac.$high===0&&ac.$low===0)));if(t.Close||q.req.Close||t.StatusCode<=199){k=false;}if(!ad){$s=30;continue;}$s=31;continue;case 30:$r=g[0].t.setReqCanceler(q.req,$throwNilPointerError);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(k&&!g[0].sawEOF)){af=false;$s=34;continue s;}ag=g[0].wroteRequest();$s=35;case 35:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;case 34:if(!(af)){ae=false;$s=33;continue s;}ah=h(s);$s=36;case 36:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ae=ah;case 33:k=ae;aj=$select([[q.ch,new VG.ptr(t,$ifaceNil)],[q.callerGone]]);$s=37;case 37:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ai=aj;if(ai[0]===0){}else if(ai[0]===1){$s=-1;return;}$r=j();$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 31:l[0]=new $Chan($Bool,2);ak=new VX.ptr(t.Body,new P.Mutex.ptr(0,0),false,$ifaceNil,(function(e,f,g,l){return function $b(ak){var $ptr,ak,al,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:al=$interfaceIsEqual(ak,C.EOF);$r=$send(l[0],al);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(al){$s=2;continue;}if(!($interfaceIsEqual(ak,$ifaceNil))){$s=3;continue;}$s=4;continue;case 2:am=$recv(f[0]);$s=5;case 5:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}am[0];$s=4;continue;case 3:an=g[0].canceled();$s=6;case 6:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}ao=an;if(!($interfaceIsEqual(ao,$ifaceNil))){$s=-1;return ao;}case 4:$s=-1;return ak;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g,l),(function(e,f,g,l){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(l[0],false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(e,f,g,l));t.Body=ak;if(q.addedGzip&&new NO(t.Header).Get(\"Content-Encoding\")===\"gzip\"){t.Body=new VZ.ptr(ak,AAI.nil,$ifaceNil);new NO(t.Header).Del(\"Content-Encoding\");new NO(t.Header).Del(\"Content-Length\");t.ContentLength=new $Int64(-1,4294967295);t.Uncompressed=true;}am=$select([[q.ch,new VG.ptr(t,$ifaceNil)],[q.callerGone]]);$s=39;case 39:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}al=am;if(al[0]===0){}else if(al[0]===1){$s=-1;return;}ao=q.req.Context().Done();$s=40;case 40:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=$select([[l[0]],[q.req.Cancel],[ao],[g[0].closech]]);$s=41;case 41:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}an=ap;if(an[0]===0){$s=42;continue;}if(an[0]===1){$s=43;continue;}if(an[0]===2){$s=44;continue;}if(an[0]===3){$s=45;continue;}$s=46;continue;case 42:aq=an[1][0];$r=g[0].t.setReqCanceler(q.req,$throwNilPointerError);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(k&&aq&&!g[0].sawEOF)){as=false;$s=49;continue s;}at=g[0].wroteRequest();$s=50;case 50:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}as=at;case 49:if(!(as)){ar=false;$s=48;continue s;}au=h(s);$s=51;case 51:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}ar=au;case 48:k=ar;if(aq){$s=52;continue;}$s=53;continue;case 52:$r=$send(f[0],$clone(new XP.ptr(),XP));$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 53:$s=46;continue;case 43:k=false;$r=g[0].t.CancelRequest(q.req);$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 44:k=false;av=q.req;aw=q.req.Context().Err();$s=56;case 56:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;$r=g[0].t.cancelRequest(av,ax);$s=57;case 57:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=46;continue;case 45:k=false;case 46:$r=j();$s=58;case 58:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=3;continue;case 4:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.readLoop};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.readLoop=function(){return this.$val.readLoop();};VE.ptr.prototype.readLoopPeekFailLocked=function(e){var $ptr,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(!($interfaceIsEqual(f.closed,$ifaceNil))){$s=-1;return;}g=f.br.Buffered();if(g>0){$s=1;continue;}$s=2;continue;case 1:i=f.br.Peek(g);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;j=h[0];$r=L.Printf(\"Unsolicited response received on idle HTTP channel starting with %q; err=%v\",new WH([j,e]));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if($interfaceIsEqual(e,C.EOF)){$s=5;continue;}$s=6;continue;case 5:$r=f.closeLocked(UV);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=7;continue;case 6:k=B.Errorf(\"readLoopPeekFailLocked: %v\",new WH([e]));$s=9;case 9:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=f.closeLocked(k);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.readLoopPeekFailLocked};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.readLoopPeekFailLocked=function(e){return this.$val.readLoopPeekFailLocked(e);};VE.ptr.prototype.readResponse=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=XH.nil;h=$ifaceNil;i=this;if(!(f===ZD.nil)&&!(f.GotFirstResponseByte===$throwNilPointerError)){$s=1;continue;}$s=2;continue;case 1:k=i.br.Peek(1);$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];m=j[1];if($interfaceIsEqual(m,$ifaceNil)&&(l.$length===1)){$s=4;continue;}$s=5;continue;case 4:$r=f.GotFirstResponseByte();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:case 2:o=PN(i.br,e.req);$s=7;case 7:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;g=n[0];h=n[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}if(!(e.continueCh===$chanNil)){$s=8;continue;}$s=9;continue;case 8:if(g.StatusCode===100){$s=10;continue;}$s=11;continue;case 10:if(!(f===ZD.nil)&&!(f.Got100Continue===$throwNilPointerError)){$s=13;continue;}$s=14;continue;case 13:$r=f.Got100Continue();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 14:$r=$send(e.continueCh,$clone(new XP.ptr(),XP));$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=12;continue;case 11:$close(e.continueCh);case 12:case 9:if(g.StatusCode===100){$s=17;continue;}$s=18;continue;case 17:i.readLimit=i.maxHeaderResponseSize();q=PN(i.br,e.req);$s=19;case 19:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;g=p[0];h=p[1];if(!($interfaceIsEqual(h,$ifaceNil))){$s=-1;return[g,h];}case 18:g.TLS=i.tlsState;$s=-1;return[g,h];}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.readResponse};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.readResponse=function(e,f){return this.$val.readResponse(e,f);};VE.ptr.prototype.waitForContinue=function(e){var $ptr,e,f;f=this;if(e===$chanNil){return $throwNilPointerError;}return(function $b(){var $ptr,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);g=Q.NewTimer(f.t.ExpectContinueTimeout);$deferred.push([$methodVal(g,\"Stop\"),[]]);i=$select([[e],[g.C],[f.closech]]);$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;if(h[0]===0){j=h[1];k=j[1];$s=-1;return k;}else if(h[0]===1){$s=-1;return true;}else if(h[0]===2){$s=-1;return false;}$s=-1;return false;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}});};VE.prototype.waitForContinue=function(e){return this.$val.waitForContinue(e);};VE.ptr.prototype.writeLoop=function(){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$deferred.push([function(f){$close(f);},[e.writeLoopDone]]);case 1:h=$select([[e.writech],[e.closech]]);$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;if(g[0]===0){$s=4;continue;}if(g[0]===1){$s=5;continue;}$s=6;continue;case 4:i=$clone(g[1][0],VI);j=e.nwrite;k=i.req.Request.write(e.bw,e.isProxy,i.req.extra,e.waitForContinue(i.continueCh));$s=7;case 7:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;if($interfaceIsEqual(l,$ifaceNil)){$s=8;continue;}$s=9;continue;case 8:m=e.bw.Flush();$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;case 9:if(!($interfaceIsEqual(l,$ifaceNil))){$s=11;continue;}$s=12;continue;case 11:$r=i.req.Request.closeBody();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if((n=e.nwrite,(n.$high===j.$high&&n.$low===j.$low))&&(o=i.req.Request.outgoingLength(),(o.$high===0&&o.$low===0))){l=(p=new VF.ptr(l),new p.constructor.elem(p));}case 12:$r=$send(e.writeErrCh,l);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=$send(i.ch,l);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(l,$ifaceNil))){$s=16;continue;}$s=17;continue;case 16:$r=e.close(l);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 17:$s=6;continue;case 5:$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.writeLoop};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.writeLoop=function(){return this.$val.writeLoop();};VE.ptr.prototype.wroteRequest=function(){var $ptr,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=$select([[e.writeErrCh],[]]);if(f[0]===0){$s=1;continue;}if(f[0]===1){$s=2;continue;}$s=3;continue;case 1:g=f[1][0];$s=-1;return $interfaceIsEqual(g,$ifaceNil);case 2:i=$select([[e.writeErrCh],[Q.After(new Q.Duration(0,50000000))]]);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;if(h[0]===0){j=h[1][0];$s=-1;return $interfaceIsEqual(j,$ifaceNil);}else if(h[0]===1){$s=-1;return false;}case 3:$s=-1;return false;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.wroteRequest};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.wroteRequest=function(){return this.$val.wroteRequest();};VJ.ptr.prototype.Error=function(){var $ptr,e;e=this;return e.err;};VJ.prototype.Error=function(){return this.$val.Error();};VJ.ptr.prototype.Timeout=function(){var $ptr,e;e=this;return e.timeout;};VJ.prototype.Timeout=function(){return this.$val.Timeout();};VJ.ptr.prototype.Temporary=function(){var $ptr,e;e=this;return true;};VJ.prototype.Temporary=function(){return this.$val.Temporary();};VN=function(){var $ptr;};VE.ptr.prototype.roundTrip=function(e){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=XH.nil;g=$ifaceNil;h=this;$r=VO();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=h.t.replaceReqCanceler(e.Request,$methodVal(h,\"cancelRequest\"));$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=2;continue;}$s=3;continue;case 2:$r=h.t.putOrCloseIdleConn(h);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=XH.nil;k=VL;f=j;g=k;$s=-1;return[f,g];case 3:$r=h.mu.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h.numExpectedResponses=h.numExpectedResponses+(1)>>0;l=h.mutateHeaderFunc;$r=h.mu.Unlock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!(l===$throwNilPointerError)){$s=8;continue;}$s=9;continue;case 8:$r=l(e.extraHeaders());$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:m=false;if(!h.t.DisableCompression&&new NO(e.Request.Header).Get(\"Accept-Encoding\")===\"\"&&new NO(e.Request.Header).Get(\"Range\")===\"\"&&!(e.Request.Method===\"HEAD\")){m=true;new NO(e.extraHeaders()).Set(\"Accept-Encoding\",\"gzip\");}n=$chanNil;if(e.Request.ProtoAtLeast(1,1)&&!($interfaceIsEqual(e.Request.Body,$ifaceNil))&&e.Request.expectsContinue()){n=new $Chan(XP,1);}if(h.t.DisableKeepAlives){new NO(e.extraHeaders()).Set(\"Connection\",\"close\");}o=new $Chan(XP,0);$deferred.push([function(p){$close(p);},[o]]);q=h.nwrite;r=new $Chan($error,1);$r=$send(h.writech,$clone(new VI.ptr(e,r,n),VI));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}s=new $Chan(VG,0);$r=$send(h.reqch,$clone(new VH.ptr(e.Request,s,m,n,o),VH));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=new VG.ptr(XH.nil,$ifaceNil);u=$chanNil;v=e.Request.Cancel;w=e.Request.Context().Done();$s=13;case 13:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;case 14:$r=VP();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}z=$select([[r],[h.closech],[u],[s],[v],[x]]);$s=17;case 17:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}y=z;if(y[0]===0){$s=18;continue;}if(y[0]===1){$s=19;continue;}if(y[0]===2){$s=20;continue;}if(y[0]===3){$s=21;continue;}if(y[0]===4){$s=22;continue;}if(y[0]===5){$s=23;continue;}$s=24;continue;case 18:aa=y[1][0];if(!($interfaceIsEqual(aa,$ifaceNil))){$s=25;continue;}$s=26;continue;case 25:ab=h.canceled();$s=27;case 27:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;if(!($interfaceIsEqual(ac,$ifaceNil))){aa=ac;}VG.copy(t,new VG.ptr(XH.nil,aa));ad=B.Errorf(\"write error: %v\",new WH([aa]));$s=28;case 28:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}$r=h.close(ad);$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=15;continue s;case 26:ae=h.t.ResponseHeaderTimeout;if((ae.$high>0||(ae.$high===0&&ae.$low>0))){af=Q.NewTimer(ae);$deferred.push([$methodVal(af,\"Stop\"),[]]);u=af.C;}$s=24;continue;case 19:ag=h.mapRoundTripErrorAfterClosed(e.Request,q);$s=30;case 30:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}VG.copy(t,new VG.ptr(XH.nil,ag));$s=15;continue s;$s=24;continue;case 20:$r=h.close(VK);$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}VG.copy(t,new VG.ptr(XH.nil,VK));$s=15;continue s;$s=24;continue;case 21:VG.copy(t,y[1][0]);ah=h.mapRoundTripErrorFromReadLoop(e.Request,q,t.err);$s=32;case 32:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}t.err=ah;$s=15;continue s;$s=24;continue;case 22:$r=h.t.CancelRequest(e.Request);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=$chanNil;$s=24;continue;case 23:ai=e.Request;aj=e.Request.Context().Err();$s=34;case 34:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ak=aj;$r=h.t.cancelRequest(ai,ak);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}v=$chanNil;x=$chanNil;case 24:$s=14;continue;case 15:if(!($interfaceIsEqual(t.err,$ifaceNil))){$s=36;continue;}$s=37;continue;case 36:$r=h.t.setReqCanceler(e.Request,$throwNilPointerError);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 37:if((t.res===XH.nil)===($interfaceIsEqual(t.err,$ifaceNil))){$panic(new $String(\"internal error: exactly one of res or err should be set\"));}al=t.res;am=t.err;f=al;g=am;$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.roundTrip};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.roundTrip=function(e){return this.$val.roundTrip(e);};VE.ptr.prototype.markReused=function(){var $ptr,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.reused=true;$r=e.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.markReused};}$f.$ptr=$ptr;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.markReused=function(){return this.$val.markReused();};VE.ptr.prototype.close=function(e){var $ptr,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=this;$r=f.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(f.mu,\"Unlock\"),[]]);$r=f.closeLocked(e);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:VE.ptr.prototype.close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VE.prototype.close=function(e){return this.$val.close(e);};VE.ptr.prototype.closeLocked=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if($interfaceIsEqual(e,$ifaceNil)){$panic(new $String(\"nil error\"));}f.broken=true;if($interfaceIsEqual(f.closed,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:f.closed=e;if(!($interfaceIsEqual(f.alt,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$s=5;continue;case 4:g=f.conn.Close();$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$close(f.closech);case 5:case 2:f.mutateHeaderFunc=$throwNilPointerError;$s=-1;return;}return;}if($f===undefined){$f={$blk:VE.ptr.prototype.closeLocked};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};VE.prototype.closeLocked=function(e){return this.$val.closeLocked(e);};VW=function(e){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=e.Hostname();h=OT(f);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;i=g[0];j=g[1];if($interfaceIsEqual(j,$ifaceNil)){f=i;}k=e.Port();if(k===\"\"){k=(l=VV[$String.keyFor(e.Scheme)],l!==undefined?l.v:\"\");}$s=-1;return R.JoinHostPort(f,k);}return;}if($f===undefined){$f={$blk:VW};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};VX.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);f=0;g=$ifaceNil;h=this;$r=h.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=h.closed;j=h.rerr;k=i;l=j;$r=h.mu.Unlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(k){m=0;n=VY;f=m;g=n;$s=-1;return[f,g];}if(!($interfaceIsEqual(l,$ifaceNil))){o=0;p=l;f=o;g=p;$s=-1;return[f,g];}r=h.body.Read(e);$s=3;case 3:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;f=q[0];g=q[1];if(!($interfaceIsEqual(g,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:$r=h.mu.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(h.mu,\"Unlock\"),[]]);if($interfaceIsEqual(h.rerr,$ifaceNil)){h.rerr=g;}s=h.condfn(g);$s=7;case 7:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}g=s;case 5:$s=-1;return[f,g];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[f,g];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:VX.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VX.prototype.Read=function(e){return this.$val.Read(e);};VX.ptr.prototype.Close=function(){var $ptr,e,f,g,h,i,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);e=this;$r=e.mu.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(e.mu,\"Unlock\"),[]]);if(e.closed){$s=-1;return $ifaceNil;}e.closed=true;if(!(e.earlyCloseFn===$throwNilPointerError)&&!($interfaceIsEqual(e.rerr,C.EOF))){$s=2;continue;}$s=3;continue;case 2:f=e.earlyCloseFn();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;case 3:g=e.body.Close();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=e.condfn(h);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}$s=-1;return i;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:VX.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};VX.prototype.Close=function(){return this.$val.Close();};VX.ptr.prototype.condfn=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=this;if(f.fn===$throwNilPointerError){$s=-1;return e;}g=f.fn(e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=g;f.fn=$throwNilPointerError;$s=-1;return e;}return;}if($f===undefined){$f={$blk:VX.ptr.prototype.condfn};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};VX.prototype.condfn=function(e){return this.$val.condfn(e);};VZ.ptr.prototype.Read=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=0;g=$ifaceNil;h=this;if(h.zr===AAI.nil){$s=1;continue;}$s=2;continue;case 1:if($interfaceIsEqual(h.zerr,$ifaceNil)){$s=3;continue;}$s=4;continue;case 3:j=X.NewReader(h.body);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;h.zr=i[0];h.zerr=i[1];case 4:if(!($interfaceIsEqual(h.zerr,$ifaceNil))){k=0;l=h.zerr;f=k;g=l;$s=-1;return[f,g];}case 2:$r=h.body.mu.Lock();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(h.body.closed){g=VY;}$r=h.body.mu.Unlock();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(g,$ifaceNil))){m=0;n=g;f=m;g=n;$s=-1;return[f,g];}p=h.zr.Read(e);$s=8;case 8:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;f=o[0];g=o[1];$s=-1;return[f,g];}return;}if($f===undefined){$f={$blk:VZ.ptr.prototype.Read};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};VZ.prototype.Read=function(e){return this.$val.Read(e);};VZ.ptr.prototype.Close=function(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;f=e.body.Close();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:VZ.ptr.prototype.Close};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};VZ.prototype.Close=function(){return this.$val.Close();};WB.ptr.prototype.Timeout=function(){var $ptr;return true;};WB.prototype.Timeout=function(){return this.$val.Timeout();};WB.ptr.prototype.Temporary=function(){var $ptr;return true;};WB.prototype.Temporary=function(){return this.$val.Temporary();};WB.ptr.prototype.Error=function(){var $ptr;return\"net/http: TLS handshake timeout\";};WB.prototype.Error=function(){return this.$val.Error();};WC.ptr.prototype.Lock=function(){var $ptr;};WC.prototype.Lock=function(){return this.$val.Lock();};WC.ptr.prototype.Unlock=function(){var $ptr;};WC.prototype.Unlock=function(){return this.$val.Unlock();};WD=function(e){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===XD.nil){$s=-1;return new J.Config.ptr($ifaceNil,$throwNilPointerError,YG.nil,false,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,$throwNilPointerError,YH.nil,WN.nil,\"\",0,YH.nil,false,YI.nil,false,false,YJ.zero(),$ifaceNil,0,0,YK.nil,false,0,$ifaceNil,new P.Once.ptr(new P.Mutex.ptr(0,0),0),new P.RWMutex.ptr(new P.Mutex.ptr(0,0),0,0,0,0),YL.nil,XD.nil);}f=e.Clone();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:WD};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};WE.ptr.prototype.add=function(e){var $ptr,e,f,g,h,i,j,k;f=this;if(f.ll===XC.nil){f.ll=AN.New();f.m={};}g=f.ll.PushFront(e);h=(i=f.m[ABT.keyFor(e)],i!==undefined?[i.v,true]:[ABW.nil,false]);j=h[1];if(j){$panic(new $String(\"persistConn was already in LRU\"));}k=e;(f.m||$throwRuntimeError(\"assignment to entry in nil map\"))[ABT.keyFor(k)]={k:k,v:g};};WE.prototype.add=function(e){return this.$val.add(e);};WE.ptr.prototype.removeOldest=function(){var $ptr,e,f,g;e=this;f=e.ll.Back();g=$assertType(f.Value,ABT);e.ll.Remove(f);delete e.m[ABT.keyFor(g)];return g;};WE.prototype.removeOldest=function(){return this.$val.removeOldest();};WE.ptr.prototype.remove=function(e){var $ptr,e,f,g,h,i,j;f=this;g=(h=f.m[ABT.keyFor(e)],h!==undefined?[h.v,true]:[ABW.nil,false]);i=g[0];j=g[1];if(j){f.ll.Remove(i);delete f.m[ABT.keyFor(e)];}};WE.prototype.remove=function(e){return this.$val.remove(e);};WE.ptr.prototype.len=function(){var $ptr,e;e=this;return $keys(e.m).length;};WE.prototype.len=function(){return this.$val.len();};WF=function(e){var $ptr,e,f,g,h;f=(new WP($stringToBytes(e)));g=0;while(true){if(!(g<f.$length)){break;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h<48||h>57){return false;}g++;}return true;};ABY.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];ABZ.methods=[{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)}];AQ.methods=[{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)}];ACA.methods=[{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)},{prop:\"CancelRequest\",name:\"CancelRequest\",pkg:\"\",typ:$funcType([WT],[],false)}];ACE.methods=[{prop:\"send\",name:\"send\",pkg:\"net/http\",typ:$funcType([WT,Q.Time],[XH,ACC,$error],false)},{prop:\"deadline\",name:\"deadline\",pkg:\"net/http\",typ:$funcType([],[Q.Time],false)},{prop:\"transport\",name:\"transport\",pkg:\"net/http\",typ:$funcType([],[AT],false)},{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[XH,$error],false)},{prop:\"checkRedirect\",name:\"checkRedirect\",pkg:\"net/http\",typ:$funcType([WT,XT],[$error],false)},{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)},{prop:\"makeHeadersCopier\",name:\"makeHeadersCopier\",pkg:\"net/http\",typ:$funcType([WT],[ACD],false)},{prop:\"Post\",name:\"Post\",pkg:\"\",typ:$funcType([$String,$String,C.Reader],[XH,$error],false)},{prop:\"PostForm\",name:\"PostForm\",pkg:\"\",typ:$funcType([$String,M.Values],[XH,$error],false)},{prop:\"Head\",name:\"Head\",pkg:\"\",typ:$funcType([$String],[XH,$error],false)}];ACG.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];XV.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];WO.methods=[{prop:\"GetClientConn\",name:\"GetClientConn\",pkg:\"\",typ:$funcType([WT,$String],[YC,$error],false)},{prop:\"getClientConn\",name:\"getClientConn\",pkg:\"net/http\",typ:$funcType([WT,$String,$Bool],[YC,$error],false)},{prop:\"getStartDialLocked\",name:\"getStartDialLocked\",pkg:\"net/http\",typ:$funcType([$String],[YE],false)},{prop:\"addConnIfNeeded\",name:\"addConnIfNeeded\",pkg:\"net/http\",typ:$funcType([$String,XE,ABP],[$Bool,$error],false)},{prop:\"addConn\",name:\"addConn\",pkg:\"net/http\",typ:$funcType([$String,YC],[],false)},{prop:\"addConnLocked\",name:\"addConnLocked\",pkg:\"net/http\",typ:$funcType([$String,YC],[],false)},{prop:\"MarkDead\",name:\"MarkDead\",pkg:\"\",typ:$funcType([YC],[],false)},{prop:\"closeIdleConnections\",name:\"closeIdleConnections\",pkg:\"net/http\",typ:$funcType([],[],false)}];YE.methods=[{prop:\"dial\",name:\"dial\",pkg:\"net/http\",typ:$funcType([$String],[],false)}];YF.methods=[{prop:\"run\",name:\"run\",pkg:\"net/http\",typ:$funcType([XE,$String,ABP],[],false)}];DR.methods=[{prop:\"GetClientConn\",name:\"GetClientConn\",pkg:\"\",typ:$funcType([WT,$String],[YC,$error],false)}];DU.methods=[{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)}];DV.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];DX.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DY.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];EA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];EB.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];EC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];ED.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];EE.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];EF.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];ACQ.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];YM.methods=[{prop:\"setConnFlow\",name:\"setConnFlow\",pkg:\"net/http\",typ:$funcType([YM],[],false)},{prop:\"available\",name:\"available\",pkg:\"net/http\",typ:$funcType([],[$Int32],false)},{prop:\"take\",name:\"take\",pkg:\"net/http\",typ:$funcType([$Int32],[],false)},{prop:\"add\",name:\"add\",pkg:\"net/http\",typ:$funcType([$Int32],[$Bool],false)}];EN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];EP.methods=[{prop:\"Has\",name:\"Has\",pkg:\"\",typ:$funcType([EP],[$Bool],false)}];EU.methods=[{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[EU],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"writeDebug\",name:\"writeDebug\",pkg:\"net/http\",typ:$funcType([YQ],[],false)}];ACR.methods=[{prop:\"checkValid\",name:\"checkValid\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"invalidate\",name:\"invalidate\",pkg:\"net/http\",typ:$funcType([],[],false)}];YN.methods=[{prop:\"maxHeaderListSize\",name:\"maxHeaderListSize\",pkg:\"net/http\",typ:$funcType([],[$Uint32],false)},{prop:\"startWrite\",name:\"startWrite\",pkg:\"net/http\",typ:$funcType([EN,EP,$Uint32],[],false)},{prop:\"endWrite\",name:\"endWrite\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"logWrite\",name:\"logWrite\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"writeByte\",name:\"writeByte\",pkg:\"net/http\",typ:$funcType([$Uint8],[],false)},{prop:\"writeBytes\",name:\"writeBytes\",pkg:\"net/http\",typ:$funcType([WP],[],false)},{prop:\"writeUint16\",name:\"writeUint16\",pkg:\"net/http\",typ:$funcType([$Uint16],[],false)},{prop:\"writeUint32\",name:\"writeUint32\",pkg:\"net/http\",typ:$funcType([$Uint32],[],false)},{prop:\"SetMaxReadFrameSize\",name:\"SetMaxReadFrameSize\",pkg:\"\",typ:$funcType([$Uint32],[],false)},{prop:\"ErrorDetail\",name:\"ErrorDetail\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ReadFrame\",name:\"ReadFrame\",pkg:\"\",typ:$funcType([],[EY,$error],false)},{prop:\"connError\",name:\"connError\",pkg:\"net/http\",typ:$funcType([DV,$String],[$error],false)},{prop:\"checkFrameOrder\",name:\"checkFrameOrder\",pkg:\"net/http\",typ:$funcType([EY],[$error],false)},{prop:\"WriteData\",name:\"WriteData\",pkg:\"\",typ:$funcType([$Uint32,$Bool,WP],[$error],false)},{prop:\"WriteDataPadded\",name:\"WriteDataPadded\",pkg:\"\",typ:$funcType([$Uint32,$Bool,WP,WP],[$error],false)},{prop:\"WriteSettings\",name:\"WriteSettings\",pkg:\"\",typ:$funcType([AAF],[$error],true)},{prop:\"WriteSettingsAck\",name:\"WriteSettingsAck\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"WritePing\",name:\"WritePing\",pkg:\"\",typ:$funcType([$Bool,YS],[$error],false)},{prop:\"WriteGoAway\",name:\"WriteGoAway\",pkg:\"\",typ:$funcType([$Uint32,DV,WP],[$error],false)},{prop:\"WriteWindowUpdate\",name:\"WriteWindowUpdate\",pkg:\"\",typ:$funcType([$Uint32,$Uint32],[$error],false)},{prop:\"WriteHeaders\",name:\"WriteHeaders\",pkg:\"\",typ:$funcType([FW],[$error],false)},{prop:\"WritePriority\",name:\"WritePriority\",pkg:\"\",typ:$funcType([$Uint32,FY],[$error],false)},{prop:\"WriteRSTStream\",name:\"WriteRSTStream\",pkg:\"\",typ:$funcType([$Uint32,DV],[$error],false)},{prop:\"WriteContinuation\",name:\"WriteContinuation\",pkg:\"\",typ:$funcType([$Uint32,$Bool,WP],[$error],false)},{prop:\"WritePushPromise\",name:\"WritePushPromise\",pkg:\"\",typ:$funcType([GG],[$error],false)},{prop:\"WriteRawFrame\",name:\"WriteRawFrame\",pkg:\"\",typ:$funcType([EN,EP,$Uint32,WP],[$error],false)},{prop:\"maxHeaderStringLen\",name:\"maxHeaderStringLen\",pkg:\"net/http\",typ:$funcType([],[$Int],false)},{prop:\"readMetaFrame\",name:\"readMetaFrame\",pkg:\"net/http\",typ:$funcType([YR],[YU,$error],false)}];YX.methods=[{prop:\"StreamEnded\",name:\"StreamEnded\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Data\",name:\"Data\",pkg:\"\",typ:$funcType([],[WP],false)}];YW.methods=[{prop:\"IsAck\",name:\"IsAck\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Value\",name:\"Value\",pkg:\"\",typ:$funcType([IE],[$Uint32,$Bool],false)},{prop:\"ForeachSetting\",name:\"ForeachSetting\",pkg:\"\",typ:$funcType([ACU],[$error],false)}];YZ.methods=[{prop:\"IsAck\",name:\"IsAck\",pkg:\"\",typ:$funcType([],[$Bool],false)}];ZA.methods=[{prop:\"DebugData\",name:\"DebugData\",pkg:\"\",typ:$funcType([],[WP],false)}];ACV.methods=[{prop:\"Payload\",name:\"Payload\",pkg:\"\",typ:$funcType([],[WP],false)}];YR.methods=[{prop:\"HeaderBlockFragment\",name:\"HeaderBlockFragment\",pkg:\"\",typ:$funcType([],[WP],false)},{prop:\"HeadersEnded\",name:\"HeadersEnded\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"StreamEnded\",name:\"StreamEnded\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"HasPriority\",name:\"HasPriority\",pkg:\"\",typ:$funcType([],[$Bool],false)}];FY.methods=[{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)}];YV.methods=[{prop:\"HeaderBlockFragment\",name:\"HeaderBlockFragment\",pkg:\"\",typ:$funcType([],[WP],false)},{prop:\"HeadersEnded\",name:\"HeadersEnded\",pkg:\"\",typ:$funcType([],[$Bool],false)}];ZW.methods=[{prop:\"HeaderBlockFragment\",name:\"HeaderBlockFragment\",pkg:\"\",typ:$funcType([],[WP],false)},{prop:\"HeadersEnded\",name:\"HeadersEnded\",pkg:\"\",typ:$funcType([],[$Bool],false)}];YU.methods=[{prop:\"PseudoValue\",name:\"PseudoValue\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"RegularFields\",name:\"RegularFields\",pkg:\"\",typ:$funcType([],[YT],false)},{prop:\"PseudoFields\",name:\"PseudoFields\",pkg:\"\",typ:$funcType([],[YT],false)},{prop:\"checkPseudos\",name:\"checkPseudos\",pkg:\"net/http\",typ:$funcType([],[$error],false)}];HK.methods=[{prop:\"check\",name:\"check\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"checkNotOn\",name:\"checkNotOn\",pkg:\"net/http\",typ:$funcType([],[],false)}];IB.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];ID.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Valid\",name:\"Valid\",pkg:\"\",typ:$funcType([],[$error],false)}];IE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IN.methods=[{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Wait\",name:\"Wait\",pkg:\"\",typ:$funcType([],[],false)}];IO.methods=[{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Wait\",name:\"Wait\",pkg:\"\",typ:$funcType([],[],false)}];ZY.methods=[{prop:\"Init\",name:\"Init\",pkg:\"\",typ:$funcType([],[],false)}];ZK.methods=[{prop:\"Available\",name:\"Available\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Flush\",name:\"Flush\",pkg:\"\",typ:$funcType([],[$error],false)}];ADG.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];AAA.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Keys\",name:\"Keys\",pkg:\"\",typ:$funcType([NO],[WN],false)},{prop:\"SortStrings\",name:\"SortStrings\",pkg:\"\",typ:$funcType([WN],[],false)}];ZX.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"CloseWithError\",name:\"CloseWithError\",pkg:\"\",typ:$funcType([$error],[],false)},{prop:\"BreakWithError\",name:\"BreakWithError\",pkg:\"\",typ:$funcType([$error],[],false)},{prop:\"closeWithErrorAndCode\",name:\"closeWithErrorAndCode\",pkg:\"net/http\",typ:$funcType([$error,XL],[],false)},{prop:\"closeWithError\",name:\"closeWithError\",pkg:\"net/http\",typ:$funcType([ZG,$error,XL],[],false)},{prop:\"closeDoneLocked\",name:\"closeDoneLocked\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"Err\",name:\"Err\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[ACW],false)}];ZH.methods=[{prop:\"maxReadFrameSize\",name:\"maxReadFrameSize\",pkg:\"net/http\",typ:$funcType([],[$Uint32],false)},{prop:\"maxConcurrentStreams\",name:\"maxConcurrentStreams\",pkg:\"net/http\",typ:$funcType([],[$Uint32],false)},{prop:\"ServeConn\",name:\"ServeConn\",pkg:\"\",typ:$funcType([R.Conn,ZI],[],false)}];ZI.methods=[{prop:\"baseConfig\",name:\"baseConfig\",pkg:\"net/http\",typ:$funcType([],[ZC],false)},{prop:\"handler\",name:\"handler\",pkg:\"net/http\",typ:$funcType([],[PP],false)}];WV.methods=[{prop:\"rejectConn\",name:\"rejectConn\",pkg:\"net/http\",typ:$funcType([DV,$String],[],false)},{prop:\"maxHeaderListSize\",name:\"maxHeaderListSize\",pkg:\"net/http\",typ:$funcType([],[$Uint32],false)},{prop:\"curOpenStreams\",name:\"curOpenStreams\",pkg:\"net/http\",typ:$funcType([],[$Uint32],false)},{prop:\"Framer\",name:\"Framer\",pkg:\"\",typ:$funcType([],[YN],false)},{prop:\"CloseConn\",name:\"CloseConn\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Flush\",name:\"Flush\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"HeaderEncoder\",name:\"HeaderEncoder\",pkg:\"\",typ:$funcType([],[ZM,YQ],false)},{prop:\"state\",name:\"state\",pkg:\"net/http\",typ:$funcType([$Uint32],[IB,WS],false)},{prop:\"setConnState\",name:\"setConnState\",pkg:\"net/http\",typ:$funcType([SB],[],false)},{prop:\"vlogf\",name:\"vlogf\",pkg:\"net/http\",typ:$funcType([$String,WH],[],true)},{prop:\"logf\",name:\"logf\",pkg:\"net/http\",typ:$funcType([$String,WH],[],true)},{prop:\"condlogf\",name:\"condlogf\",pkg:\"net/http\",typ:$funcType([$error,$String,WH],[],true)},{prop:\"canonicalHeader\",name:\"canonicalHeader\",pkg:\"net/http\",typ:$funcType([$String],[$String],false)},{prop:\"readFrames\",name:\"readFrames\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"writeFrameAsync\",name:\"writeFrameAsync\",pkg:\"net/http\",typ:$funcType([NC],[],false)},{prop:\"closeAllStreamsOnConnClose\",name:\"closeAllStreamsOnConnClose\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"stopShutdownTimer\",name:\"stopShutdownTimer\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"notePanic\",name:\"notePanic\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"serve\",name:\"serve\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"awaitGracefulShutdown\",name:\"awaitGracefulShutdown\",pkg:\"net/http\",typ:$funcType([ACW,ACP],[],false)},{prop:\"readPreface\",name:\"readPreface\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"writeDataFromHandler\",name:\"writeDataFromHandler\",pkg:\"net/http\",typ:$funcType([WS,WP,$Bool],[$error],false)},{prop:\"writeFrameFromHandler\",name:\"writeFrameFromHandler\",pkg:\"net/http\",typ:$funcType([NC],[$error],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([NC],[],false)},{prop:\"startFrameWrite\",name:\"startFrameWrite\",pkg:\"net/http\",typ:$funcType([NC],[],false)},{prop:\"wroteFrame\",name:\"wroteFrame\",pkg:\"net/http\",typ:$funcType([JU],[],false)},{prop:\"scheduleFrameWrite\",name:\"scheduleFrameWrite\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"startGracefulShutdown\",name:\"startGracefulShutdown\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"goAway\",name:\"goAway\",pkg:\"net/http\",typ:$funcType([DV],[],false)},{prop:\"goAwayIn\",name:\"goAwayIn\",pkg:\"net/http\",typ:$funcType([DV,Q.Duration],[],false)},{prop:\"shutDownIn\",name:\"shutDownIn\",pkg:\"net/http\",typ:$funcType([Q.Duration],[],false)},{prop:\"resetStream\",name:\"resetStream\",pkg:\"net/http\",typ:$funcType([DY],[],false)},{prop:\"processFrameFromReader\",name:\"processFrameFromReader\",pkg:\"net/http\",typ:$funcType([JT],[$Bool],false)},{prop:\"processFrame\",name:\"processFrame\",pkg:\"net/http\",typ:$funcType([EY],[$error],false)},{prop:\"processPing\",name:\"processPing\",pkg:\"net/http\",typ:$funcType([YZ],[$error],false)},{prop:\"processWindowUpdate\",name:\"processWindowUpdate\",pkg:\"net/http\",typ:$funcType([YY],[$error],false)},{prop:\"processResetStream\",name:\"processResetStream\",pkg:\"net/http\",typ:$funcType([ZB],[$error],false)},{prop:\"closeStream\",name:\"closeStream\",pkg:\"net/http\",typ:$funcType([WS,$error],[],false)},{prop:\"processSettings\",name:\"processSettings\",pkg:\"net/http\",typ:$funcType([YW],[$error],false)},{prop:\"processSetting\",name:\"processSetting\",pkg:\"net/http\",typ:$funcType([ID],[$error],false)},{prop:\"processSettingInitialWindowSize\",name:\"processSettingInitialWindowSize\",pkg:\"net/http\",typ:$funcType([$Uint32],[$error],false)},{prop:\"processData\",name:\"processData\",pkg:\"net/http\",typ:$funcType([YX],[$error],false)},{prop:\"processGoAway\",name:\"processGoAway\",pkg:\"net/http\",typ:$funcType([ZA],[$error],false)},{prop:\"processHeaders\",name:\"processHeaders\",pkg:\"net/http\",typ:$funcType([YU],[$error],false)},{prop:\"processPriority\",name:\"processPriority\",pkg:\"net/http\",typ:$funcType([ZV],[$error],false)},{prop:\"newStream\",name:\"newStream\",pkg:\"net/http\",typ:$funcType([$Uint32,$Uint32,IB],[WS],false)},{prop:\"newWriterAndRequest\",name:\"newWriterAndRequest\",pkg:\"net/http\",typ:$funcType([WS,YU],[WR,WT,$error],false)},{prop:\"newWriterAndRequestNoBody\",name:\"newWriterAndRequestNoBody\",pkg:\"net/http\",typ:$funcType([WS,JZ],[WR,WT,$error],false)},{prop:\"runHandler\",name:\"runHandler\",pkg:\"net/http\",typ:$funcType([WR,WT,ADI],[],false)},{prop:\"writeHeaders\",name:\"writeHeaders\",pkg:\"net/http\",typ:$funcType([WS,ZT],[$error],false)},{prop:\"write100ContinueHeaders\",name:\"write100ContinueHeaders\",pkg:\"net/http\",typ:$funcType([WS],[],false)},{prop:\"noteBodyReadFromHandler\",name:\"noteBodyReadFromHandler\",pkg:\"net/http\",typ:$funcType([WS,$Int,$error],[],false)},{prop:\"noteBodyRead\",name:\"noteBodyRead\",pkg:\"net/http\",typ:$funcType([WS,$Int],[],false)},{prop:\"sendWindowUpdate\",name:\"sendWindowUpdate\",pkg:\"net/http\",typ:$funcType([WS,$Int],[],false)},{prop:\"sendWindowUpdate32\",name:\"sendWindowUpdate32\",pkg:\"net/http\",typ:$funcType([WS,$Int32],[],false)},{prop:\"startPush\",name:\"startPush\",pkg:\"net/http\",typ:$funcType([KN],[],false)}];WS.methods=[{prop:\"isPushed\",name:\"isPushed\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"endStream\",name:\"endStream\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"copyTrailersToHandlerRequest\",name:\"copyTrailersToHandlerRequest\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"processTrailerHeaders\",name:\"processTrailerHeaders\",pkg:\"net/http\",typ:$funcType([YU],[$error],false)}];WU.methods=[{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];WR.methods=[{prop:\"Push\",name:\"Push\",pkg:\"\",typ:$funcType([$String,ZF],[$error],false)},{prop:\"Flush\",name:\"Flush\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"CloseNotify\",name:\"CloseNotify\",pkg:\"\",typ:$funcType([],[ADT],false)},{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[NO],false)},{prop:\"WriteHeader\",name:\"WriteHeader\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"net/http\",typ:$funcType([$Int,WP,$String],[$Int,$error],false)},{prop:\"handlerDone\",name:\"handlerDone\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"push\",name:\"push\",pkg:\"net/http\",typ:$funcType([$String,KM],[$error],false)}];ZZ.methods=[{prop:\"hasTrailers\",name:\"hasTrailers\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"declareTrailer\",name:\"declareTrailer\",pkg:\"net/http\",typ:$funcType([$String],[],false)},{prop:\"writeChunk\",name:\"writeChunk\",pkg:\"net/http\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"promoteUndeclaredTrailers\",name:\"promoteUndeclaredTrailers\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"writeHeader\",name:\"writeHeader\",pkg:\"net/http\",typ:$funcType([$Int],[],false)}];KI.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];XE.methods=[{prop:\"idleConnTimeout\",name:\"idleConnTimeout\",pkg:\"net/http\",typ:$funcType([],[Q.Duration],false)},{prop:\"maxHeaderListSize\",name:\"maxHeaderListSize\",pkg:\"net/http\",typ:$funcType([],[$Uint32],false)},{prop:\"disableCompression\",name:\"disableCompression\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"connPool\",name:\"connPool\",pkg:\"net/http\",typ:$funcType([],[DL],false)},{prop:\"initConnPool\",name:\"initConnPool\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)},{prop:\"RoundTripOpt\",name:\"RoundTripOpt\",pkg:\"\",typ:$funcType([WT,LE],[XH,$error],false)},{prop:\"CloseIdleConnections\",name:\"CloseIdleConnections\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"dialClientConn\",name:\"dialClientConn\",pkg:\"net/http\",typ:$funcType([$String,$Bool],[YC,$error],false)},{prop:\"newTLSConfig\",name:\"newTLSConfig\",pkg:\"net/http\",typ:$funcType([$String],[XD],false)},{prop:\"dialTLS\",name:\"dialTLS\",pkg:\"net/http\",typ:$funcType([],[ADV],false)},{prop:\"dialTLSDefault\",name:\"dialTLSDefault\",pkg:\"net/http\",typ:$funcType([$String,$String,XD],[R.Conn,$error],false)},{prop:\"disableKeepAlives\",name:\"disableKeepAlives\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"expectContinueTimeout\",name:\"expectContinueTimeout\",pkg:\"net/http\",typ:$funcType([],[Q.Duration],false)},{prop:\"NewClientConn\",name:\"NewClientConn\",pkg:\"\",typ:$funcType([R.Conn],[YC,$error],false)},{prop:\"newClientConn\",name:\"newClientConn\",pkg:\"net/http\",typ:$funcType([R.Conn,$Bool],[YC,$error],false)},{prop:\"vlogf\",name:\"vlogf\",pkg:\"net/http\",typ:$funcType([$String,WH],[],true)},{prop:\"logf\",name:\"logf\",pkg:\"net/http\",typ:$funcType([$String,WH],[],true)},{prop:\"getBodyWriterState\",name:\"getBodyWriterState\",pkg:\"net/http\",typ:$funcType([AAH,C.Reader],[MH],false)}];YC.methods=[{prop:\"Ping\",name:\"Ping\",pkg:\"\",typ:$funcType([Y.Context],[$error],false)},{prop:\"setGoAway\",name:\"setGoAway\",pkg:\"net/http\",typ:$funcType([ZA],[],false)},{prop:\"CanTakeNewRequest\",name:\"CanTakeNewRequest\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"canTakeNewRequestLocked\",name:\"canTakeNewRequestLocked\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"onIdleTimeout\",name:\"onIdleTimeout\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"closeIfIdle\",name:\"closeIfIdle\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"frameScratchBuffer\",name:\"frameScratchBuffer\",pkg:\"net/http\",typ:$funcType([],[WP],false)},{prop:\"putFrameScratchBuffer\",name:\"putFrameScratchBuffer\",pkg:\"net/http\",typ:$funcType([WP],[],false)},{prop:\"responseHeaderTimeout\",name:\"responseHeaderTimeout\",pkg:\"net/http\",typ:$funcType([],[Q.Duration],false)},{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)},{prop:\"writeHeaders\",name:\"writeHeaders\",pkg:\"net/http\",typ:$funcType([$Uint32,$Bool,WP],[$error],false)},{prop:\"encodeHeaders\",name:\"encodeHeaders\",pkg:\"net/http\",typ:$funcType([WT,$Bool,$String,$Int64],[WP,$error],false)},{prop:\"encodeTrailers\",name:\"encodeTrailers\",pkg:\"net/http\",typ:$funcType([WT],[WP],false)},{prop:\"writeHeader\",name:\"writeHeader\",pkg:\"net/http\",typ:$funcType([$String,$String],[],false)},{prop:\"newStream\",name:\"newStream\",pkg:\"net/http\",typ:$funcType([],[AAH],false)},{prop:\"forgetStreamID\",name:\"forgetStreamID\",pkg:\"net/http\",typ:$funcType([$Uint32],[],false)},{prop:\"streamByID\",name:\"streamByID\",pkg:\"net/http\",typ:$funcType([$Uint32,$Bool],[AAH],false)},{prop:\"readLoop\",name:\"readLoop\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"ping\",name:\"ping\",pkg:\"net/http\",typ:$funcType([GQ],[$error],false)},{prop:\"writeStreamReset\",name:\"writeStreamReset\",pkg:\"net/http\",typ:$funcType([$Uint32,DV,$error],[],false)},{prop:\"logf\",name:\"logf\",pkg:\"net/http\",typ:$funcType([$String,WH],[],true)},{prop:\"vlogf\",name:\"vlogf\",pkg:\"net/http\",typ:$funcType([$String,WH],[],true)}];AAH.methods=[{prop:\"awaitRequestCancel\",name:\"awaitRequestCancel\",pkg:\"net/http\",typ:$funcType([WT],[],false)},{prop:\"cancelStream\",name:\"cancelStream\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"checkResetOrDone\",name:\"checkResetOrDone\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"abortRequestBodyWrite\",name:\"abortRequestBodyWrite\",pkg:\"net/http\",typ:$funcType([$error],[],false)},{prop:\"writeRequestBody\",name:\"writeRequestBody\",pkg:\"net/http\",typ:$funcType([C.Reader,C.Closer],[$error],false)},{prop:\"awaitFlowControl\",name:\"awaitFlowControl\",pkg:\"net/http\",typ:$funcType([$Int],[$Int32,$error],false)},{prop:\"copyTrailers\",name:\"copyTrailers\",pkg:\"net/http\",typ:$funcType([],[],false)}];LC.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];ADZ.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AEA.methods=[{prop:\"cleanup\",name:\"cleanup\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"run\",name:\"run\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"processHeaders\",name:\"processHeaders\",pkg:\"net/http\",typ:$funcType([YU],[$error],false)},{prop:\"handleResponse\",name:\"handleResponse\",pkg:\"net/http\",typ:$funcType([AAH,YU],[XH,$error],false)},{prop:\"processTrailers\",name:\"processTrailers\",pkg:\"net/http\",typ:$funcType([AAH,YU],[$error],false)},{prop:\"processData\",name:\"processData\",pkg:\"net/http\",typ:$funcType([YX],[$error],false)},{prop:\"endStream\",name:\"endStream\",pkg:\"net/http\",typ:$funcType([AAH],[],false)},{prop:\"endStreamError\",name:\"endStreamError\",pkg:\"net/http\",typ:$funcType([AAH,$error],[],false)},{prop:\"processGoAway\",name:\"processGoAway\",pkg:\"net/http\",typ:$funcType([ZA],[$error],false)},{prop:\"processSettings\",name:\"processSettings\",pkg:\"net/http\",typ:$funcType([YW],[$error],false)},{prop:\"processWindowUpdate\",name:\"processWindowUpdate\",pkg:\"net/http\",typ:$funcType([YY],[$error],false)},{prop:\"processResetStream\",name:\"processResetStream\",pkg:\"net/http\",typ:$funcType([ZB],[$error],false)},{prop:\"processPing\",name:\"processPing\",pkg:\"net/http\",typ:$funcType([YZ],[$error],false)},{prop:\"processPushPromise\",name:\"processPushPromise\",pkg:\"net/http\",typ:$funcType([ZW],[$error],false)}];LV.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];LX.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];ME.methods=[{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)}];AEB.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];MH.methods=[{prop:\"cancel\",name:\"cancel\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"on100\",name:\"on100\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"scheduleBodyWrite\",name:\"scheduleBodyWrite\",pkg:\"net/http\",typ:$funcType([],[],false)}];MM.methods=[{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];MN.methods=[{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)}];AEC.methods=[{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];ZS.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];MQ.methods=[{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];MR.methods=[{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];MS.methods=[{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];ZT.methods=[{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"writeHeaderBlock\",name:\"writeHeaderBlock\",pkg:\"net/http\",typ:$funcType([MK,WP,$Bool,$Bool],[$error],false)}];ZU.methods=[{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"writeHeaderBlock\",name:\"writeHeaderBlock\",pkg:\"net/http\",typ:$funcType([MK,WP,$Bool,$Bool],[$error],false)}];MX.methods=[{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)},{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)}];MY.methods=[{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)}];NC.methods=[{prop:\"StreamID\",name:\"StreamID\",pkg:\"\",typ:$funcType([],[$Uint32],false)},{prop:\"DataSize\",name:\"DataSize\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Consume\",name:\"Consume\",pkg:\"\",typ:$funcType([$Int32],[NC,NC,$Int],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];AEE.methods=[{prop:\"replyToWriter\",name:\"replyToWriter\",pkg:\"net/http\",typ:$funcType([$error],[],false)}];AAL.methods=[{prop:\"empty\",name:\"empty\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"push\",name:\"push\",pkg:\"net/http\",typ:$funcType([NC],[],false)},{prop:\"shift\",name:\"shift\",pkg:\"net/http\",typ:$funcType([],[NC],false)},{prop:\"consume\",name:\"consume\",pkg:\"net/http\",typ:$funcType([$Int32],[NC,$Bool],false)}];AAP.methods=[{prop:\"put\",name:\"put\",pkg:\"net/http\",typ:$funcType([AAL],[],false)},{prop:\"get\",name:\"get\",pkg:\"net/http\",typ:$funcType([],[AAL],false)}];AEI.methods=[{prop:\"OpenStream\",name:\"OpenStream\",pkg:\"\",typ:$funcType([$Uint32,NB],[],false)},{prop:\"CloseStream\",name:\"CloseStream\",pkg:\"\",typ:$funcType([$Uint32],[],false)},{prop:\"AdjustStream\",name:\"AdjustStream\",pkg:\"\",typ:$funcType([$Uint32,FY],[],false)},{prop:\"Push\",name:\"Push\",pkg:\"\",typ:$funcType([NC],[],false)},{prop:\"Pop\",name:\"Pop\",pkg:\"\",typ:$funcType([],[NC,$Bool],false)}];NO.methods=[{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([$String,$String],[],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$String],[],false)},{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"get\",name:\"get\",pkg:\"net/http\",typ:$funcType([$String],[$String],false)},{prop:\"Del\",name:\"Del\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([C.Writer],[$error],false)},{prop:\"clone\",name:\"clone\",pkg:\"net/http\",typ:$funcType([],[NO],false)},{prop:\"sortedKeyValues\",name:\"sortedKeyValues\",pkg:\"net/http\",typ:$funcType([AEK],[WY,AAR],false)},{prop:\"WriteSubset\",name:\"WriteSubset\",pkg:\"\",typ:$funcType([C.Writer,AEK],[$error],false)}];NT.methods=[{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)}];AAR.methods=[{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Swap\",name:\"Swap\",pkg:\"\",typ:$funcType([$Int,$Int],[],false)},{prop:\"Less\",name:\"Less\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)}];AEL.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];OI.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"WriteTo\",name:\"WriteTo\",pkg:\"\",typ:$funcType([C.Writer],[$Int64,$error],false)}];AEM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AEN.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];WT.methods=[{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[Y.Context],false)},{prop:\"WithContext\",name:\"WithContext\",pkg:\"\",typ:$funcType([Y.Context],[WT],false)},{prop:\"ProtoAtLeast\",name:\"ProtoAtLeast\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"protoAtLeastOutgoing\",name:\"protoAtLeastOutgoing\",pkg:\"net/http\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"UserAgent\",name:\"UserAgent\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Cookies\",name:\"Cookies\",pkg:\"\",typ:$funcType([],[XW],false)},{prop:\"Cookie\",name:\"Cookie\",pkg:\"\",typ:$funcType([$String],[XV,$error],false)},{prop:\"AddCookie\",name:\"AddCookie\",pkg:\"\",typ:$funcType([XV],[],false)},{prop:\"Referer\",name:\"Referer\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"MultipartReader\",name:\"MultipartReader\",pkg:\"\",typ:$funcType([],[AAS,$error],false)},{prop:\"multipartReader\",name:\"multipartReader\",pkg:\"net/http\",typ:$funcType([],[AAS,$error],false)},{prop:\"isH2Upgrade\",name:\"isH2Upgrade\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([C.Writer],[$error],false)},{prop:\"WriteProxy\",name:\"WriteProxy\",pkg:\"\",typ:$funcType([C.Writer],[$error],false)},{prop:\"write\",name:\"write\",pkg:\"net/http\",typ:$funcType([C.Writer,$Bool,NO,ACC],[$error],false)},{prop:\"BasicAuth\",name:\"BasicAuth\",pkg:\"\",typ:$funcType([],[$String,$String,$Bool],false)},{prop:\"SetBasicAuth\",name:\"SetBasicAuth\",pkg:\"\",typ:$funcType([$String,$String],[],false)},{prop:\"ParseForm\",name:\"ParseForm\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"ParseMultipartForm\",name:\"ParseMultipartForm\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"FormValue\",name:\"FormValue\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"PostFormValue\",name:\"PostFormValue\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"FormFile\",name:\"FormFile\",pkg:\"\",typ:$funcType([$String],[T.File,AAY,$error],false)},{prop:\"expectsContinue\",name:\"expectsContinue\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"wantsHttp10KeepAlive\",name:\"wantsHttp10KeepAlive\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"wantsClose\",name:\"wantsClose\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"closeBody\",name:\"closeBody\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"isReplayable\",name:\"isReplayable\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"outgoingLength\",name:\"outgoingLength\",pkg:\"net/http\",typ:$funcType([],[$Int64],false)}];AAX.methods=[{prop:\"tooLarge\",name:\"tooLarge\",pkg:\"net/http\",typ:$funcType([],[$Int,$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];XH.methods=[{prop:\"Cookies\",name:\"Cookies\",pkg:\"\",typ:$funcType([],[XW],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[XN,$error],false)},{prop:\"ProtoAtLeast\",name:\"ProtoAtLeast\",pkg:\"\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([C.Writer],[$error],false)}];ABL.methods=[{prop:\"hijacked\",name:\"hijacked\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"hijackLocked\",name:\"hijackLocked\",pkg:\"net/http\",typ:$funcType([],[R.Conn,ABD,$error],false)},{prop:\"readRequest\",name:\"readRequest\",pkg:\"net/http\",typ:$funcType([Y.Context],[ABI,$error],false)},{prop:\"finalFlush\",name:\"finalFlush\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"close\",name:\"close\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"closeWriteAndWait\",name:\"closeWriteAndWait\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"setState\",name:\"setState\",pkg:\"net/http\",typ:$funcType([R.Conn,SB],[],false)},{prop:\"serve\",name:\"serve\",pkg:\"net/http\",typ:$funcType([Y.Context],[],false)}];AEP.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"flush\",name:\"flush\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"close\",name:\"close\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"writeHeader\",name:\"writeHeader\",pkg:\"net/http\",typ:$funcType([WP],[],false)}];ABI.methods=[{prop:\"finalTrailers\",name:\"finalTrailers\",pkg:\"net/http\",typ:$funcType([],[NO],false)},{prop:\"declareTrailer\",name:\"declareTrailer\",pkg:\"net/http\",typ:$funcType([$String],[],false)},{prop:\"requestTooLarge\",name:\"requestTooLarge\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"needsSniff\",name:\"needsSniff\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"ReadFrom\",name:\"ReadFrom\",pkg:\"\",typ:$funcType([C.Reader],[$Int64,$error],false)},{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[NO],false)},{prop:\"WriteHeader\",name:\"WriteHeader\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"bodyAllowed\",name:\"bodyAllowed\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"net/http\",typ:$funcType([$Int,WP,$String],[$Int,$error],false)},{prop:\"finishRequest\",name:\"finishRequest\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"shouldReuseConnection\",name:\"shouldReuseConnection\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"closedRequestBodyEarly\",name:\"closedRequestBodyEarly\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"Flush\",name:\"Flush\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"sendExpectationFailed\",name:\"sendExpectationFailed\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"Hijack\",name:\"Hijack\",pkg:\"\",typ:$funcType([],[R.Conn,ABD,$error],false)},{prop:\"CloseNotify\",name:\"CloseNotify\",pkg:\"\",typ:$funcType([],[ADT],false)}];XS.methods=[{prop:\"isSet\",name:\"isSet\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"setTrue\",name:\"setTrue\",pkg:\"net/http\",typ:$funcType([],[],false)}];ABH.methods=[{prop:\"lock\",name:\"lock\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"unlock\",name:\"unlock\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"startBackgroundRead\",name:\"startBackgroundRead\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"backgroundRead\",name:\"backgroundRead\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"abortPendingRead\",name:\"abortPendingRead\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"setReadLimit\",name:\"setReadLimit\",pkg:\"net/http\",typ:$funcType([$Int64],[],false)},{prop:\"setInfiniteReadLimit\",name:\"setInfiniteReadLimit\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"hitReadLimit\",name:\"hitReadLimit\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"handleReadError\",name:\"handleReadError\",pkg:\"net/http\",typ:$funcType([$error],[],false)},{prop:\"closeNotifyFromPipelinedRequest\",name:\"closeNotifyFromPipelinedRequest\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"closeNotify\",name:\"closeNotify\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];ABO.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];QR.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WW],[],false)}];RC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];RG.methods=[{prop:\"ServeHTTP\",name:\"ServeHTTP\",pkg:\"\",typ:$funcType([PQ,WT],[],false)}];AEQ.methods=[{prop:\"ServeHTTP\",name:\"ServeHTTP\",pkg:\"\",typ:$funcType([PQ,WT],[],false)}];AER.methods=[{prop:\"match\",name:\"match\",pkg:\"net/http\",typ:$funcType([$String],[PP,$String],false)},{prop:\"Handler\",name:\"Handler\",pkg:\"\",typ:$funcType([WT],[PP,$String],false)},{prop:\"handler\",name:\"handler\",pkg:\"net/http\",typ:$funcType([$String,$String],[PP,$String],false)},{prop:\"ServeHTTP\",name:\"ServeHTTP\",pkg:\"\",typ:$funcType([PQ,WT],[],false)},{prop:\"Handle\",name:\"Handle\",pkg:\"\",typ:$funcType([$String,PP],[],false)},{prop:\"HandleFunc\",name:\"HandleFunc\",pkg:\"\",typ:$funcType([$String,ADI],[],false)}];ZC.methods=[{prop:\"newConn\",name:\"newConn\",pkg:\"net/http\",typ:$funcType([R.Conn],[ABL],false)},{prop:\"maxHeaderBytes\",name:\"maxHeaderBytes\",pkg:\"net/http\",typ:$funcType([],[$Int],false)},{prop:\"initialReadLimitSize\",name:\"initialReadLimitSize\",pkg:\"net/http\",typ:$funcType([],[$Int64],false)},{prop:\"getDoneChan\",name:\"getDoneChan\",pkg:\"net/http\",typ:$funcType([],[ACW],false)},{prop:\"getDoneChanLocked\",name:\"getDoneChanLocked\",pkg:\"net/http\",typ:$funcType([],[ACP],false)},{prop:\"closeDoneChanLocked\",name:\"closeDoneChanLocked\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Shutdown\",name:\"Shutdown\",pkg:\"\",typ:$funcType([Y.Context],[$error],false)},{prop:\"closeIdleConns\",name:\"closeIdleConns\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"closeListenersLocked\",name:\"closeListenersLocked\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"ListenAndServe\",name:\"ListenAndServe\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"shouldConfigureHTTP2ForServe\",name:\"shouldConfigureHTTP2ForServe\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"Serve\",name:\"Serve\",pkg:\"\",typ:$funcType([R.Listener],[$error],false)},{prop:\"trackListener\",name:\"trackListener\",pkg:\"net/http\",typ:$funcType([R.Listener,$Bool],[],false)},{prop:\"trackConn\",name:\"trackConn\",pkg:\"net/http\",typ:$funcType([ABL,$Bool],[],false)},{prop:\"idleTimeout\",name:\"idleTimeout\",pkg:\"net/http\",typ:$funcType([],[Q.Duration],false)},{prop:\"readHeaderTimeout\",name:\"readHeaderTimeout\",pkg:\"net/http\",typ:$funcType([],[Q.Duration],false)},{prop:\"doKeepAlives\",name:\"doKeepAlives\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"shuttingDown\",name:\"shuttingDown\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"SetKeepAlivesEnabled\",name:\"SetKeepAlivesEnabled\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"logf\",name:\"logf\",pkg:\"net/http\",typ:$funcType([$String,WH],[],true)},{prop:\"ListenAndServeTLS\",name:\"ListenAndServeTLS\",pkg:\"\",typ:$funcType([$String,$String],[$error],false)},{prop:\"setupHTTP2_ListenAndServeTLS\",name:\"setupHTTP2_ListenAndServeTLS\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"setupHTTP2_Serve\",name:\"setupHTTP2_Serve\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"onceSetNextProtoDefaults_Serve\",name:\"onceSetNextProtoDefaults_Serve\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"onceSetNextProtoDefaults\",name:\"onceSetNextProtoDefaults\",pkg:\"net/http\",typ:$funcType([],[],false)}];SB.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];SD.methods=[{prop:\"ServeHTTP\",name:\"ServeHTTP\",pkg:\"\",typ:$funcType([PQ,WT],[],false)}];SK.methods=[{prop:\"Accept\",name:\"Accept\",pkg:\"\",typ:$funcType([],[R.Conn,$error],false)}];SL.methods=[{prop:\"ServeHTTP\",name:\"ServeHTTP\",pkg:\"\",typ:$funcType([PQ,WT],[],false)}];SM.methods=[{prop:\"ServeHTTP\",name:\"ServeHTTP\",pkg:\"\",typ:$funcType([PQ,WT],[],false)}];AFA.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];SR.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];AFB.methods=[{prop:\"match\",name:\"match\",pkg:\"net/http\",typ:$funcType([WP,$Int],[$String],false)}];AFC.methods=[{prop:\"match\",name:\"match\",pkg:\"net/http\",typ:$funcType([WP,$Int],[$String],false)}];TA.methods=[{prop:\"match\",name:\"match\",pkg:\"net/http\",typ:$funcType([WP,$Int],[$String],false)}];TD.methods=[{prop:\"match\",name:\"match\",pkg:\"net/http\",typ:$funcType([WP,$Int],[$String],false)}];TE.methods=[{prop:\"match\",name:\"match\",pkg:\"net/http\",typ:$funcType([WP,$Int],[$String],false)}];TH.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];AFD.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];ABR.methods=[{prop:\"shouldSendChunkedRequestBody\",name:\"shouldSendChunkedRequestBody\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"probeRequestBody\",name:\"probeRequestBody\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"shouldSendContentLength\",name:\"shouldSendContentLength\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"WriteHeader\",name:\"WriteHeader\",pkg:\"\",typ:$funcType([C.Writer],[$error],false)},{prop:\"WriteBody\",name:\"WriteBody\",pkg:\"\",typ:$funcType([C.Writer],[$error],false)}];AFF.methods=[{prop:\"protoAtLeast\",name:\"protoAtLeast\",pkg:\"net/http\",typ:$funcType([$Int,$Int],[$Bool],false)},{prop:\"fixTransferEncoding\",name:\"fixTransferEncoding\",pkg:\"net/http\",typ:$funcType([],[$error],false)}];ABK.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"readLocked\",name:\"readLocked\",pkg:\"net/http\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"readTrailer\",name:\"readTrailer\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"unreadDataSizeLocked\",name:\"unreadDataSizeLocked\",pkg:\"net/http\",typ:$funcType([],[$Int64],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"didEarlyClose\",name:\"didEarlyClose\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"bodyRemains\",name:\"bodyRemains\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"registerOnHitEOF\",name:\"registerOnHitEOF\",pkg:\"net/http\",typ:$funcType([XL],[],false)}];UD.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];UF.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];XR.methods=[{prop:\"onceSetNextProtoDefaults\",name:\"onceSetNextProtoDefaults\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)},{prop:\"RegisterProtocol\",name:\"RegisterProtocol\",pkg:\"\",typ:$funcType([$String,AT],[],false)},{prop:\"CloseIdleConnections\",name:\"CloseIdleConnections\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"CancelRequest\",name:\"CancelRequest\",pkg:\"\",typ:$funcType([WT],[],false)},{prop:\"cancelRequest\",name:\"cancelRequest\",pkg:\"net/http\",typ:$funcType([WT,$error],[],false)},{prop:\"connectMethodForRequest\",name:\"connectMethodForRequest\",pkg:\"net/http\",typ:$funcType([AFG],[VC,$error],false)},{prop:\"putOrCloseIdleConn\",name:\"putOrCloseIdleConn\",pkg:\"net/http\",typ:$funcType([ABT],[],false)},{prop:\"maxIdleConnsPerHost\",name:\"maxIdleConnsPerHost\",pkg:\"net/http\",typ:$funcType([],[$Int],false)},{prop:\"tryPutIdleConn\",name:\"tryPutIdleConn\",pkg:\"net/http\",typ:$funcType([ABT],[$error],false)},{prop:\"getIdleConnCh\",name:\"getIdleConnCh\",pkg:\"net/http\",typ:$funcType([VC],[AFH],false)},{prop:\"getIdleConn\",name:\"getIdleConn\",pkg:\"net/http\",typ:$funcType([VC],[ABT,Q.Time],false)},{prop:\"removeIdleConn\",name:\"removeIdleConn\",pkg:\"net/http\",typ:$funcType([ABT],[],false)},{prop:\"removeIdleConnLocked\",name:\"removeIdleConnLocked\",pkg:\"net/http\",typ:$funcType([ABT],[],false)},{prop:\"setReqCanceler\",name:\"setReqCanceler\",pkg:\"net/http\",typ:$funcType([WT,ACZ],[],false)},{prop:\"replaceReqCanceler\",name:\"replaceReqCanceler\",pkg:\"net/http\",typ:$funcType([WT,ACZ],[$Bool],false)},{prop:\"dial\",name:\"dial\",pkg:\"net/http\",typ:$funcType([Y.Context,$String,$String],[R.Conn,$error],false)},{prop:\"getConn\",name:\"getConn\",pkg:\"net/http\",typ:$funcType([AFG,VC],[ABT,$error],false)},{prop:\"dialConn\",name:\"dialConn\",pkg:\"net/http\",typ:$funcType([Y.Context,VC],[ABT,$error],false)}];AFG.methods=[{prop:\"extraHeaders\",name:\"extraHeaders\",pkg:\"net/http\",typ:$funcType([],[NO],false)}];UY.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];VA.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}];AFR.methods=[{prop:\"proxyAuth\",name:\"proxyAuth\",pkg:\"net/http\",typ:$funcType([],[$String],false)},{prop:\"key\",name:\"key\",pkg:\"net/http\",typ:$funcType([],[VD],false)},{prop:\"addr\",name:\"addr\",pkg:\"net/http\",typ:$funcType([],[$String],false)},{prop:\"tlsHost\",name:\"tlsHost\",pkg:\"net/http\",typ:$funcType([],[$String],false)}];VD.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];ABT.methods=[{prop:\"shouldRetryRequest\",name:\"shouldRetryRequest\",pkg:\"net/http\",typ:$funcType([WT,$error],[$Bool],false)},{prop:\"maxHeaderResponseSize\",name:\"maxHeaderResponseSize\",pkg:\"net/http\",typ:$funcType([],[$Int64],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"isBroken\",name:\"isBroken\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"canceled\",name:\"canceled\",pkg:\"net/http\",typ:$funcType([],[$error],false)},{prop:\"isReused\",name:\"isReused\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"gotIdleConnTrace\",name:\"gotIdleConnTrace\",pkg:\"net/http\",typ:$funcType([Q.Time],[AC.GotConnInfo],false)},{prop:\"cancelRequest\",name:\"cancelRequest\",pkg:\"net/http\",typ:$funcType([$error],[],false)},{prop:\"closeConnIfStillIdle\",name:\"closeConnIfStillIdle\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"mapRoundTripErrorFromReadLoop\",name:\"mapRoundTripErrorFromReadLoop\",pkg:\"net/http\",typ:$funcType([WT,$Int64,$error],[$error],false)},{prop:\"mapRoundTripErrorAfterClosed\",name:\"mapRoundTripErrorAfterClosed\",pkg:\"net/http\",typ:$funcType([WT,$Int64],[$error],false)},{prop:\"readLoop\",name:\"readLoop\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"readLoopPeekFailLocked\",name:\"readLoopPeekFailLocked\",pkg:\"net/http\",typ:$funcType([$error],[],false)},{prop:\"readResponse\",name:\"readResponse\",pkg:\"net/http\",typ:$funcType([VH,ZD],[XH,$error],false)},{prop:\"waitForContinue\",name:\"waitForContinue\",pkg:\"net/http\",typ:$funcType([ACW],[ACC],false)},{prop:\"writeLoop\",name:\"writeLoop\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"wroteRequest\",name:\"wroteRequest\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)},{prop:\"roundTrip\",name:\"roundTrip\",pkg:\"net/http\",typ:$funcType([AFG],[XH,$error],false)},{prop:\"markReused\",name:\"markReused\",pkg:\"net/http\",typ:$funcType([],[],false)},{prop:\"close\",name:\"close\",pkg:\"net/http\",typ:$funcType([$error],[],false)},{prop:\"closeLocked\",name:\"closeLocked\",pkg:\"net/http\",typ:$funcType([$error],[],false)}];AFY.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)}];ABX.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"condfn\",name:\"condfn\",pkg:\"net/http\",typ:$funcType([$error],[$error],false)}];AGB.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)}];WB.methods=[{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];WC.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];AGC.methods=[{prop:\"add\",name:\"add\",pkg:\"net/http\",typ:$funcType([ABT],[],false)},{prop:\"removeOldest\",name:\"removeOldest\",pkg:\"net/http\",typ:$funcType([],[ABT],false)},{prop:\"remove\",name:\"remove\",pkg:\"net/http\",typ:$funcType([ABT],[],false)},{prop:\"len\",name:\"len\",pkg:\"net/http\",typ:$funcType([],[$Int],false)}];AO.init(\"net/http\",[{prop:\"pending\",name:\"pending\",exported:false,typ:WP,tag:\"\"},{prop:\"stream\",name:\"stream\",exported:false,typ:XF,tag:\"\"}]);AP.init(\"\",[]);AQ.init(\"\",[]);AR.init(\"net/http\",[{prop:\"inflight\",name:\"inflight\",exported:false,typ:ACB,tag:\"\"}]);AS.init(\"\",[{prop:\"Transport\",name:\"Transport\",exported:true,typ:AT,tag:\"\"},{prop:\"CheckRedirect\",name:\"CheckRedirect\",exported:true,typ:ACF,tag:\"\"},{prop:\"Jar\",name:\"Jar\",exported:true,typ:OL,tag:\"\"},{prop:\"Timeout\",name:\"Timeout\",exported:true,typ:Q.Duration,tag:\"\"}]);AT.init([{prop:\"RoundTrip\",name:\"RoundTrip\",pkg:\"\",typ:$funcType([WT],[XH,$error],false)}]);BF.init(\"net/http\",[{prop:\"stop\",name:\"stop\",exported:false,typ:XL,tag:\"\"},{prop:\"rc\",name:\"rc\",exported:false,typ:C.ReadCloser,tag:\"\"},{prop:\"reqDidTimeout\",name:\"reqDidTimeout\",exported:false,typ:ACC,tag:\"\"}]);BI.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Domain\",name:\"Domain\",exported:true,typ:$String,tag:\"\"},{prop:\"Expires\",name:\"Expires\",exported:true,typ:Q.Time,tag:\"\"},{prop:\"RawExpires\",name:\"RawExpires\",exported:true,typ:$String,tag:\"\"},{prop:\"MaxAge\",name:\"MaxAge\",exported:true,typ:$Int,tag:\"\"},{prop:\"Secure\",name:\"Secure\",exported:true,typ:$Bool,tag:\"\"},{prop:\"HttpOnly\",name:\"HttpOnly\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Raw\",name:\"Raw\",exported:true,typ:$String,tag:\"\"},{prop:\"Unparsed\",name:\"Unparsed\",exported:true,typ:WN,tag:\"\"}]);DL.init([{prop:\"GetClientConn\",name:\"GetClientConn\",pkg:\"\",typ:$funcType([WT,$String],[YC,$error],false)},{prop:\"MarkDead\",name:\"MarkDead\",pkg:\"\",typ:$funcType([YC],[],false)}]);DM.init([{prop:\"GetClientConn\",name:\"GetClientConn\",pkg:\"\",typ:$funcType([WT,$String],[YC,$error],false)},{prop:\"MarkDead\",name:\"MarkDead\",pkg:\"\",typ:$funcType([YC],[],false)},{prop:\"closeIdleConnections\",name:\"closeIdleConnections\",pkg:\"net/http\",typ:$funcType([],[],false)}]);DN.init(\"net/http\",[{prop:\"t\",name:\"t\",exported:false,typ:XE,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"conns\",name:\"conns\",exported:false,typ:ACL,tag:\"\"},{prop:\"dialing\",name:\"dialing\",exported:false,typ:ACM,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:ACN,tag:\"\"},{prop:\"addConnCalls\",name:\"addConnCalls\",exported:false,typ:ACO,tag:\"\"}]);DO.init(\"net/http\",[{prop:\"p\",name:\"p\",exported:false,typ:WO,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:ACP,tag:\"\"},{prop:\"res\",name:\"res\",exported:false,typ:YC,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);DP.init(\"net/http\",[{prop:\"p\",name:\"p\",exported:false,typ:WO,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:ACP,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);DR.init(\"net/http\",[{prop:\"http2clientConnPool\",name:\"\",exported:false,typ:WO,tag:\"\"}]);DU.init(\"net/http\",[{prop:\"t\",name:\"t\",exported:false,typ:XE,tag:\"\"}]);DY.init(\"\",[{prop:\"StreamID\",name:\"StreamID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Code\",name:\"Code\",exported:true,typ:DV,tag:\"\"},{prop:\"Cause\",name:\"Cause\",exported:true,typ:$error,tag:\"\"}]);EA.init(\"\",[]);EB.init(\"\",[{prop:\"Code\",name:\"Code\",exported:true,typ:DV,tag:\"\"},{prop:\"Reason\",name:\"Reason\",exported:true,typ:$String,tag:\"\"}]);EI.init(\"net/http\",[{prop:\"buf\",name:\"buf\",exported:false,typ:WP,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:$Int,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:$Int,tag:\"\"}]);EL.init(\"net/http\",[{prop:\"n\",name:\"n\",exported:false,typ:$Int32,tag:\"\"},{prop:\"conn\",name:\"conn\",exported:false,typ:YM,tag:\"\"}]);EU.init(\"net/http\",[{prop:\"valid\",name:\"valid\",exported:false,typ:$Bool,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:EN,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:EP,tag:\"\"},{prop:\"Length\",name:\"Length\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"StreamID\",name:\"StreamID\",exported:true,typ:$Uint32,tag:\"\"}]);EY.init([{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[EU],false)},{prop:\"invalidate\",name:\"invalidate\",pkg:\"net/http\",typ:$funcType([],[],false)}]);EZ.init(\"net/http\",[{prop:\"r\",name:\"r\",exported:false,typ:C.Reader,tag:\"\"},{prop:\"lastFrame\",name:\"lastFrame\",exported:false,typ:EY,tag:\"\"},{prop:\"errDetail\",name:\"errDetail\",exported:false,typ:$error,tag:\"\"},{prop:\"lastHeaderStream\",name:\"lastHeaderStream\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"maxReadSize\",name:\"maxReadSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"headerBuf\",name:\"headerBuf\",exported:false,typ:YO,tag:\"\"},{prop:\"getReadBuf\",name:\"getReadBuf\",exported:false,typ:ACS,tag:\"\"},{prop:\"readBuf\",name:\"readBuf\",exported:false,typ:WP,tag:\"\"},{prop:\"maxWriteSize\",name:\"maxWriteSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:C.Writer,tag:\"\"},{prop:\"wbuf\",name:\"wbuf\",exported:false,typ:WP,tag:\"\"},{prop:\"AllowIllegalWrites\",name:\"AllowIllegalWrites\",exported:true,typ:$Bool,tag:\"\"},{prop:\"AllowIllegalReads\",name:\"AllowIllegalReads\",exported:true,typ:$Bool,tag:\"\"},{prop:\"ReadMetaHeaders\",name:\"ReadMetaHeaders\",exported:true,typ:YP,tag:\"\"},{prop:\"MaxHeaderListSize\",name:\"MaxHeaderListSize\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"logReads\",name:\"logReads\",exported:false,typ:$Bool,tag:\"\"},{prop:\"logWrites\",name:\"logWrites\",exported:false,typ:$Bool,tag:\"\"},{prop:\"debugFramer\",name:\"debugFramer\",exported:false,typ:YN,tag:\"\"},{prop:\"debugFramerBuf\",name:\"debugFramerBuf\",exported:false,typ:YQ,tag:\"\"},{prop:\"debugReadLoggerf\",name:\"debugReadLoggerf\",exported:false,typ:ACT,tag:\"\"},{prop:\"debugWriteLoggerf\",name:\"debugWriteLoggerf\",exported:false,typ:ACT,tag:\"\"}]);FD.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"data\",name:\"data\",exported:false,typ:WP,tag:\"\"}]);FK.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"p\",name:\"p\",exported:false,typ:WP,tag:\"\"}]);FM.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"Data\",name:\"Data\",exported:true,typ:YS,tag:\"\"}]);FO.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"LastStreamID\",name:\"LastStreamID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"ErrCode\",name:\"ErrCode\",exported:true,typ:DV,tag:\"\"},{prop:\"debugData\",name:\"debugData\",exported:false,typ:WP,tag:\"\"}]);FQ.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"p\",name:\"p\",exported:false,typ:WP,tag:\"\"}]);FS.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"Increment\",name:\"Increment\",exported:true,typ:$Uint32,tag:\"\"}]);FU.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"Priority\",name:\"Priority\",exported:true,typ:FY,tag:\"\"},{prop:\"headerFragBuf\",name:\"headerFragBuf\",exported:false,typ:WP,tag:\"\"}]);FW.init(\"\",[{prop:\"StreamID\",name:\"StreamID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"BlockFragment\",name:\"BlockFragment\",exported:true,typ:WP,tag:\"\"},{prop:\"EndStream\",name:\"EndStream\",exported:true,typ:$Bool,tag:\"\"},{prop:\"EndHeaders\",name:\"EndHeaders\",exported:true,typ:$Bool,tag:\"\"},{prop:\"PadLength\",name:\"PadLength\",exported:true,typ:$Uint8,tag:\"\"},{prop:\"Priority\",name:\"Priority\",exported:true,typ:FY,tag:\"\"}]);FX.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"http2PriorityParam\",name:\"\",exported:false,typ:FY,tag:\"\"}]);FY.init(\"\",[{prop:\"StreamDep\",name:\"StreamDep\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Exclusive\",name:\"Exclusive\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Weight\",name:\"Weight\",exported:true,typ:$Uint8,tag:\"\"}]);GA.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"ErrCode\",name:\"ErrCode\",exported:true,typ:DV,tag:\"\"}]);GC.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"headerFragBuf\",name:\"headerFragBuf\",exported:false,typ:WP,tag:\"\"}]);GE.init(\"net/http\",[{prop:\"http2FrameHeader\",name:\"\",exported:false,typ:EU,tag:\"\"},{prop:\"PromiseID\",name:\"PromiseID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"headerFragBuf\",name:\"headerFragBuf\",exported:false,typ:WP,tag:\"\"}]);GG.init(\"\",[{prop:\"StreamID\",name:\"StreamID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"PromiseID\",name:\"PromiseID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"BlockFragment\",name:\"BlockFragment\",exported:true,typ:WP,tag:\"\"},{prop:\"EndHeaders\",name:\"EndHeaders\",exported:true,typ:$Bool,tag:\"\"},{prop:\"PadLength\",name:\"PadLength\",exported:true,typ:$Uint8,tag:\"\"}]);GM.init(\"net/http\",[{prop:\"http2HeadersFrame\",name:\"\",exported:false,typ:YR,tag:\"\"},{prop:\"Fields\",name:\"Fields\",exported:true,typ:YT,tag:\"\"},{prop:\"Truncated\",name:\"Truncated\",exported:true,typ:$Bool,tag:\"\"}]);GQ.init([{prop:\"Deadline\",name:\"Deadline\",pkg:\"\",typ:$funcType([],[Q.Time,$Bool],false)},{prop:\"Done\",name:\"Done\",pkg:\"\",typ:$funcType([],[ACW],false)},{prop:\"Err\",name:\"Err\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Value\",name:\"Value\",pkg:\"\",typ:$funcType([$emptyInterface],[$emptyInterface],false)}]);GU.init(\"\",[{prop:\"GetConn\",name:\"GetConn\",exported:true,typ:ACX,tag:\"\"},{prop:\"GotConn\",name:\"GotConn\",exported:true,typ:ACY,tag:\"\"},{prop:\"PutIdleConn\",name:\"PutIdleConn\",exported:true,typ:ACZ,tag:\"\"},{prop:\"GotFirstResponseByte\",name:\"GotFirstResponseByte\",exported:true,typ:XL,tag:\"\"},{prop:\"Got100Continue\",name:\"Got100Continue\",exported:true,typ:XL,tag:\"\"},{prop:\"DNSStart\",name:\"DNSStart\",exported:true,typ:ADA,tag:\"\"},{prop:\"DNSDone\",name:\"DNSDone\",exported:true,typ:ADB,tag:\"\"},{prop:\"ConnectStart\",name:\"ConnectStart\",exported:true,typ:ADC,tag:\"\"},{prop:\"ConnectDone\",name:\"ConnectDone\",exported:true,typ:ADD,tag:\"\"},{prop:\"TLSHandshakeStart\",name:\"TLSHandshakeStart\",exported:true,typ:XL,tag:\"\"},{prop:\"TLSHandshakeDone\",name:\"TLSHandshakeDone\",exported:true,typ:ADE,tag:\"\"},{prop:\"WroteHeaders\",name:\"WroteHeaders\",exported:true,typ:XL,tag:\"\"},{prop:\"Wait100Continue\",name:\"Wait100Continue\",exported:true,typ:XL,tag:\"\"},{prop:\"WroteRequest\",name:\"WroteRequest\",exported:true,typ:ADF,tag:\"\"}]);ID.init(\"\",[{prop:\"ID\",name:\"ID\",exported:true,typ:IE,tag:\"\"},{prop:\"Val\",name:\"Val\",exported:true,typ:$Uint32,tag:\"\"}]);IN.init(XP,false,false);IO.init(XP,false,false);IP.init(\"net/http\",[{prop:\"w\",name:\"w\",exported:false,typ:C.Writer,tag:\"\"},{prop:\"bw\",name:\"bw\",exported:false,typ:WW,tag:\"\"}]);IU.init(\"net/http\",[{prop:\"msg\",name:\"msg\",exported:false,typ:$String,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:$Bool,tag:\"\"}]);IW.init([{prop:\"ConnectionState\",name:\"ConnectionState\",pkg:\"\",typ:$funcType([],[J.ConnectionState],false)}]);IY.init(\"net/http\",[{prop:\"v\",name:\"v\",exported:false,typ:WN,tag:\"\"}]);JA.init(\"net/http\",[{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"c\",name:\"c\",exported:false,typ:P.Cond,tag:\"\"},{prop:\"b\",name:\"b\",exported:false,typ:JB,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"breakErr\",name:\"breakErr\",exported:false,typ:$error,tag:\"\"},{prop:\"donec\",name:\"donec\",exported:false,typ:ACP,tag:\"\"},{prop:\"readFn\",name:\"readFn\",exported:false,typ:XL,tag:\"\"}]);JB.init([{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)}]);JM.init(\"\",[{prop:\"MaxHandlers\",name:\"MaxHandlers\",exported:true,typ:$Int,tag:\"\"},{prop:\"MaxConcurrentStreams\",name:\"MaxConcurrentStreams\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"MaxReadFrameSize\",name:\"MaxReadFrameSize\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"PermitProhibitedCipherSuites\",name:\"PermitProhibitedCipherSuites\",exported:true,typ:$Bool,tag:\"\"},{prop:\"IdleTimeout\",name:\"IdleTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"NewWriteScheduler\",name:\"NewWriteScheduler\",exported:true,typ:ADH,tag:\"\"}]);JO.init(\"\",[{prop:\"BaseConfig\",name:\"BaseConfig\",exported:true,typ:ZC,tag:\"\"},{prop:\"Handler\",name:\"Handler\",exported:true,typ:PP,tag:\"\"}]);JP.init(\"net/http\",[{prop:\"srv\",name:\"srv\",exported:false,typ:ZH,tag:\"\"},{prop:\"hs\",name:\"hs\",exported:false,typ:ZC,tag:\"\"},{prop:\"conn\",name:\"conn\",exported:false,typ:R.Conn,tag:\"\"},{prop:\"bw\",name:\"bw\",exported:false,typ:ZK,tag:\"\"},{prop:\"handler\",name:\"handler\",exported:false,typ:PP,tag:\"\"},{prop:\"baseCtx\",name:\"baseCtx\",exported:false,typ:GQ,tag:\"\"},{prop:\"framer\",name:\"framer\",exported:false,typ:YN,tag:\"\"},{prop:\"doneServing\",name:\"doneServing\",exported:false,typ:ACP,tag:\"\"},{prop:\"readFrameCh\",name:\"readFrameCh\",exported:false,typ:ADJ,tag:\"\"},{prop:\"wantWriteFrameCh\",name:\"wantWriteFrameCh\",exported:false,typ:ADK,tag:\"\"},{prop:\"wantStartPushCh\",name:\"wantStartPushCh\",exported:false,typ:ADL,tag:\"\"},{prop:\"wroteFrameCh\",name:\"wroteFrameCh\",exported:false,typ:ADM,tag:\"\"},{prop:\"bodyReadCh\",name:\"bodyReadCh\",exported:false,typ:ADN,tag:\"\"},{prop:\"testHookCh\",name:\"testHookCh\",exported:false,typ:ADP,tag:\"\"},{prop:\"flow\",name:\"flow\",exported:false,typ:EL,tag:\"\"},{prop:\"inflow\",name:\"inflow\",exported:false,typ:EL,tag:\"\"},{prop:\"tlsState\",name:\"tlsState\",exported:false,typ:XK,tag:\"\"},{prop:\"remoteAddrStr\",name:\"remoteAddrStr\",exported:false,typ:$String,tag:\"\"},{prop:\"writeSched\",name:\"writeSched\",exported:false,typ:NA,tag:\"\"},{prop:\"serveG\",name:\"serveG\",exported:false,typ:HK,tag:\"\"},{prop:\"pushEnabled\",name:\"pushEnabled\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sawFirstSettings\",name:\"sawFirstSettings\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needToSendSettingsAck\",name:\"needToSendSettingsAck\",exported:false,typ:$Bool,tag:\"\"},{prop:\"unackedSettings\",name:\"unackedSettings\",exported:false,typ:$Int,tag:\"\"},{prop:\"clientMaxStreams\",name:\"clientMaxStreams\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"advMaxStreams\",name:\"advMaxStreams\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"curClientStreams\",name:\"curClientStreams\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"curPushedStreams\",name:\"curPushedStreams\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"maxClientStreamID\",name:\"maxClientStreamID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"maxPushPromiseID\",name:\"maxPushPromiseID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"streams\",name:\"streams\",exported:false,typ:ADQ,tag:\"\"},{prop:\"initialWindowSize\",name:\"initialWindowSize\",exported:false,typ:$Int32,tag:\"\"},{prop:\"maxFrameSize\",name:\"maxFrameSize\",exported:false,typ:$Int32,tag:\"\"},{prop:\"headerTableSize\",name:\"headerTableSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"peerMaxHeaderListSize\",name:\"peerMaxHeaderListSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"canonHeader\",name:\"canonHeader\",exported:false,typ:ADR,tag:\"\"},{prop:\"writingFrame\",name:\"writingFrame\",exported:false,typ:$Bool,tag:\"\"},{prop:\"writingFrameAsync\",name:\"writingFrameAsync\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needsFrameFlush\",name:\"needsFrameFlush\",exported:false,typ:$Bool,tag:\"\"},{prop:\"inGoAway\",name:\"inGoAway\",exported:false,typ:$Bool,tag:\"\"},{prop:\"inFrameScheduleLoop\",name:\"inFrameScheduleLoop\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needToSendGoAway\",name:\"needToSendGoAway\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goAwayCode\",name:\"goAwayCode\",exported:false,typ:DV,tag:\"\"},{prop:\"shutdownTimerCh\",name:\"shutdownTimerCh\",exported:false,typ:ADS,tag:\"\"},{prop:\"shutdownTimer\",name:\"shutdownTimer\",exported:false,typ:ZL,tag:\"\"},{prop:\"idleTimer\",name:\"idleTimer\",exported:false,typ:ZL,tag:\"\"},{prop:\"idleTimerCh\",name:\"idleTimerCh\",exported:false,typ:ADS,tag:\"\"},{prop:\"headerWriteBuf\",name:\"headerWriteBuf\",exported:false,typ:H.Buffer,tag:\"\"},{prop:\"hpackEncoder\",name:\"hpackEncoder\",exported:false,typ:ZM,tag:\"\"}]);JQ.init(\"net/http\",[{prop:\"sc\",name:\"sc\",exported:false,typ:WV,tag:\"\"},{prop:\"id\",name:\"id\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"body\",name:\"body\",exported:false,typ:ZX,tag:\"\"},{prop:\"cw\",name:\"cw\",exported:false,typ:IO,tag:\"\"},{prop:\"ctx\",name:\"ctx\",exported:false,typ:GQ,tag:\"\"},{prop:\"cancelCtx\",name:\"cancelCtx\",exported:false,typ:XL,tag:\"\"},{prop:\"bodyBytes\",name:\"bodyBytes\",exported:false,typ:$Int64,tag:\"\"},{prop:\"declBodyBytes\",name:\"declBodyBytes\",exported:false,typ:$Int64,tag:\"\"},{prop:\"flow\",name:\"flow\",exported:false,typ:EL,tag:\"\"},{prop:\"inflow\",name:\"inflow\",exported:false,typ:EL,tag:\"\"},{prop:\"parent\",name:\"parent\",exported:false,typ:WS,tag:\"\"},{prop:\"numTrailerValues\",name:\"numTrailerValues\",exported:false,typ:$Int64,tag:\"\"},{prop:\"weight\",name:\"weight\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"state\",name:\"state\",exported:false,typ:IB,tag:\"\"},{prop:\"resetQueued\",name:\"resetQueued\",exported:false,typ:$Bool,tag:\"\"},{prop:\"gotTrailerHeader\",name:\"gotTrailerHeader\",exported:false,typ:$Bool,tag:\"\"},{prop:\"wroteHeaders\",name:\"wroteHeaders\",exported:false,typ:$Bool,tag:\"\"},{prop:\"reqBuf\",name:\"reqBuf\",exported:false,typ:WP,tag:\"\"},{prop:\"trailer\",name:\"trailer\",exported:false,typ:NO,tag:\"\"},{prop:\"reqTrailer\",name:\"reqTrailer\",exported:false,typ:NO,tag:\"\"}]);JT.init(\"net/http\",[{prop:\"f\",name:\"f\",exported:false,typ:EY,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"readMore\",name:\"readMore\",exported:false,typ:XL,tag:\"\"}]);JU.init(\"net/http\",[{prop:\"wr\",name:\"wr\",exported:false,typ:NC,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);JZ.init(\"net/http\",[{prop:\"method\",name:\"method\",exported:false,typ:$String,tag:\"\"},{prop:\"scheme\",name:\"scheme\",exported:false,typ:$String,tag:\"\"},{prop:\"authority\",name:\"authority\",exported:false,typ:$String,tag:\"\"},{prop:\"path\",name:\"path\",exported:false,typ:$String,tag:\"\"},{prop:\"header\",name:\"header\",exported:false,typ:NO,tag:\"\"}]);KE.init(\"net/http\",[{prop:\"st\",name:\"st\",exported:false,typ:WS,tag:\"\"},{prop:\"n\",name:\"n\",exported:false,typ:$Int,tag:\"\"}]);KF.init(\"net/http\",[{prop:\"stream\",name:\"stream\",exported:false,typ:WS,tag:\"\"},{prop:\"conn\",name:\"conn\",exported:false,typ:WV,tag:\"\"},{prop:\"closed\",name:\"closed\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sawEOF\",name:\"sawEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"pipe\",name:\"pipe\",exported:false,typ:ZX,tag:\"\"},{prop:\"needsContinue\",name:\"needsContinue\",exported:false,typ:$Bool,tag:\"\"}]);KG.init(\"net/http\",[{prop:\"rws\",name:\"rws\",exported:false,typ:ZZ,tag:\"\"}]);KH.init(\"net/http\",[{prop:\"stream\",name:\"stream\",exported:false,typ:WS,tag:\"\"},{prop:\"req\",name:\"req\",exported:false,typ:WT,tag:\"\"},{prop:\"body\",name:\"body\",exported:false,typ:WU,tag:\"\"},{prop:\"conn\",name:\"conn\",exported:false,typ:WV,tag:\"\"},{prop:\"bw\",name:\"bw\",exported:false,typ:WW,tag:\"\"},{prop:\"handlerHeader\",name:\"handlerHeader\",exported:false,typ:NO,tag:\"\"},{prop:\"snapHeader\",name:\"snapHeader\",exported:false,typ:NO,tag:\"\"},{prop:\"trailers\",name:\"trailers\",exported:false,typ:WN,tag:\"\"},{prop:\"status\",name:\"status\",exported:false,typ:$Int,tag:\"\"},{prop:\"wroteHeader\",name:\"wroteHeader\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sentHeader\",name:\"sentHeader\",exported:false,typ:$Bool,tag:\"\"},{prop:\"handlerDone\",name:\"handlerDone\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sentContentLen\",name:\"sentContentLen\",exported:false,typ:$Int64,tag:\"\"},{prop:\"wroteBytes\",name:\"wroteBytes\",exported:false,typ:$Int64,tag:\"\"},{prop:\"closeNotifierMu\",name:\"closeNotifierMu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"closeNotifierCh\",name:\"closeNotifierCh\",exported:false,typ:ADU,tag:\"\"}]);KI.init(\"net/http\",[{prop:\"rws\",name:\"rws\",exported:false,typ:ZZ,tag:\"\"}]);KM.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Header\",name:\"Header\",exported:true,typ:NO,tag:\"\"}]);KN.init(\"net/http\",[{prop:\"parent\",name:\"parent\",exported:false,typ:WS,tag:\"\"},{prop:\"method\",name:\"method\",exported:false,typ:$String,tag:\"\"},{prop:\"url\",name:\"url\",exported:false,typ:XN,tag:\"\"},{prop:\"header\",name:\"header\",exported:false,typ:NO,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:WX,tag:\"\"}]);KX.init(\"net/http\",[{prop:\"DialTLS\",name:\"DialTLS\",exported:true,typ:ADV,tag:\"\"},{prop:\"TLSClientConfig\",name:\"TLSClientConfig\",exported:true,typ:XD,tag:\"\"},{prop:\"ConnPool\",name:\"ConnPool\",exported:true,typ:DL,tag:\"\"},{prop:\"DisableCompression\",name:\"DisableCompression\",exported:true,typ:$Bool,tag:\"\"},{prop:\"AllowHTTP\",name:\"AllowHTTP\",exported:true,typ:$Bool,tag:\"\"},{prop:\"MaxHeaderListSize\",name:\"MaxHeaderListSize\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"t1\",name:\"t1\",exported:false,typ:XR,tag:\"\"},{prop:\"connPoolOnce\",name:\"connPoolOnce\",exported:false,typ:P.Once,tag:\"\"},{prop:\"connPoolOrDef\",name:\"connPoolOrDef\",exported:false,typ:DL,tag:\"\"}]);LA.init(\"net/http\",[{prop:\"t\",name:\"t\",exported:false,typ:XE,tag:\"\"},{prop:\"tconn\",name:\"tconn\",exported:false,typ:R.Conn,tag:\"\"},{prop:\"tlsState\",name:\"tlsState\",exported:false,typ:XK,tag:\"\"},{prop:\"singleUse\",name:\"singleUse\",exported:false,typ:$Bool,tag:\"\"},{prop:\"readerDone\",name:\"readerDone\",exported:false,typ:ACP,tag:\"\"},{prop:\"readerErr\",name:\"readerErr\",exported:false,typ:$error,tag:\"\"},{prop:\"idleTimeout\",name:\"idleTimeout\",exported:false,typ:Q.Duration,tag:\"\"},{prop:\"idleTimer\",name:\"idleTimer\",exported:false,typ:ZL,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"cond\",name:\"cond\",exported:false,typ:AAD,tag:\"\"},{prop:\"flow\",name:\"flow\",exported:false,typ:EL,tag:\"\"},{prop:\"inflow\",name:\"inflow\",exported:false,typ:EL,tag:\"\"},{prop:\"closed\",name:\"closed\",exported:false,typ:$Bool,tag:\"\"},{prop:\"wantSettingsAck\",name:\"wantSettingsAck\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goAway\",name:\"goAway\",exported:false,typ:ZA,tag:\"\"},{prop:\"goAwayDebug\",name:\"goAwayDebug\",exported:false,typ:$String,tag:\"\"},{prop:\"streams\",name:\"streams\",exported:false,typ:ADW,tag:\"\"},{prop:\"nextStreamID\",name:\"nextStreamID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"pings\",name:\"pings\",exported:false,typ:ADX,tag:\"\"},{prop:\"bw\",name:\"bw\",exported:false,typ:WW,tag:\"\"},{prop:\"br\",name:\"br\",exported:false,typ:AAE,tag:\"\"},{prop:\"fr\",name:\"fr\",exported:false,typ:YN,tag:\"\"},{prop:\"lastActive\",name:\"lastActive\",exported:false,typ:Q.Time,tag:\"\"},{prop:\"maxFrameSize\",name:\"maxFrameSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"maxConcurrentStreams\",name:\"maxConcurrentStreams\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"initialWindowSize\",name:\"initialWindowSize\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"hbuf\",name:\"hbuf\",exported:false,typ:H.Buffer,tag:\"\"},{prop:\"henc\",name:\"henc\",exported:false,typ:ZM,tag:\"\"},{prop:\"freeBuf\",name:\"freeBuf\",exported:false,typ:WZ,tag:\"\"},{prop:\"wmu\",name:\"wmu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"werr\",name:\"werr\",exported:false,typ:$error,tag:\"\"}]);LB.init(\"net/http\",[{prop:\"cc\",name:\"cc\",exported:false,typ:YC,tag:\"\"},{prop:\"req\",name:\"req\",exported:false,typ:WT,tag:\"\"},{prop:\"trace\",name:\"trace\",exported:false,typ:ZE,tag:\"\"},{prop:\"ID\",name:\"ID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"resc\",name:\"resc\",exported:false,typ:ADY,tag:\"\"},{prop:\"bufPipe\",name:\"bufPipe\",exported:false,typ:JA,tag:\"\"},{prop:\"startedWrite\",name:\"startedWrite\",exported:false,typ:$Bool,tag:\"\"},{prop:\"requestedGzip\",name:\"requestedGzip\",exported:false,typ:$Bool,tag:\"\"},{prop:\"on100\",name:\"on100\",exported:false,typ:XL,tag:\"\"},{prop:\"flow\",name:\"flow\",exported:false,typ:EL,tag:\"\"},{prop:\"inflow\",name:\"inflow\",exported:false,typ:EL,tag:\"\"},{prop:\"bytesRemain\",name:\"bytesRemain\",exported:false,typ:$Int64,tag:\"\"},{prop:\"readErr\",name:\"readErr\",exported:false,typ:$error,tag:\"\"},{prop:\"stopReqBody\",name:\"stopReqBody\",exported:false,typ:$error,tag:\"\"},{prop:\"didReset\",name:\"didReset\",exported:false,typ:$Bool,tag:\"\"},{prop:\"peerReset\",name:\"peerReset\",exported:false,typ:ACP,tag:\"\"},{prop:\"resetErr\",name:\"resetErr\",exported:false,typ:$error,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:ACP,tag:\"\"},{prop:\"firstByte\",name:\"firstByte\",exported:false,typ:$Bool,tag:\"\"},{prop:\"pastHeaders\",name:\"pastHeaders\",exported:false,typ:$Bool,tag:\"\"},{prop:\"pastTrailers\",name:\"pastTrailers\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trailer\",name:\"trailer\",exported:false,typ:NO,tag:\"\"},{prop:\"resTrailer\",name:\"resTrailer\",exported:false,typ:AAG,tag:\"\"}]);LC.init(\"net/http\",[{prop:\"w\",name:\"w\",exported:false,typ:C.Writer,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:ZG,tag:\"\"}]);LE.init(\"\",[{prop:\"OnlyCachedConn\",name:\"OnlyCachedConn\",exported:true,typ:$Bool,tag:\"\"}]);LR.init(\"net/http\",[{prop:\"what\",name:\"what\",exported:false,typ:$String,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);LT.init(\"net/http\",[{prop:\"res\",name:\"res\",exported:false,typ:XH,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);LU.init(\"net/http\",[{prop:\"cc\",name:\"cc\",exported:false,typ:YC,tag:\"\"},{prop:\"activeRes\",name:\"activeRes\",exported:false,typ:ADW,tag:\"\"},{prop:\"closeWhenIdle\",name:\"closeWhenIdle\",exported:false,typ:$Bool,tag:\"\"}]);LV.init(\"\",[{prop:\"LastStreamID\",name:\"LastStreamID\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"ErrCode\",name:\"ErrCode\",exported:true,typ:DV,tag:\"\"},{prop:\"DebugData\",name:\"DebugData\",exported:true,typ:$String,tag:\"\"}]);LX.init(\"net/http\",[{prop:\"cs\",name:\"cs\",exported:false,typ:AAH,tag:\"\"}]);ME.init(\"net/http\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);MF.init(\"net/http\",[{prop:\"body\",name:\"body\",exported:false,typ:C.ReadCloser,tag:\"\"},{prop:\"zr\",name:\"zr\",exported:false,typ:AAI,tag:\"\"},{prop:\"zerr\",name:\"zerr\",exported:false,typ:$error,tag:\"\"}]);MH.init(\"net/http\",[{prop:\"cs\",name:\"cs\",exported:false,typ:AAH,tag:\"\"},{prop:\"timer\",name:\"timer\",exported:false,typ:ZL,tag:\"\"},{prop:\"fnonce\",name:\"fnonce\",exported:false,typ:AAJ,tag:\"\"},{prop:\"fn\",name:\"fn\",exported:false,typ:XL,tag:\"\"},{prop:\"resc\",name:\"resc\",exported:false,typ:WX,tag:\"\"},{prop:\"delay\",name:\"delay\",exported:false,typ:Q.Duration,tag:\"\"}]);MJ.init([{prop:\"staysWithinBuffer\",name:\"staysWithinBuffer\",pkg:\"net/http\",typ:$funcType([$Int],[$Bool],false)},{prop:\"writeFrame\",name:\"writeFrame\",pkg:\"net/http\",typ:$funcType([MK],[$error],false)}]);MK.init([{prop:\"CloseConn\",name:\"CloseConn\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Flush\",name:\"Flush\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Framer\",name:\"Framer\",pkg:\"\",typ:$funcType([],[YN],false)},{prop:\"HeaderEncoder\",name:\"HeaderEncoder\",pkg:\"\",typ:$funcType([],[ZM,YQ],false)}]);MM.init(\"\",[]);MN.init(ID);MO.init(\"net/http\",[{prop:\"maxStreamID\",name:\"maxStreamID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"code\",name:\"code\",exported:false,typ:DV,tag:\"\"}]);MP.init(\"net/http\",[{prop:\"streamID\",name:\"streamID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"p\",name:\"p\",exported:false,typ:WP,tag:\"\"},{prop:\"endStream\",name:\"endStream\",exported:false,typ:$Bool,tag:\"\"}]);MQ.init(\"\",[{prop:\"StreamID\",name:\"StreamID\",exported:true,typ:$Uint32,tag:\"\"}]);MR.init(\"net/http\",[{prop:\"pf\",name:\"pf\",exported:false,typ:YZ,tag:\"\"}]);MS.init(\"\",[]);MU.init(\"net/http\",[{prop:\"streamID\",name:\"streamID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"httpResCode\",name:\"httpResCode\",exported:false,typ:$Int,tag:\"\"},{prop:\"h\",name:\"h\",exported:false,typ:NO,tag:\"\"},{prop:\"trailers\",name:\"trailers\",exported:false,typ:WN,tag:\"\"},{prop:\"endStream\",name:\"endStream\",exported:false,typ:$Bool,tag:\"\"},{prop:\"date\",name:\"date\",exported:false,typ:$String,tag:\"\"},{prop:\"contentType\",name:\"contentType\",exported:false,typ:$String,tag:\"\"},{prop:\"contentLength\",name:\"contentLength\",exported:false,typ:$String,tag:\"\"}]);MW.init(\"net/http\",[{prop:\"streamID\",name:\"streamID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"method\",name:\"method\",exported:false,typ:$String,tag:\"\"},{prop:\"url\",name:\"url\",exported:false,typ:XN,tag:\"\"},{prop:\"h\",name:\"h\",exported:false,typ:NO,tag:\"\"},{prop:\"allocatePromisedID\",name:\"allocatePromisedID\",exported:false,typ:AED,tag:\"\"},{prop:\"promisedID\",name:\"promisedID\",exported:false,typ:$Uint32,tag:\"\"}]);MX.init(\"net/http\",[{prop:\"streamID\",name:\"streamID\",exported:false,typ:$Uint32,tag:\"\"}]);MY.init(\"net/http\",[{prop:\"streamID\",name:\"streamID\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"n\",name:\"n\",exported:false,typ:$Uint32,tag:\"\"}]);NA.init([{prop:\"AdjustStream\",name:\"AdjustStream\",pkg:\"\",typ:$funcType([$Uint32,FY],[],false)},{prop:\"CloseStream\",name:\"CloseStream\",pkg:\"\",typ:$funcType([$Uint32],[],false)},{prop:\"OpenStream\",name:\"OpenStream\",pkg:\"\",typ:$funcType([$Uint32,NB],[],false)},{prop:\"Pop\",name:\"Pop\",pkg:\"\",typ:$funcType([],[NC,$Bool],false)},{prop:\"Push\",name:\"Push\",pkg:\"\",typ:$funcType([NC],[],false)}]);NB.init(\"\",[{prop:\"PusherID\",name:\"PusherID\",exported:true,typ:$Uint32,tag:\"\"}]);NC.init(\"net/http\",[{prop:\"write\",name:\"write\",exported:false,typ:MJ,tag:\"\"},{prop:\"stream\",name:\"stream\",exported:false,typ:WS,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:WX,tag:\"\"}]);ND.init(\"net/http\",[{prop:\"s\",name:\"s\",exported:false,typ:AAK,tag:\"\"}]);NE.init(AAL);NM.init(\"net/http\",[{prop:\"zero\",name:\"zero\",exported:false,typ:ND,tag:\"\"},{prop:\"sq\",name:\"sq\",exported:false,typ:AEJ,tag:\"\"},{prop:\"queuePool\",name:\"queuePool\",exported:false,typ:NE,tag:\"\"}]);NO.init($String,WN);NS.init([{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)}]);NT.init(\"net/http\",[{prop:\"w\",name:\"w\",exported:false,typ:C.Writer,tag:\"\"}]);NU.init(\"net/http\",[{prop:\"key\",name:\"key\",exported:false,typ:$String,tag:\"\"},{prop:\"values\",name:\"values\",exported:false,typ:WN,tag:\"\"}]);NV.init(\"net/http\",[{prop:\"kvs\",name:\"kvs\",exported:false,typ:WY,tag:\"\"}]);OC.init(\"net/http\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"}]);OI.init(\"\",[]);OJ.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Header\",name:\"Header\",exported:true,typ:NO,tag:\"\"}]);OL.init([{prop:\"Cookies\",name:\"Cookies\",pkg:\"\",typ:$funcType([XN],[XW],false)},{prop:\"SetCookies\",name:\"SetCookies\",pkg:\"\",typ:$funcType([XN,XW],[],false)}]);OM.init(\"\",[{prop:\"ErrorString\",name:\"ErrorString\",exported:true,typ:$String,tag:\"\"}]);ON.init(\"net/http\",[{prop:\"what\",name:\"what\",exported:false,typ:$String,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);OP.init(\"net/http\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"URL\",name:\"URL\",exported:true,typ:XN,tag:\"\"},{prop:\"Proto\",name:\"Proto\",exported:true,typ:$String,tag:\"\"},{prop:\"ProtoMajor\",name:\"ProtoMajor\",exported:true,typ:$Int,tag:\"\"},{prop:\"ProtoMinor\",name:\"ProtoMinor\",exported:true,typ:$Int,tag:\"\"},{prop:\"Header\",name:\"Header\",exported:true,typ:NO,tag:\"\"},{prop:\"Body\",name:\"Body\",exported:true,typ:C.ReadCloser,tag:\"\"},{prop:\"GetBody\",name:\"GetBody\",exported:true,typ:AEO,tag:\"\"},{prop:\"ContentLength\",name:\"ContentLength\",exported:true,typ:$Int64,tag:\"\"},{prop:\"TransferEncoding\",name:\"TransferEncoding\",exported:true,typ:WN,tag:\"\"},{prop:\"Close\",name:\"Close\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Host\",name:\"Host\",exported:true,typ:$String,tag:\"\"},{prop:\"Form\",name:\"Form\",exported:true,typ:M.Values,tag:\"\"},{prop:\"PostForm\",name:\"PostForm\",exported:true,typ:M.Values,tag:\"\"},{prop:\"MultipartForm\",name:\"MultipartForm\",exported:true,typ:XO,tag:\"\"},{prop:\"Trailer\",name:\"Trailer\",exported:true,typ:NO,tag:\"\"},{prop:\"RemoteAddr\",name:\"RemoteAddr\",exported:true,typ:$String,tag:\"\"},{prop:\"RequestURI\",name:\"RequestURI\",exported:true,typ:$String,tag:\"\"},{prop:\"TLS\",name:\"TLS\",exported:true,typ:XK,tag:\"\"},{prop:\"Cancel\",name:\"Cancel\",exported:true,typ:ACW,tag:\"\"},{prop:\"Response\",name:\"Response\",exported:true,typ:XH,tag:\"\"},{prop:\"ctx\",name:\"ctx\",exported:false,typ:Y.Context,tag:\"\"}]);PH.init(\"net/http\",[{prop:\"w\",name:\"w\",exported:false,typ:PQ,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:C.ReadCloser,tag:\"\"},{prop:\"n\",name:\"n\",exported:false,typ:$Int64,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);PM.init(\"\",[{prop:\"Status\",name:\"Status\",exported:true,typ:$String,tag:\"\"},{prop:\"StatusCode\",name:\"StatusCode\",exported:true,typ:$Int,tag:\"\"},{prop:\"Proto\",name:\"Proto\",exported:true,typ:$String,tag:\"\"},{prop:\"ProtoMajor\",name:\"ProtoMajor\",exported:true,typ:$Int,tag:\"\"},{prop:\"ProtoMinor\",name:\"ProtoMinor\",exported:true,typ:$Int,tag:\"\"},{prop:\"Header\",name:\"Header\",exported:true,typ:NO,tag:\"\"},{prop:\"Body\",name:\"Body\",exported:true,typ:C.ReadCloser,tag:\"\"},{prop:\"ContentLength\",name:\"ContentLength\",exported:true,typ:$Int64,tag:\"\"},{prop:\"TransferEncoding\",name:\"TransferEncoding\",exported:true,typ:WN,tag:\"\"},{prop:\"Close\",name:\"Close\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Uncompressed\",name:\"Uncompressed\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Trailer\",name:\"Trailer\",exported:true,typ:NO,tag:\"\"},{prop:\"Request\",name:\"Request\",exported:true,typ:WT,tag:\"\"},{prop:\"TLS\",name:\"TLS\",exported:true,typ:XK,tag:\"\"}]);PP.init([{prop:\"ServeHTTP\",name:\"ServeHTTP\",pkg:\"\",typ:$funcType([PQ,WT],[],false)}]);PQ.init([{prop:\"Header\",name:\"Header\",pkg:\"\",typ:$funcType([],[NO],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([WP],[$Int,$error],false)},{prop:\"WriteHeader\",name:\"WriteHeader\",pkg:\"\",typ:$funcType([$Int],[],false)}]);PU.init(\"net/http\",[{prop:\"server\",name:\"server\",exported:false,typ:ZC,tag:\"\"},{prop:\"cancelCtx\",name:\"cancelCtx\",exported:false,typ:Y.CancelFunc,tag:\"\"},{prop:\"rwc\",name:\"rwc\",exported:false,typ:R.Conn,tag:\"\"},{prop:\"remoteAddr\",name:\"remoteAddr\",exported:false,typ:$String,tag:\"\"},{prop:\"tlsState\",name:\"tlsState\",exported:false,typ:XK,tag:\"\"},{prop:\"werr\",name:\"werr\",exported:false,typ:$error,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:ABH,tag:\"\"},{prop:\"bufr\",name:\"bufr\",exported:false,typ:AAE,tag:\"\"},{prop:\"bufw\",name:\"bufw\",exported:false,typ:WW,tag:\"\"},{prop:\"lastMethod\",name:\"lastMethod\",exported:false,typ:$String,tag:\"\"},{prop:\"curReq\",name:\"curReq\",exported:false,typ:AL.Value,tag:\"\"},{prop:\"curState\",name:\"curState\",exported:false,typ:AL.Value,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"hijackedv\",name:\"hijackedv\",exported:false,typ:$Bool,tag:\"\"}]);PV.init(\"net/http\",[{prop:\"res\",name:\"res\",exported:false,typ:ABI,tag:\"\"},{prop:\"header\",name:\"header\",exported:false,typ:NO,tag:\"\"},{prop:\"wroteHeader\",name:\"wroteHeader\",exported:false,typ:$Bool,tag:\"\"},{prop:\"chunking\",name:\"chunking\",exported:false,typ:$Bool,tag:\"\"}]);PY.init(\"net/http\",[{prop:\"conn\",name:\"conn\",exported:false,typ:ABL,tag:\"\"},{prop:\"req\",name:\"req\",exported:false,typ:WT,tag:\"\"},{prop:\"reqBody\",name:\"reqBody\",exported:false,typ:C.ReadCloser,tag:\"\"},{prop:\"cancelCtx\",name:\"cancelCtx\",exported:false,typ:Y.CancelFunc,tag:\"\"},{prop:\"wroteHeader\",name:\"wroteHeader\",exported:false,typ:$Bool,tag:\"\"},{prop:\"wroteContinue\",name:\"wroteContinue\",exported:false,typ:$Bool,tag:\"\"},{prop:\"wants10KeepAlive\",name:\"wants10KeepAlive\",exported:false,typ:$Bool,tag:\"\"},{prop:\"wantsClose\",name:\"wantsClose\",exported:false,typ:$Bool,tag:\"\"},{prop:\"w\",name:\"w\",exported:false,typ:WW,tag:\"\"},{prop:\"cw\",name:\"cw\",exported:false,typ:PV,tag:\"\"},{prop:\"handlerHeader\",name:\"handlerHeader\",exported:false,typ:NO,tag:\"\"},{prop:\"calledHeader\",name:\"calledHeader\",exported:false,typ:$Bool,tag:\"\"},{prop:\"written\",name:\"written\",exported:false,typ:$Int64,tag:\"\"},{prop:\"contentLength\",name:\"contentLength\",exported:false,typ:$Int64,tag:\"\"},{prop:\"status\",name:\"status\",exported:false,typ:$Int,tag:\"\"},{prop:\"closeAfterReply\",name:\"closeAfterReply\",exported:false,typ:$Bool,tag:\"\"},{prop:\"requestBodyLimitHit\",name:\"requestBodyLimitHit\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trailers\",name:\"trailers\",exported:false,typ:WN,tag:\"\"},{prop:\"handlerDone\",name:\"handlerDone\",exported:false,typ:PZ,tag:\"\"},{prop:\"dateBuf\",name:\"dateBuf\",exported:false,typ:ABM,tag:\"\"},{prop:\"clenBuf\",name:\"clenBuf\",exported:false,typ:ABN,tag:\"\"},{prop:\"closeNotifyCh\",name:\"closeNotifyCh\",exported:false,typ:ADU,tag:\"\"},{prop:\"didCloseNotify\",name:\"didCloseNotify\",exported:false,typ:$Int32,tag:\"\"}]);QA.init(\"\",[{prop:\"Writer\",name:\"\",exported:true,typ:C.Writer,tag:\"\"}]);QC.init(\"net/http\",[{prop:\"n\",name:\"n\",exported:false,typ:$Int,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"},{prop:\"b\",name:\"b\",exported:false,typ:$Uint8,tag:\"\"}]);QD.init(\"net/http\",[{prop:\"conn\",name:\"conn\",exported:false,typ:ABL,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"hasByte\",name:\"hasByte\",exported:false,typ:$Bool,tag:\"\"},{prop:\"byteBuf\",name:\"byteBuf\",exported:false,typ:ABA,tag:\"\"},{prop:\"bgErr\",name:\"bgErr\",exported:false,typ:$error,tag:\"\"},{prop:\"cond\",name:\"cond\",exported:false,typ:AAD,tag:\"\"},{prop:\"inRead\",name:\"inRead\",exported:false,typ:$Bool,tag:\"\"},{prop:\"aborted\",name:\"aborted\",exported:false,typ:$Bool,tag:\"\"},{prop:\"remain\",name:\"remain\",exported:false,typ:$Int64,tag:\"\"}]);QN.init(\"net/http\",[{prop:\"resp\",name:\"resp\",exported:false,typ:ABI,tag:\"\"},{prop:\"readCloser\",name:\"readCloser\",exported:false,typ:C.ReadCloser,tag:\"\"},{prop:\"closed\",name:\"closed\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sawEOF\",name:\"sawEOF\",exported:false,typ:$Bool,tag:\"\"}]);QR.init(\"net/http\",[{prop:\"contentType\",name:\"contentType\",exported:false,typ:$String,tag:\"\"},{prop:\"connection\",name:\"connection\",exported:false,typ:$String,tag:\"\"},{prop:\"transferEncoding\",name:\"transferEncoding\",exported:false,typ:$String,tag:\"\"},{prop:\"date\",name:\"date\",exported:false,typ:WP,tag:\"\"},{prop:\"contentLength\",name:\"contentLength\",exported:false,typ:WP,tag:\"\"}]);QZ.init([{prop:\"CloseWrite\",name:\"CloseWrite\",pkg:\"\",typ:$funcType([],[$error],false)}]);RG.init([PQ,WT],[],false);RO.init(\"net/http\",[{prop:\"url\",name:\"url\",exported:false,typ:$String,tag:\"\"},{prop:\"code\",name:\"code\",exported:false,typ:$Int,tag:\"\"}]);RQ.init(\"net/http\",[{prop:\"mu\",name:\"mu\",exported:false,typ:P.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:AES,tag:\"\"},{prop:\"hosts\",name:\"hosts\",exported:false,typ:$Bool,tag:\"\"}]);RR.init(\"net/http\",[{prop:\"explicit\",name:\"explicit\",exported:false,typ:$Bool,tag:\"\"},{prop:\"h\",name:\"h\",exported:false,typ:PP,tag:\"\"},{prop:\"pattern\",name:\"pattern\",exported:false,typ:$String,tag:\"\"}]);RZ.init(\"net/http\",[{prop:\"Addr\",name:\"Addr\",exported:true,typ:$String,tag:\"\"},{prop:\"Handler\",name:\"Handler\",exported:true,typ:PP,tag:\"\"},{prop:\"TLSConfig\",name:\"TLSConfig\",exported:true,typ:XD,tag:\"\"},{prop:\"ReadTimeout\",name:\"ReadTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"ReadHeaderTimeout\",name:\"ReadHeaderTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"WriteTimeout\",name:\"WriteTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"IdleTimeout\",name:\"IdleTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"MaxHeaderBytes\",name:\"MaxHeaderBytes\",exported:true,typ:$Int,tag:\"\"},{prop:\"TLSNextProto\",name:\"TLSNextProto\",exported:true,typ:AEU,tag:\"\"},{prop:\"ConnState\",name:\"ConnState\",exported:true,typ:AEV,tag:\"\"},{prop:\"ErrorLog\",name:\"ErrorLog\",exported:true,typ:ZJ,tag:\"\"},{prop:\"disableKeepAlives\",name:\"disableKeepAlives\",exported:false,typ:$Int32,tag:\"\"},{prop:\"inShutdown\",name:\"inShutdown\",exported:false,typ:$Int32,tag:\"\"},{prop:\"nextProtoOnce\",name:\"nextProtoOnce\",exported:false,typ:P.Once,tag:\"\"},{prop:\"nextProtoErr\",name:\"nextProtoErr\",exported:false,typ:$error,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"listeners\",name:\"listeners\",exported:false,typ:AEW,tag:\"\"},{prop:\"activeConn\",name:\"activeConn\",exported:false,typ:AEX,tag:\"\"},{prop:\"doneChan\",name:\"doneChan\",exported:false,typ:ACP,tag:\"\"}]);SD.init(\"net/http\",[{prop:\"srv\",name:\"srv\",exported:false,typ:ZC,tag:\"\"}]);SK.init(\"\",[{prop:\"TCPListener\",name:\"\",exported:true,typ:ABQ,tag:\"\"}]);SL.init(\"\",[]);SM.init(\"net/http\",[{prop:\"c\",name:\"c\",exported:false,typ:ABP,tag:\"\"},{prop:\"h\",name:\"h\",exported:false,typ:SD,tag:\"\"}]);SN.init(\"net/http\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"Conn\",name:\"\",exported:true,typ:R.Conn,tag:\"\"}]);SR.init(\"net/http\",[{prop:\"c\",name:\"c\",exported:false,typ:ABL,tag:\"\"}]);SW.init([{prop:\"match\",name:\"match\",pkg:\"net/http\",typ:$funcType([WP,$Int],[$String],false)}]);SY.init(\"net/http\",[{prop:\"sig\",name:\"sig\",exported:false,typ:WP,tag:\"\"},{prop:\"ct\",name:\"ct\",exported:false,typ:$String,tag:\"\"}]);SZ.init(\"net/http\",[{prop:\"mask\",name:\"mask\",exported:false,typ:WP,tag:\"\"},{prop:\"pat\",name:\"pat\",exported:false,typ:WP,tag:\"\"},{prop:\"skipWS\",name:\"skipWS\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ct\",name:\"ct\",exported:false,typ:$String,tag:\"\"}]);TA.init($Uint8);TD.init(\"\",[]);TE.init(\"\",[]);TH.init(\"net/http\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);TI.init(\"net/http\",[{prop:\"b\",name:\"b\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);TJ.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Body\",name:\"Body\",exported:true,typ:C.Reader,tag:\"\"},{prop:\"BodyCloser\",name:\"BodyCloser\",exported:true,typ:C.Closer,tag:\"\"},{prop:\"ResponseToHEAD\",name:\"ResponseToHEAD\",exported:true,typ:$Bool,tag:\"\"},{prop:\"ContentLength\",name:\"ContentLength\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Close\",name:\"Close\",exported:true,typ:$Bool,tag:\"\"},{prop:\"TransferEncoding\",name:\"TransferEncoding\",exported:true,typ:WN,tag:\"\"},{prop:\"Trailer\",name:\"Trailer\",exported:true,typ:NO,tag:\"\"},{prop:\"IsResponse\",name:\"IsResponse\",exported:true,typ:$Bool,tag:\"\"},{prop:\"FlushHeaders\",name:\"FlushHeaders\",exported:true,typ:$Bool,tag:\"\"},{prop:\"ByteReadCh\",name:\"ByteReadCh\",exported:true,typ:AFE,tag:\"\"}]);TM.init(\"\",[{prop:\"Header\",name:\"Header\",exported:true,typ:NO,tag:\"\"},{prop:\"StatusCode\",name:\"StatusCode\",exported:true,typ:$Int,tag:\"\"},{prop:\"RequestMethod\",name:\"RequestMethod\",exported:true,typ:$String,tag:\"\"},{prop:\"ProtoMajor\",name:\"ProtoMajor\",exported:true,typ:$Int,tag:\"\"},{prop:\"ProtoMinor\",name:\"ProtoMinor\",exported:true,typ:$Int,tag:\"\"},{prop:\"Body\",name:\"Body\",exported:true,typ:C.ReadCloser,tag:\"\"},{prop:\"ContentLength\",name:\"ContentLength\",exported:true,typ:$Int64,tag:\"\"},{prop:\"TransferEncoding\",name:\"TransferEncoding\",exported:true,typ:WN,tag:\"\"},{prop:\"Close\",name:\"Close\",exported:true,typ:$Bool,tag:\"\"},{prop:\"Trailer\",name:\"Trailer\",exported:true,typ:NO,tag:\"\"}]);TX.init(\"net/http\",[{prop:\"src\",name:\"src\",exported:false,typ:C.Reader,tag:\"\"},{prop:\"hdr\",name:\"hdr\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:AAE,tag:\"\"},{prop:\"closing\",name:\"closing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"doEarlyClose\",name:\"doEarlyClose\",exported:false,typ:$Bool,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"sawEOF\",name:\"sawEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"closed\",name:\"closed\",exported:false,typ:$Bool,tag:\"\"},{prop:\"earlyClose\",name:\"earlyClose\",exported:false,typ:$Bool,tag:\"\"},{prop:\"onHitEOF\",name:\"onHitEOF\",exported:false,typ:XL,tag:\"\"}]);UD.init(\"net/http\",[{prop:\"b\",name:\"b\",exported:false,typ:ABK,tag:\"\"}]);UF.init(\"net/http\",[{prop:\"tw\",name:\"tw\",exported:false,typ:ABR,tag:\"\"}]);UG.init(\"net/http\",[{prop:\"idleMu\",name:\"idleMu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"wantIdle\",name:\"wantIdle\",exported:false,typ:$Bool,tag:\"\"},{prop:\"idleConn\",name:\"idleConn\",exported:false,typ:AFI,tag:\"\"},{prop:\"idleConnCh\",name:\"idleConnCh\",exported:false,typ:AFJ,tag:\"\"},{prop:\"idleLRU\",name:\"idleLRU\",exported:false,typ:WE,tag:\"\"},{prop:\"reqMu\",name:\"reqMu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"reqCanceler\",name:\"reqCanceler\",exported:false,typ:AFK,tag:\"\"},{prop:\"altMu\",name:\"altMu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"altProto\",name:\"altProto\",exported:false,typ:AL.Value,tag:\"\"},{prop:\"Proxy\",name:\"Proxy\",exported:true,typ:AFL,tag:\"\"},{prop:\"DialContext\",name:\"DialContext\",exported:true,typ:AFM,tag:\"\"},{prop:\"Dial\",name:\"Dial\",exported:true,typ:AFN,tag:\"\"},{prop:\"DialTLS\",name:\"DialTLS\",exported:true,typ:AFN,tag:\"\"},{prop:\"TLSClientConfig\",name:\"TLSClientConfig\",exported:true,typ:XD,tag:\"\"},{prop:\"TLSHandshakeTimeout\",name:\"TLSHandshakeTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"DisableKeepAlives\",name:\"DisableKeepAlives\",exported:true,typ:$Bool,tag:\"\"},{prop:\"DisableCompression\",name:\"DisableCompression\",exported:true,typ:$Bool,tag:\"\"},{prop:\"MaxIdleConns\",name:\"MaxIdleConns\",exported:true,typ:$Int,tag:\"\"},{prop:\"MaxIdleConnsPerHost\",name:\"MaxIdleConnsPerHost\",exported:true,typ:$Int,tag:\"\"},{prop:\"IdleConnTimeout\",name:\"IdleConnTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"ResponseHeaderTimeout\",name:\"ResponseHeaderTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"ExpectContinueTimeout\",name:\"ExpectContinueTimeout\",exported:true,typ:Q.Duration,tag:\"\"},{prop:\"TLSNextProto\",name:\"TLSNextProto\",exported:true,typ:AFP,tag:\"\"},{prop:\"ProxyConnectHeader\",name:\"ProxyConnectHeader\",exported:true,typ:NO,tag:\"\"},{prop:\"MaxResponseHeaderBytes\",name:\"MaxResponseHeaderBytes\",exported:true,typ:$Int64,tag:\"\"},{prop:\"nextProtoOnce\",name:\"nextProtoOnce\",exported:false,typ:P.Once,tag:\"\"},{prop:\"h2transport\",name:\"h2transport\",exported:false,typ:XE,tag:\"\"}]);UJ.init(\"net/http\",[{prop:\"Request\",name:\"\",exported:true,typ:WT,tag:\"\"},{prop:\"extra\",name:\"extra\",exported:false,typ:NO,tag:\"\"},{prop:\"trace\",name:\"trace\",exported:false,typ:ZD,tag:\"\"}]);UY.init(\"net/http\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);VA.init(\"net/http\",[{prop:\"pc\",name:\"pc\",exported:false,typ:ABT,tag:\"\"}]);VC.init(\"net/http\",[{prop:\"proxyURL\",name:\"proxyURL\",exported:false,typ:XN,tag:\"\"},{prop:\"targetScheme\",name:\"targetScheme\",exported:false,typ:$String,tag:\"\"},{prop:\"targetAddr\",name:\"targetAddr\",exported:false,typ:$String,tag:\"\"}]);VD.init(\"net/http\",[{prop:\"proxy\",name:\"proxy\",exported:false,typ:$String,tag:\"\"},{prop:\"scheme\",name:\"scheme\",exported:false,typ:$String,tag:\"\"},{prop:\"addr\",name:\"addr\",exported:false,typ:$String,tag:\"\"}]);VE.init(\"net/http\",[{prop:\"alt\",name:\"alt\",exported:false,typ:AT,tag:\"\"},{prop:\"t\",name:\"t\",exported:false,typ:XR,tag:\"\"},{prop:\"cacheKey\",name:\"cacheKey\",exported:false,typ:VD,tag:\"\"},{prop:\"conn\",name:\"conn\",exported:false,typ:R.Conn,tag:\"\"},{prop:\"tlsState\",name:\"tlsState\",exported:false,typ:XK,tag:\"\"},{prop:\"br\",name:\"br\",exported:false,typ:AAE,tag:\"\"},{prop:\"bw\",name:\"bw\",exported:false,typ:WW,tag:\"\"},{prop:\"nwrite\",name:\"nwrite\",exported:false,typ:$Int64,tag:\"\"},{prop:\"reqch\",name:\"reqch\",exported:false,typ:AFS,tag:\"\"},{prop:\"writech\",name:\"writech\",exported:false,typ:AFT,tag:\"\"},{prop:\"closech\",name:\"closech\",exported:false,typ:ACP,tag:\"\"},{prop:\"isProxy\",name:\"isProxy\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sawEOF\",name:\"sawEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"readLimit\",name:\"readLimit\",exported:false,typ:$Int64,tag:\"\"},{prop:\"writeErrCh\",name:\"writeErrCh\",exported:false,typ:WX,tag:\"\"},{prop:\"writeLoopDone\",name:\"writeLoopDone\",exported:false,typ:ACP,tag:\"\"},{prop:\"idleAt\",name:\"idleAt\",exported:false,typ:Q.Time,tag:\"\"},{prop:\"idleTimer\",name:\"idleTimer\",exported:false,typ:ZL,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"numExpectedResponses\",name:\"numExpectedResponses\",exported:false,typ:$Int,tag:\"\"},{prop:\"closed\",name:\"closed\",exported:false,typ:$error,tag:\"\"},{prop:\"canceledErr\",name:\"canceledErr\",exported:false,typ:$error,tag:\"\"},{prop:\"broken\",name:\"broken\",exported:false,typ:$Bool,tag:\"\"},{prop:\"reused\",name:\"reused\",exported:false,typ:$Bool,tag:\"\"},{prop:\"mutateHeaderFunc\",name:\"mutateHeaderFunc\",exported:false,typ:AFU,tag:\"\"}]);VF.init(\"net/http\",[{prop:\"error\",name:\"\",exported:false,typ:$error,tag:\"\"}]);VG.init(\"net/http\",[{prop:\"res\",name:\"res\",exported:false,typ:XH,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);VH.init(\"net/http\",[{prop:\"req\",name:\"req\",exported:false,typ:WT,tag:\"\"},{prop:\"ch\",name:\"ch\",exported:false,typ:AFV,tag:\"\"},{prop:\"addedGzip\",name:\"addedGzip\",exported:false,typ:$Bool,tag:\"\"},{prop:\"continueCh\",name:\"continueCh\",exported:false,typ:AFW,tag:\"\"},{prop:\"callerGone\",name:\"callerGone\",exported:false,typ:ACW,tag:\"\"}]);VI.init(\"net/http\",[{prop:\"req\",name:\"req\",exported:false,typ:AFG,tag:\"\"},{prop:\"ch\",name:\"ch\",exported:false,typ:AFX,tag:\"\"},{prop:\"continueCh\",name:\"continueCh\",exported:false,typ:ACW,tag:\"\"}]);VJ.init(\"net/http\",[{prop:\"err\",name:\"err\",exported:false,typ:$String,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:$Bool,tag:\"\"}]);VX.init(\"net/http\",[{prop:\"body\",name:\"body\",exported:false,typ:C.ReadCloser,tag:\"\"},{prop:\"mu\",name:\"mu\",exported:false,typ:P.Mutex,tag:\"\"},{prop:\"closed\",name:\"closed\",exported:false,typ:$Bool,tag:\"\"},{prop:\"rerr\",name:\"rerr\",exported:false,typ:$error,tag:\"\"},{prop:\"fn\",name:\"fn\",exported:false,typ:AFZ,tag:\"\"},{prop:\"earlyCloseFn\",name:\"earlyCloseFn\",exported:false,typ:AGA,tag:\"\"}]);VZ.init(\"net/http\",[{prop:\"body\",name:\"body\",exported:false,typ:ABX,tag:\"\"},{prop:\"zr\",name:\"zr\",exported:false,typ:AAI,tag:\"\"},{prop:\"zerr\",name:\"zerr\",exported:false,typ:$error,tag:\"\"}]);WB.init(\"\",[]);WC.init(\"\",[]);WE.init(\"net/http\",[{prop:\"ll\",name:\"ll\",exported:false,typ:XC,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:AGD,tag:\"\"}]);XQ.init([{prop:\"CancelRequest\",name:\"CancelRequest\",pkg:\"\",typ:$funcType([WT],[],false)}]);AAB.init([{prop:\"getDoneChan\",name:\"getDoneChan\",pkg:\"net/http\",typ:$funcType([],[ACW],false)}]);AAC.init([{prop:\"doKeepAlives\",name:\"doKeepAlives\",pkg:\"net/http\",typ:$funcType([],[$Bool],false)}]);AAW.init([{prop:\"requestTooLarge\",name:\"requestTooLarge\",pkg:\"net/http\",typ:$funcType([],[],false)}]);ABV.init(\"net/http\",[{prop:\"pc\",name:\"pc\",exported:false,typ:ABT,tag:\"\"},{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=G.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=X.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AN.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Y.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Z.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=J.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=K.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AA.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=L.$init();$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AB.$init();$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=S.$init();$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=T.$init();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=R.$init();$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AC.$init();$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AM.$init();$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=22;case 22:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=M.$init();$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=U.$init();$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=V.$init();$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=W.$init();$s=26;case 26:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AD.$init();$s=27;case 27:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AE.$init();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=N.$init();$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=30;case 30:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=O.$init();$s=31;case 31:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=P.$init();$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AL.$init();$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=Q.$init();$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AI.$init();$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AF.$init();$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AG.$init();$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AH.$init();$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AJ.$init();$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=AK.$init();$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}HV=false;HW=false;HX=false;HY=false;JI=$throwNilPointerError;JJ=$throwNilPointerError;JK=WG.nil;JL=$throwNilPointerError;KV=$throwNilPointerError;PB=new P.Pool.ptr(0,0,WH.nil,$throwNilPointerError);QE=new P.Pool.ptr(0,0,WH.nil,$throwNilPointerError);QF=new P.Pool.ptr(0,0,WH.nil,$throwNilPointerError);QG=new P.Pool.ptr(0,0,WH.nil,$throwNilPointerError);QW=new P.RWMutex.ptr(new P.Mutex.ptr(0,0),0,0,0,0);RT=new RQ.ptr(new P.RWMutex.ptr(new P.Mutex.ptr(0,0),0,0,0,0),false,false);SE=$throwNilPointerError;SO=new P.Mutex.ptr(0,0);UZ=new R.Dialer.ptr(new Q.Duration(0,0),new Q.Time.ptr(new $Int64(0,0),0,WL.nil),$ifaceNil,false,new Q.Duration(0,0),new Q.Duration(0,0),WM.nil,$chanNil);$pkg.DefaultTransport=(function(){var $ptr,a;if(!($global.fetch===undefined)&&!($global.ReadableStream===undefined)){return new AP.ptr();}else if(!($global.XMLHttpRequest===undefined)){return new AR.ptr(false);}else{return(a=new AQ.ptr(),new a.constructor.elem(a));}})();$pkg.DefaultClient=new AS.ptr($ifaceNil,$throwNilPointerError,$ifaceNil,new Q.Duration(0,0));$pkg.ErrUseLastResponse=A.New(\"net/http: use last response\");BP=O.NewReplacer(new WN([\"\\n\",\"-\",\"\\r\",\"-\"]));CH=A.New(\"seeker can't seek\");CI=A.New(\"invalid range: failed to overlap\");CT=$clone(Q.Unix(new $Int64(0,0),new $Int64(0,0)),Q.Time);DW=$makeMap(DV.keyFor,[{k:0,v:\"NO_ERROR\"},{k:1,v:\"PROTOCOL_ERROR\"},{k:2,v:\"INTERNAL_ERROR\"},{k:3,v:\"FLOW_CONTROL_ERROR\"},{k:4,v:\"SETTINGS_TIMEOUT\"},{k:5,v:\"STREAM_CLOSED\"},{k:6,v:\"FRAME_SIZE_ERROR\"},{k:7,v:\"REFUSED_STREAM\"},{k:8,v:\"CANCEL\"},{k:9,v:\"COMPRESSION_ERROR\"},{k:10,v:\"CONNECT_ERROR\"},{k:11,v:\"ENHANCE_YOUR_CALM\"},{k:12,v:\"INADEQUATE_SECURITY\"},{k:13,v:\"HTTP_1_1_REQUIRED\"}]);EG=A.New(\"mix of request and response pseudo headers\");EH=A.New(\"pseudo header field after regular\");EJ=A.New(\"read from empty fixedBuffer\");EK=A.New(\"write on full fixedBuffer\");EM=$makeSlice(WP,255);EO=$makeMap(EN.keyFor,[{k:0,v:\"DATA\"},{k:1,v:\"HEADERS\"},{k:2,v:\"PRIORITY\"},{k:3,v:\"RST_STREAM\"},{k:4,v:\"SETTINGS\"},{k:5,v:\"PUSH_PROMISE\"},{k:6,v:\"PING\"},{k:7,v:\"GOAWAY\"},{k:8,v:\"WINDOW_UPDATE\"},{k:9,v:\"CONTINUATION\"}]);EQ=$makeMap(EN.keyFor,[{k:0,v:$makeMap(EP.keyFor,[{k:1,v:\"END_STREAM\"},{k:8,v:\"PADDED\"}])},{k:1,v:$makeMap(EP.keyFor,[{k:1,v:\"END_STREAM\"},{k:4,v:\"END_HEADERS\"},{k:8,v:\"PADDED\"},{k:32,v:\"PRIORITY\"}])},{k:4,v:$makeMap(EP.keyFor,[{k:1,v:\"ACK\"}])},{k:6,v:$makeMap(EP.keyFor,[{k:1,v:\"ACK\"}])},{k:9,v:$makeMap(EP.keyFor,[{k:4,v:\"END_HEADERS\"}])},{k:5,v:$makeMap(EP.keyFor,[{k:4,v:\"END_HEADERS\"},{k:8,v:\"PADDED\"}])}]);EV=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr,a,b;a=$makeSlice(WP,9);return(b||(b=new WQ(function(){return a;},function($v){a=$subslice(new WP($v.$array),$v.$offset,$v.$offset+$v.$length);})));}));FB=A.New(\"http2: frame too large\");FF=A.New(\"invalid stream ID\");FG=A.New(\"invalid dependent stream ID\");FH=A.New(\"pad length too large\");a=U.Getenv(\"DEBUG_HTTP2_GOROUTINES\");$s=41;case 41:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}HJ=a===\"1\";HM=(new WP($stringToBytes(\"goroutine \")));HO=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr,b,c;b=$makeSlice(WP,64);return(c||(c=new WQ(function(){return b;},function($v){b=$subslice(new WP($v.$array),$v.$offset,$v.$offset+$v.$length);})));}));HR=$makeMap($String.keyFor,[]);HS=$makeMap($String.keyFor,[]);IA=(new WP($stringToBytes(\"PRI * HTTP/2.0\\r\\n\\r\\nSM\\r\\n\\r\\n\")));IC=$toNativeArray($kindString,[\"Idle\",\"Open\",\"HalfClosedLocal\",\"HalfClosedRemote\",\"Closed\"]);ES=$makeMap(EN.keyFor,[{k:0,v:FE},{k:1,v:FV},{k:2,v:FZ},{k:3,v:GB},{k:4,v:FL},{k:5,v:GF},{k:6,v:FN},{k:7,v:FP},{k:8,v:FT},{k:9,v:GD}]);IF=$makeMap(IE.keyFor,[{k:1,v:\"HEADER_TABLE_SIZE\"},{k:2,v:\"ENABLE_PUSH\"},{k:3,v:\"MAX_CONCURRENT_STREAMS\"},{k:4,v:\"INITIAL_WINDOW_SIZE\"},{k:5,v:\"MAX_FRAME_SIZE\"},{k:6,v:\"MAX_HEADER_LIST_SIZE\"}]);IG=A.New(\"http2: invalid header field name\");IH=A.New(\"http2: invalid header field value\");IJ=$makeMap($Int.keyFor,[]);IR=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr;return G.NewWriterSize($ifaceNil,4096);}));IV=new IU.ptr(\"http2: timeout awaiting response headers\",true);IX=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr;return new IY.ptr(WN.nil);}));JC=A.New(\"write on closed buffer\");JD=A.New(\"client disconnected\");JE=A.New(\"body closed by handler\");JF=A.New(\"http2: request body closed due to handler exiting\");JG=A.New(\"http2: stream closed\");JH=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr,b,c;b=new KH.ptr(WS.nil,WT.nil,WU.nil,WV.nil,WW.nil,false,false,WN.nil,0,false,false,false,new $Int64(0,0),new $Int64(0,0),new P.Mutex.ptr(0,0),$chanNil);b.bw=G.NewWriterSize((c=new KI.ptr(b),new c.constructor.elem(c)),4096);return b;}));JV=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr;return new WX(new $Chan($error,1));}));JW=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr;return new MP.ptr(0,WP.nil,false);}));JX=A.New(\"http2: handler panicked\");KA=new $Chan(WP,8);KK=A.New(\"http2: recursive push not allowed\");KL=A.New(\"http2: push would exceed peer's SETTINGS_MAX_CONCURRENT_STREAMS\");KP=new WN([\"Connection\",\"Keep-Alive\",\"Proxy-Connection\",\"Transfer-Encoding\",\"Upgrade\"]);KT=$makeMap($String.keyFor,[{k:\"Authorization\",v:true},{k:\"Cache-Control\",v:true},{k:\"Connection\",v:true},{k:\"Content-Encoding\",v:true},{k:\"Content-Length\",v:true},{k:\"Content-Range\",v:true},{k:\"Content-Type\",v:true},{k:\"Expect\",v:true},{k:\"Host\",v:true},{k:\"Keep-Alive\",v:true},{k:\"Max-Forwards\",v:true},{k:\"Pragma\",v:true},{k:\"Proxy-Authenticate\",v:true},{k:\"Proxy-Authorization\",v:true},{k:\"Proxy-Connection\",v:true},{k:\"Range\",v:true},{k:\"Realm\",v:true},{k:\"Te\",v:true},{k:\"Trailer\",v:true},{k:\"Transfer-Encoding\",v:true},{k:\"Www-Authenticate\",v:true}]);KY=A.New(\"http2: ConfigureTransport is only supported starting at Go 1.6\");LD=A.New(\"http2: no cached connection was available\");LG=A.New(\"http2: client conn is closed\");LH=A.New(\"http2: client conn not usable\");LI=A.New(\"http2: Transport received Server's graceful shutdown GOAWAY\");LJ=A.New(\"http2: Transport received Server's graceful shutdown GOAWAY; some request body already written\");LL=A.New(\"net/http: request canceled\");LP=A.New(\"http2: aborting request body write\");LQ=A.New(\"http2: canceling request\");LY=A.New(\"http2: response body closed\");LZ=A.New(\"http2: invalid trailers\");MA=A.New(\"http2: response header list larger than advertised limit\");MB=A.New(\"http2: invalid pseudo header in trailers\");MC=D.NopCloser(H.NewReader(WP.nil));NR=O.NewReplacer(new WN([\"\\n\",\" \",\"\\r\",\" \"]));NW=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr;return new NV.ptr(WY.nil);}));OB=$clone(Q.Unix(new $Int64(0,1),new $Int64(0,0)),Q.Time);$pkg.NoBody=new OI.ptr();$pkg.ErrMissingFile=A.New(\"http: no such file\");$pkg.ErrNotSupported=new OM.ptr(\"feature not supported\");$pkg.ErrUnexpectedTrailer=new OM.ptr(\"trailer header without chunked transfer encoding\");$pkg.ErrMissingBoundary=new OM.ptr(\"no multipart boundary param in Content-Type\");$pkg.ErrNotMultipart=new OM.ptr(\"request Content-Type isn't multipart/form-data\");OO=$makeMap($String.keyFor,[{k:\"Host\",v:true},{k:\"User-Agent\",v:true},{k:\"Content-Length\",v:true},{k:\"Transfer-Encoding\",v:true},{k:\"Trailer\",v:true}]);$pkg.ErrNoCookie=A.New(\"http: named cookie not present\");OQ=new T.Form.ptr({},{});OS=A.New(\"http: Request.Write on Request with no Host or URL set\");PL=$makeMap($String.keyFor,[{k:\"Content-Length\",v:true},{k:\"Transfer-Encoding\",v:true},{k:\"Trailer\",v:true}]);$pkg.ErrNoLocation=A.New(\"http: no Location header in response\");$pkg.ErrBodyNotAllowed=A.New(\"http: request method or response status code does not allow body\");$pkg.ErrHijacked=A.New(\"http: connection has been hijacked\");$pkg.ErrContentLength=A.New(\"http: wrote more than the declared Content-Length\");$pkg.ErrWriteAfterFlush=A.New(\"unused\");$pkg.ServerContextKey=new OC.ptr(\"http-server\");$pkg.LocalAddrContextKey=new OC.ptr(\"local-addr\");PW=(new WP($stringToBytes(\"\\r\\n\")));PX=(new WP($stringToBytes(\": \")));QH=new P.Pool.ptr(0,0,WH.nil,(function(){var $ptr,b,c;b=$makeSlice(WP,32768);return(c||(c=new WQ(function(){return b;},function($v){b=$subslice(new WP($v.$array),$v.$offset,$v.$offset+$v.$length);})));}));QP=A.New(\"http: request too large\");QS=new WZ([(new WP($stringToBytes(\"Content-Type\"))),(new WP($stringToBytes(\"Connection\"))),(new WP($stringToBytes(\"Transfer-Encoding\")))]);QT=(new WP($stringToBytes(\"Content-Length: \")));QU=(new WP($stringToBytes(\"Date: \")));QX={};$pkg.ErrAbortHandler=A.New(\"net/http: abort Handler\");RM=O.NewReplacer(new WN([\"&\",\"&amp;\",\"<\",\"&lt;\",\">\",\"&gt;\",\"\\\"\",\"&#34;\",\"'\",\"&#39;\"]));$pkg.DefaultServeMux=RT;SA=new Q.Duration(0,500000000);RB=$toNativeArray($kindInterface,[new SB(0),new SB(1),new SB(2),new SB(3),new SB(4)]);SC=$makeMap(SB.keyFor,[{k:0,v:\"new\"},{k:1,v:\"active\"},{k:2,v:\"idle\"},{k:3,v:\"hijacked\"},{k:4,v:\"closed\"}]);$pkg.ErrServerClosed=A.New(\"http: Server closed\");$pkg.ErrHandlerTimeout=A.New(\"http: Handler timeout\");SP={};SX=new XB([(new TA($stringToBytes(\"<!DOCTYPE HTML\"))),(new TA($stringToBytes(\"<HTML\"))),(new TA($stringToBytes(\"<HEAD\"))),(new TA($stringToBytes(\"<SCRIPT\"))),(new TA($stringToBytes(\"<IFRAME\"))),(new TA($stringToBytes(\"<H1\"))),(new TA($stringToBytes(\"<DIV\"))),(new TA($stringToBytes(\"<FONT\"))),(new TA($stringToBytes(\"<TABLE\"))),(new TA($stringToBytes(\"<A\"))),(new TA($stringToBytes(\"<STYLE\"))),(new TA($stringToBytes(\"<TITLE\"))),(new TA($stringToBytes(\"<B\"))),(new TA($stringToBytes(\"<BODY\"))),(new TA($stringToBytes(\"<BR\"))),(new TA($stringToBytes(\"<P\"))),(new TA($stringToBytes(\"<!--\"))),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\"<?xml\"))),true,\"text/xml; charset=utf-8\"),new SY.ptr((new WP($stringToBytes(\"%PDF-\"))),\"application/pdf\"),new SY.ptr((new WP($stringToBytes(\"%!PS-Adobe-\"))),\"application/postscript\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\x00\\x00\"))),(new WP($stringToBytes(\"\\xFE\\xFF\\x00\\x00\"))),false,\"text/plain; charset=utf-16be\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\x00\\x00\"))),(new WP($stringToBytes(\"\\xFF\\xFE\\x00\\x00\"))),false,\"text/plain; charset=utf-16le\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\x00\"))),(new WP($stringToBytes(\"\\xEF\\xBB\\xBF\\x00\"))),false,\"text/plain; charset=utf-8\"),new SY.ptr((new WP($stringToBytes(\"GIF87a\"))),\"image/gif\"),new SY.ptr((new WP($stringToBytes(\"GIF89a\"))),\"image/gif\"),new SY.ptr((new WP($stringToBytes(\"\\x89PNG\\r\\n\\x1A\\n\"))),\"image/png\"),new SY.ptr((new WP($stringToBytes(\"\\xFF\\xD8\\xFF\"))),\"image/jpeg\"),new SY.ptr((new WP($stringToBytes(\"BM\"))),\"image/bmp\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\xFF\\x00\\x00\\x00\\x00\\xFF\\xFF\\xFF\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\"RIFF\\x00\\x00\\x00\\x00WEBPVP\"))),false,\"image/webp\"),new SY.ptr((new WP($stringToBytes(\"\\x00\\x00\\x01\\x00\"))),\"image/vnd.microsoft.icon\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\xFF\\x00\\x00\\x00\\x00\\xFF\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\"RIFF\\x00\\x00\\x00\\x00WAVE\"))),false,\"audio/wave\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\xFF\\x00\\x00\\x00\\x00\\xFF\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\"FORM\\x00\\x00\\x00\\x00AIFF\"))),false,\"audio/aiff\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\".snd\"))),false,\"audio/basic\"),new SZ.ptr((new WP($stringToBytes(\"OggS\\x00\"))),(new WP($stringToBytes(\"OggS\\x00\"))),false,\"application/ogg\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\xFF\\xFF\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\"MThd\\x00\\x00\\x00\\x06\"))),false,\"audio/midi\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\"ID3\"))),false,\"audio/mpeg\"),new SZ.ptr((new WP($stringToBytes(\"\\xFF\\xFF\\xFF\\xFF\\x00\\x00\\x00\\x00\\xFF\\xFF\\xFF\\xFF\"))),(new WP($stringToBytes(\"RIFF\\x00\\x00\\x00\\x00AVI \"))),false,\"video/avi\"),new SY.ptr((new WP($stringToBytes(\"\\x1AE\\xDF\\xA3\"))),\"video/webm\"),new SY.ptr((new WP($stringToBytes(\"Rar \\x1A\\x07\\x00\"))),\"application/x-rar-compressed\"),new SY.ptr((new WP($stringToBytes(\"PK\\x03\\x04\"))),\"application/zip\"),new SY.ptr((new WP($stringToBytes(\"\\x1F\\x8B\\b\"))),\"application/x-gzip\"),(b=new TD.ptr(),new b.constructor.elem(b)),(c=new TE.ptr(),new c.constructor.elem(c))]);TB=(new WP($stringToBytes(\"ftyp\")));TC=(new WP($stringToBytes(\"mp4\")));TF=$makeMap($Int.keyFor,[{k:100,v:\"Continue\"},{k:101,v:\"Switching Protocols\"},{k:102,v:\"Processing\"},{k:200,v:\"OK\"},{k:201,v:\"Created\"},{k:202,v:\"Accepted\"},{k:203,v:\"Non-Authoritative Information\"},{k:204,v:\"No Content\"},{k:205,v:\"Reset Content\"},{k:206,v:\"Partial Content\"},{k:207,v:\"Multi-Status\"},{k:208,v:\"Already Reported\"},{k:226,v:\"IM Used\"},{k:300,v:\"Multiple Choices\"},{k:301,v:\"Moved Permanently\"},{k:302,v:\"Found\"},{k:303,v:\"See Other\"},{k:304,v:\"Not Modified\"},{k:305,v:\"Use Proxy\"},{k:307,v:\"Temporary Redirect\"},{k:308,v:\"Permanent Redirect\"},{k:400,v:\"Bad Request\"},{k:401,v:\"Unauthorized\"},{k:402,v:\"Payment Required\"},{k:403,v:\"Forbidden\"},{k:404,v:\"Not Found\"},{k:405,v:\"Method Not Allowed\"},{k:406,v:\"Not Acceptable\"},{k:407,v:\"Proxy Authentication Required\"},{k:408,v:\"Request Timeout\"},{k:409,v:\"Conflict\"},{k:410,v:\"Gone\"},{k:411,v:\"Length Required\"},{k:412,v:\"Precondition Failed\"},{k:413,v:\"Request Entity Too Large\"},{k:414,v:\"Request URI Too Long\"},{k:415,v:\"Unsupported Media Type\"},{k:416,v:\"Requested Range Not Satisfiable\"},{k:417,v:\"Expectation Failed\"},{k:418,v:\"I'm a teapot\"},{k:422,v:\"Unprocessable Entity\"},{k:423,v:\"Locked\"},{k:424,v:\"Failed Dependency\"},{k:426,v:\"Upgrade Required\"},{k:428,v:\"Precondition Required\"},{k:429,v:\"Too Many Requests\"},{k:431,v:\"Request Header Fields Too Large\"},{k:451,v:\"Unavailable For Legal Reasons\"},{k:500,v:\"Internal Server Error\"},{k:501,v:\"Not Implemented\"},{k:502,v:\"Bad Gateway\"},{k:503,v:\"Service Unavailable\"},{k:504,v:\"Gateway Timeout\"},{k:505,v:\"HTTP Version Not Supported\"},{k:506,v:\"Variant Also Negotiates\"},{k:507,v:\"Insufficient Storage\"},{k:508,v:\"Loop Detected\"},{k:510,v:\"Not Extended\"},{k:511,v:\"Network Authentication Required\"}]);TO=new WN([\"Content-Type\",\"Content-Length\",\"Transfer-Encoding\"]);TP=new WN([\"Content-Length\",\"Transfer-Encoding\"]);$pkg.ErrBodyReadAfterClose=A.New(\"http: invalid Read on closed Body\");TY=(new WP($stringToBytes(\"\\r\\n\")));TZ=(new WP($stringToBytes(\"\\r\\n\\r\\n\")));UB=A.New(\"http: unexpected EOF reading trailer\");$pkg.ErrSkipAltProtocol=A.New(\"net/http: skip alternate protocol\");UO=A.New(\"http: putIdleConn: keep alives disabled\");UP=A.New(\"http: putIdleConn: connection is in bad state\");UQ=A.New(\"http: putIdleConn: CloseIdleConnections was called\");UR=A.New(\"http: putIdleConn: too many idle connections\");US=A.New(\"http: putIdleConn: too many idle connections for host\");UT=A.New(\"http: CloseIdleConnections called\");UU=A.New(\"http: persistConn.readLoop exiting\");UV=A.New(\"http: server closed idle connection\");UW=A.New(\"http: idle connection timeout\");UX=A.New(\"http: not caching alternate protocol's connections\");VK=new VJ.ptr(\"net/http: timeout awaiting response headers\",true);VL=A.New(\"net/http: request canceled\");VM=A.New(\"net/http: request canceled while waiting for connection\");VO=VN;VP=VN;VQ=VN;VR=VN;VS=VN;VT=(d=new WC.ptr(),new d.constructor.elem(d));VU=VN;VV=$makeMap($String.keyFor,[{k:\"http\",v:\"80\"},{k:\"https\",v:\"443\"}]);VY=A.New(\"http: read on closed response body\");HT();$r=HZ();$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}IK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/ajax\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,H,I,K,L,M,N,O,P,Q,R,G,J;A=$packages[\"encoding/json\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/examples\"];B=$packages[\"net/http\"];H=$pkg.gist=$newType(0,$kindStruct,\"main.gist\",true,\"github.com/bep/gr/examples/ajax\",false,function(URL_,ID_,HTMLURL_,CreatedAt_,Description_){this.$val=this;if(arguments.length===0){this.URL=\"\";this.ID=\"\";this.HTMLURL=\"\";this.CreatedAt=\"\";this.Description=\"\";return;}this.URL=URL_;this.ID=ID_;this.HTMLURL=HTMLURL_;this.CreatedAt=CreatedAt_;this.Description=Description_;});I=$pkg.userGists=$newType(0,$kindStruct,\"main.userGists\",true,\"github.com/bep/gr/examples/ajax\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=K.nil;return;}this.This=This_;});K=$ptrType(C.This);L=$sliceType(C.Option);M=$sliceType(C.Modifier);N=$sliceType($emptyInterface);O=$sliceType($String);P=$mapType($String,$emptyInterface);Q=$sliceType(H);R=$ptrType(Q);G=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=C.New(new I.ptr(K.nil),new L([]));$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=a;$r=b.Render(\"react\",$makeMap($String.keyFor,[]));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};I.ptr.prototype.Render=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=E.Div(new M([]));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;d=new C.State(a.This.State()).Interface(\"gists\");if(!($interfaceIsEqual(d,$ifaceNil))){$s=2;continue;}$s=3;continue;case 2:e=$assertType(d,N);f=C.CSS(new O([\"table\",\"table-striped\"]));g=C.Style(\"width\",new $String(\"50%\"));h=C.Text(new $String(\"Description\"));$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.TableHeader(new M([h]));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=C.Text(new $String(\"URL\"));$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=E.TableHeader(new M([k]));$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.TableRow(new M([j,m]));$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=E.TableHead(new M([n]));$s=9;case 9:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=E.Table(new M([f,g,p]));$s=10;case 10:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=E.TableBody(new M([]));$s=11;case 11:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=e;v=0;case 12:if(!(v<u.$length)){$s=13;continue;}w=((v<0||v>=u.$length)?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+v]);x=J(w);$s=14;case 14:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;y.Modify(t);v++;$s=12;continue;case 13:t.Modify(r);r.Modify(c);case 3:z=F.Example(\"Ajax (some random Gists)\",new M([c]));$s=15;case 15:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}$s=-1;return z;}return;}if($f===undefined){$f={$blk:I.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};I.prototype.Render=function(){return this.$val.Render();};J=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$assertType(a,P);d=C.Text((c=b[$String.keyFor(\"Description\")],c!==undefined?c.v:$ifaceNil));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=E.TableData(new M([d]));$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;h=D.HRef((g=b[$String.keyFor(\"HtmlUrl\")],g!==undefined?g.v:$ifaceNil));i=D.Target(new $String(\"_blank\"));j=C.Text(new $String(\"View\"));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=E.Anchor(new M([h,i,k]));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=E.TableData(new M([l]));$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=E.TableRow(new M([f,n]));$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return o;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};I.ptr.prototype.ComponentDidMount=function(){var $ptr,a,b,c,d,e,f,g,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=[a];b=this;console.log(\"ComponentDidMount\");a[0]=Q.nil;d=B.Get(\"https://api.github.com/users/bradfitz/gists\");$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];if(!($interfaceIsEqual(f,$ifaceNil))){$panic(f);}$deferred.push([$methodVal(e.Body,\"Close\"),[]]);g=A.NewDecoder(e.Body).Decode((a.$ptr||(a.$ptr=new R(function(){return this.$target[0];},function($v){this.$target[0]=$v;},a))));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(!($interfaceIsEqual(f,$ifaceNil))){$panic(f);}b.This.SetState($makeMap($String.keyFor,[{k:\"gists\",v:a[0]}]));$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:I.ptr.prototype.ComponentDidMount};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};I.prototype.ComponentDidMount=function(){return this.$val.ComponentDidMount();};I.ptr.prototype.ComponentWillUnmount=function(){var $ptr,a;a=this;console.log(\"ComponentWillUnmount\");};I.prototype.ComponentWillUnmount=function(){return this.$val.ComponentWillUnmount();};I.ptr.prototype.ShouldComponentUpdate=function(a,b){var $ptr,a,b,c;c=this;return new C.State(c.This.State()).HasChanged(b.State,new O([\"gists\"]));};I.prototype.ShouldComponentUpdate=function(a,b){return this.$val.ShouldComponentUpdate(a,b);};I.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([K,C.Cops],[$Bool],false)}];H.init(\"\",[{prop:\"URL\",name:\"URL\",exported:true,typ:$String,tag:\"json:\\\"url\\\"\"},{prop:\"ID\",name:\"ID\",exported:true,typ:$String,tag:\"json:\\\"id\\\"\"},{prop:\"HTMLURL\",name:\"HTMLURL\",exported:true,typ:$String,tag:\"json:\\\"html_url\\\"\"},{prop:\"CreatedAt\",name:\"CreatedAt\",exported:true,typ:$String,tag:\"json:\\\"created_at\\\"\"},{prop:\"Description\",name:\"Description\",exported:true,typ:$String,tag:\"json:\\\"description\\\"\"}]);I.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:K,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){$s=7;continue;}$s=8;continue;case 7:$r=G();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 8:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/ajax\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=ajax.js.map\n"
  },
  {
    "path": "examples/ajax/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\n<head>\n   <link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n <style>\n\tbody { margin-top: 40px; }\n  </style>\n</head>\n\n<body>\n    <div id=\"react\" class=\"container\"></div>\n    <script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>    \n\t<script src=\"ajax.js\"></script>\n</body>\n\n</html>\n"
  },
  {
    "path": "examples/ajax/main.go",
    "content": "package main\n\nimport (\n\t\"encoding/json\"\n\t\"net/http\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/attr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/examples\"\n)\n\n// Ajax loading example similar to:\n// https://facebook.github.io/react/tips/initial-ajax.html\n//\n// NOTE: These initial examples are technical in nature, and do not attempt\n// to establish a best practice of how to create React apps.\n\nfunc main() {\n\tcomponent := gr.New(new(userGists))\n\tcomponent.Render(\"react\", gr.Props{})\n}\n\ntype gist struct {\n\tURL         string `json:\"url\"`\n\tID          string `json:\"id\"`\n\tHTMLURL     string `json:\"html_url\"`\n\tCreatedAt   string `json:\"created_at\"`\n\tDescription string `json:\"description\"`\n}\n\ntype userGists struct {\n\t*gr.This\n}\n\n// Implements the Renderer interface.\nfunc (g userGists) Render() gr.Component {\n\n\telem := el.Div()\n\n\tif s := g.State().Interface(\"gists\"); s != nil {\n\t\t// The nice Gist type is lost once we entered the JavaScript world.\n\t\t//\n\t\t// What we get now is:\n\t\t//\n\t\t// []interface{} with the individual Gists as map[string]interface{}\n\t\t//\n\t\t// Let that serve as a note to self that this may not be the optimal way.\n\t\t// I imagine most of the UI will happen in JavaScript and the business logic\n\t\t// and here in Go \"all\" the orchestration, including injecting data required\n\t\t// by the components.\n\t\tgists := s.([]interface{})\n\n\t\ttable := el.Table(\n\t\t\tgr.CSS(\"table\", \"table-striped\"),\n\t\t\tgr.Style(\"width\", \"50%\"),\n\t\t\tel.TableHead(el.TableRow(\n\t\t\t\tel.TableHeader(gr.Text(\"Description\")),\n\t\t\t\tel.TableHeader(gr.Text(\"URL\")),\n\t\t\t)))\n\n\t\tbody := el.TableBody()\n\n\t\tfor _, g := range gists {\n\t\t\ttr := tableRow(g)\n\t\t\ttr.Modify(body)\n\t\t}\n\n\t\t// TODO(bep) \"body modifies table\" doesn't sound right/good. Rename ...\n\t\tbody.Modify(table)\n\t\ttable.Modify(elem)\n\t}\n\n\treturn examples.Example(\"Ajax (some random Gists)\", elem)\n\n}\n\nfunc tableRow(i interface{}) *gr.Element {\n\tgist := i.(map[string]interface{})\n\n\treturn el.TableRow(\n\t\tel.TableData(gr.Text(gist[\"Description\"])),\n\t\tel.TableData(\n\t\t\tel.Anchor(attr.HRef(gist[\"HtmlUrl\"]),\n\t\t\t\tattr.Target(\"_blank\"), gr.Text(\"View\"))),\n\t)\n}\n\n// Implements the ComponentDidMount interface\nfunc (g userGists) ComponentDidMount() {\n\tprintln(\"ComponentDidMount\")\n\n\tvar gists []gist\n\n\t// Note that ComponentDidMount is assumed to block, so no need to spin up a\n\t// goroutine for this.\n\tresp, err := http.Get(\"https://api.github.com/users/bradfitz/gists\")\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tdefer resp.Body.Close()\n\n\terr = json.NewDecoder(resp.Body).Decode(&gists)\n\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tg.SetState(gr.State{\"gists\": gists})\n}\n\n// Implements the ComponentWillUnmount interface\nfunc (g userGists) ComponentWillUnmount() {\n\tprintln(\"ComponentWillUnmount\")\n\t// TODO(bep): HTTP Cancelation\n}\n\n// Implements the ShouldComponentUpdate interface.\nfunc (g userGists) ShouldComponentUpdate(this *gr.This, next gr.Cops) bool {\n\treturn g.State().HasChanged(next.State, \"gists\")\n}\n"
  },
  {
    "path": "examples/basic/basic.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,V,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,D,I,J;D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});I=$funcType([],[],false);J=$ptrType(D);D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DK,DN,DP,DQ,DR,DS,DT,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BR,BS,BU,BV,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DP,DQ,DR,DS,DT,I,J,AX,AY,K,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BJ,BL,CB,CD,CH,CM,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DJ=$structType(\"\",[]);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CM=function(a,b){var $ptr,a,b,c,d;c=new H.Duration(0,333000000);if(b.$length>0){c=(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]);}d=new $Chan(DJ,0);$go((function $b(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:f=$select([[H.After(c)],[d]]);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e[0]===0){$s=4;continue;}if(e[0]===1){$s=5;continue;}$s=6;continue;case 4:$r=a();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;}),[]);return d;};$pkg.RenderLoop=CM;CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,AC,AG,CJ;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;CJ=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"strong\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Strong=CJ;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A;A=$packages[\"github.com/bep/gr\"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,G,J;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.CSS(new L([\"panel-footer\"]));h=C.Text(new $String(\"Facebook React in Go: \"));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.Emphasis(new M([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=D.HRef(new $String(\"https://github.com/bep/gr/\"));l=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Anchor(new M([k,m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=E.Div(new M([j,o]));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=E.Div(new M([g,q]));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Div(new M([d,f,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=-1;return u;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Example=G;J=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=E.Div(new M([C.CSS(new L([\"alert\",\"alert-\"+a])),b]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=-1;return d;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Alert=J;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/basic\"]=(function(){var $pkg={},$init,A,C,D,E,B,G,H,I,J,K,L,M,F;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/el\"];E=$packages[\"github.com/bep/gr/examples\"];B=$packages[\"time\"];G=$pkg.elapser=$newType(0,$kindStruct,\"main.elapser\",true,\"github.com/bep/gr/examples/basic\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=H.nil;return;}this.This=This_;});H=$ptrType(C.This);I=$sliceType(C.Option);J=$sliceType(B.Duration);K=$sliceType($emptyInterface);L=$sliceType(C.Modifier);M=$sliceType($String);F=function(){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];b[0]=$clone(B.Now(),B.Time).Unix();c=C.New(new G.ptr(H.nil),new I([]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a[0]=c;C.RenderLoop((function(a,b){return function $b(){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=$makeMap($String.keyFor,[{k:\"elapsed\",v:(d=$clone(B.Now(),B.Time).Unix(),new $Int64(d.$high-b[0].$high,d.$low-b[0].$low))}]);$r=a[0].Render(\"react\",e);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b),new J([]));$s=-1;return;}return;}if($f===undefined){$f={$blk:F};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};G.ptr.prototype.Render=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=(b=a.This.Props()[$String.keyFor(\"elapsed\")],b!==undefined?b.v:$ifaceNil);d=A.Sprintf(\"React has been successfully running for '%v' seconds.\",new K([c]));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=C.Text(new $String(e));$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=D.Strong(new L([f]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=E.Alert(\"info\",h);$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=E.Example(\"Basic\",new L([j]));$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Render=function(){return this.$val.Render();};G.ptr.prototype.ShouldComponentUpdate=function(a,b){var $ptr,a,b,c;c=this;return new C.Props(c.This.Props()).HasChanged(b.Props,new M([\"elapsed\"]));};G.prototype.ShouldComponentUpdate=function(a,b){return this.$val.ShouldComponentUpdate(a,b);};G.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([H,C.Cops],[$Bool],false)}];G.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:H,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){$s=6;continue;}$s=7;continue;case 6:$r=F();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 7:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/basic\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=basic.js.map\n"
  },
  {
    "path": "examples/basic/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\t<head>\n\t\t<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n\t\t<style>\n\t\t\tbody { margin-top: 40px; }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div id=\"react\" class=\"container\"></div>\n\t\t<script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>   \n\t\t<script src=\"basic.js\"></script>\n\t</body>\n</html>"
  },
  {
    "path": "examples/basic/main.go",
    "content": "package main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/examples\"\n)\n\n// Basic example similar to:\n// https://github.com/facebook/react/blob/master/examples/basic/index.html\n\nfunc main() {\n\tvar (\n\t\tstart     = time.Now().Unix()\n\t\tcomponent = gr.New(new(elapser))\n\t)\n\n\tgr.RenderLoop(func() {\n\t\tprops := gr.Props{\"elapsed\": (time.Now().Unix() - start)}\n\t\tcomponent.Render(\"react\", props)\n\t})\n}\n\ntype elapser struct {\n\t*gr.This\n}\n\n// Implements the Renderer interface.\nfunc (e elapser) Render() gr.Component {\n\telapsed := e.Props()[\"elapsed\"]\n\tmessage := fmt.Sprintf(\"React has been successfully running for '%v' seconds.\", elapsed)\n\n\telem := examples.Alert(\"info\", el.Strong(gr.Text(message)))\n\n\treturn examples.Example(\"Basic\", elem)\n}\n\n// Implements the ShouldComponentUpdate interface.\nfunc (e elapser) ShouldComponentUpdate(this *gr.This, next gr.Cops) bool {\n\treturn e.Props().HasChanged(next.Props, \"elapsed\")\n}\n"
  },
  {
    "path": "examples/basic-click-counter/basic-click-counter.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,V,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,D,I,J;D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});I=$funcType([],[],false);J=$ptrType(D);D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DK,DN,DP,DQ,DR,DS,DT,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BR,BS,BU,BV,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CI,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DP,DQ,DR,DS,DT,DU,I,J,AX,AY,K,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BH,BJ,BL,CB,CD,CH,CK,CM,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CI=$pkg.style=$newType(0,$kindStruct,\"gr.style\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DJ=$structType(\"\",[]);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);DU=$ptrType(CI);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BH=function(a,b){var $ptr,a,b,c;c=new BF.ptr(a,b,false,false,$throwNilPointerError);return c;};$pkg.NewEventListener=BH;BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CI.ptr.prototype.Modify=function(a){var $ptr,a,b,c;b=this;if(a.style===false){a.style={};}c=b.name;(a.style||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(c)]={k:c,v:b.value};};CI.prototype.Modify=function(a){return this.$val.Modify(a);};CK=function(a,b){var $ptr,a,b;return new CI.ptr(a,b);};$pkg.Style=CK;CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CM=function(a,b){var $ptr,a,b,c,d;c=new H.Duration(0,333000000);if(b.$length>0){c=(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]);}d=new $Chan(DJ,0);$go((function $b(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:f=$select([[H.After(c)],[d]]);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e[0]===0){$s=4;continue;}if(e[0]===1){$s=5;continue;}$s=6;continue;case 4:$r=a();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;}),[]);return d;};$pkg.RenderLoop=CM;CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DU.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CI.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,O,AC,AG;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;O=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"button\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Button=O;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A,W;A=$packages[\"github.com/bep/gr\"];W=function(a){var $ptr,a;return A.NewEventListener(\"onClick\",a);};$pkg.Click=W;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,G;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.CSS(new L([\"panel-footer\"]));h=C.Text(new $String(\"Facebook React in Go: \"));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.Emphasis(new M([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=D.HRef(new $String(\"https://github.com/bep/gr/\"));l=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Anchor(new M([k,m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=E.Div(new M([j,o]));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=E.Div(new M([g,q]));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Div(new M([d,f,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=-1;return u;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Example=G;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/basic-click-counter\"]=(function(){var $pkg={},$init,A,B,C,D,E,G,H,I,J,K,L,M,N,F;A=$packages[\"fmt\"];B=$packages[\"github.com/bep/gr\"];C=$packages[\"github.com/bep/gr/el\"];D=$packages[\"github.com/bep/gr/evt\"];E=$packages[\"github.com/bep/gr/examples\"];G=$pkg.clickCounter=$newType(0,$kindStruct,\"main.clickCounter\",true,\"github.com/bep/gr/examples/basic-click-counter\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=H.nil;return;}this.This=This_;});H=$ptrType(B.This);I=$sliceType(B.Option);J=$sliceType($packages[\"time\"].Duration);K=$sliceType($emptyInterface);L=$sliceType($String);M=$sliceType(B.Modifier);N=$ptrType(B.Event);F=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=B.New(new G.ptr(H.nil),new I([]));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a[0]=b;B.RenderLoop((function(a){return function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=a[0].Render(\"react\",$makeMap($String.keyFor,[]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;};})(a),new J([]));$s=-1;return;}return;}if($f===undefined){$f={$blk:F};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};G.ptr.prototype.GetInitialState=function(){var $ptr,a;a=this;return $makeMap($String.keyFor,[{k:\"counter\",v:new $Int(0)}]);};G.prototype.GetInitialState=function(){return this.$val.GetInitialState();};G.ptr.prototype.Render=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=(b=a.This.State()[$String.keyFor(\"counter\")],b!==undefined?b.v:$ifaceNil);d=A.Sprintf(\" Click me! Number of clicks: %v\",new K([c]));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=B.CSS(new L([\"btn\",\"btn-lg\",\"btn-primary\"]));g=B.Style(\"color\",new $String(\"orange\"));h=B.Text(new $String(e));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=D.Click($methodVal($clone(a,G),\"onClick\"));k=C.Button(new M([f,g,i,j]));$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=C.Div(new M([k]));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Example(\"Click Counter\",new M([m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$s=-1;return n;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Render=function(){return this.$val.Render();};G.ptr.prototype.onClick=function(a){var $ptr,a,b;b=this;b.This.SetState($makeMap($String.keyFor,[{k:\"counter\",v:new $Int((new B.State(b.This.State()).Int(\"counter\")+1>>0))}]));};G.prototype.onClick=function(a){return this.$val.onClick(a);};G.ptr.prototype.ShouldComponentUpdate=function(a){var $ptr,a,b;b=this;return new B.State(b.This.State()).HasChanged(a.State,new L([\"counter\"]));};G.prototype.ShouldComponentUpdate=function(a){return this.$val.ShouldComponentUpdate(a);};G.methods=[{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[B.State],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[B.Component],false)},{prop:\"onClick\",name:\"onClick\",pkg:\"github.com/bep/gr/examples/basic-click-counter\",typ:$funcType([N],[],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([B.Cops],[$Bool],false)}];G.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:H,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($pkg===$mainPkg){$s=6;continue;}$s=7;continue;case 6:$r=F();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 7:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/basic-click-counter\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=basic-click-counter.js.map\n"
  },
  {
    "path": "examples/basic-click-counter/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\t<head>\n\t\t<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n\t\t<style>\n\t\t\tbody { margin-top: 40px; }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div id=\"react\" class=\"container\"></div>\n\t\t<script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>\n\t\t<script src=\"basic-click-counter.js\"></script>\n\t</body>\n</html>"
  },
  {
    "path": "examples/basic-click-counter/main.go",
    "content": "package main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/evt\"\n\t\"github.com/bep/gr/examples\"\n)\n\n// Basic click counter example similar to:\n// https://github.com/facebook/react/blob/master/examples/basic-click-counter/index.html\n\nfunc main() {\n\tcomponent := gr.New(new(clickCounter))\n\n\tgr.RenderLoop(func() {\n\t\tcomponent.Render(\"react\", gr.Props{})\n\t})\n}\n\ntype clickCounter struct {\n\t*gr.This\n}\n\n// Implements the StateInitializer interface.\nfunc (c clickCounter) GetInitialState() gr.State {\n\treturn gr.State{\"counter\": 0}\n}\n\n// Implements the Renderer interface.\nfunc (c clickCounter) Render() gr.Component {\n\tcounter := c.State()[\"counter\"]\n\tmessage := fmt.Sprintf(\" Click me! Number of clicks: %v\", counter)\n\n\telem := el.Div(\n\t\tel.Button(\n\t\t\tgr.CSS(\"btn\", \"btn-lg\", \"btn-primary\"),\n\t\t\tgr.Style(\"color\", \"orange\"),\n\t\t\tgr.Text(message),\n\t\t\tevt.Click(c.onClick)))\n\n\treturn examples.Example(\"Click Counter\", elem)\n}\n\nfunc (c clickCounter) onClick(event *gr.Event) {\n\tc.SetState(gr.State{\"counter\": c.State().Int(\"counter\") + 1})\n}\n\n// Implements the ShouldComponentUpdate interface.\nfunc (c clickCounter) ShouldComponentUpdate(next gr.Cops) bool {\n\treturn c.State().HasChanged(next.State, \"counter\")\n}\n"
  },
  {
    "path": "examples/build.sh",
    "content": "#!/usr/bin/env bash\n\nfor D in `find . -type d -not -path '*/\\.*'`\ndo\n    pushd $D\n\tgopherjs build -m\n\tpopd\ndone\n\npushd interop\nbrowserify -r ./interop-ext-module.js:ElapserExtModule > interop-ext-module-bundle.js \nbrowserify -x ./interop-ext-module.js interop-ext-reverse.js > interop-ext-reverse-bundle.js \n\npopd\n"
  },
  {
    "path": "examples/composition/composition.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,V,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,D,I,J;D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});I=$funcType([],[],false);J=$ptrType(D);D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DK,DN,DP,DQ,DR,DS,DT,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BR,BS,BU,BV,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DP,DQ,DR,DS,DT,I,J,AX,AY,K,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BH,BJ,BL,CB,CD,CH,CM,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DJ=$structType(\"\",[]);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BH=function(a,b){var $ptr,a,b,c;c=new BF.ptr(a,b,false,false,$throwNilPointerError);return c;};$pkg.NewEventListener=BH;BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CM=function(a,b){var $ptr,a,b,c,d;c=new H.Duration(0,333000000);if(b.$length>0){c=(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]);}d=new $Chan(DJ,0);$go((function $b(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:f=$select([[H.After(c)],[d]]);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e[0]===0){$s=4;continue;}if(e[0]===1){$s=5;continue;}$s=6;continue;case 4:$r=a();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;}),[]);return d;};$pkg.RenderLoop=CM;CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,O,AC,AG,CJ;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;O=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"button\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Button=O;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;CJ=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"strong\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Strong=CJ;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A,W;A=$packages[\"github.com/bep/gr\"];W=function(a){var $ptr,a;return A.NewEventListener(\"onClick\",a);};$pkg.Click=W;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,K,L,M,N,O,P,G,J;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];K=$pkg.ClickCounter=$newType(0,$kindStruct,\"examples.ClickCounter\",true,\"github.com/bep/gr/examples\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=O.nil;return;}this.This=This_;});L=$sliceType($String);M=$sliceType(C.Modifier);N=$sliceType($emptyInterface);O=$ptrType(C.This);P=$ptrType(C.Event);G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.CSS(new L([\"panel-footer\"]));h=C.Text(new $String(\"Facebook React in Go: \"));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.Emphasis(new M([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=D.HRef(new $String(\"https://github.com/bep/gr/\"));l=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Anchor(new M([k,m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=E.Div(new M([j,o]));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=E.Div(new M([g,q]));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Div(new M([d,f,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=-1;return u;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Example=G;J=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=E.Div(new M([C.CSS(new L([\"alert\",\"alert-\"+a])),b]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=-1;return d;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Alert=J;K.ptr.prototype.GetInitialState=function(){var $ptr,a;a=this;return $makeMap($String.keyFor,[{k:\"counter\",v:new $Int(0)}]);};K.prototype.GetInitialState=function(){return this.$val.GetInitialState();};K.ptr.prototype.Render=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;c=(b=a.This.State()[$String.keyFor(\"counter\")],b!==undefined?b.v:$ifaceNil);d=A.Sprintf(\" Click me! Number of clicks: %v\",new N([c]));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=C.CSS(new L([\"btn\",\"btn-lg\",\"btn-primary\"]));g=C.Text(new $String(e));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=F.Click($methodVal($clone(a,K),\"onClick\"));j=E.Button(new M([f,h,i]));$s=3;case 3:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=E.Div(new M([j]));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:K.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};K.prototype.Render=function(){return this.$val.Render();};K.ptr.prototype.onClick=function(a){var $ptr,a,b;b=this;b.This.SetState($makeMap($String.keyFor,[{k:\"counter\",v:new $Int((new C.State(b.This.State()).Int(\"counter\")+1>>0))}]));};K.prototype.onClick=function(a){return this.$val.onClick(a);};K.ptr.prototype.ShouldComponentUpdate=function(a,b){var $ptr,a,b,c;c=this;return new C.State(c.This.State()).HasChanged(b,new L([\"counter\"]));};K.prototype.ShouldComponentUpdate=function(a,b){return this.$val.ShouldComponentUpdate(a,b);};K.ptr.prototype.ComponentDidMount=function(){var $ptr,a;a=this;console.log(\"ClickCounter: ComponentDidMount\");};K.prototype.ComponentDidMount=function(){return this.$val.ComponentDidMount();};K.methods=[{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[C.State],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"onClick\",name:\"onClick\",pkg:\"github.com/bep/gr/examples\",typ:$funcType([P],[],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([C.Props,C.State],[$Bool],false)},{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}];K.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:O,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/composition\"]=(function(){var $pkg={},$init,A,C,D,E,B,G,I,J,K,L,M,N,O,H,a,F;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/el\"];E=$packages[\"github.com/bep/gr/examples\"];B=$packages[\"time\"];G=$pkg.elapser=$newType(0,$kindStruct,\"main.elapser\",true,\"github.com/bep/gr/examples/composition\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=I.nil;return;}this.This=This_;});I=$ptrType(C.This);J=$sliceType(C.Option);K=$sliceType(B.Duration);L=$sliceType($emptyInterface);M=$sliceType(C.Modifier);N=$sliceType(C.Component);O=$sliceType($String);F=function(){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=[c];c[0]=$clone(B.Now(),B.Time).Unix();d=C.New(new G.ptr(I.nil),new J([]));$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b[0]=d;C.RenderLoop((function(b,c){return function $b(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=$makeMap($String.keyFor,[{k:\"elapsed\",v:(e=$clone(B.Now(),B.Time).Unix(),new $Int64(e.$high-c[0].$high,e.$low-c[0].$low))}]);$r=b[0].Render(\"react\",f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};})(b,c),new K([]));$s=-1;return;}return;}if($f===undefined){$f={$blk:F};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};G.ptr.prototype.Render=function(){var $ptr,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;d=(c=b.This.Props()[$String.keyFor(\"elapsed\")],c!==undefined?c.v:$ifaceNil);e=A.Sprintf(\"React has been successfully running for '%v' seconds.\",new L([d]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.Text(new $String(f));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=D.Strong(new M([g]));$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;j=E.Alert(\"info\",i);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=D.Div(new M([j,H.CreateElement(false,new N([]))]));$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=E.Example(\"Component Composition\",new M([l]));$s=6;case 6:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return m;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Render};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Render=function(){return this.$val.Render();};G.ptr.prototype.ShouldComponentUpdate=function(b){var $ptr,b,c;c=this;return new C.Props(c.This.Props()).HasChanged(b.Props,new O([\"elapsed\"]));};G.prototype.ShouldComponentUpdate=function(b){return this.$val.ShouldComponentUpdate(b);};G.ptr.prototype.ComponentDidMount=function(){var $ptr,b;b=this;console.log(\"Elapser: ComponentDidMount\");};G.prototype.ComponentDidMount=function(){return this.$val.ComponentDidMount();};G.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([C.Cops],[$Bool],false)},{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}];G.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:I,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=C.New(new E.ClickCounter.ptr(I.nil),new J([]));$s=6;case 6:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}H=a;if($pkg===$mainPkg){$s=7;continue;}$s=8;continue;case 7:$r=F();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 8:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/composition\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=composition.js.map\n"
  },
  {
    "path": "examples/composition/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\t<head>\n\t\t<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n\t\t<style>\n\t\t\tbody { margin-top: 40px; }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div id=\"react\" class=\"container\"></div>\n\t\t<script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>\n\t\t<script src=\"composition.js\"></script>\n\t</body>\n</html>"
  },
  {
    "path": "examples/composition/main.go",
    "content": "package main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/examples\"\n)\n\n// Basic example similar to:\n// https://github.com/facebook/react/blob/master/examples/basic/index.html\n\nfunc main() {\n\tvar (\n\t\tstart     = time.Now().Unix()\n\t\tcomponent = gr.New(new(elapser))\n\t)\n\n\tgr.RenderLoop(func() {\n\t\tprops := gr.Props{\"elapsed\": (time.Now().Unix() - start)}\n\t\tcomponent.Render(\"react\", props)\n\t})\n}\n\ntype elapser struct {\n\t*gr.This\n}\n\nvar clickCounter = gr.New(new(examples.ClickCounter))\n\n// Implements the Renderer interface.\nfunc (e elapser) Render() gr.Component {\n\telapsed := e.Props()[\"elapsed\"]\n\tmessage := fmt.Sprintf(\"React has been successfully running for '%v' seconds.\", elapsed)\n\telem := el.Div(\n\t\texamples.Alert(\"info\", el.Strong(gr.Text(message))),\n\t\tclickCounter.CreateElement(nil),\n\t)\n\n\treturn examples.Example(\"Component Composition\", elem)\n}\n\n// Implements the ShouldComponentUpdate interface.\nfunc (e elapser) ShouldComponentUpdate(next gr.Cops) bool {\n\treturn e.Props().HasChanged(next.Props, \"elapsed\")\n}\n\nfunc (e elapser) ComponentDidMount() {\n\tprintln(\"Elapser: ComponentDidMount\")\n}\n"
  },
  {
    "path": "examples/debounce/debounce.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,V,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,D,I,J;D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});I=$funcType([],[],false);J=$ptrType(D);D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DK,DN,DP,DQ,DR,DS,DT,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BR,BS,BU,BV,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/debounce\"]=(function(){var $pkg={},$init,A,D,E,B,C;A=$packages[\"time\"];D=$funcType([],[],false);E=$structType(\"\",[]);B=function(a){var $ptr,a,b,c,d,e,f;b=C(a);c=b[0];d=b[1];e=b[2];$go((function $b(){var $ptr,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:g=$select([[d],[e]]);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(f[0]===0){$s=4;continue;}if(f[0]===1){$s=5;continue;}$s=6;continue;case 4:h=f[1][0];$r=h();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$close(d);$close(c);$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;}),[]);f=(function $b(f){var $ptr,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=$send(c,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;});return[f,e];};$pkg.New=B;C=function(a){var $ptr,a,b,c,d;b=$chanNil;c=$chanNil;d=$chanNil;b=new $Chan(D,1);c=new $Chan(D,0);d=new $Chan(E,0);$go((function $b(){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=(function(){var $ptr;});case 1:g=$select([[b],[A.After(a)],[d]]);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;if(f[0]===0){$s=4;continue;}if(f[0]===1){$s=5;continue;}if(f[0]===2){$s=6;continue;}$s=7;continue;case 4:e=f[1][0];$s=7;continue;case 5:$r=$send(c,e);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=$recv(b);$s=9;case 9:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h[0];$s=7;continue;case 6:$s=-1;return;case 7:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;}),[]);return[b,c,d];};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CI,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DK,DL,DM,DN,DP,DQ,DR,DS,DT,DU,I,J,AX,AY,K,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BH,BJ,BL,CB,CD,CH,CK,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CI=$pkg.style=$newType(0,$kindStruct,\"gr.style\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);DU=$ptrType(CI);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BH=function(a,b){var $ptr,a,b,c;c=new BF.ptr(a,b,false,false,$throwNilPointerError);return c;};$pkg.NewEventListener=BH;BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CI.ptr.prototype.Modify=function(a){var $ptr,a,b,c;b=this;if(a.style===false){a.style={};}c=b.name;(a.style||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(c)]={k:c,v:b.value};};CI.prototype.Modify=function(a){return this.$val.Modify(a);};CK=function(a,b){var $ptr,a,b;return new CI.ptr(a,b);};$pkg.Style=CK;CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DU.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CI.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,AC,AG,BQ,DF,DG;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;BQ=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"p\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Paragraph=BQ;DF=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"h1\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:DF};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Header1=DF;DG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"h2\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:DG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Header2=DG;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A,CB;A=$packages[\"github.com/bep/gr\"];CB=function(a){var $ptr,a;return A.NewEventListener(\"onMouseMove\",a);};$pkg.MouseMove=CB;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,G;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.CSS(new L([\"panel-footer\"]));h=C.Text(new $String(\"Facebook React in Go: \"));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.Emphasis(new M([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=D.HRef(new $String(\"https://github.com/bep/gr/\"));l=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Anchor(new M([k,m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=E.Div(new M([j,o]));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=E.Div(new M([g,q]));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Div(new M([d,f,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=-1;return u;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Example=G;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/debounce\"]=(function(){var $pkg={},$init,B,C,D,E,F,G,H,A,J,M,N,O,P,Q,K,L,a,I;B=$packages[\"fmt\"];C=$packages[\"github.com/bep/debounce\"];D=$packages[\"github.com/bep/gr\"];E=$packages[\"github.com/bep/gr/attr\"];F=$packages[\"github.com/bep/gr/el\"];G=$packages[\"github.com/bep/gr/evt\"];H=$packages[\"github.com/bep/gr/examples\"];A=$packages[\"time\"];J=$pkg.mouseTracker=$newType(0,$kindStruct,\"main.mouseTracker\",true,\"github.com/bep/gr/examples/debounce\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=M.nil;return;}this.This=This_;});M=$ptrType(D.This);N=$sliceType(D.Option);O=$sliceType($emptyInterface);P=$sliceType(D.Modifier);Q=$sliceType($String);I=function(){var $ptr,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=D.New(new J.ptr(M.nil),new N([]));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}$r=b.Render(\"react\",$makeMap($String.keyFor,[]));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:I};}$f.$ptr=$ptr;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};J.ptr.prototype.Render=function(){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.This.State();e=(d=c[$String.keyFor(\"mouseX\")],d!==undefined?d.v:$ifaceNil);g=(f=c[$String.keyFor(\"mouseY\")],f!==undefined?f.v:$ifaceNil);i=(h=c[$String.keyFor(\"counter\")],h!==undefined?h.v:$ifaceNil);j=B.Sprintf(\"X: %v / Y:%v / %v\",new O([e,g,i]));$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=D.Style(\"backgroundColor\",new $String(\"#3399ff\"));m=D.Style(\"max-width\",new $String(\"500px\"));n=D.Style(\"height\",new $String(\"400px\"));o=D.Style(\"padding\",new $String(\"30px\"));p=D.Style(\"color\",new $String(\"white\"));q=D.Text(new $String(k));$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=F.Header1(new P([p,r]));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=D.Style(\"color\",new $String(\"white\"));v=D.Text(new $String(\"Move the mouse around in the blue square, then pause ...\"));$s=4;case 4:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v;x=F.Header2(new P([u,w]));$s=5;case 5:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}y=x;z=E.HRef(new $String(\"https://davidwalsh.name/javascript-debounce-function\"));aa=D.Text(new $String(\"Debounce Function Explained\"));$s=6;case 6:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=aa;ac=F.Anchor(new P([z,ab]));$s=7;case 7:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=F.Paragraph(new P([ac]));$s=8;case 8:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad;af=G.MouseMove(L);ag=F.Div(new P([l,m,n,o,t,y,ae,af]));$s=9;case 9:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}ah=ag;ai=H.Example(\"Debounce\",new P([ah]));$s=10;case 10:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}$s=-1;return ai;}return;}if($f===undefined){$f={$blk:J.ptr.prototype.Render};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};J.prototype.Render=function(){return this.$val.Render();};J.ptr.prototype.GetInitialState=function(){var $ptr,b;b=this;return $makeMap($String.keyFor,[{k:\"mouseX\",v:new $Int(0)},{k:\"mouseY\",v:new $Int(0)},{k:\"counter\",v:new $Int(0)}]);};J.prototype.GetInitialState=function(){return this.$val.GetInitialState();};J.ptr.prototype.ShouldComponentUpdate=function(b){var $ptr,b,c;c=this;return new D.State(c.This.State()).HasChanged(b.State,new Q([\"mouseX\",\"mouseY\"]));};J.prototype.ShouldComponentUpdate=function(b){return this.$val.ShouldComponentUpdate(b);};J.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[D.Component],false)},{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[D.State],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([D.Cops],[$Bool],false)}];J.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:M,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=C.New(new A.Duration(0,200000000));K=a[0];L=(function $b(b){var $ptr,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=[c];d=[d];c[0]=b[0].Int(\"screenX\");d[0]=b[0].Int(\"screenY\");e=(function(b,c,d){return function(){var $ptr,e;e=new D.State(b[0].This.State()).Int(\"counter\")+1>>0;b[0].This.SetState($makeMap($String.keyFor,[{k:\"mouseX\",v:new $Int(c[0])},{k:\"mouseY\",v:new $Int(d[0])},{k:\"counter\",v:new $Int(e)}]));};})(b,c,d);$r=K(e);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;});if($pkg===$mainPkg){$s=9;continue;}$s=10;continue;case 9:$r=I();$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 10:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/debounce\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=debounce.js.map\n"
  },
  {
    "path": "examples/debounce/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\t<head>\n\t\t<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n\t\t<style>\n\t\t\tbody { margin-top: 40px; }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div id=\"react\" class=\"container\"></div>\n\t\t<script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>\n\t\t<script src=\"debounce.js\"></script>\n\t</body>\n</html>"
  },
  {
    "path": "examples/debounce/main.go",
    "content": "package main\n\nimport (\n\t\"time\"\n\n\t\"fmt\"\n\n\t\"github.com/bep/debounce\"\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/attr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/evt\"\n\t\"github.com/bep/gr/examples\"\n)\n\nfunc main() {\n\tgr.New(new(mouseTracker)).Render(\"react\", gr.Props{})\n\n}\n\ntype mouseTracker struct {\n\t*gr.This\n}\n\n// Implements the Renderer interface.\nfunc (m mouseTracker) Render() gr.Component {\n\tstate := m.State()\n\tx := state[\"mouseX\"]\n\ty := state[\"mouseY\"]\n\tcounter := state[\"counter\"]\n\n\tmessage := fmt.Sprintf(\"X: %v / Y:%v / %v\", x, y, counter)\n\n\telem := el.Div(\n\t\tgr.Style(\"backgroundColor\", \"#3399ff\"),\n\t\tgr.Style(\"max-width\", \"500px\"),\n\t\tgr.Style(\"height\", \"400px\"),\n\t\tgr.Style(\"padding\", \"30px\"),\n\t\tel.Header1(\n\t\t\tgr.Style(\"color\", \"white\"),\n\t\t\tgr.Text(message),\n\t\t),\n\t\tel.Header2(\n\t\t\tgr.Style(\"color\", \"white\"),\n\t\t\tgr.Text(\"Move the mouse around in the blue square, then pause ...\"),\n\t\t),\n\t\tel.Paragraph(el.Anchor(\n\t\t\tattr.HRef(\"https://davidwalsh.name/javascript-debounce-function\"),\n\t\t\tgr.Text(\"Debounce Function Explained\"))),\n\t\tevt.MouseMove(debounceMouseListener),\n\t)\n\n\treturn examples.Example(\"Debounce\", elem)\n}\n\nfunc (m mouseTracker) GetInitialState() gr.State {\n\treturn gr.State{\"mouseX\": 0, \"mouseY\": 0, \"counter\": 0}\n}\n\nfunc (m mouseTracker) ShouldComponentUpdate(next gr.Cops) bool {\n\treturn m.State().HasChanged(next.State, \"mouseX\", \"mouseY\")\n}\n\nvar (\n\t// Only update the UI when no new events have been received for >= 200 ms.\n\tdebouncer, _                      = debounce.New(200 * time.Millisecond)\n\tdebounceMouseListener gr.Listener = func(e *gr.Event) {\n\n\t\t// React recycles events - so extract early.\n\t\t// For the mouse API, see https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent\n\t\t// Note the browser compatibility notes.\n\t\tclientX := e.Int(\"screenX\")\n\t\tclientY := e.Int(\"screenY\")\n\n\t\tf := func() {\n\t\t\tcounter := e.This.State().Int(\"counter\") + 1\n\t\t\te.This.SetState(gr.State{\"mouseX\": clientX, \"mouseY\": clientY, \"counter\": counter})\n\t\t}\n\n\t\tdebouncer(f)\n\n\t}\n)\n"
  },
  {
    "path": "examples/helpers.go",
    "content": "package examples\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/attr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/evt\"\n)\n\n// Example is a wrapper for the examples\nfunc Example(title string, body ...gr.Modifier) *gr.Element {\n\tmods := gr.Modifiers(body)\n\telem := el.Div(gr.CSS(\"panel\", \"panel-primary\"),\n\t\tel.Div(gr.CSS(\"panel-body\"), mods),\n\t\tel.Div(gr.CSS(\"panel-footer\"),\n\t\t\tel.Div(\n\t\t\t\tel.Emphasis(gr.Text(\"Facebook React in Go: \")),\n\t\t\t\tel.Anchor(attr.HRef(\"https://github.com/bep/gr/\"),\n\t\t\t\t\tgr.Text(\"https://github.com/bep/gr/\")),\n\t\t\t)),\n\t)\n\n\treturn elem\n}\n\n// Panel creates a panel.\nfunc Panel(title string, body ...gr.Modifier) *gr.Element {\n\tmods := gr.Modifiers(body)\n\treturn el.Div(gr.CSS(\"panel\", \"panel-primary\"),\n\t\tel.Div(gr.CSS(\"panel-heading\"), el.Header2(gr.Text(title))),\n\t\tel.Div(gr.CSS(\"panel-body\"),\n\t\t\tmods),\n\t\tel.Div(gr.CSS(\"panel-footer\"),\n\t\t\tel.Div(\n\t\t\t\tel.Emphasis(gr.Text(\"Facebook React in Go: \")),\n\t\t\t\tel.Anchor(attr.HRef(\"https://github.com/bep/gr/\"),\n\t\t\t\t\tgr.Text(\"https://github.com/bep/gr/\")),\n\t\t\t\tel.Anchor(attr.HRef(\"../basic/\"),\n\t\t\t\t\tgr.Text(\" - More examples\")),\n\t\t\t)))\n\n}\n\nfunc exampleListItem(title, href, text string) gr.Modifier {\n\tvar (\n\t\titemStatus gr.Modifier = gr.Discard\n\t\tloc                    = gr.Location()\n\t)\n\n\tif !strings.HasSuffix(href, \"/\") {\n\t\thref += \"/\"\n\t}\n\n\tif strings.HasSuffix(loc.Path, href) {\n\t\titemStatus = gr.CSS(\"active\")\n\t}\n\n\thref = \"../\" + href\n\n\treturn el.Anchor(gr.CSS(\"list-group-item\"), itemStatus, attr.HRef(href), gr.Text(text))\n\n}\n\n// Alert creates a Bootstrap alert element.\nfunc Alert(classifier string, body gr.Modifier) *gr.Element {\n\te := el.Div(\n\t\tgr.CSS(\"alert\", \"alert-\"+classifier),\n\t\t//el.Anchor(attr.HRef(\"#\"),\n\t\t//\tgr.CSS(\"close\"), gr.Data(\"dismiss\", \"alert\"), gr.Aria(\"label\", \"close\"),\n\t\t//\tgr.Text(\"Close\")),\n\t\tbody)\n\treturn e\n}\n\n// ClickCounter is a reusable components to use in composition examples.\n// This is just copy-paste from the click counter example. Consider making something else.\ntype ClickCounter struct {\n\t*gr.This\n}\n\n// GetInitialState implements the StateInitializer interface.\nfunc (c ClickCounter) GetInitialState() gr.State {\n\treturn gr.State{\"counter\": 0}\n}\n\n// Render implements the Renderer interface.\nfunc (c ClickCounter) Render() gr.Component {\n\tcounter := c.State()[\"counter\"]\n\tmessage := fmt.Sprintf(\" Click me! Number of clicks: %v\", counter)\n\n\treturn el.Div(\n\t\tel.Button(\n\t\t\tgr.CSS(\"btn\", \"btn-lg\", \"btn-primary\"),\n\t\t\tgr.Text(message),\n\t\t\tevt.Click(c.onClick)))\n}\n\nfunc (c ClickCounter) onClick(event *gr.Event) {\n\tc.SetState(gr.State{\"counter\": c.State().Int(\"counter\") + 1})\n}\n\n// ShouldComponentUpdate implements the ShouldComponentUpdate interface.\nfunc (c ClickCounter) ShouldComponentUpdate(\n\tnextProps gr.Props, nextState gr.State) bool {\n\n\treturn c.State().HasChanged(nextState, \"counter\")\n}\n\n// ComponentDidMount implements the ComponentDidMount interface.\nfunc (c ClickCounter) ComponentDidMount() {\n\tprintln(\"ClickCounter: ComponentDidMount\")\n}\n"
  },
  {
    "path": "examples/interop/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\t<head>\n\t\t<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n\t\t<style>\n\t\t\tbody { margin-top: 40px; }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div id=\"react-reverse-require\" class=\"container\"></div>\n\t\t<div id=\"react-reverse-global\" class=\"container\"></div>\n\t\t<div id=\"react\" class=\"container\"></div>\n\t\t<div id=\"react-hello\" class=\"container\"></div>\n\t\t<script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>\n\t\t<script src=\"interop-ext-global.js\"></script>\n\t\t<script src=\"interop-ext-module-bundle.js\"></script>\n\t\t<script src=\"interop-ext-reverse-bundle.js\"></script>\n\t</body>\n</html>"
  },
  {
    "path": "examples/interop/interop-ext-global.js",
    "content": "\nvar ElapserExtGlobal = React.createClass({\n    render: function () {\n        var message =\n            'Global JavaScript timer has been successfully running for ' + this.props.elapsed + ' seconds.';\n\n        return React.DOM.div(null, message)\n    },\n\n    shouldComponentUpdate: function (nextProps, nextState) {\n        return  nextProps.elapsed !== this.props.elapsed;\n    }\n\n});\n"
  },
  {
    "path": "examples/interop/interop-ext-module-bundle.js",
    "content": "require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({\"ElapserExtModule\":[function(require,module,exports){\n module.exports = React.createClass({\n    render: function () {\n        var message =\n            'Module JavaScript timer has been successfully running for ' + this.props.elapsed + ' seconds.';\n\n        return React.DOM.div(null, message)\n    },\n\n    shouldComponentUpdate: function (nextProps, nextState) {\n        return  nextProps.elapsed !== this.props.elapsed;\n    }\n\n});\n\n},{}]},{},[]);\n"
  },
  {
    "path": "examples/interop/interop-ext-module.js",
    "content": " module.exports = React.createClass({\n    render: function () {\n        var message =\n            'Module JavaScript timer has been successfully running for ' + this.props.elapsed + ' seconds.';\n\n        return React.DOM.div(null, message)\n    },\n\n    shouldComponentUpdate: function (nextProps, nextState) {\n        return  nextProps.elapsed !== this.props.elapsed;\n    }\n\n});\n"
  },
  {
    "path": "examples/interop/interop-ext-reverse-bundle.js",
    "content": "(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){\n\n// This is the one exported component from the Go side.\nvar Elapser = require('./interop').Elapser;\n\nvar start = new Date().getTime()\n\n// Use a component set on the Go side as a global variable.\nsetInterval(function () {\n    ReactDOM.render(\n        ElapserGlobal({\n            elapsed: Math.round(((new Date().getTime() - start) / 1000)),\n            title: \"Interop from JavaScript Global\"\n        }),\n        document.getElementById('react-reverse-global')\n    );\n}, 50);\n\n\nsetInterval(function () {\n    ReactDOM.render(\n        Elapser({\n            elapsed: Math.round(((new Date().getTime() - start) / 1000)),\n            title: \"Interop from JavaScript Require\"\n        }),\n        document.getElementById('react-reverse-require')\n    );\n}, 50);\n\n\nvar Hello = React.createClass({\n    render: function () {\n        console.log(\"JS: render\")\n        return React.DOM.h1(null, \"JS Render: Go React!\")\n    },\n\n    componentDidMount: function () {\n        console.log(\"JS: componentDidMount\")\n    }\n});\n\n\nReactDOM.render(\n    React.createElement(Hello),\n    document.getElementById('react-hello')\n);\n\n},{\"./interop\":2}],2:[function(require,module,exports){\n(function (global){\n\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,V,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,D,I,J;D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});I=$funcType([],[],false);J=$ptrType(D);D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DK,DN,DP,DQ,DR,DS,DT,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BR,BS,BU,BV,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DP,DQ,DR,DS,DT,I,J,AX,AY,K,O,P,T,U,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BJ,BL,CB,CD,CH,CM,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DJ=$structType(\"\",[]);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};O=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=null;c=a;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!(b===null)){b=b[$externalize(e,$String)];}else{b=$global[$externalize(e,$String)];}d++;}if(b===null||b===undefined){$s=1;continue;}$s=2;continue;case 1:f=B.Sprintf(\"JS component in path %v not found\",new DA([a]));$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$panic(new $String(f));case 2:$s=-1;return new N.ptr(b,null,$ifaceNil,DB.nil,\"\",\"\",new Q.ptr(false),true);}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FromGlobal=O;P=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=E.Require(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){$panic(e);}$s=-1;return new N.ptr(d,null,$ifaceNil,DB.nil,\"\",\"\",new Q.ptr(false),true);}return;}if($f===undefined){$f={$blk:P};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=P;T=function(a){var $ptr,a;return new R.ptr((function(b){var $ptr,b;if(a===\"\"){return A.New(\"Must provide export name\");}b.exportName=a;return $ifaceNil;}),false);};$pkg.Export=T;U=function(a){var $ptr,a;return new R.ptr((function(b){var $ptr,b;if(a===\"\"){return A.New(\"Must provide global name\");}b.globalName=a;return $ifaceNil;}),false);};$pkg.Global=U;AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CM=function(a,b){var $ptr,a,b,c,d;c=new H.Duration(0,333000000);if(b.$length>0){c=(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]);}d=new $Chan(DJ,0);$go((function $b(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:f=$select([[H.After(c)],[d]]);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e[0]===0){$s=4;continue;}if(e[0]===1){$s=5;continue;}$s=6;continue;case 4:$r=a();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;}),[]);return d;};$pkg.RenderLoop=CM;CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,AC,AG,CJ,DG;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;CJ=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"strong\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Strong=CJ;DG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"h2\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:DG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Header2=DG;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A;A=$packages[\"github.com/bep/gr\"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,H,J;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);H=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=C.CSS(new L([\"panel-heading\"]));f=C.Text(new $String(a));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=E.Header2(new M([f]));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=E.Div(new M([e,h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=C.CSS(new L([\"panel-footer\"]));n=C.Text(new $String(\"Facebook React in Go: \"));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=E.Emphasis(new M([n]));$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=D.HRef(new $String(\"https://github.com/bep/gr/\"));r=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Anchor(new M([q,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=D.HRef(new $String(\"../basic/\"));w=C.Text(new $String(\" - More examples\"));$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=E.Anchor(new M([v,x]));$s=10;case 10:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;aa=E.Div(new M([p,u,z]));$s=11;case 11:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=aa;ac=E.Div(new M([m,ab]));$s=12;case 12:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=E.Div(new M([d,j,l,ad]));$s=13;case 13:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}$s=-1;return ae;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Panel=H;J=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=E.Div(new M([C.CSS(new L([\"alert\",\"alert-\"+a])),b]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=-1;return d;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Alert=J;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/interop\"]=(function(){var $pkg={},$init,A,C,D,E,B,I,J,K,L,M,N,O,P,F,G,a,b,H;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/el\"];E=$packages[\"github.com/bep/gr/examples\"];B=$packages[\"time\"];I=$pkg.elapser=$newType(0,$kindStruct,\"main.elapser\",true,\"github.com/bep/gr/examples/interop\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=K.nil;return;}this.This=This_;});J=$sliceType($String);K=$ptrType(C.This);L=$sliceType(C.Option);M=$sliceType(B.Duration);N=$sliceType($emptyInterface);O=$sliceType(C.Modifier);P=$sliceType(C.Component);H=function(){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=[d];d[0]=$clone(B.Now(),B.Time).Unix();e=C.New(new I.ptr(K.nil),new L([$clone(C.Export(\"Elapser\"),C.Option),$clone(C.Global(\"ElapserGlobal\"),C.Option)]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}c[0]=e;C.RenderLoop((function(c,d){return function $b(){var $ptr,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=$makeMap($String.keyFor,[{k:\"title\",v:new $String(\"Interop from Go Global/Module\")},{k:\"elapsed\",v:(f=$clone(B.Now(),B.Time).Unix(),new $Int64(f.$high-d[0].$high,f.$low-d[0].$low))}]);$r=c[0].Render(\"react\",g);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};})(c,d),new M([]));$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};I.ptr.prototype.Render=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=new C.Props(c.This.Props()).String(\"elapsed\");e=new C.Props(c.This.Props()).String(\"title\");f=A.Sprintf(\"Go Timer has been successfully running for %v seconds.\",new N([new $String(d)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=C.Text(new $String(g));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=D.Strong(new O([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=E.Alert(\"info\",j);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=E.Alert(\"warning\",F.CreateElement(c.This.Props(),new P([])));$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=E.Alert(\"danger\",G.CreateElement(c.This.Props(),new P([])));$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=E.Panel(e,new O([l,n,p]));$s=7;case 7:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;}return;}if($f===undefined){$f={$blk:I.ptr.prototype.Render};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};I.prototype.Render=function(){return this.$val.Render();};I.ptr.prototype.ShouldComponentUpdate=function(c){var $ptr,c,d;d=this;return new C.Props(d.This.Props()).HasChanged(c.Props,new J([\"elapsed\"]));};I.prototype.ShouldComponentUpdate=function(c){return this.$val.ShouldComponentUpdate(c);};I.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([C.Cops],[$Bool],false)}];I.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:K,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=C.FromGlobal(new J([\"ElapserExtGlobal\"]));$s=6;case 6:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}F=a;b=C.Require(new J([\"ElapserExtModule\"]));$s=7;case 7:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}G=b;if($pkg===$mainPkg){$s=8;continue;}$s=9;continue;case 8:$r=H();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 9:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/interop\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n\n\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{}]},{},[1]);\n"
  },
  {
    "path": "examples/interop/interop-ext-reverse.js",
    "content": "\n// This is the one exported component from the Go side.\nvar Elapser = require('./interop').Elapser;\n\nvar start = new Date().getTime()\n\n// Use a component set on the Go side as a global variable.\nsetInterval(function () {\n    ReactDOM.render(\n        ElapserGlobal({\n            elapsed: Math.round(((new Date().getTime() - start) / 1000)),\n            title: \"Interop from JavaScript Global\"\n        }),\n        document.getElementById('react-reverse-global')\n    );\n}, 50);\n\n\nsetInterval(function () {\n    ReactDOM.render(\n        Elapser({\n            elapsed: Math.round(((new Date().getTime() - start) / 1000)),\n            title: \"Interop from JavaScript Require\"\n        }),\n        document.getElementById('react-reverse-require')\n    );\n}, 50);\n\n\nvar Hello = React.createClass({\n    render: function () {\n        console.log(\"JS: render\")\n        return React.DOM.h1(null, \"JS Render: Go React!\")\n    },\n\n    componentDidMount: function () {\n        console.log(\"JS: componentDidMount\")\n    }\n});\n\n\nReactDOM.render(\n    React.createElement(Hello),\n    document.getElementById('react-hello')\n);\n"
  },
  {
    "path": "examples/interop/interop.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,V,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,D,I,J;D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});I=$funcType([],[],false);J=$ptrType(D);D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DK,DN,DP,DQ,DR,DS,DT,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BR,BS,BU,BV,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DP,DQ,DR,DS,DT,I,J,AX,AY,K,O,P,T,U,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BJ,BL,CB,CD,CH,CM,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DJ=$structType(\"\",[]);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};O=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=null;c=a;d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!(b===null)){b=b[$externalize(e,$String)];}else{b=$global[$externalize(e,$String)];}d++;}if(b===null||b===undefined){$s=1;continue;}$s=2;continue;case 1:f=B.Sprintf(\"JS component in path %v not found\",new DA([a]));$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$panic(new $String(f));case 2:$s=-1;return new N.ptr(b,null,$ifaceNil,DB.nil,\"\",\"\",new Q.ptr(false),true);}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FromGlobal=O;P=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=E.Require(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;d=b[0];e=b[1];if(!($interfaceIsEqual(e,$ifaceNil))){$panic(e);}$s=-1;return new N.ptr(d,null,$ifaceNil,DB.nil,\"\",\"\",new Q.ptr(false),true);}return;}if($f===undefined){$f={$blk:P};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=P;T=function(a){var $ptr,a;return new R.ptr((function(b){var $ptr,b;if(a===\"\"){return A.New(\"Must provide export name\");}b.exportName=a;return $ifaceNil;}),false);};$pkg.Export=T;U=function(a){var $ptr,a;return new R.ptr((function(b){var $ptr,b;if(a===\"\"){return A.New(\"Must provide global name\");}b.globalName=a;return $ifaceNil;}),false);};$pkg.Global=U;AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CM=function(a,b){var $ptr,a,b,c,d;c=new H.Duration(0,333000000);if(b.$length>0){c=(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]);}d=new $Chan(DJ,0);$go((function $b(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:f=$select([[H.After(c)],[d]]);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e[0]===0){$s=4;continue;}if(e[0]===1){$s=5;continue;}$s=6;continue;case 4:$r=a();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;}),[]);return d;};$pkg.RenderLoop=CM;CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,AC,AG,CJ,DG;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;CJ=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"strong\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:CJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Strong=CJ;DG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"h2\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:DG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Header2=DG;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A;A=$packages[\"github.com/bep/gr\"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,H,J;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);H=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=C.CSS(new L([\"panel-heading\"]));f=C.Text(new $String(a));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=E.Header2(new M([f]));$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=E.Div(new M([e,h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=C.CSS(new L([\"panel-footer\"]));n=C.Text(new $String(\"Facebook React in Go: \"));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=E.Emphasis(new M([n]));$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=D.HRef(new $String(\"https://github.com/bep/gr/\"));r=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Anchor(new M([q,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=D.HRef(new $String(\"../basic/\"));w=C.Text(new $String(\" - More examples\"));$s=9;case 9:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;y=E.Anchor(new M([v,x]));$s=10;case 10:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;aa=E.Div(new M([p,u,z]));$s=11;case 11:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}ab=aa;ac=E.Div(new M([m,ab]));$s=12;case 12:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}ad=ac;ae=E.Div(new M([d,j,l,ad]));$s=13;case 13:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}$s=-1;return ae;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Panel=H;J=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=E.Div(new M([C.CSS(new L([\"alert\",\"alert-\"+a])),b]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=-1;return d;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Alert=J;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/interop\"]=(function(){var $pkg={},$init,A,C,D,E,B,I,J,K,L,M,N,O,P,F,G,a,b,H;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/el\"];E=$packages[\"github.com/bep/gr/examples\"];B=$packages[\"time\"];I=$pkg.elapser=$newType(0,$kindStruct,\"main.elapser\",true,\"github.com/bep/gr/examples/interop\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=K.nil;return;}this.This=This_;});J=$sliceType($String);K=$ptrType(C.This);L=$sliceType(C.Option);M=$sliceType(B.Duration);N=$sliceType($emptyInterface);O=$sliceType(C.Modifier);P=$sliceType(C.Component);H=function(){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=[d];d[0]=$clone(B.Now(),B.Time).Unix();e=C.New(new I.ptr(K.nil),new L([$clone(C.Export(\"Elapser\"),C.Option),$clone(C.Global(\"ElapserGlobal\"),C.Option)]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}c[0]=e;C.RenderLoop((function(c,d){return function $b(){var $ptr,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=$makeMap($String.keyFor,[{k:\"title\",v:new $String(\"Interop from Go Global/Module\")},{k:\"elapsed\",v:(f=$clone(B.Now(),B.Time).Unix(),new $Int64(f.$high-d[0].$high,f.$low-d[0].$low))}]);$r=c[0].Render(\"react\",g);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};})(c,d),new M([]));$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};I.ptr.prototype.Render=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=new C.Props(c.This.Props()).String(\"elapsed\");e=new C.Props(c.This.Props()).String(\"title\");f=A.Sprintf(\"Go Timer has been successfully running for %v seconds.\",new N([new $String(d)]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;h=C.Text(new $String(g));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=D.Strong(new O([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=E.Alert(\"info\",j);$s=4;case 4:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=E.Alert(\"warning\",F.CreateElement(c.This.Props(),new P([])));$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=E.Alert(\"danger\",G.CreateElement(c.This.Props(),new P([])));$s=6;case 6:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=E.Panel(e,new O([l,n,p]));$s=7;case 7:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}$s=-1;return q;}return;}if($f===undefined){$f={$blk:I.ptr.prototype.Render};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};I.prototype.Render=function(){return this.$val.Render();};I.ptr.prototype.ShouldComponentUpdate=function(c){var $ptr,c,d;d=this;return new C.Props(d.This.Props()).HasChanged(c.Props,new J([\"elapsed\"]));};I.prototype.ShouldComponentUpdate=function(c){return this.$val.ShouldComponentUpdate(c);};I.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([C.Cops],[$Bool],false)}];I.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:K,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=C.FromGlobal(new J([\"ElapserExtGlobal\"]));$s=6;case 6:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}F=a;b=C.Require(new J([\"ElapserExtModule\"]));$s=7;case 7:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}G=b;if($pkg===$mainPkg){$s=8;continue;}$s=9;continue;case 8:$r=H();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 9:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/interop\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=interop.js.map\n"
  },
  {
    "path": "examples/interop/main.go",
    "content": "package main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/examples\"\n)\n\nvar (\n\texternalGlobalComponent = gr.FromGlobal(\"ElapserExtGlobal\")\n\texternalModuleComponent = gr.Require(\"ElapserExtModule\")\n)\n\nfunc main() {\n\tvar (\n\t\tstart = time.Now().Unix()\n\n\t\t// Set it in module exports so it can be used from JavaScript via require().\n\t\t// Also set it as a JavaScript global.\n\t\tinternalComponent = gr.New(new(elapser), gr.Export(\"Elapser\"), gr.Global(\"ElapserGlobal\"))\n\t)\n\n\tgr.RenderLoop(func() {\n\t\tprops := gr.Props{\"title\": \"Interop from Go Global/Module\", \"elapsed\": (time.Now().Unix() - start)}\n\t\tinternalComponent.Render(\"react\", props)\n\t})\n}\n\ntype elapser struct {\n\t*gr.This\n}\n\n// Implements the Renderer interface.\nfunc (e elapser) Render() gr.Component {\n\telapsed := e.Props().String(\"elapsed\")\n\ttitle := e.Props().String(\"title\")\n\tmessage := fmt.Sprintf(\"Go Timer has been successfully running for %v seconds.\", elapsed)\n\n\tinternalCounter := examples.Alert(\"info\", el.Strong(gr.Text(message)))\n\texternalGlobalCounter := examples.Alert(\"warning\", externalGlobalComponent.CreateElement(e.Props()))\n\texternalModuleCounter := examples.Alert(\"danger\", externalModuleComponent.CreateElement(e.Props()))\n\n\treturn examples.Panel(title, internalCounter, externalGlobalCounter, externalModuleCounter)\n}\n\n// Implements the ShouldComponentUpdate interface.\nfunc (e elapser) ShouldComponentUpdate(next gr.Cops) bool {\n\treturn e.Props().HasChanged(next.Props, \"elapsed\")\n}\n"
  },
  {
    "path": "examples/lifecycle/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\t<head>\n\t\t<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n\t\t<style>\n\t\t\tbody { margin-top: 40px; }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div id=\"react\" class=\"container\"></div>\n\t\t<script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>\n\t\t<script src=\"lifecycle.js\"></script>\n\t</body>\n</html>"
  },
  {
    "path": "examples/lifecycle/lifecycle.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,H,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};H=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=\"\";d=0;e=false;f=new($global.Error)().stack.split($externalize(\"\\n\",$String))[(a+2>>0)];if(f===undefined){g=0;h=\"\";i=0;j=false;b=g;c=h;d=i;e=j;return[b,c,d,e];}k=f.substring(($parseInt(f.indexOf($externalize(\"(\",$String)))>>0)+1>>0,$parseInt(f.indexOf($externalize(\")\",$String)))>>0).split($externalize(\":\",$String));l=0;m=$internalize(k[0],$String);n=$parseInt(k[1])>>0;o=true;b=l;c=m;d=n;e=o;return[b,c,d,e];};$pkg.Caller=H;K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,D,V,AY,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];D=$pkg.Writer=$newType(8,$kindInterface,\"io.Writer\",true,\"io\",true,null);V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);AY=$sliceType($Uint8);D.init([{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([AY],[$Int,$error],false)}]);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HV,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HV=function(i){var $ptr,i;S(1,((i>>>0)),0,0);return;};$pkg.Exit=HV;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,A,D,F,I,J;A=$pkg.Mutex=$newType(0,$kindStruct,\"nosync.Mutex\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(locked_){this.$val=this;if(arguments.length===0){this.locked=false;return;}this.locked=locked_;});D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});F=$ptrType(A);I=$funcType([],[],false);J=$ptrType(D);A.ptr.prototype.Lock=function(){var $ptr,a;a=this;if(a.locked){$panic(new $String(\"nosync: mutex is already locked\"));}a.locked=true;};A.prototype.Lock=function(){return this.$val.Lock();};A.ptr.prototype.Unlock=function(){var $ptr,a;a=this;if(!a.locked){$panic(new $String(\"nosync: unlock of unlocked mutex\"));}a.locked=false;};A.prototype.Unlock=function(){return this.$val.Unlock();};D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};F.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];A.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"locked\",name:\"locked\",exported:false,typ:$Bool,tag:\"\"}]);D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,G,AF,AX,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DN,DP,DQ,DR,DS,DT,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,I,J,K,L,M,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,AW,AY,AZ,BA,BR,BS,BU,BV,BY,CA,CB,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];G=$pkg.runtimeTimer=$newType(0,$kindStruct,\"time.runtimeTimer\",true,\"time\",false,function(i_,when_,period_,f_,arg_,timeout_,active_){this.$val=this;if(arguments.length===0){this.i=0;this.when=new $Int64(0,0);this.period=new $Int64(0,0);this.f=$throwNilPointerError;this.arg=$ifaceNil;this.timeout=null;this.active=false;return;}this.i=i_;this.when=when_;this.period=period_;this.f=f_;this.arg=arg_;this.timeout=timeout_;this.active=active_;});AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});AX=$pkg.Timer=$newType(0,$kindStruct,\"time.Timer\",true,\"time\",true,function(C_,r_){this.$val=this;if(arguments.length===0){this.C=$chanNil;this.r=new G.ptr(0,new $Int64(0,0),new $Int64(0,0),$throwNilPointerError,$ifaceNil,null,false);return;}this.C=C_;this.r=r_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DE=$structType(\"\",[]);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DK=$chanType(BM,false,false);DN=$arrayType($Uint8,32);DP=$funcType([$emptyInterface,$Uintptr],[],false);DQ=$ptrType(B.Object);DR=$ptrType(AF);DS=$ptrType(AX);DT=$chanType(BM,false,true);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};I=function(){var $ptr;return $mul64($internalize(new($global.Date)().getTime(),$Int64),new $Int64(0,1000000));};J=function(){var $ptr,i,j,k,l,m,n;i=new $Int64(0,0);j=0;k=I();l=$div64(k,new $Int64(0,1000000000),false);m=(((n=$div64(k,new $Int64(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0));i=l;j=m;return[i,j];};K=function(i){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=[j];j[0]=new $Chan(DE,0);$setTimeout((function(j){return function(){var $ptr;$close(j[0]);};})(j),(((k=$div64(i,new BT(0,1000000),false),k.$low+((k.$high>>31)*4294967296))>>0)));l=$recv(j[0]);$s=1;case 1:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l[0];$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sleep=K;L=function(i){var $ptr,i,j,k,l;i.active=true;l=$div64(((j=i.when,k=I(),new $Int64(j.$high-k.$high,j.$low-k.$low))),new $Int64(0,1000000),false);if((l.$high>0||(l.$high===0&&l.$low>2147483647))){return;}if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(0,0);}i.timeout=$setTimeout((function(){var $ptr,m,n,o;i.active=false;if(!((m=i.period,(m.$high===0&&m.$low===0)))){i.when=(n=i.when,o=i.period,new $Int64(n.$high+o.$high,n.$low+o.$low));L(i);}$go(i.f,[i.arg,0]);}),$externalize(new $Int64(l.$high+0,l.$low+1),$Int64));};M=function(i){var $ptr,i,j;$global.clearTimeout(i.timeout);j=i.active;i.active=false;return j;};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};AW=function(i){var $ptr,i,j,k,l;if((i.$high<0||(i.$high===0&&i.$low<=0))){return I();}l=(j=I(),k=(new $Int64(i.$high,i.$low)),new $Int64(j.$high+k.$high,j.$low+k.$low));if((l.$high<0||(l.$high===0&&l.$low<0))){l=new $Int64(2147483647,4294967295);}return l;};AX.ptr.prototype.Stop=function(){var $ptr,i;i=this;if(i.r.f===$throwNilPointerError){$panic(new $String(\"time: Stop called on uninitialized Timer\"));}return M(i.r);};AX.prototype.Stop=function(){return this.$val.Stop();};AY=function(i){var $ptr,i,j,k;j=new $Chan(BM,1);k=new AX.ptr(j,new G.ptr(0,AW(i),new $Int64(0,0),AZ,new DK(j),null,false));L(k.r);return k;};$pkg.NewTimer=AY;AX.ptr.prototype.Reset=function(i){var $ptr,i,j,k,l;j=this;if(j.r.f===$throwNilPointerError){$panic(new $String(\"time: Reset called on uninitialized Timer\"));}k=AW(i);l=M(j.r);j.r.when=k;L(j.r);return l;};AX.prototype.Reset=function(i){return this.$val.Reset(i);};AZ=function(i,j){var $ptr,i,j,k,$r;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$r=$f.$r;}k=$select([[$assertType(i,DK),$clone(CB(),BM)],[]]);if(k[0]===0){}else if(k[0]===1){}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$r=$r;return $f;};BA=function(i){var $ptr,i;return AY(i).C;};$pkg.After=BA;BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};CB=function(){var $ptr,i,j,k;i=J();j=i[0];k=i[1];return new BM.ptr(new $Int64(j.$high+14,j.$low+2006054656),k,$pkg.Local);};$pkg.Now=CB;BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DS.methods=[{prop:\"Stop\",name:\"Stop\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Reset\",name:\"Reset\",pkg:\"\",typ:$funcType([BT],[$Bool],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];G.init(\"time\",[{prop:\"i\",name:\"i\",exported:false,typ:$Int32,tag:\"\"},{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"period\",name:\"period\",exported:false,typ:$Int64,tag:\"\"},{prop:\"f\",name:\"f\",exported:false,typ:DP,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"timeout\",name:\"timeout\",exported:false,typ:DQ,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:$Bool,tag:\"\"}]);AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);AX.init(\"time\",[{prop:\"C\",name:\"C\",exported:true,typ:DT,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:G,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,K,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CL,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};K=function(){var $ptr;};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CL=function(c){var $ptr,c;if(c===0){K();}D.Exit(c);};$pkg.Exit=CL;CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AB,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AB=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrintln(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintln=AB;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};P.ptr.prototype.doPrintln=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=a;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=d;f=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(e>0){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(f,118);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d++;$s=1;continue;case 2:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(10);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintln};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintln=function(a){return this.$val.doPrintln(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CI,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DP,DQ,DR,DS,DT,DU,I,J,AX,AY,K,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BI,BJ,BL,CB,CD,CH,CK,CM,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CI=$pkg.style=$newType(0,$kindStruct,\"gr.style\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DJ=$structType(\"\",[]);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);DU=$ptrType(CI);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BI=function(a){var $ptr,a,b;b=$global.document.getElementById($externalize(a,$String));return!!(J.unmountComponentAtNode(b));};$pkg.UnmountComponentAtNode=BI;BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CI.ptr.prototype.Modify=function(a){var $ptr,a,b,c;b=this;if(a.style===false){a.style={};}c=b.name;(a.style||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(c)]={k:c,v:b.value};};CI.prototype.Modify=function(a){return this.$val.Modify(a);};CK=function(a,b){var $ptr,a,b;return new CI.ptr(a,b);};$pkg.Style=CK;CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CM=function(a,b){var $ptr,a,b,c,d;c=new H.Duration(0,333000000);if(b.$length>0){c=(0>=b.$length?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+0]);}d=new $Chan(DJ,0);$go((function $b(){var $ptr,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:case 1:f=$select([[H.After(c)],[d]]);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;if(e[0]===0){$s=4;continue;}if(e[0]===1){$s=5;continue;}$s=6;continue;case 4:$r=a();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=6;continue;case 5:$s=-1;return;case 6:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;}),[]);return d;};$pkg.RenderLoop=CM;CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DU.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CI.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,AC,AG,DG;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;DG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"h2\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:DG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Header2=DG;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A;A=$packages[\"github.com/bep/gr\"];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,G;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.CSS(new L([\"panel-footer\"]));h=C.Text(new $String(\"Facebook React in Go: \"));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.Emphasis(new M([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=D.HRef(new $String(\"https://github.com/bep/gr/\"));l=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Anchor(new M([k,m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=E.Div(new M([j,o]));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=E.Div(new M([g,q]));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Div(new M([d,f,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=-1;return u;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Example=G;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"log\"]=(function(){var $pkg={},$init,A,E,B,C,D,F,G,Z,AA,AB,AC,AD,I,H,J,M,R;A=$packages[\"fmt\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];B=$packages[\"io\"];C=$packages[\"os\"];D=$packages[\"runtime\"];F=$packages[\"time\"];G=$pkg.Logger=$newType(0,$kindStruct,\"log.Logger\",true,\"log\",true,function(mu_,prefix_,flag_,out_,buf_){this.$val=this;if(arguments.length===0){this.mu=new E.Mutex.ptr(false);this.prefix=\"\";this.flag=0;this.out=$ifaceNil;this.buf=Z.nil;return;}this.mu=mu_;this.prefix=prefix_;this.flag=flag_;this.out=out_;this.buf=buf_;});Z=$sliceType($Uint8);AA=$arrayType($Uint8,20);AB=$ptrType(Z);AC=$sliceType($emptyInterface);AD=$ptrType(G);H=function(a,b,c){var $ptr,a,b,c;return new G.ptr(new E.Mutex.ptr(false),b,c,a,Z.nil);};$pkg.New=H;G.ptr.prototype.SetOutput=function(a){var $ptr,a,b,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;b.mu.Lock();$deferred.push([$methodVal(b.mu,\"Unlock\"),[]]);b.out=a;}catch(err){$err=err;}finally{$callDeferred($deferred,$err);}};G.prototype.SetOutput=function(a){return this.$val.SetOutput(a);};J=function(a,b,c){var $ptr,a,b,c,d,e,f,g;d=AA.zero();e=19;while(true){if(!(b>=10||c>1)){break;}c=c-(1)>>0;g=(f=b/10,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((((48+b>>0)-($imul(g,10))>>0)<<24>>>24)));e=e-(1)>>0;b=g;}((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=(((48+b>>0)<<24>>>24)));a.$set($appendSlice(a.$get(),$subslice(new Z(d),e)));};G.ptr.prototype.formatHeader=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:e=this;a.$set($appendSlice(a.$get(),e.prefix));if(!(((e.flag&32)===0))){F.Time.copy(b,$clone(b,F.Time).UTC());}if(!(((e.flag&7)===0))){$s=1;continue;}$s=2;continue;case 1:if(!(((e.flag&1)===0))){$s=3;continue;}$s=4;continue;case 3:g=$clone(b,F.Time).Date();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;h=f[0];i=f[1];j=f[2];J(a,h,4);a.$set($append(a.$get(),47));J(a,((i>>0)),2);a.$set($append(a.$get(),47));J(a,j,2);a.$set($append(a.$get(),32));case 4:if(!(((e.flag&6)===0))){$s=6;continue;}$s=7;continue;case 6:l=$clone(b,F.Time).Clock();$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[0];n=k[1];o=k[2];J(a,m,2);a.$set($append(a.$get(),58));J(a,n,2);a.$set($append(a.$get(),58));J(a,o,2);if(!(((e.flag&4)===0))){a.$set($append(a.$get(),46));J(a,(p=$clone(b,F.Time).Nanosecond()/1000,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\")),6);}a.$set($append(a.$get(),32));case 7:case 2:if(!(((e.flag&24)===0))){if(!(((e.flag&16)===0))){q=c;r=c.length-1>>0;while(true){if(!(r>0)){break;}if(c.charCodeAt(r)===47){q=$substring(c,(r+1>>0));break;}r=r-(1)>>0;}c=q;}a.$set($appendSlice(a.$get(),c));a.$set($append(a.$get(),58));J(a,d,-1);a.$set($appendSlice(a.$get(),\": \"));}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.formatHeader};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.formatHeader=function(a,b,c,d){return this.$val.formatHeader(a,b,c,d);};G.ptr.prototype.Output=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=this;d=$clone(F.Now(),F.Time);e=\"\";f=0;c.mu.Lock();$deferred.push([$methodVal(c.mu,\"Unlock\"),[]]);if(!(((c.flag&24)===0))){c.mu.Unlock();g=false;h=D.Caller(a);e=h[1];f=h[2];g=h[3];if(!g){e=\"???\";f=0;}c.mu.Lock();}c.buf=$subslice(c.buf,0,0);$r=c.formatHeader((c.$ptr_buf||(c.$ptr_buf=new AB(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))),$clone(d,F.Time),e,f);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.buf=$appendSlice(c.buf,b);if((b.length===0)||!((b.charCodeAt((b.length-1>>0))===10))){c.buf=$append(c.buf,10);}j=c.out.Write(c.buf);$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];$s=-1;return k;}return;}}catch(err){$err=err;$s=-1;return $ifaceNil;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:G.ptr.prototype.Output};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};G.prototype.Output=function(a,b){return this.$val.Output(a,b);};G.ptr.prototype.Printf=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=c.Output(2,e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Printf};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Printf=function(a,b){return this.$val.Printf(a,b);};G.ptr.prototype.Print=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprint(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Print};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Print=function(a){return this.$val.Print(a);};G.ptr.prototype.Println=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprintln(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Println};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Println=function(a){return this.$val.Println(a);};G.ptr.prototype.Fatal=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprint(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;C.Exit(1);$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Fatal};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Fatal=function(a){return this.$val.Fatal(a);};G.ptr.prototype.Fatalf=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=c.Output(2,e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;C.Exit(1);$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Fatalf};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Fatalf=function(a,b){return this.$val.Fatalf(a,b);};G.ptr.prototype.Fatalln=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprintln(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;C.Exit(1);$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Fatalln};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Fatalln=function(a){return this.$val.Fatalln(a);};G.ptr.prototype.Panic=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprint(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$panic(new $String(d));$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Panic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Panic=function(a){return this.$val.Panic(a);};G.ptr.prototype.Panicf=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=A.Sprintf(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=c.Output(2,e);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;$panic(new $String(e));$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Panicf};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Panicf=function(a,b){return this.$val.Panicf(a,b);};G.ptr.prototype.Panicln=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=A.Sprintln(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=b.Output(2,d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$panic(new $String(d));$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Panicln};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Panicln=function(a){return this.$val.Panicln(a);};G.ptr.prototype.Flags=function(){var $ptr,a,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;a.mu.Lock();$deferred.push([$methodVal(a.mu,\"Unlock\"),[]]);return a.flag;}catch(err){$err=err;return 0;}finally{$callDeferred($deferred,$err);}};G.prototype.Flags=function(){return this.$val.Flags();};G.ptr.prototype.SetFlags=function(a){var $ptr,a,b,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;b.mu.Lock();$deferred.push([$methodVal(b.mu,\"Unlock\"),[]]);b.flag=a;}catch(err){$err=err;}finally{$callDeferred($deferred,$err);}};G.prototype.SetFlags=function(a){return this.$val.SetFlags(a);};G.ptr.prototype.Prefix=function(){var $ptr,a,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);a=this;a.mu.Lock();$deferred.push([$methodVal(a.mu,\"Unlock\"),[]]);return a.prefix;}catch(err){$err=err;return\"\";}finally{$callDeferred($deferred,$err);}};G.prototype.Prefix=function(){return this.$val.Prefix();};G.ptr.prototype.SetPrefix=function(a){var $ptr,a,b,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=this;b.mu.Lock();$deferred.push([$methodVal(b.mu,\"Unlock\"),[]]);b.prefix=a;}catch(err){$err=err;}finally{$callDeferred($deferred,$err);}};G.prototype.SetPrefix=function(a){return this.$val.SetPrefix(a);};M=function(a){var $ptr,a;I.SetFlags(a);};$pkg.SetFlags=M;R=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.Sprintln(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;d=I.Output(2,c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;$s=-1;return;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Println=R;AD.methods=[{prop:\"SetOutput\",name:\"SetOutput\",pkg:\"\",typ:$funcType([B.Writer],[],false)},{prop:\"formatHeader\",name:\"formatHeader\",pkg:\"log\",typ:$funcType([AB,F.Time,$String,$Int],[],false)},{prop:\"Output\",name:\"Output\",pkg:\"\",typ:$funcType([$Int,$String],[$error],false)},{prop:\"Printf\",name:\"Printf\",pkg:\"\",typ:$funcType([$String,AC],[],true)},{prop:\"Print\",name:\"Print\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Println\",name:\"Println\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Fatal\",name:\"Fatal\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Fatalf\",name:\"Fatalf\",pkg:\"\",typ:$funcType([$String,AC],[],true)},{prop:\"Fatalln\",name:\"Fatalln\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Panic\",name:\"Panic\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Panicf\",name:\"Panicf\",pkg:\"\",typ:$funcType([$String,AC],[],true)},{prop:\"Panicln\",name:\"Panicln\",pkg:\"\",typ:$funcType([AC],[],true)},{prop:\"Flags\",name:\"Flags\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"SetFlags\",name:\"SetFlags\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Prefix\",name:\"Prefix\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"SetPrefix\",name:\"SetPrefix\",pkg:\"\",typ:$funcType([$String],[],false)}];G.init(\"log\",[{prop:\"mu\",name:\"mu\",exported:false,typ:E.Mutex,tag:\"\"},{prop:\"prefix\",name:\"prefix\",exported:false,typ:$String,tag:\"\"},{prop:\"flag\",name:\"flag\",exported:false,typ:$Int,tag:\"\"},{prop:\"out\",name:\"out\",exported:false,typ:B.Writer,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:Z,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=H(C.Stderr,\"\",3);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/lifecycle\"]=(function(){var $pkg={},$init,C,D,E,B,A,G,I,J,K,L,M,N,F,H;C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/el\"];E=$packages[\"github.com/bep/gr/examples\"];B=$packages[\"log\"];A=$packages[\"time\"];G=$pkg.lifecycle=$newType(0,$kindStruct,\"main.lifecycle\",true,\"github.com/bep/gr/examples/lifecycle\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=I.nil;return;}this.This=This_;});I=$ptrType(C.This);J=$sliceType(C.Option);K=$sliceType(A.Duration);L=$sliceType($emptyInterface);M=$sliceType(C.Modifier);N=$sliceType($String);F=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=[c];d=new G.ptr(I.nil);e=C.New(d,new J([]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}a[0]=e;c[0]=$makeMap($String.keyFor,[]);b[0]=1;f=C.RenderLoop((function(a,b,c){return function $b(){var $ptr,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=\"prop\";(c[0]||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:new $Bool(((g=b[0]%100,g===g?g:$throwRuntimeError(\"integer divide by zero\"))===0))};b[0]=b[0]+(1)>>0;$r=a[0].Render(\"react\",c[0]);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};})(a,b,c),new K([]));$r=A.Sleep(new A.Duration(2,1410065408));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$close(f);if(!C.UnmountComponentAtNode(\"react\")){$panic(new $String(\"Unmount failed\"));}$r=A.Sleep(new A.Duration(2,1410065408));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:F};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};G.ptr.prototype.Render=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=B.Println(new L([new $String(\"Render\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b=C.Text(new $String(\"Look at the lifecycle events in your console.\"));$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}d=D.Header2(new M([b,C.Style(\"color\",(c=a.This.State()[$String.keyFor(\"color\")],c!==undefined?c.v:$ifaceNil))]));$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=D.Div(new M([d]));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=E.Example(\"Lifecycle\",new M([f]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.Render=function(){return this.$val.Render();};G.ptr.prototype.GetInitialState=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=B.Println(new L([new $String(\"GetInitialState\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $makeMap($String.keyFor,[{k:\"color\",v:new $String(\"#ffcc00\")}]);}return;}if($f===undefined){$f={$blk:G.ptr.prototype.GetInitialState};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.GetInitialState=function(){return this.$val.GetInitialState();};G.ptr.prototype.GetChildContext=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=B.Println(new L([new $String(\"GetChildContext\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $makeMap($String.keyFor,[]);}return;}if($f===undefined){$f={$blk:G.ptr.prototype.GetChildContext};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.GetChildContext=function(){return this.$val.GetChildContext();};G.ptr.prototype.ShouldComponentUpdate=function(a){var $ptr,a,b;b=this;return new C.Props(b.This.Props()).HasChanged(a.Props,new N([\"prop\"]));};G.prototype.ShouldComponentUpdate=function(a){return this.$val.ShouldComponentUpdate(a);};G.ptr.prototype.ComponentWillUpdate=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;$r=B.Println(new L([new $String(\"ComponentWillUpdate\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.ComponentWillUpdate};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.ComponentWillUpdate=function(a){return this.$val.ComponentWillUpdate(a);};G.ptr.prototype.ComponentWillReceiveProps=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;$r=B.Println(new L([new $String(\"ComponentWillReceiveProps\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.ComponentWillReceiveProps};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.ComponentWillReceiveProps=function(a){return this.$val.ComponentWillReceiveProps(a);};G.ptr.prototype.ComponentDidUpdate=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;$r=B.Println(new L([new $String(\"ComponentDidUpdate\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.ComponentDidUpdate};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.ComponentDidUpdate=function(a){return this.$val.ComponentDidUpdate(a);};G.ptr.prototype.ComponentWillMount=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=B.Println(new L([new $String(\"ComponentWillMount\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.ComponentWillMount};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.ComponentWillMount=function(){return this.$val.ComponentWillMount();};G.ptr.prototype.ComponentDidMount=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=B.Println(new L([new $String(\"ComponentDidMount\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.ComponentDidMount};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.ComponentDidMount=function(){return this.$val.ComponentDidMount();};G.ptr.prototype.ComponentWillUnmount=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=B.Println(new L([new $String(\"ComponentWillUnmount\")]));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:G.ptr.prototype.ComponentWillUnmount};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};G.prototype.ComponentWillUnmount=function(){return this.$val.ComponentWillUnmount();};H=function(){var $ptr;B.SetFlags(6);};G.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[C.State],false)},{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[C.Context],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([C.Cops],[$Bool],false)},{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([C.Cops],[],false)},{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([C.Cops],[],false)},{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([C.Cops],[],false)},{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}];G.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:I,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}H();if($pkg===$mainPkg){$s=6;continue;}$s=7;continue;case 6:$r=F();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 7:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/lifecycle\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=lifecycle.js.map\n"
  },
  {
    "path": "examples/lifecycle/main.go",
    "content": "package main\n\nimport (\n\t\"time\"\n\n\t\"log\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/examples\"\n)\n\n// Simple example demonstrating the available lifecycle hooks.\n// See also https://facebook.github.io/react/docs/component-specs.html\n\nfunc main() {\n\n\tvar (\n\t\tlc        gr.Lifecycler = new(lifecycle)\n\t\tcomponent               = gr.New(lc)\n\t\tprops                   = gr.Props{}\n\t\tcounter                 = 1\n\t)\n\n\tquit := gr.RenderLoop(func() {\n\t\t// Only update now and then.\n\t\tprops[\"prop\"] = counter%100 == 0\n\t\tcounter++\n\t\tcomponent.Render(\"react\", props)\n\t})\n\n\ttime.Sleep(10 * time.Second)\n\n\t// Stop the render loop\n\tclose(quit)\n\n\tif !gr.UnmountComponentAtNode(\"react\") {\n\t\tpanic(\"Unmount failed\")\n\t}\n\n\ttime.Sleep(10 * time.Second)\n}\n\ntype lifecycle struct {\n\t*gr.This\n}\n\n// Implements the Renderer interface.\nfunc (l lifecycle) Render() gr.Component {\n\tlog.Println(\"Render\")\n\telem := el.Div(el.Header2(\n\t\tgr.Text(\"Look at the lifecycle events in your console.\"),\n\t\tgr.Style(\"color\", l.State()[\"color\"])))\n\n\treturn examples.Example(\"Lifecycle\", elem)\n}\n\n// Implements the StateInitializer interface.\nfunc (l lifecycle) GetInitialState() gr.State {\n\tlog.Println(\"GetInitialState\")\n\treturn gr.State{\"color\": \"#ffcc00\"}\n}\n\n// Implements the ChildContext interface.\nfunc (l lifecycle) GetChildContext() gr.Context {\n\tlog.Println(\"GetChildContext\")\n\treturn gr.Context{}\n}\n\n// Implements the ShouldComponentUpdate interface\nfunc (l lifecycle) ShouldComponentUpdate(next gr.Cops) bool {\n\treturn l.Props().HasChanged(next.Props, \"prop\")\n}\n\n// Implements the ComponentWillUpdate interface\nfunc (l lifecycle) ComponentWillUpdate(next gr.Cops) {\n\tlog.Println(\"ComponentWillUpdate\")\n}\n\n// Implements the ComponentWillReceiveProps interface\nfunc (l lifecycle) ComponentWillReceiveProps(data gr.Cops) {\n\tlog.Println(\"ComponentWillReceiveProps\")\n}\n\n// Implements the ComponentDidUpdate interface\nfunc (l lifecycle) ComponentDidUpdate(data gr.Cops) {\n\tlog.Println(\"ComponentDidUpdate\")\n}\n\n// Implements the ComponentWillMount interface\nfunc (l lifecycle) ComponentWillMount() {\n\tlog.Println(\"ComponentWillMount\")\n}\n\n// Implements the ComponentDidMount interface\nfunc (l lifecycle) ComponentDidMount() {\n\tlog.Println(\"ComponentDidMount\")\n}\n\n// Implements the ComponentWillUnmount interface\nfunc (l lifecycle) ComponentWillUnmount() {\n\tlog.Println(\"ComponentWillUnmount\")\n}\n\nfunc init() {\n\tlog.SetFlags(log.Ltime | log.Lmicroseconds)\n}\n"
  },
  {
    "path": "examples/router/index.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-framework=\"gopherjs\">\n\t<head>\n\t\t<link rel=\"stylesheet\" href=\"//maxcdn.bootstrapcdn.com/bootswatch/3.3.6/darkly/bootstrap.min.css\">\n\t\t<style>\n\t\t\tbody { margin-top: 40px; }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div id=\"react\" class=\"container\"></div>\n\t\t<script src=\"//unpkg.com/react@15/dist/react.min.js\"></script>\n\t\t<script src=\"//unpkg.com/react-dom@15/dist/react-dom.min.js\"></script>\n\t\t<script src=\"//cdnjs.cloudflare.com/ajax/libs/react-router/2.4.0/ReactRouter.js\"></script>\n\t\t<script src=\"router.js\"></script>\n\t</body>\n</html>"
  },
  {
    "path": "examples/router/main.go",
    "content": "package main\n\nimport (\n\t\"fmt\"\n\n\t\"strings\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/attr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/evt\"\n\t\"github.com/bep/gr/examples\"\n\t\"github.com/bep/grouter\"\n)\n\nvar (\n\tcomponent1   = gr.New(&clickCounter{title: \"Counter 1\", color: \"#ff0066\"})\n\tcomponent2   = gr.New(&clickCounter{title: \"Counter 2\", color: \"#339966\"})\n\tcomponent3   = gr.New(&clickCounter{title: \"Counter 3\", color: \"#0099cc\"})\n\tcomponent3_2 = gr.New(&clickCounter{title: \"Counter 3_2\", color: \"#ffcc66\"})\n\n\t// WithRouter makes this.props.router happen.\n\tappComponent = gr.New(new(app), gr.Apply(grouter.WithRouter))\n\n\trouter = grouter.New(\"/\", appComponent).With(\n\t\tgrouter.NewIndexRoute(grouter.Components{\"main\": component1}),\n\t\tgrouter.NewRoute(\"c1\", grouter.Components{\"main\": component1}),\n\t\tgrouter.NewRoute(\"c2\", grouter.Components{\"main\": component2}),\n\t\tgrouter.NewRoute(\"c3\", grouter.Components{\"main\": component3, \"sub\": component3_2}),\n\t)\n)\n\nfunc main() {\n\tmainComponent := gr.New(gr.NewSimpleRenderer(router))\n\tmainComponent.Render(\"react\", gr.Props{})\n}\n\ntype app struct {\n\t*gr.This\n}\n\n// Implements the Renderer interface.\nfunc (a app) Render() gr.Component {\n\treturn el.Div(\n\t\tel.Header1(gr.Text(\"Router\")),\n\t\tel.UnorderedList(\n\t\t\tgr.CSS(\"nav\", \"nav-tabs\"),\n\t\t\ta.createLinkListItem(\"/c1\", \"Tab #1\"),\n\t\t\ta.createLinkListItem(\"/c2\", \"Tab #2\"),\n\t\t\ta.createLinkListItem(\"/c3\", \"Tab #3\"),\n\t\t),\n\t\t// Receives the component in this.props.<name>\n\t\t// If none found, a no-op is returned.\n\t\t// TODO(bep) default if none found.\n\t\ta.Component(\"main\"),\n\t\ta.Component(\"sub\"),\n\t)\n}\n\nfunc (a app) createLinkListItem(path, title string) gr.Modifier {\n\treturn el.ListItem(\n\t\tgrouter.MarkIfActive(a.Props(), path),\n\t\tattr.Role(\"presentation\"),\n\t\tgrouter.Link(path, title))\n}\n\ntype clickCounter struct {\n\t*gr.This\n\ttitle, color string\n}\n\n// Implements the StateInitializer interface.\nfunc (c clickCounter) GetInitialState() gr.State {\n\tprintln(c.title, \"GetInitialState\")\n\treturn gr.State{\n\t\t\"counter\": 0,\n\t}\n}\n\n// Implements the Renderer interface.\nfunc (c clickCounter) Render() gr.Component {\n\tcounter := c.State()[\"counter\"]\n\tmessage := fmt.Sprintf(\"%s: %v\", c.title, counter)\n\n\telem := el.Div(\n\t\tel.Button(\n\t\t\tgr.CSS(\"btn\", \"btn-lg\", \"btn-warning\"),\n\t\t\tgr.Style(\"color\", c.color),\n\t\t\tgr.Style(\"fontWeight\", \"bold\"),\n\t\t\tgr.Text(message),\n\t\t\tevt.Click(c.onClick)))\n\n\treturn examples.Example(strings.Title(message), elem)\n}\n\nfunc (c clickCounter) onClick(event *gr.Event) {\n\tc.SetState(gr.State{\"counter\": c.State().Int(\"counter\") + 1})\n}\n\n// Implements the ShouldComponentUpdate interface.\nfunc (c clickCounter) ShouldComponentUpdate(\n\tnext gr.Cops) bool {\n\n\treturn c.State().HasChanged(next.State, \"counter\")\n}\n"
  },
  {
    "path": "examples/router/router.js",
    "content": "\"use strict\";\n(function() {\n\nError.stackTraceLimit=Infinity;var $global,$module;if(typeof window!==\"undefined\"){$global=window;}else if(typeof self!==\"undefined\"){$global=self;}else if(typeof global!==\"undefined\"){$global=global;$global.require=require;}else{$global=this;}if($global===undefined||$global.Array===undefined){throw new Error(\"no global object found\");}if(typeof module!==\"undefined\"){$module=module;}var $packages={},$idCounter=0;var $keys=function(m){return m?Object.keys(m):[];};var $flushConsole=function(){};var $throwRuntimeError;var $throwNilPointerError=function(){$throwRuntimeError(\"invalid memory address or nil pointer dereference\");};var $call=function(fn,rcvr,args){return fn.apply(rcvr,args);};var $makeFunc=function(fn){return function(){return $externalize(fn(this,new($sliceType($jsObjectPtr))($global.Array.prototype.slice.call(arguments,[]))),$emptyInterface);};};var $unused=function(v){};var $mapArray=function(array,f){var newArray=new array.constructor(array.length);for(var i=0;i<array.length;i++){newArray[i]=f(array[i]);}return newArray;};var $methodVal=function(recv,name){var vals=recv.$methodVals||{};recv.$methodVals=vals;var f=vals[name];if(f!==undefined){return f;}var method=recv[name];f=function(){$stackDepthOffset--;try{return method.apply(recv,arguments);}finally{$stackDepthOffset++;}};vals[name]=f;return f;};var $methodExpr=function(typ,name){var method=typ.prototype[name];if(method.$expr===undefined){method.$expr=function(){$stackDepthOffset--;try{if(typ.wrapped){arguments[0]=new typ(arguments[0]);}return Function.call.apply(method,arguments);}finally{$stackDepthOffset++;}};}return method.$expr;};var $ifaceMethodExprs={};var $ifaceMethodExpr=function(name){var expr=$ifaceMethodExprs[\"$\"+name];if(expr===undefined){expr=$ifaceMethodExprs[\"$\"+name]=function(){$stackDepthOffset--;try{return Function.call.apply(arguments[0][name],arguments);}finally{$stackDepthOffset++;}};}return expr;};var $subslice=function(slice,low,high,max){if(low<0||high<low||max<high||high>slice.$capacity||max>slice.$capacity){$throwRuntimeError(\"slice bounds out of range\");}var s=new slice.constructor(slice.$array);s.$offset=slice.$offset+low;s.$length=slice.$length-low;s.$capacity=slice.$capacity-low;if(high!==undefined){s.$length=high-low;}if(max!==undefined){s.$capacity=max-low;}return s;};var $substring=function(str,low,high){if(low<0||high<low||high>str.length){$throwRuntimeError(\"slice bounds out of range\");}return str.substring(low,high);};var $sliceToArray=function(slice){if(slice.$array.constructor!==Array){return slice.$array.subarray(slice.$offset,slice.$offset+slice.$length);}return slice.$array.slice(slice.$offset,slice.$offset+slice.$length);};var $decodeRune=function(str,pos){var c0=str.charCodeAt(pos);if(c0<0x80){return[c0,1];}if(c0!==c0||c0<0xC0){return[0xFFFD,1];}var c1=str.charCodeAt(pos+1);if(c1!==c1||c1<0x80||0xC0<=c1){return[0xFFFD,1];}if(c0<0xE0){var r=(c0&0x1F)<<6|(c1&0x3F);if(r<=0x7F){return[0xFFFD,1];}return[r,2];}var c2=str.charCodeAt(pos+2);if(c2!==c2||c2<0x80||0xC0<=c2){return[0xFFFD,1];}if(c0<0xF0){var r=(c0&0x0F)<<12|(c1&0x3F)<<6|(c2&0x3F);if(r<=0x7FF){return[0xFFFD,1];}if(0xD800<=r&&r<=0xDFFF){return[0xFFFD,1];}return[r,3];}var c3=str.charCodeAt(pos+3);if(c3!==c3||c3<0x80||0xC0<=c3){return[0xFFFD,1];}if(c0<0xF8){var r=(c0&0x07)<<18|(c1&0x3F)<<12|(c2&0x3F)<<6|(c3&0x3F);if(r<=0xFFFF||0x10FFFF<r){return[0xFFFD,1];}return[r,4];}return[0xFFFD,1];};var $encodeRune=function(r){if(r<0||r>0x10FFFF||(0xD800<=r&&r<=0xDFFF)){r=0xFFFD;}if(r<=0x7F){return String.fromCharCode(r);}if(r<=0x7FF){return String.fromCharCode(0xC0|r>>6,0x80|(r&0x3F));}if(r<=0xFFFF){return String.fromCharCode(0xE0|r>>12,0x80|(r>>6&0x3F),0x80|(r&0x3F));}return String.fromCharCode(0xF0|r>>18,0x80|(r>>12&0x3F),0x80|(r>>6&0x3F),0x80|(r&0x3F));};var $stringToBytes=function(str){var array=new Uint8Array(str.length);for(var i=0;i<str.length;i++){array[i]=str.charCodeAt(i);}return array;};var $bytesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i+=10000){str+=String.fromCharCode.apply(undefined,slice.$array.subarray(slice.$offset+i,slice.$offset+Math.min(slice.$length,i+10000)));}return str;};var $stringToRunes=function(str){var array=new Int32Array(str.length);var rune,j=0;for(var i=0;i<str.length;i+=rune[1],j++){rune=$decodeRune(str,i);array[j]=rune[0];}return array.subarray(0,j);};var $runesToString=function(slice){if(slice.$length===0){return\"\";}var str=\"\";for(var i=0;i<slice.$length;i++){str+=$encodeRune(slice.$array[slice.$offset+i]);}return str;};var $copyString=function(dst,src){var n=Math.min(src.length,dst.$length);for(var i=0;i<n;i++){dst.$array[dst.$offset+i]=src.charCodeAt(i);}return n;};var $copySlice=function(dst,src){var n=Math.min(src.$length,dst.$length);$copyArray(dst.$array,src.$array,dst.$offset,src.$offset,n,dst.constructor.elem);return n;};var $copyArray=function(dst,src,dstOffset,srcOffset,n,elem){if(n===0||(dst===src&&dstOffset===srcOffset)){return;}if(src.subarray){dst.set(src.subarray(srcOffset,srcOffset+n),dstOffset);return;}switch(elem.kind){case $kindArray:case $kindStruct:if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}for(var i=0;i<n;i++){elem.copy(dst[dstOffset+i],src[srcOffset+i]);}return;}if(dst===src&&dstOffset>srcOffset){for(var i=n-1;i>=0;i--){dst[dstOffset+i]=src[srcOffset+i];}return;}for(var i=0;i<n;i++){dst[dstOffset+i]=src[srcOffset+i];}};var $clone=function(src,type){var clone=type.zero();type.copy(clone,src);return clone;};var $pointerOfStructConversion=function(obj,type){if(obj.$proxies===undefined){obj.$proxies={};obj.$proxies[obj.constructor.string]=obj;}var proxy=obj.$proxies[type.string];if(proxy===undefined){var properties={};for(var i=0;i<type.elem.fields.length;i++){(function(fieldProp){properties[fieldProp]={get:function(){return obj[fieldProp];},set:function(value){obj[fieldProp]=value;}};})(type.elem.fields[i].prop);}proxy=Object.create(type.prototype,properties);proxy.$val=proxy;obj.$proxies[type.string]=proxy;proxy.$proxies=obj.$proxies;}return proxy;};var $append=function(slice){return $internalAppend(slice,arguments,1,arguments.length-1);};var $appendSlice=function(slice,toAppend){if(toAppend.constructor===String){var bytes=$stringToBytes(toAppend);return $internalAppend(slice,bytes,0,bytes.length);}return $internalAppend(slice,toAppend.$array,toAppend.$offset,toAppend.$length);};var $internalAppend=function(slice,array,offset,length){if(length===0){return slice;}var newArray=slice.$array;var newOffset=slice.$offset;var newLength=slice.$length+length;var newCapacity=slice.$capacity;if(newLength>newCapacity){newOffset=0;newCapacity=Math.max(newLength,slice.$capacity<1024?slice.$capacity*2:Math.floor(slice.$capacity*5/4));if(slice.$array.constructor===Array){newArray=slice.$array.slice(slice.$offset,slice.$offset+slice.$length);newArray.length=newCapacity;var zero=slice.constructor.elem.zero;for(var i=slice.$length;i<newCapacity;i++){newArray[i]=zero();}}else{newArray=new slice.$array.constructor(newCapacity);newArray.set(slice.$array.subarray(slice.$offset,slice.$offset+slice.$length));}}$copyArray(newArray,array,newOffset+slice.$length,offset,length,slice.constructor.elem);var newSlice=new slice.constructor(newArray);newSlice.$offset=newOffset;newSlice.$length=newLength;newSlice.$capacity=newCapacity;return newSlice;};var $equal=function(a,b,type){if(type===$jsObjectPtr){return a===b;}switch(type.kind){case $kindComplex64:case $kindComplex128:return a.$real===b.$real&&a.$imag===b.$imag;case $kindInt64:case $kindUint64:return a.$high===b.$high&&a.$low===b.$low;case $kindArray:if(a.length!==b.length){return false;}for(var i=0;i<a.length;i++){if(!$equal(a[i],b[i],type.elem)){return false;}}return true;case $kindStruct:for(var i=0;i<type.fields.length;i++){var f=type.fields[i];if(!$equal(a[f.prop],b[f.prop],f.typ)){return false;}}return true;case $kindInterface:return $interfaceIsEqual(a,b);default:return a===b;}};var $interfaceIsEqual=function(a,b){if(a===$ifaceNil||b===$ifaceNil){return a===b;}if(a.constructor!==b.constructor){return false;}if(a.constructor===$jsObjectPtr){return a.object===b.object;}if(!a.constructor.comparable){$throwRuntimeError(\"comparing uncomparable type \"+a.constructor.string);}return $equal(a.$val,b.$val,a.constructor);};var $min=Math.min;var $mod=function(x,y){return x%y;};var $parseInt=parseInt;var $parseFloat=function(f){if(f!==undefined&&f!==null&&f.constructor===Number){return f;}return parseFloat(f);};var $froundBuf=new Float32Array(1);var $fround=Math.fround||function(f){$froundBuf[0]=f;return $froundBuf[0];};var $imul=Math.imul||function(a,b){var ah=(a>>>16)&0xffff;var al=a&0xffff;var bh=(b>>>16)&0xffff;var bl=b&0xffff;return((al*bl)+(((ah*bl+al*bh)<<16)>>>0)>>0);};var $floatKey=function(f){if(f!==f){$idCounter++;return\"NaN$\"+$idCounter;}return String(f);};var $flatten64=function(x){return x.$high*4294967296+x.$low;};var $shiftLeft64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high<<y|x.$low>>>(32-y),(x.$low<<y)>>>0);}if(y<64){return new x.constructor(x.$low<<(y-32),0);}return new x.constructor(0,0);};var $shiftRightInt64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(x.$high>>31,(x.$high>>(y-32))>>>0);}if(x.$high<0){return new x.constructor(-1,4294967295);}return new x.constructor(0,0);};var $shiftRightUint64=function(x,y){if(y===0){return x;}if(y<32){return new x.constructor(x.$high>>>y,(x.$low>>>y|x.$high<<(32-y))>>>0);}if(y<64){return new x.constructor(0,x.$high>>>(y-32));}return new x.constructor(0,0);};var $mul64=function(x,y){var high=0,low=0;if((y.$low&1)!==0){high=x.$high;low=x.$low;}for(var i=1;i<32;i++){if((y.$low&1<<i)!==0){high+=x.$high<<i|x.$low>>>(32-i);low+=(x.$low<<i)>>>0;}}for(var i=0;i<32;i++){if((y.$high&1<<i)!==0){high+=x.$low<<i;}}return new x.constructor(high,low);};var $div64=function(x,y,returnRemainder){if(y.$high===0&&y.$low===0){$throwRuntimeError(\"integer divide by zero\");}var s=1;var rs=1;var xHigh=x.$high;var xLow=x.$low;if(xHigh<0){s=-1;rs=-1;xHigh=-xHigh;if(xLow!==0){xHigh--;xLow=4294967296-xLow;}}var yHigh=y.$high;var yLow=y.$low;if(y.$high<0){s*=-1;yHigh=-yHigh;if(yLow!==0){yHigh--;yLow=4294967296-yLow;}}var high=0,low=0,n=0;while(yHigh<2147483648&&((xHigh>yHigh)||(xHigh===yHigh&&xLow>yLow))){yHigh=(yHigh<<1|yLow>>>31)>>>0;yLow=(yLow<<1)>>>0;n++;}for(var i=0;i<=n;i++){high=high<<1|low>>>31;low=(low<<1)>>>0;if((xHigh>yHigh)||(xHigh===yHigh&&xLow>=yLow)){xHigh=xHigh-yHigh;xLow=xLow-yLow;if(xLow<0){xHigh--;xLow+=4294967296;}low++;if(low===4294967296){high++;low=0;}}yLow=(yLow>>>1|yHigh<<(32-1))>>>0;yHigh=yHigh>>>1;}if(returnRemainder){return new x.constructor(xHigh*rs,xLow*rs);}return new x.constructor(high*s,low*s);};var $divComplex=function(n,d){var ninf=n.$real===Infinity||n.$real===-Infinity||n.$imag===Infinity||n.$imag===-Infinity;var dinf=d.$real===Infinity||d.$real===-Infinity||d.$imag===Infinity||d.$imag===-Infinity;var nnan=!ninf&&(n.$real!==n.$real||n.$imag!==n.$imag);var dnan=!dinf&&(d.$real!==d.$real||d.$imag!==d.$imag);if(nnan||dnan){return new n.constructor(NaN,NaN);}if(ninf&&!dinf){return new n.constructor(Infinity,Infinity);}if(!ninf&&dinf){return new n.constructor(0,0);}if(d.$real===0&&d.$imag===0){if(n.$real===0&&n.$imag===0){return new n.constructor(NaN,NaN);}return new n.constructor(Infinity,Infinity);}var a=Math.abs(d.$real);var b=Math.abs(d.$imag);if(a<=b){var ratio=d.$real/d.$imag;var denom=d.$real*ratio+d.$imag;return new n.constructor((n.$real*ratio+n.$imag)/denom,(n.$imag*ratio-n.$real)/denom);}var ratio=d.$imag/d.$real;var denom=d.$imag*ratio+d.$real;return new n.constructor((n.$imag*ratio+n.$real)/denom,(n.$imag-n.$real*ratio)/denom);};var $kindBool=1;var $kindInt=2;var $kindInt8=3;var $kindInt16=4;var $kindInt32=5;var $kindInt64=6;var $kindUint=7;var $kindUint8=8;var $kindUint16=9;var $kindUint32=10;var $kindUint64=11;var $kindUintptr=12;var $kindFloat32=13;var $kindFloat64=14;var $kindComplex64=15;var $kindComplex128=16;var $kindArray=17;var $kindChan=18;var $kindFunc=19;var $kindInterface=20;var $kindMap=21;var $kindPtr=22;var $kindSlice=23;var $kindString=24;var $kindStruct=25;var $kindUnsafePointer=26;var $methodSynthesizers=[];var $addMethodSynthesizer=function(f){if($methodSynthesizers===null){f();return;}$methodSynthesizers.push(f);};var $synthesizeMethods=function(){$methodSynthesizers.forEach(function(f){f();});$methodSynthesizers=null;};var $ifaceKeyFor=function(x){if(x===$ifaceNil){return'nil';}var c=x.constructor;return c.string+'$'+c.keyFor(x.$val);};var $identity=function(x){return x;};var $typeIDCounter=0;var $idKey=function(x){if(x.$id===undefined){$idCounter++;x.$id=$idCounter;}return String(x.$id);};var $newType=function(size,kind,string,named,pkg,exported,constructor){var typ;switch(kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$identity;break;case $kindString:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return\"$\"+x;};break;case $kindFloat32:case $kindFloat64:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=function(x){return $floatKey(x);};break;case $kindInt64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindUint64:typ=function(high,low){this.$high=(high+Math.floor(Math.ceil(low)/4294967296))>>>0;this.$low=low>>>0;this.$val=this;};typ.keyFor=function(x){return x.$high+\"$\"+x.$low;};break;case $kindComplex64:typ=function(real,imag){this.$real=$fround(real);this.$imag=$fround(imag);this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindComplex128:typ=function(real,imag){this.$real=real;this.$imag=imag;this.$val=this;};typ.keyFor=function(x){return x.$real+\"$\"+x.$imag;};break;case $kindArray:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",false,function(array){this.$get=function(){return array;};this.$set=function(v){typ.copy(this,v);};this.$val=array;});typ.init=function(elem,len){typ.elem=elem;typ.len=len;typ.comparable=elem.comparable;typ.keyFor=function(x){return Array.prototype.join.call($mapArray(x,function(e){return String(elem.keyFor(e)).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}),\"$\");};typ.copy=function(dst,src){$copyArray(dst,src,0,0,src.length,elem);};typ.ptr.init(typ);Object.defineProperty(typ.ptr.nil,\"nilCheck\",{get:$throwNilPointerError});};break;case $kindChan:typ=function(v){this.$val=v;};typ.wrapped=true;typ.keyFor=$idKey;typ.init=function(elem,sendOnly,recvOnly){typ.elem=elem;typ.sendOnly=sendOnly;typ.recvOnly=recvOnly;};break;case $kindFunc:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(params,results,variadic){typ.params=params;typ.results=results;typ.variadic=variadic;typ.comparable=false;};break;case $kindInterface:typ={implementedBy:{},missingMethodFor:{}};typ.keyFor=$ifaceKeyFor;typ.init=function(methods){typ.methods=methods;methods.forEach(function(m){$ifaceNil[m.prop]=$throwNilPointerError;});};break;case $kindMap:typ=function(v){this.$val=v;};typ.wrapped=true;typ.init=function(key,elem){typ.key=key;typ.elem=elem;typ.comparable=false;};break;case $kindPtr:typ=constructor||function(getter,setter,target){this.$get=getter;this.$set=setter;this.$target=target;this.$val=this;};typ.keyFor=$idKey;typ.init=function(elem){typ.elem=elem;typ.wrapped=(elem.kind===$kindArray);typ.nil=new typ($throwNilPointerError,$throwNilPointerError);};break;case $kindSlice:typ=function(array){if(array.constructor!==typ.nativeArray){array=new typ.nativeArray(array);}this.$array=array;this.$offset=0;this.$length=array.length;this.$capacity=array.length;this.$val=this;};typ.init=function(elem){typ.elem=elem;typ.comparable=false;typ.nativeArray=$nativeArray(elem.kind);typ.nil=new typ([]);};break;case $kindStruct:typ=function(v){this.$val=v;};typ.wrapped=true;typ.ptr=$newType(4,$kindPtr,\"*\"+string,false,\"\",exported,constructor);typ.ptr.elem=typ;typ.ptr.prototype.$get=function(){return this;};typ.ptr.prototype.$set=function(v){typ.copy(this,v);};typ.init=function(pkgPath,fields){typ.pkgPath=pkgPath;typ.fields=fields;fields.forEach(function(f){if(!f.typ.comparable){typ.comparable=false;}});typ.keyFor=function(x){var val=x.$val;return $mapArray(fields,function(f){return String(f.typ.keyFor(val[f.prop])).replace(/\\\\/g,\"\\\\\\\\\").replace(/\\$/g,\"\\\\$\");}).join(\"$\");};typ.copy=function(dst,src){for(var i=0;i<fields.length;i++){var f=fields[i];switch(f.typ.kind){case $kindArray:case $kindStruct:f.typ.copy(dst[f.prop],src[f.prop]);continue;default:dst[f.prop]=src[f.prop];continue;}}};var properties={};fields.forEach(function(f){properties[f.prop]={get:$throwNilPointerError,set:$throwNilPointerError};});typ.ptr.nil=Object.create(constructor.prototype,properties);typ.ptr.nil.$val=typ.ptr.nil;$addMethodSynthesizer(function(){var synthesizeMethod=function(target,m,f){if(target.prototype[m.prop]!==undefined){return;}target.prototype[m.prop]=function(){var v=this.$val[f.prop];if(f.typ===$jsObjectPtr){v=new $jsObjectPtr(v);}if(v.$val===undefined){v=new f.typ(v);}return v[m.prop].apply(v,arguments);};};fields.forEach(function(f){if(f.name===\"\"){$methodSet(f.typ).forEach(function(m){synthesizeMethod(typ,m,f);synthesizeMethod(typ.ptr,m,f);});$methodSet($ptrType(f.typ)).forEach(function(m){synthesizeMethod(typ.ptr,m,f);});}});});};break;default:$panic(new $String(\"invalid kind: \"+kind));}switch(kind){case $kindBool:case $kindMap:typ.zero=function(){return false;};break;case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindUnsafePointer:case $kindFloat32:case $kindFloat64:typ.zero=function(){return 0;};break;case $kindString:typ.zero=function(){return\"\";};break;case $kindInt64:case $kindUint64:case $kindComplex64:case $kindComplex128:var zero=new typ(0,0);typ.zero=function(){return zero;};break;case $kindPtr:case $kindSlice:typ.zero=function(){return typ.nil;};break;case $kindChan:typ.zero=function(){return $chanNil;};break;case $kindFunc:typ.zero=function(){return $throwNilPointerError;};break;case $kindInterface:typ.zero=function(){return $ifaceNil;};break;case $kindArray:typ.zero=function(){var arrayClass=$nativeArray(typ.elem.kind);if(arrayClass!==Array){return new arrayClass(typ.len);}var array=new Array(typ.len);for(var i=0;i<typ.len;i++){array[i]=typ.elem.zero();}return array;};break;case $kindStruct:typ.zero=function(){return new typ.ptr();};break;default:$panic(new $String(\"invalid kind: \"+kind));}typ.id=$typeIDCounter;$typeIDCounter++;typ.size=size;typ.kind=kind;typ.string=string;typ.named=named;typ.pkg=pkg;typ.exported=exported;typ.methods=[];typ.methodSetCache=null;typ.comparable=true;return typ;};var $methodSet=function(typ){if(typ.methodSetCache!==null){return typ.methodSetCache;}var base={};var isPtr=(typ.kind===$kindPtr);if(isPtr&&typ.elem.kind===$kindInterface){typ.methodSetCache=[];return[];}var current=[{typ:isPtr?typ.elem:typ,indirect:isPtr}];var seen={};while(current.length>0){var next=[];var mset=[];current.forEach(function(e){if(seen[e.typ.string]){return;}seen[e.typ.string]=true;if(e.typ.named){mset=mset.concat(e.typ.methods);if(e.indirect){mset=mset.concat($ptrType(e.typ).methods);}}switch(e.typ.kind){case $kindStruct:e.typ.fields.forEach(function(f){if(f.name===\"\"){var fTyp=f.typ;var fIsPtr=(fTyp.kind===$kindPtr);next.push({typ:fIsPtr?fTyp.elem:fTyp,indirect:e.indirect||fIsPtr});}});break;case $kindInterface:mset=mset.concat(e.typ.methods);break;}});mset.forEach(function(m){if(base[m.name]===undefined){base[m.name]=m;}});current=next;}typ.methodSetCache=[];Object.keys(base).sort().forEach(function(name){typ.methodSetCache.push(base[name]);});return typ.methodSetCache;};var $Bool=$newType(1,$kindBool,\"bool\",true,\"\",false,null);var $Int=$newType(4,$kindInt,\"int\",true,\"\",false,null);var $Int8=$newType(1,$kindInt8,\"int8\",true,\"\",false,null);var $Int16=$newType(2,$kindInt16,\"int16\",true,\"\",false,null);var $Int32=$newType(4,$kindInt32,\"int32\",true,\"\",false,null);var $Int64=$newType(8,$kindInt64,\"int64\",true,\"\",false,null);var $Uint=$newType(4,$kindUint,\"uint\",true,\"\",false,null);var $Uint8=$newType(1,$kindUint8,\"uint8\",true,\"\",false,null);var $Uint16=$newType(2,$kindUint16,\"uint16\",true,\"\",false,null);var $Uint32=$newType(4,$kindUint32,\"uint32\",true,\"\",false,null);var $Uint64=$newType(8,$kindUint64,\"uint64\",true,\"\",false,null);var $Uintptr=$newType(4,$kindUintptr,\"uintptr\",true,\"\",false,null);var $Float32=$newType(4,$kindFloat32,\"float32\",true,\"\",false,null);var $Float64=$newType(8,$kindFloat64,\"float64\",true,\"\",false,null);var $Complex64=$newType(8,$kindComplex64,\"complex64\",true,\"\",false,null);var $Complex128=$newType(16,$kindComplex128,\"complex128\",true,\"\",false,null);var $String=$newType(8,$kindString,\"string\",true,\"\",false,null);var $UnsafePointer=$newType(4,$kindUnsafePointer,\"unsafe.Pointer\",true,\"\",false,null);var $nativeArray=function(elemKind){switch(elemKind){case $kindInt:return Int32Array;case $kindInt8:return Int8Array;case $kindInt16:return Int16Array;case $kindInt32:return Int32Array;case $kindUint:return Uint32Array;case $kindUint8:return Uint8Array;case $kindUint16:return Uint16Array;case $kindUint32:return Uint32Array;case $kindUintptr:return Uint32Array;case $kindFloat32:return Float32Array;case $kindFloat64:return Float64Array;default:return Array;}};var $toNativeArray=function(elemKind,array){var nativeArray=$nativeArray(elemKind);if(nativeArray===Array){return array;}return new nativeArray(array);};var $arrayTypes={};var $arrayType=function(elem,len){var typeKey=elem.id+\"$\"+len;var typ=$arrayTypes[typeKey];if(typ===undefined){typ=$newType(12,$kindArray,\"[\"+len+\"]\"+elem.string,false,\"\",false,null);$arrayTypes[typeKey]=typ;typ.init(elem,len);}return typ;};var $chanType=function(elem,sendOnly,recvOnly){var string=(recvOnly?\"<-\":\"\")+\"chan\"+(sendOnly?\"<- \":\" \")+elem.string;var field=sendOnly?\"SendChan\":(recvOnly?\"RecvChan\":\"Chan\");var typ=elem[field];if(typ===undefined){typ=$newType(4,$kindChan,string,false,\"\",false,null);elem[field]=typ;typ.init(elem,sendOnly,recvOnly);}return typ;};var $Chan=function(elem,capacity){if(capacity<0||capacity>2147483647){$throwRuntimeError(\"makechan: size out of range\");}this.$elem=elem;this.$capacity=capacity;this.$buffer=[];this.$sendQueue=[];this.$recvQueue=[];this.$closed=false;};var $chanNil=new $Chan(null,0);$chanNil.$sendQueue=$chanNil.$recvQueue={length:0,push:function(){},shift:function(){return undefined;},indexOf:function(){return-1;}};var $funcTypes={};var $funcType=function(params,results,variadic){var typeKey=$mapArray(params,function(p){return p.id;}).join(\",\")+\"$\"+$mapArray(results,function(r){return r.id;}).join(\",\")+\"$\"+variadic;var typ=$funcTypes[typeKey];if(typ===undefined){var paramTypes=$mapArray(params,function(p){return p.string;});if(variadic){paramTypes[paramTypes.length-1]=\"...\"+paramTypes[paramTypes.length-1].substr(2);}var string=\"func(\"+paramTypes.join(\", \")+\")\";if(results.length===1){string+=\" \"+results[0].string;}else if(results.length>1){string+=\" (\"+$mapArray(results,function(r){return r.string;}).join(\", \")+\")\";}typ=$newType(4,$kindFunc,string,false,\"\",false,null);$funcTypes[typeKey]=typ;typ.init(params,results,variadic);}return typ;};var $interfaceTypes={};var $interfaceType=function(methods){var typeKey=$mapArray(methods,function(m){return m.pkg+\",\"+m.name+\",\"+m.typ.id;}).join(\"$\");var typ=$interfaceTypes[typeKey];if(typ===undefined){var string=\"interface {}\";if(methods.length!==0){string=\"interface { \"+$mapArray(methods,function(m){return(m.pkg!==\"\"?m.pkg+\".\":\"\")+m.name+m.typ.string.substr(4);}).join(\"; \")+\" }\";}typ=$newType(8,$kindInterface,string,false,\"\",false,null);$interfaceTypes[typeKey]=typ;typ.init(methods);}return typ;};var $emptyInterface=$interfaceType([]);var $ifaceNil={};var $error=$newType(8,$kindInterface,\"error\",true,\"\",false,null);$error.init([{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}]);var $mapTypes={};var $mapType=function(key,elem){var typeKey=key.id+\"$\"+elem.id;var typ=$mapTypes[typeKey];if(typ===undefined){typ=$newType(4,$kindMap,\"map[\"+key.string+\"]\"+elem.string,false,\"\",false,null);$mapTypes[typeKey]=typ;typ.init(key,elem);}return typ;};var $makeMap=function(keyForFunc,entries){var m={};for(var i=0;i<entries.length;i++){var e=entries[i];m[keyForFunc(e.k)]=e;}return m;};var $ptrType=function(elem){var typ=elem.ptr;if(typ===undefined){typ=$newType(4,$kindPtr,\"*\"+elem.string,false,\"\",elem.exported,null);elem.ptr=typ;typ.init(elem);}return typ;};var $newDataPointer=function(data,constructor){if(constructor.elem.kind===$kindStruct){return data;}return new constructor(function(){return data;},function(v){data=v;});};var $indexPtr=function(array,index,constructor){array.$ptr=array.$ptr||{};return array.$ptr[index]||(array.$ptr[index]=new constructor(function(){return array[index];},function(v){array[index]=v;}));};var $sliceType=function(elem){var typ=elem.slice;if(typ===undefined){typ=$newType(12,$kindSlice,\"[]\"+elem.string,false,\"\",false,null);elem.slice=typ;typ.init(elem);}return typ;};var $makeSlice=function(typ,length,capacity){capacity=capacity||length;if(length<0||length>2147483647){$throwRuntimeError(\"makeslice: len out of range\");}if(capacity<0||capacity<length||capacity>2147483647){$throwRuntimeError(\"makeslice: cap out of range\");}var array=new typ.nativeArray(capacity);if(typ.nativeArray===Array){for(var i=0;i<capacity;i++){array[i]=typ.elem.zero();}}var slice=new typ(array);slice.$length=length;return slice;};var $structTypes={};var $structType=function(pkgPath,fields){var typeKey=$mapArray(fields,function(f){return f.name+\",\"+f.typ.id+\",\"+f.tag;}).join(\"$\");var typ=$structTypes[typeKey];if(typ===undefined){var string=\"struct { \"+$mapArray(fields,function(f){return f.name+\" \"+f.typ.string+(f.tag!==\"\"?(\" \\\"\"+f.tag.replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")+\"\\\"\"):\"\");}).join(\"; \")+\" }\";if(fields.length===0){string=\"struct {}\";}typ=$newType(0,$kindStruct,string,false,\"\",false,function(){this.$val=this;for(var i=0;i<fields.length;i++){var f=fields[i];var arg=arguments[i];this[f.prop]=arg!==undefined?arg:f.typ.zero();}});$structTypes[typeKey]=typ;typ.init(pkgPath,fields);}return typ;};var $assertType=function(value,type,returnTuple){var isInterface=(type.kind===$kindInterface),ok,missingMethod=\"\";if(value===$ifaceNil){ok=false;}else if(!isInterface){ok=value.constructor===type;}else{var valueTypeString=value.constructor.string;ok=type.implementedBy[valueTypeString];if(ok===undefined){ok=true;var valueMethodSet=$methodSet(value.constructor);var interfaceMethods=type.methods;for(var i=0;i<interfaceMethods.length;i++){var tm=interfaceMethods[i];var found=false;for(var j=0;j<valueMethodSet.length;j++){var vm=valueMethodSet[j];if(vm.name===tm.name&&vm.pkg===tm.pkg&&vm.typ===tm.typ){found=true;break;}}if(!found){ok=false;type.missingMethodFor[valueTypeString]=tm.name;break;}}type.implementedBy[valueTypeString]=ok;}if(!ok){missingMethod=type.missingMethodFor[valueTypeString];}}if(!ok){if(returnTuple){return[type.zero(),false];}$panic(new $packages[\"runtime\"].TypeAssertionError.ptr(\"\",(value===$ifaceNil?\"\":value.constructor.string),type.string,missingMethod));}if(!isInterface){value=value.$val;}if(type===$jsObjectPtr){value=value.object;}return returnTuple?[value,true]:value;};var $stackDepthOffset=0;var $getStackDepth=function(){var err=new Error();if(err.stack===undefined){return undefined;}return $stackDepthOffset+err.stack.split(\"\\n\").length;};var $panicStackDepth=null,$panicValue;var $callDeferred=function(deferred,jsErr,fromPanic){if(!fromPanic&&deferred!==null&&deferred.index>=$curGoroutine.deferStack.length){throw jsErr;}if(jsErr!==null){var newErr=null;try{$curGoroutine.deferStack.push(deferred);$panic(new $jsErrorPtr(jsErr));}catch(err){newErr=err;}$curGoroutine.deferStack.pop();$callDeferred(deferred,newErr);return;}if($curGoroutine.asleep){return;}$stackDepthOffset--;var outerPanicStackDepth=$panicStackDepth;var outerPanicValue=$panicValue;var localPanicValue=$curGoroutine.panicStack.pop();if(localPanicValue!==undefined){$panicStackDepth=$getStackDepth();$panicValue=localPanicValue;}try{while(true){if(deferred===null){deferred=$curGoroutine.deferStack[$curGoroutine.deferStack.length-1];if(deferred===undefined){$panicStackDepth=null;if(localPanicValue.Object instanceof Error){throw localPanicValue.Object;}var msg;if(localPanicValue.constructor===$String){msg=localPanicValue.$val;}else if(localPanicValue.Error!==undefined){msg=localPanicValue.Error();}else if(localPanicValue.String!==undefined){msg=localPanicValue.String();}else{msg=localPanicValue;}throw new Error(msg);}}var call=deferred.pop();if(call===undefined){$curGoroutine.deferStack.pop();if(localPanicValue!==undefined){deferred=null;continue;}return;}var r=call[0].apply(call[2],call[1]);if(r&&r.$blk!==undefined){deferred.push([r.$blk,[],r]);if(fromPanic){throw null;}return;}if(localPanicValue!==undefined&&$panicStackDepth===null){throw null;}}}finally{if(localPanicValue!==undefined){if($panicStackDepth!==null){$curGoroutine.panicStack.push(localPanicValue);}$panicStackDepth=outerPanicStackDepth;$panicValue=outerPanicValue;}$stackDepthOffset++;}};var $panic=function(value){$curGoroutine.panicStack.push(value);$callDeferred(null,null,true);};var $recover=function(){if($panicStackDepth===null||($panicStackDepth!==undefined&&$panicStackDepth!==$getStackDepth()-2)){return $ifaceNil;}$panicStackDepth=null;return $panicValue;};var $throw=function(err){throw err;};var $noGoroutine={asleep:false,exit:false,deferStack:[],panicStack:[]};var $curGoroutine=$noGoroutine,$totalGoroutines=0,$awakeGoroutines=0,$checkForDeadlock=true;var $mainFinished=false;var $go=function(fun,args,direct){$totalGoroutines++;$awakeGoroutines++;var $goroutine=function(){try{$curGoroutine=$goroutine;var r=fun.apply(undefined,args);if(r&&r.$blk!==undefined){fun=function(){return r.$blk();};args=[];return;}$goroutine.exit=true;}catch(err){if(!$goroutine.exit){throw err;}}finally{$curGoroutine=$noGoroutine;if($goroutine.exit){$totalGoroutines--;$goroutine.asleep=true;}if($goroutine.asleep){$awakeGoroutines--;if(!$mainFinished&&$awakeGoroutines===0&&$checkForDeadlock){console.error(\"fatal error: all goroutines are asleep - deadlock!\");if($global.process!==undefined){$global.process.exit(2);}}}}};$goroutine.asleep=false;$goroutine.exit=false;$goroutine.deferStack=[];$goroutine.panicStack=[];$schedule($goroutine);};var $scheduled=[];var $runScheduled=function(){try{var r;while((r=$scheduled.shift())!==undefined){r();}}finally{if($scheduled.length>0){setTimeout($runScheduled,0);}}};var $schedule=function(goroutine){if(goroutine.asleep){goroutine.asleep=false;$awakeGoroutines++;}$scheduled.push(goroutine);if($curGoroutine===$noGoroutine){$runScheduled();}};var $setTimeout=function(f,t){$awakeGoroutines++;return setTimeout(function(){$awakeGoroutines--;f();},t);};var $block=function(){if($curGoroutine===$noGoroutine){$throwRuntimeError(\"cannot block in JavaScript callback, fix by wrapping code in goroutine\");}$curGoroutine.asleep=true;};var $send=function(chan,value){if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}var queuedRecv=chan.$recvQueue.shift();if(queuedRecv!==undefined){queuedRecv([value,true]);return;}if(chan.$buffer.length<chan.$capacity){chan.$buffer.push(value);return;}var thisGoroutine=$curGoroutine;var closedDuringSend;chan.$sendQueue.push(function(closed){closedDuringSend=closed;$schedule(thisGoroutine);return value;});$block();return{$blk:function(){if(closedDuringSend){$throwRuntimeError(\"send on closed channel\");}}};};var $recv=function(chan){var queuedSend=chan.$sendQueue.shift();if(queuedSend!==undefined){chan.$buffer.push(queuedSend(false));}var bufferedValue=chan.$buffer.shift();if(bufferedValue!==undefined){return[bufferedValue,true];}if(chan.$closed){return[chan.$elem.zero(),false];}var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.value;}};var queueEntry=function(v){f.value=v;$schedule(thisGoroutine);};chan.$recvQueue.push(queueEntry);$block();return f;};var $close=function(chan){if(chan.$closed){$throwRuntimeError(\"close of closed channel\");}chan.$closed=true;while(true){var queuedSend=chan.$sendQueue.shift();if(queuedSend===undefined){break;}queuedSend(true);}while(true){var queuedRecv=chan.$recvQueue.shift();if(queuedRecv===undefined){break;}queuedRecv([chan.$elem.zero(),false]);}};var $select=function(comms){var ready=[];var selection=-1;for(var i=0;i<comms.length;i++){var comm=comms[i];var chan=comm[0];switch(comm.length){case 0:selection=i;break;case 1:if(chan.$sendQueue.length!==0||chan.$buffer.length!==0||chan.$closed){ready.push(i);}break;case 2:if(chan.$closed){$throwRuntimeError(\"send on closed channel\");}if(chan.$recvQueue.length!==0||chan.$buffer.length<chan.$capacity){ready.push(i);}break;}}if(ready.length!==0){selection=ready[Math.floor(Math.random()*ready.length)];}if(selection!==-1){var comm=comms[selection];switch(comm.length){case 0:return[selection];case 1:return[selection,$recv(comm[0])];case 2:$send(comm[0],comm[1]);return[selection];}}var entries=[];var thisGoroutine=$curGoroutine;var f={$blk:function(){return this.selection;}};var removeFromQueues=function(){for(var i=0;i<entries.length;i++){var entry=entries[i];var queue=entry[0];var index=queue.indexOf(entry[1]);if(index!==-1){queue.splice(index,1);}}};for(var i=0;i<comms.length;i++){(function(i){var comm=comms[i];switch(comm.length){case 1:var queueEntry=function(value){f.selection=[i,value];removeFromQueues();$schedule(thisGoroutine);};entries.push([comm[0].$recvQueue,queueEntry]);comm[0].$recvQueue.push(queueEntry);break;case 2:var queueEntry=function(){if(comm[0].$closed){$throwRuntimeError(\"send on closed channel\");}f.selection=[i];removeFromQueues();$schedule(thisGoroutine);return comm[1];};entries.push([comm[0].$sendQueue,queueEntry]);comm[0].$sendQueue.push(queueEntry);break;}})(i);}$block();return f;};var $jsObjectPtr,$jsErrorPtr;var $needsExternalization=function(t){switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return false;default:return t!==$jsObjectPtr;}};var $externalize=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindBool:case $kindInt:case $kindInt8:case $kindInt16:case $kindInt32:case $kindUint:case $kindUint8:case $kindUint16:case $kindUint32:case $kindUintptr:case $kindFloat32:case $kindFloat64:return v;case $kindInt64:case $kindUint64:return $flatten64(v);case $kindArray:if($needsExternalization(t.elem)){return $mapArray(v,function(e){return $externalize(e,t.elem);});}return v;case $kindFunc:return $externalizeFunction(v,t,false);case $kindInterface:if(v===$ifaceNil){return null;}if(v.constructor===$jsObjectPtr){return v.$val.object;}return $externalize(v.$val,v.constructor);case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var entry=v[keys[i]];m[$externalize(entry.k,t.key)]=$externalize(entry.v,t.elem);}return m;case $kindPtr:if(v===t.nil){return null;}return $externalize(v.$get(),t.elem);case $kindSlice:if($needsExternalization(t.elem)){return $mapArray($sliceToArray(v),function(e){return $externalize(e,t.elem);});}return $sliceToArray(v);case $kindString:if($isASCII(v)){return v;}var s=\"\",r;for(var i=0;i<v.length;i+=r[1]){r=$decodeRune(v,i);var c=r[0];if(c>0xFFFF){var h=Math.floor((c-0x10000)/0x400)+0xD800;var l=(c-0x10000)%0x400+0xDC00;s+=String.fromCharCode(h,l);continue;}s+=String.fromCharCode(c);}return s;case $kindStruct:var timePkg=$packages[\"time\"];if(timePkg!==undefined&&v.constructor===timePkg.Time.ptr){var milli=$div64(v.UnixNano(),new $Int64(0,1000000));return new Date($flatten64(milli));}var noJsObject={};var searchJsObject=function(v,t){if(t===$jsObjectPtr){return v;}switch(t.kind){case $kindPtr:if(v===t.nil){return noJsObject;}return searchJsObject(v.$get(),t.elem);case $kindStruct:var f=t.fields[0];return searchJsObject(v[f.prop],f.typ);case $kindInterface:return searchJsObject(v.$val,v.constructor);default:return noJsObject;}};var o=searchJsObject(v,t);if(o!==noJsObject){return o;}o={};for(var i=0;i<t.fields.length;i++){var f=t.fields[i];if(!f.exported){continue;}o[f.name]=$externalize(v[f.prop],f.typ);}return o;}$throwRuntimeError(\"cannot externalize \"+t.string);};var $externalizeFunction=function(v,t,passThis){if(v===$throwNilPointerError){return null;}if(v.$externalizeWrapper===undefined){$checkForDeadlock=false;v.$externalizeWrapper=function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=[];for(var j=i;j<arguments.length;j++){varargs.push($internalize(arguments[j],vt));}args.push(new(t.params[i])(varargs));break;}args.push($internalize(arguments[i],t.params[i]));}var canBlock=$curGoroutine.canBlock;$curGoroutine.canBlock=false;try{var result=v.apply(passThis?this:undefined,args);}finally{$curGoroutine.canBlock=canBlock;}switch(t.results.length){case 0:return;case 1:return $externalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$externalize(result[i],t.results[i]);}return result;}};}return v.$externalizeWrapper;};var $internalize=function(v,t,recv){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}if(v&&v.__internal_object__!==undefined){return $assertType(v.__internal_object__,t,false);}var timePkg=$packages[\"time\"];if(timePkg!==undefined&&t===timePkg.Time){if(!(v!==null&&v!==undefined&&v.constructor===Date)){$throwRuntimeError(\"cannot internalize time.Time from \"+typeof v+\", must be Date\");}return timePkg.Unix(new $Int64(0,0),new $Int64(0,v.getTime()*1000000));}switch(t.kind){case $kindBool:return!!v;case $kindInt:return parseInt(v);case $kindInt8:return parseInt(v)<<24>>24;case $kindInt16:return parseInt(v)<<16>>16;case $kindInt32:return parseInt(v)>>0;case $kindUint:return parseInt(v);case $kindUint8:return parseInt(v)<<24>>>24;case $kindUint16:return parseInt(v)<<16>>>16;case $kindUint32:case $kindUintptr:return parseInt(v)>>>0;case $kindInt64:case $kindUint64:return new t(0,v);case $kindFloat32:case $kindFloat64:return parseFloat(v);case $kindArray:if(v.length!==t.len){$throwRuntimeError(\"got array with wrong size from JavaScript native\");}return $mapArray(v,function(e){return $internalize(e,t.elem);});case $kindFunc:return function(){var args=[];for(var i=0;i<t.params.length;i++){if(t.variadic&&i===t.params.length-1){var vt=t.params[i].elem,varargs=arguments[i];for(var j=0;j<varargs.$length;j++){args.push($externalize(varargs.$array[varargs.$offset+j],vt));}break;}args.push($externalize(arguments[i],t.params[i]));}var result=v.apply(recv,args);switch(t.results.length){case 0:return;case 1:return $internalize(result,t.results[0]);default:for(var i=0;i<t.results.length;i++){result[i]=$internalize(result[i],t.results[i]);}return result;}};case $kindInterface:if(t.methods.length!==0){$throwRuntimeError(\"cannot internalize \"+t.string);}if(v===null){return $ifaceNil;}if(v===undefined){return new $jsObjectPtr(undefined);}switch(v.constructor){case Int8Array:return new($sliceType($Int8))(v);case Int16Array:return new($sliceType($Int16))(v);case Int32Array:return new($sliceType($Int))(v);case Uint8Array:return new($sliceType($Uint8))(v);case Uint16Array:return new($sliceType($Uint16))(v);case Uint32Array:return new($sliceType($Uint))(v);case Float32Array:return new($sliceType($Float32))(v);case Float64Array:return new($sliceType($Float64))(v);case Array:return $internalize(v,$sliceType($emptyInterface));case Boolean:return new $Bool(!!v);case Date:if(timePkg===undefined){return new $jsObjectPtr(v);}return new timePkg.Time($internalize(v,timePkg.Time));case Function:var funcType=$funcType([$sliceType($emptyInterface)],[$jsObjectPtr],true);return new funcType($internalize(v,funcType));case Number:return new $Float64(parseFloat(v));case String:return new $String($internalize(v,$String));default:if($global.Node&&v instanceof $global.Node){return new $jsObjectPtr(v);}var mapType=$mapType($String,$emptyInterface);return new mapType($internalize(v,mapType));}case $kindMap:var m={};var keys=$keys(v);for(var i=0;i<keys.length;i++){var k=$internalize(keys[i],t.key);m[t.key.keyFor(k)]={k:k,v:$internalize(v[keys[i]],t.elem)};}return m;case $kindPtr:if(t.elem.kind===$kindStruct){return $internalize(v,t.elem);}case $kindSlice:return new t($mapArray(v,function(e){return $internalize(e,t.elem);}));case $kindString:v=String(v);if($isASCII(v)){return v;}var s=\"\";var i=0;while(i<v.length){var h=v.charCodeAt(i);if(0xD800<=h&&h<=0xDBFF){var l=v.charCodeAt(i+1);var c=(h-0xD800)*0x400+l-0xDC00+0x10000;s+=$encodeRune(c);i+=2;continue;}s+=$encodeRune(h);i++;}return s;case $kindStruct:var noJsObject={};var searchJsObject=function(t){if(t===$jsObjectPtr){return v;}if(t===$jsObjectPtr.elem){$throwRuntimeError(\"cannot internalize js.Object, use *js.Object instead\");}switch(t.kind){case $kindPtr:return searchJsObject(t.elem);case $kindStruct:var f=t.fields[0];var o=searchJsObject(f.typ);if(o!==noJsObject){var n=new t.ptr();n[f.prop]=o;return n;}return noJsObject;default:return noJsObject;}};var o=searchJsObject(t);if(o!==noJsObject){return o;}}$throwRuntimeError(\"cannot internalize \"+t.string);};var $isASCII=function(s){for(var i=0;i<s.length;i++){if(s.charCodeAt(i)>=128){return false;}}return true;};\n$packages[\"github.com/gopherjs/gopherjs/js\"]=(function(){var $pkg={},$init,A,B,I,L,M,N,Q,E,F,K;A=$pkg.Object=$newType(0,$kindStruct,\"js.Object\",true,\"github.com/gopherjs/gopherjs/js\",true,function(object_){this.$val=this;if(arguments.length===0){this.object=null;return;}this.object=object_;});B=$pkg.Error=$newType(0,$kindStruct,\"js.Error\",true,\"github.com/gopherjs/gopherjs/js\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});I=$pkg.M=$newType(4,$kindMap,\"js.M\",true,\"github.com/gopherjs/gopherjs/js\",true,null);L=$sliceType($emptyInterface);M=$sliceType($String);N=$ptrType(A);Q=$ptrType(B);A.ptr.prototype.Get=function(a){var $ptr,a,b;b=this;return b.object[$externalize(a,$String)];};A.prototype.Get=function(a){return this.$val.Get(a);};A.ptr.prototype.Set=function(a,b){var $ptr,a,b,c;c=this;c.object[$externalize(a,$String)]=$externalize(b,$emptyInterface);};A.prototype.Set=function(a,b){return this.$val.Set(a,b);};A.ptr.prototype.Delete=function(a){var $ptr,a,b;b=this;delete b.object[$externalize(a,$String)];};A.prototype.Delete=function(a){return this.$val.Delete(a);};A.ptr.prototype.Length=function(){var $ptr,a;a=this;return $parseInt(a.object.length);};A.prototype.Length=function(){return this.$val.Length();};A.ptr.prototype.Index=function(a){var $ptr,a,b;b=this;return b.object[a];};A.prototype.Index=function(a){return this.$val.Index(a);};A.ptr.prototype.SetIndex=function(a,b){var $ptr,a,b,c;c=this;c.object[a]=$externalize(b,$emptyInterface);};A.prototype.SetIndex=function(a,b){return this.$val.SetIndex(a,b);};A.ptr.prototype.Call=function(a,b){var $ptr,a,b,c,d;c=this;return(d=c.object,d[$externalize(a,$String)].apply(d,$externalize(b,L)));};A.prototype.Call=function(a,b){return this.$val.Call(a,b);};A.ptr.prototype.Invoke=function(a){var $ptr,a,b;b=this;return b.object.apply(undefined,$externalize(a,L));};A.prototype.Invoke=function(a){return this.$val.Invoke(a);};A.ptr.prototype.New=function(a){var $ptr,a,b;b=this;return new($global.Function.prototype.bind.apply(b.object,[undefined].concat($externalize(a,L))));};A.prototype.New=function(a){return this.$val.New(a);};A.ptr.prototype.Bool=function(){var $ptr,a;a=this;return!!(a.object);};A.prototype.Bool=function(){return this.$val.Bool();};A.ptr.prototype.String=function(){var $ptr,a;a=this;return $internalize(a.object,$String);};A.prototype.String=function(){return this.$val.String();};A.ptr.prototype.Int=function(){var $ptr,a;a=this;return $parseInt(a.object)>>0;};A.prototype.Int=function(){return this.$val.Int();};A.ptr.prototype.Int64=function(){var $ptr,a;a=this;return $internalize(a.object,$Int64);};A.prototype.Int64=function(){return this.$val.Int64();};A.ptr.prototype.Uint64=function(){var $ptr,a;a=this;return $internalize(a.object,$Uint64);};A.prototype.Uint64=function(){return this.$val.Uint64();};A.ptr.prototype.Float=function(){var $ptr,a;a=this;return $parseFloat(a.object);};A.prototype.Float=function(){return this.$val.Float();};A.ptr.prototype.Interface=function(){var $ptr,a;a=this;return $internalize(a.object,$emptyInterface);};A.prototype.Interface=function(){return this.$val.Interface();};A.ptr.prototype.Unsafe=function(){var $ptr,a;a=this;return a.object;};A.prototype.Unsafe=function(){return this.$val.Unsafe();};B.ptr.prototype.Error=function(){var $ptr,a;a=this;return\"JavaScript error: \"+$internalize(a.Object.message,$String);};B.prototype.Error=function(){return this.$val.Error();};B.ptr.prototype.Stack=function(){var $ptr,a;a=this;return $internalize(a.Object.stack,$String);};B.prototype.Stack=function(){return this.$val.Stack();};E=function(a){var $ptr,a;return $makeFunc(a);};$pkg.MakeFunc=E;F=function(a){var $ptr,a,b,c,d;if(a===null||a===undefined){return M.nil;}b=$global.Object.keys(a);c=$makeSlice(M,$parseInt(b.length));d=0;while(true){if(!(d<$parseInt(b.length))){break;}((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=$internalize(b[d],$String));d=d+(1)>>0;}return c;};$pkg.Keys=F;K=function(){var $ptr,a;a=new B.ptr(null);$unused(a);};N.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[N],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([$String,$emptyInterface],[],false)},{prop:\"Delete\",name:\"Delete\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"Length\",name:\"Length\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[N],false)},{prop:\"SetIndex\",name:\"SetIndex\",pkg:\"\",typ:$funcType([$Int,$emptyInterface],[],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,L],[N],true)},{prop:\"Invoke\",name:\"Invoke\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"New\",name:\"New\",pkg:\"\",typ:$funcType([L],[N],true)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Int64\",name:\"Int64\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Uint64\",name:\"Uint64\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Unsafe\",name:\"Unsafe\",pkg:\"\",typ:$funcType([],[$Uintptr],false)}];Q.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Stack\",name:\"Stack\",pkg:\"\",typ:$funcType([],[$String],false)}];A.init(\"github.com/gopherjs/gopherjs/js\",[{prop:\"object\",name:\"object\",exported:false,typ:N,tag:\"\"}]);B.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:N,tag:\"\"}]);I.init($String,$emptyInterface);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:K();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime/internal/sys\"]=(function(){var $pkg={},$init;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"runtime\"]=(function(){var $pkg={},$init,B,A,AH,AI,AV,E,K,R;B=$packages[\"github.com/gopherjs/gopherjs/js\"];A=$packages[\"runtime/internal/sys\"];AH=$pkg.TypeAssertionError=$newType(0,$kindStruct,\"runtime.TypeAssertionError\",true,\"runtime\",true,function(interfaceString_,concreteString_,assertedString_,missingMethod_){this.$val=this;if(arguments.length===0){this.interfaceString=\"\";this.concreteString=\"\";this.assertedString=\"\";this.missingMethod=\"\";return;}this.interfaceString=interfaceString_;this.concreteString=concreteString_;this.assertedString=assertedString_;this.missingMethod=missingMethod_;});AI=$pkg.errorString=$newType(8,$kindString,\"runtime.errorString\",true,\"runtime\",false,null);AV=$ptrType(AH);E=function(){var $ptr,a,b;a=$packages[$externalize(\"github.com/gopherjs/gopherjs/js\",$String)];$jsObjectPtr=a.Object.ptr;$jsErrorPtr=a.Error.ptr;$throwRuntimeError=(function(b){var $ptr,b;$panic(new AI((b)));});b=$ifaceNil;b=new AH.ptr(\"\",\"\",\"\",\"\");$unused(b);};K=function(){var $ptr;$curGoroutine.exit=$externalize(true,$Bool);$throw(null);};$pkg.Goexit=K;R=function(a,b){var $ptr,a,b;};$pkg.SetFinalizer=R;AH.ptr.prototype.RuntimeError=function(){var $ptr;};AH.prototype.RuntimeError=function(){return this.$val.RuntimeError();};AH.ptr.prototype.Error=function(){var $ptr,a,b;a=this;b=a.interfaceString;if(b===\"\"){b=\"interface\";}if(a.concreteString===\"\"){return\"interface conversion: \"+b+\" is nil, not \"+a.assertedString;}if(a.missingMethod===\"\"){return\"interface conversion: \"+b+\" is \"+a.concreteString+\", not \"+a.assertedString;}return\"interface conversion: \"+a.concreteString+\" is not \"+a.assertedString+\": missing method \"+a.missingMethod;};AH.prototype.Error=function(){return this.$val.Error();};AI.prototype.RuntimeError=function(){var $ptr,a;a=this.$val;};$ptrType(AI).prototype.RuntimeError=function(){return new AI(this.$get()).RuntimeError();};AI.prototype.Error=function(){var $ptr,a;a=this.$val;return\"runtime error: \"+(a);};$ptrType(AI).prototype.Error=function(){return new AI(this.$get()).Error();};AV.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AI.methods=[{prop:\"RuntimeError\",name:\"RuntimeError\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];AH.init(\"runtime\",[{prop:\"interfaceString\",name:\"interfaceString\",exported:false,typ:$String,tag:\"\"},{prop:\"concreteString\",name:\"concreteString\",exported:false,typ:$String,tag:\"\"},{prop:\"assertedString\",name:\"assertedString\",exported:false,typ:$String,tag:\"\"},{prop:\"missingMethod\",name:\"missingMethod\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"errors\"]=(function(){var $pkg={},$init,B,C,A;B=$pkg.errorString=$newType(0,$kindStruct,\"errors.errorString\",true,\"errors\",false,function(s_){this.$val=this;if(arguments.length===0){this.s=\"\";return;}this.s=s_;});C=$ptrType(B);A=function(a){var $ptr,a;return new B.ptr(a);};$pkg.New=A;B.ptr.prototype.Error=function(){var $ptr,a;a=this;return a.s;};B.prototype.Error=function(){return this.$val.Error();};C.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];B.init(\"errors\",[{prop:\"s\",name:\"s\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"internal/race\"]=(function(){var $pkg={},$init,A,B,C,D,E,H,I;A=function(a){var $ptr,a;};$pkg.Acquire=A;B=function(a){var $ptr,a;};$pkg.Release=B;C=function(a){var $ptr,a;};$pkg.ReleaseMerge=C;D=function(){var $ptr;};$pkg.Disable=D;E=function(){var $ptr;};$pkg.Enable=E;H=function(a,b){var $ptr,a,b;};$pkg.ReadRange=H;I=function(a,b){var $ptr,a,b;};$pkg.WriteRange=I;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync/atomic\"]=(function(){var $pkg={},$init,A,H,N,U,AA;A=$packages[\"github.com/gopherjs/gopherjs/js\"];H=function(ad,ae,af){var $ptr,ad,ae,af;if(ad.$get()===ae){ad.$set(af);return true;}return false;};$pkg.CompareAndSwapInt32=H;N=function(ad,ae){var $ptr,ad,ae,af;af=ad.$get()+ae>>0;ad.$set(af);return af;};$pkg.AddInt32=N;U=function(ad){var $ptr,ad;return ad.$get();};$pkg.LoadUint32=U;AA=function(ad,ae){var $ptr,ad,ae;ad.$set(ae);};$pkg.StoreUint32=AA;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"sync\"]=(function(){var $pkg={},$init,B,C,A,E,R,S,T,U,AF,AM,AN,AP,AQ,AR,AS,AT,AW,BB,BC,BD,BE,BG,BN,BO,BP,BQ,G,I,AA,F,H,J,K,L,Q,Y,AB,AC,AK,AL;B=$packages[\"internal/race\"];C=$packages[\"runtime\"];A=$packages[\"sync/atomic\"];E=$pkg.Pool=$newType(0,$kindStruct,\"sync.Pool\",true,\"sync\",true,function(local_,localSize_,store_,New_){this.$val=this;if(arguments.length===0){this.local=0;this.localSize=0;this.store=BC.nil;this.New=$throwNilPointerError;return;}this.local=local_;this.localSize=localSize_;this.store=store_;this.New=New_;});R=$pkg.Mutex=$newType(0,$kindStruct,\"sync.Mutex\",true,\"sync\",true,function(state_,sema_){this.$val=this;if(arguments.length===0){this.state=0;this.sema=0;return;}this.state=state_;this.sema=sema_;});S=$pkg.Locker=$newType(8,$kindInterface,\"sync.Locker\",true,\"sync\",true,null);T=$pkg.Once=$newType(0,$kindStruct,\"sync.Once\",true,\"sync\",true,function(m_,done_){this.$val=this;if(arguments.length===0){this.m=new R.ptr(0,0);this.done=0;return;}this.m=m_;this.done=done_;});U=$pkg.poolLocal=$newType(0,$kindStruct,\"sync.poolLocal\",true,\"sync\",false,function(private$0_,shared_,Mutex_,pad_){this.$val=this;if(arguments.length===0){this.private$0=$ifaceNil;this.shared=BC.nil;this.Mutex=new R.ptr(0,0);this.pad=BQ.zero();return;}this.private$0=private$0_;this.shared=shared_;this.Mutex=Mutex_;this.pad=pad_;});AF=$pkg.notifyList=$newType(0,$kindStruct,\"sync.notifyList\",true,\"sync\",false,function(wait_,notify_,lock_,head_,tail_){this.$val=this;if(arguments.length===0){this.wait=0;this.notify=0;this.lock=0;this.head=0;this.tail=0;return;}this.wait=wait_;this.notify=notify_;this.lock=lock_;this.head=head_;this.tail=tail_;});AM=$pkg.RWMutex=$newType(0,$kindStruct,\"sync.RWMutex\",true,\"sync\",true,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AN=$pkg.rlocker=$newType(0,$kindStruct,\"sync.rlocker\",true,\"sync\",false,function(w_,writerSem_,readerSem_,readerCount_,readerWait_){this.$val=this;if(arguments.length===0){this.w=new R.ptr(0,0);this.writerSem=0;this.readerSem=0;this.readerCount=0;this.readerWait=0;return;}this.w=w_;this.writerSem=writerSem_;this.readerSem=readerSem_;this.readerCount=readerCount_;this.readerWait=readerWait_;});AP=$ptrType(E);AQ=$sliceType(AP);AR=$ptrType($Uint32);AS=$chanType($Bool,false,false);AT=$sliceType(AS);AW=$ptrType($Int32);BB=$ptrType(U);BC=$sliceType($emptyInterface);BD=$ptrType(AN);BE=$ptrType(AM);BG=$funcType([],[$emptyInterface],false);BN=$ptrType(R);BO=$funcType([],[],false);BP=$ptrType(T);BQ=$arrayType($Uint8,128);E.ptr.prototype.Get=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(j.store.$length===0){$s=1;continue;}$s=2;continue;case 1:if(!(j.New===$throwNilPointerError)){$s=3;continue;}$s=4;continue;case 3:k=j.New();$s=5;case 5:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;case 4:$s=-1;return $ifaceNil;case 2:n=(l=j.store,m=j.store.$length-1>>0,((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]));j.store=$subslice(j.store,0,(j.store.$length-1>>0));$s=-1;return n;}return;}if($f===undefined){$f={$blk:E.ptr.prototype.Get};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};E.prototype.Get=function(){return this.$val.Get();};E.ptr.prototype.Put=function(j){var $ptr,j,k;k=this;if($interfaceIsEqual(j,$ifaceNil)){return;}k.store=$append(k.store,j);};E.prototype.Put=function(j){return this.$val.Put(j);};F=function(j){var $ptr,j;};H=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(j.$get()===0){$s=1;continue;}$s=2;continue;case 1:k=new $Chan($Bool,0);l=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(l)]={k:l,v:$append((m=G[AR.keyFor(j)],m!==undefined?m.v:AT.nil),k)};n=$recv(k);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n[0];case 2:j.$set(j.$get()-(1)>>>0);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};J=function(j){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j.$set(j.$get()+(1)>>>0);l=(k=G[AR.keyFor(j)],k!==undefined?k.v:AT.nil);if(l.$length===0){$s=-1;return;}m=(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]);l=$subslice(l,1);n=j;(G||$throwRuntimeError(\"assignment to entry in nil map\"))[AR.keyFor(n)]={k:n,v:l};if(l.$length===0){delete G[AR.keyFor(j)];}$r=$send(m,true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:J};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};K=function(j){var $ptr,j;};L=function(j){var $ptr,j;return false;};Q=function(){$throwRuntimeError(\"native function not implemented: sync.throw\");};R.ptr.prototype.Lock=function(){var $ptr,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),0,1)){if(false){B.Acquire((j));}$s=-1;return;}k=false;l=0;case 1:m=j.state;n=m|1;if(!(((m&1)===0))){$s=3;continue;}$s=4;continue;case 3:if(L(l)){if(!k&&((m&2)===0)&&!(((m>>2>>0)===0))&&A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,m|2)){k=true;}AL();l=l+(1)>>0;$s=1;continue;}n=m+4>>0;case 4:if(k){if((n&2)===0){Q(\"sync: inconsistent mutex state\");}n=(n&~(2))>>0;}if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),m,n)){$s=5;continue;}$s=6;continue;case 5:if((m&1)===0){$s=2;continue;}$r=I((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=true;l=0;case 6:$s=1;continue;case 2:if(false){B.Acquire((j));}$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Lock=function(){return this.$val.Lock();};R.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.state);B.Release((j));}k=A.AddInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),-1);if((((k+1>>0))&1)===0){Q(\"sync: unlock of unlocked mutex\");}l=k;case 1:if(((l>>2>>0)===0)||!(((l&3)===0))){$s=-1;return;}k=((l-4>>0))|2;if(A.CompareAndSwapInt32((j.$ptr_state||(j.$ptr_state=new AW(function(){return this.$target.state;},function($v){this.$target.state=$v;},j))),l,k)){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_sema||(j.$ptr_sema=new AR(function(){return this.$target.sema;},function($v){this.$target.sema=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:l=j.state;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:R.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};R.prototype.Unlock=function(){return this.$val.Unlock();};T.ptr.prototype.Do=function(j){var $ptr,j,k,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);k=this;if(A.LoadUint32((k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))))===1){$s=-1;return;}$r=k.m.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.m,\"Unlock\"),[]]);if(k.done===0){$s=2;continue;}$s=3;continue;case 2:$deferred.push([A.StoreUint32,[(k.$ptr_done||(k.$ptr_done=new AR(function(){return this.$target.done;},function($v){this.$target.done=$v;},k))),1]]);$r=j();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:T.ptr.prototype.Do};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};T.prototype.Do=function(j){return this.$val.Do(j);};Y=function(){var $ptr,j,k,l,m,n,o,p,q,r,s;j=AA;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);((l<0||l>=AA.$length)?($throwRuntimeError(\"index out of range\"),undefined):AA.$array[AA.$offset+l]=AP.nil);n=0;while(true){if(!(n<((m.localSize>>0)))){break;}o=AC(m.local,n);o.private$0=$ifaceNil;p=o.shared;q=0;while(true){if(!(q<p.$length)){break;}r=q;(s=o.shared,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]=$ifaceNil));q++;}o.shared=BC.nil;n=n+(1)>>0;}m.local=0;m.localSize=0;k++;}AA=new AQ([]);};AB=function(){var $ptr;F(Y);};AC=function(j,k){var $ptr,j,k,l;return(l=(j),(l.nilCheck,((k<0||k>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[k])));};AK=function(){var $ptr,j;j=new AF.ptr(0,0,0,0,0);K(20);};AL=function(){$throwRuntimeError(\"native function not implemented: sync.runtime_doSpin\");};AM.ptr.prototype.RLock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}if(A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1)<0){$s=1;continue;}$s=2;continue;case 1:$r=H((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RLock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RLock=function(){return this.$val.RLock();};AM.ptr.prototype.RUnlock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.ReleaseMerge(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1);if(k<0){$s=1;continue;}$s=2;continue;case 1:if(((k+1>>0)===0)||((k+1>>0)===-1073741824)){B.Enable();Q(\"sync: RUnlock of unlocked RWMutex\");}if(A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),-1)===0){$s=3;continue;}$s=4;continue;case 3:$r=J((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 2:if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.RUnlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.RUnlock=function(){return this.$val.RUnlock();};AM.ptr.prototype.Lock=function(){var $ptr,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Disable();}$r=j.w.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),-1073741824)+1073741824>>0;if(!((k===0))&&!((A.AddInt32((j.$ptr_readerWait||(j.$ptr_readerWait=new AW(function(){return this.$target.readerWait;},function($v){this.$target.readerWait=$v;},j))),k)===0))){$s=2;continue;}$s=3;continue;case 2:$r=H((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j))));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:if(false){B.Enable();B.Acquire(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Acquire(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Lock=function(){return this.$val.Lock();};AM.ptr.prototype.Unlock=function(){var $ptr,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(false){$unused(j.w.state);B.Release(((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j)))));B.Release(((j.$ptr_writerSem||(j.$ptr_writerSem=new AR(function(){return this.$target.writerSem;},function($v){this.$target.writerSem=$v;},j)))));B.Disable();}k=A.AddInt32((j.$ptr_readerCount||(j.$ptr_readerCount=new AW(function(){return this.$target.readerCount;},function($v){this.$target.readerCount=$v;},j))),1073741824);if(k>=1073741824){B.Enable();Q(\"sync: Unlock of unlocked RWMutex\");}l=0;case 1:if(!(l<((k>>0)))){$s=2;continue;}$r=J((j.$ptr_readerSem||(j.$ptr_readerSem=new AR(function(){return this.$target.readerSem;},function($v){this.$target.readerSem=$v;},j))));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}l=l+(1)>>0;$s=1;continue;case 2:$r=j.w.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(false){B.Enable();}$s=-1;return;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.Unlock=function(){return this.$val.Unlock();};AM.ptr.prototype.RLocker=function(){var $ptr,j;j=this;return($pointerOfStructConversion(j,BD));};AM.prototype.RLocker=function(){return this.$val.RLocker();};AN.ptr.prototype.Lock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Lock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Lock=function(){return this.$val.Lock();};AN.ptr.prototype.Unlock=function(){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;$r=($pointerOfStructConversion(j,BE)).RUnlock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AN.ptr.prototype.Unlock};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};AN.prototype.Unlock=function(){return this.$val.Unlock();};AP.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"Put\",name:\"Put\",pkg:\"\",typ:$funcType([$emptyInterface],[],false)},{prop:\"getSlow\",name:\"getSlow\",pkg:\"sync\",typ:$funcType([],[$emptyInterface],false)},{prop:\"pin\",name:\"pin\",pkg:\"sync\",typ:$funcType([],[BB],false)},{prop:\"pinSlow\",name:\"pinSlow\",pkg:\"sync\",typ:$funcType([],[BB],false)}];BN.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];BP.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([BO],[],false)}];BE.methods=[{prop:\"RLock\",name:\"RLock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RUnlock\",name:\"RUnlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"RLocker\",name:\"RLocker\",pkg:\"\",typ:$funcType([],[S],false)}];BD.methods=[{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}];E.init(\"sync\",[{prop:\"local\",name:\"local\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"localSize\",name:\"localSize\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"store\",name:\"store\",exported:false,typ:BC,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:BG,tag:\"\"}]);R.init(\"sync\",[{prop:\"state\",name:\"state\",exported:false,typ:$Int32,tag:\"\"},{prop:\"sema\",name:\"sema\",exported:false,typ:$Uint32,tag:\"\"}]);S.init([{prop:\"Lock\",name:\"Lock\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Unlock\",name:\"Unlock\",pkg:\"\",typ:$funcType([],[],false)}]);T.init(\"sync\",[{prop:\"m\",name:\"m\",exported:false,typ:R,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Uint32,tag:\"\"}]);U.init(\"sync\",[{prop:\"private$0\",name:\"private\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"shared\",name:\"shared\",exported:false,typ:BC,tag:\"\"},{prop:\"Mutex\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"pad\",name:\"pad\",exported:false,typ:BQ,tag:\"\"}]);AF.init(\"sync\",[{prop:\"wait\",name:\"wait\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"notify\",name:\"notify\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"lock\",name:\"lock\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"head\",name:\"head\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"tail\",name:\"tail\",exported:false,typ:$UnsafePointer,tag:\"\"}]);AM.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);AN.init(\"sync\",[{prop:\"w\",name:\"w\",exported:false,typ:R,tag:\"\"},{prop:\"writerSem\",name:\"writerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerSem\",name:\"readerSem\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"readerCount\",name:\"readerCount\",exported:false,typ:$Int32,tag:\"\"},{prop:\"readerWait\",name:\"readerWait\",exported:false,typ:$Int32,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AA=AQ.nil;G={};I=H;AB();AK();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"io\"]=(function(){var $pkg={},$init,A,B,V,AI,AJ;A=$packages[\"errors\"];B=$packages[\"sync\"];V=$pkg.RuneScanner=$newType(8,$kindInterface,\"io.RuneScanner\",true,\"io\",true,null);V.init([{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrShortWrite=A.New(\"short write\");$pkg.ErrShortBuffer=A.New(\"short buffer\");$pkg.EOF=A.New(\"EOF\");$pkg.ErrUnexpectedEOF=A.New(\"unexpected EOF\");$pkg.ErrNoProgress=A.New(\"multiple Read calls return no data or error\");AI=A.New(\"Seek: invalid whence\");AJ=A.New(\"Seek: invalid offset\");$pkg.ErrClosedPipe=A.New(\"io: read/write on closed pipe\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"math\"]=(function(){var $pkg={},$init,A,FI,FJ,FK,FL,GS,B,AS,EQ,AT,AU,AW,ES;A=$packages[\"github.com/gopherjs/gopherjs/js\"];FI=$arrayType($Uint32,2);FJ=$arrayType($Float32,2);FK=$arrayType($Float64,1);FL=$structType(\"math\",[{prop:\"uint32array\",name:\"uint32array\",exported:false,typ:FI,tag:\"\"},{prop:\"float32array\",name:\"float32array\",exported:false,typ:FJ,tag:\"\"},{prop:\"float64array\",name:\"float64array\",exported:false,typ:FK,tag:\"\"}]);GS=$arrayType($Float64,70);AT=function(){var $ptr,aq;aq=new($global.ArrayBuffer)(8);AS.uint32array=new($global.Uint32Array)(aq);AS.float32array=new($global.Float32Array)(aq);AS.float64array=new($global.Float64Array)(aq);};AU=function(aq){var $ptr,aq;AS.float32array[0]=aq;return AS.uint32array[0];};$pkg.Float32bits=AU;AW=function(aq){var $ptr,aq,ar,as;AS.float64array[0]=aq;return(ar=$shiftLeft64((new $Uint64(0,AS.uint32array[1])),32),as=(new $Uint64(0,AS.uint32array[0])),new $Uint64(ar.$high+as.$high,ar.$low+as.$low));};$pkg.Float64bits=AW;ES=function(){var $ptr,aq,ar,as,at;EQ[0]=1;EQ[1]=10;aq=2;while(true){if(!(aq<70)){break;}as=(ar=aq/2,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));((aq<0||aq>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[aq]=((as<0||as>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[as])*(at=aq-as>>0,((at<0||at>=EQ.length)?($throwRuntimeError(\"index out of range\"),undefined):EQ[at])));aq=aq+(1)>>0;}};$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}AS=new FL.ptr(FI.zero(),FJ.zero(),FK.zero());EQ=GS.zero();B=$global.Math;AT();ES();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"syscall\"]=(function(){var $pkg={},$init,D,A,E,B,C,EZ,FA,KW,KZ,LF,MU,MW,ND,NG,NX,NY,OG,OP,OS,OT,PC,PD,PE,PF,PJ,PK,F,G,O,P,Q,AU,AV,AW,AX,CA,CB,ED,FB,FC,FD,GE,NC,GJ,H,I,J,K,L,M,R,S,T,W,AQ,AR,AS,AT,AZ,BB,BY,BZ,CC,CZ,DA,DC,DI,DY,EI,EJ,EK,EL,FE,FG,FH,HD,HR,HW,HY,HZ,IC,IE,IF,IG,IZ,JK,JL,JM,JR,KP,KQ,KR;D=$packages[\"errors\"];A=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"internal/race\"];B=$packages[\"runtime\"];C=$packages[\"sync\"];EZ=$pkg.mmapper=$newType(0,$kindStruct,\"syscall.mmapper\",true,\"syscall\",false,function(Mutex_,active_,mmap_,munmap_){this.$val=this;if(arguments.length===0){this.Mutex=new C.Mutex.ptr(0,0);this.active=false;this.mmap=$throwNilPointerError;this.munmap=$throwNilPointerError;return;}this.Mutex=Mutex_;this.active=active_;this.mmap=mmap_;this.munmap=munmap_;});FA=$pkg.Errno=$newType(4,$kindUintptr,\"syscall.Errno\",true,\"syscall\",true,null);KW=$pkg._C_int=$newType(4,$kindInt32,\"syscall._C_int\",true,\"syscall\",false,null);KZ=$pkg.Timespec=$newType(0,$kindStruct,\"syscall.Timespec\",true,\"syscall\",true,function(Sec_,Nsec_){this.$val=this;if(arguments.length===0){this.Sec=new $Int64(0,0);this.Nsec=new $Int64(0,0);return;}this.Sec=Sec_;this.Nsec=Nsec_;});LF=$pkg.Stat_t=$newType(0,$kindStruct,\"syscall.Stat_t\",true,\"syscall\",true,function(Dev_,Mode_,Nlink_,Ino_,Uid_,Gid_,Rdev_,Pad_cgo_0_,Atimespec_,Mtimespec_,Ctimespec_,Birthtimespec_,Size_,Blocks_,Blksize_,Flags_,Gen_,Lspare_,Qspare_){this.$val=this;if(arguments.length===0){this.Dev=0;this.Mode=0;this.Nlink=0;this.Ino=new $Uint64(0,0);this.Uid=0;this.Gid=0;this.Rdev=0;this.Pad_cgo_0=NG.zero();this.Atimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Mtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Ctimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Birthtimespec=new KZ.ptr(new $Int64(0,0),new $Int64(0,0));this.Size=new $Int64(0,0);this.Blocks=new $Int64(0,0);this.Blksize=0;this.Flags=0;this.Gen=0;this.Lspare=0;this.Qspare=PK.zero();return;}this.Dev=Dev_;this.Mode=Mode_;this.Nlink=Nlink_;this.Ino=Ino_;this.Uid=Uid_;this.Gid=Gid_;this.Rdev=Rdev_;this.Pad_cgo_0=Pad_cgo_0_;this.Atimespec=Atimespec_;this.Mtimespec=Mtimespec_;this.Ctimespec=Ctimespec_;this.Birthtimespec=Birthtimespec_;this.Size=Size_;this.Blocks=Blocks_;this.Blksize=Blksize_;this.Flags=Flags_;this.Gen=Gen_;this.Lspare=Lspare_;this.Qspare=Qspare_;});MU=$sliceType($Uint8);MW=$sliceType($String);ND=$ptrType($Uint8);NG=$arrayType($Uint8,4);NX=$sliceType(KW);NY=$ptrType($Uintptr);OG=$arrayType($Uint8,32);OP=$arrayType(KW,14);OS=$structType(\"syscall\",[{prop:\"addr\",name:\"addr\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Int,tag:\"\"},{prop:\"cap\",name:\"cap\",exported:false,typ:$Int,tag:\"\"}]);OT=$ptrType($Int64);PC=$ptrType(EZ);PD=$mapType(ND,MU);PE=$funcType([$Uintptr,$Uintptr,$Int,$Int,$Int,$Int64],[$Uintptr,$error],false);PF=$funcType([$Uintptr,$Uintptr],[$error],false);PJ=$ptrType(KZ);PK=$arrayType($Int64,2);H=function(){var $ptr;$flushConsole=(function(){var $ptr;if(!((G.$length===0))){$global.console.log($externalize(($bytesToString(G)),$String));G=MU.nil;}});};I=function(){var $ptr;if(!F){$global.console.error($externalize(\"warning: system calls not available, see https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md\",$String));}F=true;};J=function(i){var $ptr,i,j,k;j=$global.goPrintToConsole;if(!(j===undefined)){j(i);return;}G=$appendSlice(G,i);while(true){k=L(G,10);if(k===-1){break;}$global.console.log($externalize(($bytesToString($subslice(G,0,k))),$String));G=$subslice(G,(k+1>>0));}};K=function(i){var $ptr,i;};L=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===j){return m;}l++;}return-1;};M=function(){var $ptr,i,j,k,l,m,n;i=$global.process;if(i===undefined){return MW.nil;}j=i.env;k=$global.Object.keys(j);l=$makeSlice(MW,$parseInt(k.length));m=0;while(true){if(!(m<$parseInt(k.length))){break;}n=$internalize(k[m],$String);((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]=n+\"=\"+$internalize(j[$externalize(n,$String)],$String));m=m+(1)>>0;}return l;};R=function(i){var $ptr,i,j,$deferred;var $err=null;try{$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);$deferred.push([(function(){var $ptr;$recover();}),[]]);if(O===null){if(P){return null;}P=true;j=$global.require;if(j===undefined){$panic(new $String(\"\"));}O=j($externalize(\"syscall\",$String));}return O[$externalize(i,$String)];}catch(err){$err=err;return null;}finally{$callDeferred($deferred,$err);}};S=function(i,j,k,l){var $ptr,aa,ab,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;m=0;n=0;o=0;p=R(\"Syscall\");if(!(p===null)){q=p(i,j,k,l);r=((($parseInt(q[0])>>0)>>>0));s=((($parseInt(q[1])>>0)>>>0));t=((($parseInt(q[2])>>0)>>>0));m=r;n=s;o=t;return[m,n,o];}if((i===4)&&((j===1)||(j===2))){u=k;v=$makeSlice(MU,$parseInt(u.length));v.$array=u;J(v);w=(($parseInt(u.length)>>>0));x=0;y=0;m=w;n=x;o=y;return[m,n,o];}if(i===1){B.Goexit();}I();z=((Q>>>0));aa=0;ab=13;m=z;n=aa;o=ab;return[m,n,o];};$pkg.Syscall=S;T=function(i,j,k,l,m,n,o){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;p=0;q=0;r=0;s=R(\"Syscall6\");if(!(s===null)){t=s(i,j,k,l,m,n,o);u=((($parseInt(t[0])>>0)>>>0));v=((($parseInt(t[1])>>0)>>>0));w=((($parseInt(t[2])>>0)>>>0));p=u;q=v;r=w;return[p,q,r];}if(!((i===202))){I();}x=((Q>>>0));y=0;z=13;p=x;q=y;r=z;return[p,q,r];};$pkg.Syscall6=T;W=function(i){var $ptr,i,j,k,l,m,n;j=new($global.Uint8Array)(i.length+1>>0);k=(new MU($stringToBytes(i)));l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(n===0){return[ND.nil,new FA(22)];}j[m]=n;l++;}j[i.length]=0;return[((j)),$ifaceNil];};$pkg.BytePtrFromString=W;AQ=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=new $Uint64(0,0);m=false;if(i.$length<(((j+k>>>0)>>0))){n=new $Uint64(0,0);o=false;l=n;m=o;return[l,m];}if(false){p=AR($subslice(i,j),k);q=true;l=p;m=q;return[l,m];}r=AS($subslice(i,j),k);s=true;l=r;m=s;return[l,m];};AR=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),m=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),q=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),aa=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AS=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=j;if(k===(1)){return(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0])));}else if(k===(2)){$unused((1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]));return(l=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),m=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(l.$high|m.$high,(l.$low|m.$low)>>>0));}else if(k===(4)){$unused((3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]));return(n=(o=(p=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),q=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(p.$high|q.$high,(p.$low|q.$low)>>>0)),r=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(o.$high|r.$high,(o.$low|r.$low)>>>0)),s=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(n.$high|s.$high,(n.$low|s.$low)>>>0));}else if(k===(8)){$unused((7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]));return(t=(u=(v=(w=(x=(y=(z=(new $Uint64(0,(0>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+0]))),aa=$shiftLeft64((new $Uint64(0,(1>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+1]))),8),new $Uint64(z.$high|aa.$high,(z.$low|aa.$low)>>>0)),ab=$shiftLeft64((new $Uint64(0,(2>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+2]))),16),new $Uint64(y.$high|ab.$high,(y.$low|ab.$low)>>>0)),ac=$shiftLeft64((new $Uint64(0,(3>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+3]))),24),new $Uint64(x.$high|ac.$high,(x.$low|ac.$low)>>>0)),ad=$shiftLeft64((new $Uint64(0,(4>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+4]))),32),new $Uint64(w.$high|ad.$high,(w.$low|ad.$low)>>>0)),ae=$shiftLeft64((new $Uint64(0,(5>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+5]))),40),new $Uint64(v.$high|ae.$high,(v.$low|ae.$low)>>>0)),af=$shiftLeft64((new $Uint64(0,(6>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+6]))),48),new $Uint64(u.$high|af.$high,(u.$low|af.$low)>>>0)),ag=$shiftLeft64((new $Uint64(0,(7>=i.$length?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+7]))),56),new $Uint64(t.$high|ag.$high,(t.$low|ag.$low)>>>0));}else{$panic(new $String(\"syscall: readInt with unsupported size\"));}};AT=function(i,j,k){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;l=0;m=0;n=MW.nil;o=i.$length;m=0;while(true){if(!(!((j===0))&&i.$length>0)){break;}p=EK(i);q=p[0];r=p[1];if(!r||(s=(new $Uint64(0,i.$length)),(q.$high>s.$high||(q.$high===s.$high&&q.$low>s.$low)))){t=o;u=m;v=k;l=t;m=u;n=v;return[l,m,n];}w=$subslice(i,0,$flatten64(q));i=$subslice(i,$flatten64(q));x=EJ(w);y=x[0];r=x[1];if(!r){break;}if((y.$high===0&&y.$low===0)){continue;}z=EL(w);aa=z[0];r=z[1];if(!r||(ab=new $Uint64(0+aa.$high,21+aa.$low),ac=(new $Uint64(0,w.$length)),(ab.$high>ac.$high||(ab.$high===ac.$high&&ab.$low>ac.$low)))){break;}ad=$subslice(w,21,$flatten64(new $Uint64(0+aa.$high,21+aa.$low)));ae=ad;af=0;while(true){if(!(af<ae.$length)){break;}ag=af;ah=((af<0||af>=ae.$length)?($throwRuntimeError(\"index out of range\"),undefined):ae.$array[ae.$offset+af]);if(ah===0){ad=$subslice(ad,0,ag);break;}af++;}if(($bytesToString(ad))===\".\"||($bytesToString(ad))===\"..\"){continue;}j=j-(1)>>0;m=m+(1)>>0;k=$append(k,($bytesToString(ad)));}ai=o-i.$length>>0;aj=m;ak=k;l=ai;m=aj;n=ak;return[l,m,n];};$pkg.ParseDirent=AT;AZ=function(){var $ptr,i,j,k,l,m,n,o,p,q,r;AW={};i=AX;j=0;while(true){if(!(j<i.$length)){break;}k=j;l=((j<0||j>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+j]);m=0;while(true){if(!(m<l.length)){break;}if(l.charCodeAt(m)===61){n=$substring(l,0,m);o=(p=AW[$String.keyFor(n)],p!==undefined?[p.v,true]:[0,false]);q=o[1];if(!q){r=n;(AW||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(r)]={k:r,v:k};}else{((k<0||k>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+k]=\"\");}break;}m=m+(1)>>0;}j++;}};BB=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=\"\";k=false;$r=AU.Do(AZ);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(i.length===0){l=\"\";m=false;j=l;k=m;$s=-1;return[j,k];}$r=AV.RLock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(AV,\"RUnlock\"),[]]);n=(o=AW[$String.keyFor(i)],o!==undefined?[o.v,true]:[0,false]);p=n[0];q=n[1];if(!q){r=\"\";s=false;j=r;k=s;$s=-1;return[j,k];}t=((p<0||p>=AX.$length)?($throwRuntimeError(\"index out of range\"),undefined):AX.$array[AX.$offset+p]);u=0;while(true){if(!(u<t.length)){break;}if(t.charCodeAt(u)===61){v=$substring(t,(u+1>>0));w=true;j=v;k=w;$s=-1;return[j,k];}u=u+(1)>>0;}x=\"\";y=false;j=x;k=y;$s=-1;return[j,k];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[j,k];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:BB};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};$pkg.Getenv=BB;BY=function(i,j){var $ptr,i,j;};BZ=function(i,j){var $ptr,i,j;};CC=function(i){var $ptr,i,j;j=8;if(true){j=4;}else if(false){j=8;}else if(false){if(CA===\"amd64\"){j=8;}}if(i===0){return j;}return(((i+j>>0)-1>>0))&(~((j-1>>0))>>0);};CZ=function(i){var $ptr,i;if(i<0){return\"-\"+DA(((-i>>>0)));}return DA(((i>>>0)));};DA=function(i){var $ptr,i,j,k,l,m;j=OG.zero();k=31;while(true){if(!(i>=10)){break;}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=((((l=i%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));k=k-(1)>>0;i=(m=i/(10),(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));}((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=(((i+48>>>0)<<24>>>24)));return($bytesToString($subslice(new MU(j),k)));};DC=function(i){var $ptr,i,j,k;j=0;while(true){if(!(j<i.length)){break;}if(i.charCodeAt(j)===0){return[MU.nil,new FA(22)];}j=j+(1)>>0;}k=$makeSlice(MU,(i.length+1>>0));$copyString(k,i);return[k,$ifaceNil];};$pkg.ByteSliceFromString=DC;KZ.ptr.prototype.Unix=function(){var $ptr,i,j,k,l,m;i=new $Int64(0,0);j=new $Int64(0,0);k=this;l=(k.Sec);m=(k.Nsec);i=l;j=m;return[i,j];};KZ.prototype.Unix=function(){return this.$val.Unix();};KZ.ptr.prototype.Nano=function(){var $ptr,i,j,k;i=this;return(j=$mul64((i.Sec),new $Int64(0,1000000000)),k=(i.Nsec),new $Int64(j.$high+k.$high,j.$low+k.$low));};KZ.prototype.Nano=function(){return this.$val.Nano();};DI=function(i,j){var $ptr,i,j,k,l,m,n;k=0;l=$ifaceNil;m=((new Uint8Array(8)));n=IG(i,j,m);k=n[0];l=n[1];return[k,l];};$pkg.ReadDirent=DI;DY=function(i){var $ptr,aa,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=$ifaceNil;l=EI(i);m=l[0];k=l[1];if(!($interfaceIsEqual(k,$ifaceNil))){n=\"\";o=k;j=n;k=o;return[j,k];}p=0;k=HD(m,ND.nil,(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){r=\"\";s=k;j=r;k=s;return[j,k];}if(p===0){t=\"\";u=$ifaceNil;j=t;k=u;return[j,k];}v=$makeSlice(MU,p);k=HD(m,$indexPtr(v.$array,v.$offset+0,ND),(q||(q=new NY(function(){return p;},function($v){p=$v;}))),ND.nil,0);if(!($interfaceIsEqual(k,$ifaceNil))){w=\"\";x=k;j=w;k=x;return[j,k];}if(p>0&&((y=p-1>>>0,((y<0||y>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+y]))===0)){p=p-(1)>>>0;}z=($bytesToString($subslice(v,0,p)));aa=$ifaceNil;j=z;k=aa;return[j,k];};$pkg.Sysctl=DY;EI=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;j=NX.nil;k=$ifaceNil;l=OP.zero();m=48;n=(($sliceToArray(new MU(l))));o=DC(i);p=o[0];k=o[1];if(!($interfaceIsEqual(k,$ifaceNil))){q=NX.nil;r=k;j=q;k=r;return[j,k];}k=HD(new NX([0,3]),n,(s||(s=new NY(function(){return m;},function($v){m=$v;}))),$indexPtr(p.$array,p.$offset+0,ND),((i.length>>>0)));if(!($interfaceIsEqual(k,$ifaceNil))){t=NX.nil;u=k;j=t;k=u;return[j,k];}v=$subslice(new NX(l),0,(w=m/4,(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\")));x=$ifaceNil;j=v;k=x;return[j,k];};EJ=function(i){var $ptr,i;return AQ(i,0,8);};EK=function(i){var $ptr,i;return AQ(i,16,2);};EL=function(i){var $ptr,i;return AQ(i,18,2);};EZ.ptr.prototype.Mmap=function(i,j,k,l,m){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);n=[n];o=MU.nil;p=$ifaceNil;q=this;if(k<=0){r=MU.nil;s=new FA(22);o=r;p=s;$s=-1;return[o,p];}u=q.mmap(0,((k>>>0)),l,m,i,j);$s=1;case 1:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}t=u;v=t[0];w=t[1];if(!($interfaceIsEqual(w,$ifaceNil))){x=MU.nil;y=w;o=x;p=y;$s=-1;return[o,p];}n[0]=new OS.ptr(v,k,k);z=n[0];aa=$indexPtr(z.$array,z.$offset+(z.$capacity-1>>0),ND);$r=q.Mutex.Lock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(q.Mutex,\"Unlock\"),[]]);ab=aa;(q.active||$throwRuntimeError(\"assignment to entry in nil map\"))[ND.keyFor(ab)]={k:ab,v:z};ac=z;ad=$ifaceNil;o=ac;p=ad;$s=-1;return[o,p];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[o,p];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Mmap};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Mmap=function(i,j,k,l,m){return this.$val.Mmap(i,j,k,l,m);};EZ.ptr.prototype.Munmap=function(i){var $ptr,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);j=$ifaceNil;k=this;if((i.$length===0)||!((i.$length===i.$capacity))){j=new FA(22);$s=-1;return j;}l=$indexPtr(i.$array,i.$offset+(i.$capacity-1>>0),ND);$r=k.Mutex.Lock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$deferred.push([$methodVal(k.Mutex,\"Unlock\"),[]]);n=(m=k.active[ND.keyFor(l)],m!==undefined?m.v:MU.nil);if(n===MU.nil||!($indexPtr(n.$array,n.$offset+0,ND)===$indexPtr(i.$array,i.$offset+0,ND))){j=new FA(22);$s=-1;return j;}o=k.munmap((($sliceToArray(n))),((n.$length>>>0)));$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(!($interfaceIsEqual(p,$ifaceNil))){j=p;$s=-1;return j;}delete k.active[ND.keyFor(l)];j=$ifaceNil;$s=-1;return j;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return j;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:EZ.ptr.prototype.Munmap};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};EZ.prototype.Munmap=function(i){return this.$val.Munmap(i);};FA.prototype.Error=function(){var $ptr,i,j;i=this.$val;if(0<=((i>>0))&&((i>>0))<106){j=((i<0||i>=GJ.length)?($throwRuntimeError(\"index out of range\"),undefined):GJ[i]);if(!(j===\"\")){return j;}}return\"errno \"+CZ(((i>>0)));};$ptrType(FA).prototype.Error=function(){return new FA(this.$get()).Error();};FA.prototype.Temporary=function(){var $ptr,i;i=this.$val;return(i===4)||(i===24)||(i===54)||(i===53)||new FA(i).Timeout();};$ptrType(FA).prototype.Temporary=function(){return new FA(this.$get()).Temporary();};FA.prototype.Timeout=function(){var $ptr,i;i=this.$val;return(i===35)||(i===35)||(i===60);};$ptrType(FA).prototype.Timeout=function(){return new FA(this.$get()).Timeout();};FE=function(i){var $ptr,i,j;j=i;if(j===(0)){return $ifaceNil;}else if(j===(35)){return FB;}else if(j===(22)){return FC;}else if(j===(2)){return FD;}return new FA(i);};FG=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;m=JM(i,j);k=m[0];l=m[1];if(false){if(k>0){E.WriteRange(($sliceToArray(j)),k);}if($interfaceIsEqual(l,$ifaceNil)){E.Acquire(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}}if(false&&k>0){BZ(($sliceToArray(j)),k);}return[k,l];};$pkg.Read=FG;FH=function(i,j){var $ptr,i,j,k,l,m;k=0;l=$ifaceNil;if(false){E.ReleaseMerge(((NC||(NC=new OT(function(){return GE;},function($v){GE=$v;})))));}m=KP(i,j);k=m[0];l=m[1];if(false&&k>0){E.ReadRange(($sliceToArray(j)),k);}if(false&&k>0){BY(($sliceToArray(j)),k);}return[k,l];};$pkg.Write=FH;HD=function(i,j,k,l,m){var $ptr,i,j,k,l,m,n,o,p,q;n=$ifaceNil;o=0;if(i.$length>0){o=($sliceToArray(i));}else{o=(new Uint8Array(0));}p=T(202,(o),((i.$length>>>0)),((j)),((k)),((l)),(m));q=p[2];K(o);if(!((q===0))){n=FE(q);}return n;};HR=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(6,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Close=HR;HW=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(13,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fchdir=HW;HY=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(124,((i>>>0)),((j>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Fchmod=HY;HZ=function(i,j,k){var $ptr,i,j,k,l,m,n;l=$ifaceNil;m=S(123,((i>>>0)),((j>>>0)),((k>>>0)));n=m[2];if(!((n===0))){l=FE(n);}return l;};$pkg.Fchown=HZ;IC=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=$ifaceNil;m=new Uint8Array(144);l=S(339,((i>>>0)),((m)),0);n=j,o=new DataView(m.buffer,m.byteOffset),n.Dev=o.getInt32(0,true),n.Mode=o.getUint16(4,true),n.Nlink=o.getUint16(6,true),n.Ino=new $Uint64(o.getUint32(12,true),o.getUint32(8,true)),n.Uid=o.getUint32(16,true),n.Gid=o.getUint32(20,true),n.Rdev=o.getInt32(24,true),n.Pad_cgo_0=new($nativeArray($kindUint8))(m.buffer,$min(m.byteOffset+28,m.buffer.byteLength)),n.Atimespec.Sec=new $Int64(o.getUint32(36,true),o.getUint32(32,true)),n.Atimespec.Nsec=new $Int64(o.getUint32(44,true),o.getUint32(40,true)),n.Mtimespec.Sec=new $Int64(o.getUint32(52,true),o.getUint32(48,true)),n.Mtimespec.Nsec=new $Int64(o.getUint32(60,true),o.getUint32(56,true)),n.Ctimespec.Sec=new $Int64(o.getUint32(68,true),o.getUint32(64,true)),n.Ctimespec.Nsec=new $Int64(o.getUint32(76,true),o.getUint32(72,true)),n.Birthtimespec.Sec=new $Int64(o.getUint32(84,true),o.getUint32(80,true)),n.Birthtimespec.Nsec=new $Int64(o.getUint32(92,true),o.getUint32(88,true)),n.Size=new $Int64(o.getUint32(100,true),o.getUint32(96,true)),n.Blocks=new $Int64(o.getUint32(108,true),o.getUint32(104,true)),n.Blksize=o.getInt32(112,true),n.Flags=o.getUint32(116,true),n.Gen=o.getUint32(120,true),n.Lspare=o.getInt32(124,true),n.Qspare=new($nativeArray($kindInt64))(m.buffer,$min(m.byteOffset+128,m.buffer.byteLength));p=l[2];if(!((p===0))){k=FE(p);}return k;};$pkg.Fstat=IC;IE=function(i){var $ptr,i,j,k,l;j=$ifaceNil;k=S(95,((i>>>0)),0,0);l=k[2];if(!((l===0))){j=FE(l);}return j;};$pkg.Fsync=IE;IF=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(201,((i>>>0)),((j.$low>>>0)),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};$pkg.Ftruncate=IF;IG=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(344,((i>>>0)),(n),((j.$length>>>0)),((k)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Getdirentries=IG;IZ=function(i,j){var $ptr,i,j,k,l,m,n,o,p,q,r;k=$ifaceNil;l=ND.nil;m=W(i);l=m[0];k=m[1];if(!($interfaceIsEqual(k,$ifaceNil))){return k;}o=new Uint8Array(144);n=S(340,((l)),((o)),0);p=j,q=new DataView(o.buffer,o.byteOffset),p.Dev=q.getInt32(0,true),p.Mode=q.getUint16(4,true),p.Nlink=q.getUint16(6,true),p.Ino=new $Uint64(q.getUint32(12,true),q.getUint32(8,true)),p.Uid=q.getUint32(16,true),p.Gid=q.getUint32(20,true),p.Rdev=q.getInt32(24,true),p.Pad_cgo_0=new($nativeArray($kindUint8))(o.buffer,$min(o.byteOffset+28,o.buffer.byteLength)),p.Atimespec.Sec=new $Int64(q.getUint32(36,true),q.getUint32(32,true)),p.Atimespec.Nsec=new $Int64(q.getUint32(44,true),q.getUint32(40,true)),p.Mtimespec.Sec=new $Int64(q.getUint32(52,true),q.getUint32(48,true)),p.Mtimespec.Nsec=new $Int64(q.getUint32(60,true),q.getUint32(56,true)),p.Ctimespec.Sec=new $Int64(q.getUint32(68,true),q.getUint32(64,true)),p.Ctimespec.Nsec=new $Int64(q.getUint32(76,true),q.getUint32(72,true)),p.Birthtimespec.Sec=new $Int64(q.getUint32(84,true),q.getUint32(80,true)),p.Birthtimespec.Nsec=new $Int64(q.getUint32(92,true),q.getUint32(88,true)),p.Size=new $Int64(q.getUint32(100,true),q.getUint32(96,true)),p.Blocks=new $Int64(q.getUint32(108,true),q.getUint32(104,true)),p.Blksize=q.getInt32(112,true),p.Flags=q.getUint32(116,true),p.Gen=q.getUint32(120,true),p.Lspare=q.getInt32(124,true),p.Qspare=new($nativeArray($kindInt64))(o.buffer,$min(o.byteOffset+128,o.buffer.byteLength));r=n[2];K((l));if(!((r===0))){k=FE(r);}return k;};$pkg.Lstat=IZ;JK=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(153,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pread=JK;JL=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=0;m=$ifaceNil;n=0;if(j.$length>0){n=($sliceToArray(j));}else{n=(new Uint8Array(0));}o=T(154,((i>>>0)),(n),((j.$length>>>0)),((k.$low>>>0)),0,0);p=o[0];q=o[2];l=((p>>0));if(!((q===0))){m=FE(q);}return[l,m];};$pkg.Pwrite=JL;JM=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(3,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};JR=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p;l=new $Int64(0,0);m=$ifaceNil;n=S(199,((i>>>0)),((j.$low>>>0)),((k>>>0)));o=n[0];p=n[2];l=(new $Int64(0,o.constructor===Number?o:1));if(!((p===0))){m=FE(p);}return[l,m];};$pkg.Seek=JR;KP=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=$ifaceNil;m=0;if(j.$length>0){m=($sliceToArray(j));}else{m=(new Uint8Array(0));}n=S(4,((i>>>0)),(m),((j.$length>>>0)));o=n[0];p=n[2];k=((o>>0));if(!((p===0))){l=FE(p);}return[k,l];};KQ=function(i,j,k,l,m,n){var $ptr,i,j,k,l,m,n,o,p,q,r,s;o=0;p=$ifaceNil;q=T(197,(i),(j),((k>>>0)),((l>>>0)),((m>>>0)),((n.$low>>>0)));r=q[0];s=q[2];o=(r);if(!((s===0))){p=FE(s);}return[o,p];};KR=function(i,j){var $ptr,i,j,k,l,m;k=$ifaceNil;l=S(73,(i),(j),0);m=l[2];if(!((m===0))){k=FE(m);}return k;};PC.methods=[{prop:\"Mmap\",name:\"Mmap\",pkg:\"\",typ:$funcType([$Int,$Int64,$Int,$Int,$Int],[MU,$error],false)},{prop:\"Munmap\",name:\"Munmap\",pkg:\"\",typ:$funcType([MU],[$error],false)}];FA.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Temporary\",name:\"Temporary\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Timeout\",name:\"Timeout\",pkg:\"\",typ:$funcType([],[$Bool],false)}];PJ.methods=[{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64,$Int64],false)},{prop:\"Nano\",name:\"Nano\",pkg:\"\",typ:$funcType([],[$Int64],false)}];EZ.init(\"syscall\",[{prop:\"Mutex\",name:\"\",exported:true,typ:C.Mutex,tag:\"\"},{prop:\"active\",name:\"active\",exported:false,typ:PD,tag:\"\"},{prop:\"mmap\",name:\"mmap\",exported:false,typ:PE,tag:\"\"},{prop:\"munmap\",name:\"munmap\",exported:false,typ:PF,tag:\"\"}]);KZ.init(\"\",[{prop:\"Sec\",name:\"Sec\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Nsec\",name:\"Nsec\",exported:true,typ:$Int64,tag:\"\"}]);LF.init(\"\",[{prop:\"Dev\",name:\"Dev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Mode\",name:\"Mode\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Nlink\",name:\"Nlink\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Ino\",name:\"Ino\",exported:true,typ:$Uint64,tag:\"\"},{prop:\"Uid\",name:\"Uid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gid\",name:\"Gid\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Rdev\",name:\"Rdev\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Pad_cgo_0\",name:\"Pad_cgo_0\",exported:true,typ:NG,tag:\"\"},{prop:\"Atimespec\",name:\"Atimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Mtimespec\",name:\"Mtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Ctimespec\",name:\"Ctimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Birthtimespec\",name:\"Birthtimespec\",exported:true,typ:KZ,tag:\"\"},{prop:\"Size\",name:\"Size\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blocks\",name:\"Blocks\",exported:true,typ:$Int64,tag:\"\"},{prop:\"Blksize\",name:\"Blksize\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Flags\",name:\"Flags\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Gen\",name:\"Gen\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Lspare\",name:\"Lspare\",exported:true,typ:$Int32,tag:\"\"},{prop:\"Qspare\",name:\"Qspare\",exported:true,typ:PK,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=D.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=MU.nil;O=null;AU=new C.Once.ptr(new C.Mutex.ptr(0,0),0);AV=new C.RWMutex.ptr(new C.Mutex.ptr(0,0),0,0,0,0);AW=false;CA=\"\";GE=new $Int64(0,0);F=false;P=false;Q=-1;AX=M();$pkg.Stdin=0;$pkg.Stdout=1;$pkg.Stderr=2;FB=new FA(35);FC=new FA(22);FD=new FA(2);GJ=$toNativeArray($kindString,[\"\",\"operation not permitted\",\"no such file or directory\",\"no such process\",\"interrupted system call\",\"input/output error\",\"device not configured\",\"argument list too long\",\"exec format error\",\"bad file descriptor\",\"no child processes\",\"resource deadlock avoided\",\"cannot allocate memory\",\"permission denied\",\"bad address\",\"block device required\",\"resource busy\",\"file exists\",\"cross-device link\",\"operation not supported by device\",\"not a directory\",\"is a directory\",\"invalid argument\",\"too many open files in system\",\"too many open files\",\"inappropriate ioctl for device\",\"text file busy\",\"file too large\",\"no space left on device\",\"illegal seek\",\"read-only file system\",\"too many links\",\"broken pipe\",\"numerical argument out of domain\",\"result too large\",\"resource temporarily unavailable\",\"operation now in progress\",\"operation already in progress\",\"socket operation on non-socket\",\"destination address required\",\"message too long\",\"protocol wrong type for socket\",\"protocol not available\",\"protocol not supported\",\"socket type not supported\",\"operation not supported\",\"protocol family not supported\",\"address family not supported by protocol family\",\"address already in use\",\"can't assign requested address\",\"network is down\",\"network is unreachable\",\"network dropped connection on reset\",\"software caused connection abort\",\"connection reset by peer\",\"no buffer space available\",\"socket is already connected\",\"socket is not connected\",\"can't send after socket shutdown\",\"too many references: can't splice\",\"operation timed out\",\"connection refused\",\"too many levels of symbolic links\",\"file name too long\",\"host is down\",\"no route to host\",\"directory not empty\",\"too many processes\",\"too many users\",\"disc quota exceeded\",\"stale NFS file handle\",\"too many levels of remote in path\",\"RPC struct is bad\",\"RPC version wrong\",\"RPC prog. not avail\",\"program version wrong\",\"bad procedure for program\",\"no locks available\",\"function not implemented\",\"inappropriate file type or format\",\"authentication error\",\"need authenticator\",\"device power is off\",\"device error\",\"value too large to be stored in data type\",\"bad executable (or shared library)\",\"bad CPU type in executable\",\"shared library version mismatch\",\"malformed Mach-o file\",\"operation canceled\",\"identifier removed\",\"no message of desired type\",\"illegal byte sequence\",\"attribute not found\",\"bad message\",\"EMULTIHOP (Reserved)\",\"no message available on STREAM\",\"ENOLINK (Reserved)\",\"no STREAM resources\",\"not a STREAM\",\"protocol error\",\"STREAM ioctl timeout\",\"operation not supported on socket\",\"policy not found\",\"state not recoverable\",\"previous owner died\"]);ED=new EZ.ptr(new C.Mutex.ptr(0,0),{},KQ,KR);CB=CC(0);H();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/gopherjs/gopherjs/nosync\"]=(function(){var $pkg={},$init,D,I,J;D=$pkg.Once=$newType(0,$kindStruct,\"nosync.Once\",true,\"github.com/gopherjs/gopherjs/nosync\",true,function(doing_,done_){this.$val=this;if(arguments.length===0){this.doing=false;this.done=false;return;}this.doing=doing_;this.done=done_;});I=$funcType([],[],false);J=$ptrType(D);D.ptr.prototype.Do=function(a){var $ptr,a,b,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=[b];b[0]=this;if(b[0].done){$s=-1;return;}if(b[0].doing){$panic(new $String(\"nosync: Do called within f\"));}b[0].doing=true;$deferred.push([(function(b){return function(){var $ptr;b[0].doing=false;b[0].done=true;};})(b),[]]);$r=a();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){if($f===undefined){$f={$blk:D.ptr.prototype.Do};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};D.prototype.Do=function(a){return this.$val.Do(a);};J.methods=[{prop:\"Do\",name:\"Do\",pkg:\"\",typ:$funcType([I],[],false)}];D.init(\"github.com/gopherjs/gopherjs/nosync\",[{prop:\"doing\",name:\"doing\",exported:false,typ:$Bool,tag:\"\"},{prop:\"done\",name:\"done\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"time\"]=(function(){var $pkg={},$init,C,B,E,A,D,AF,BM,BN,BP,BT,CH,CI,CJ,DA,DB,DC,DD,DF,DG,DH,DI,DJ,DN,DR,DV,R,U,V,W,X,AB,AE,AR,BO,BQ,BZ,CK,CY,CL,CZ,CM,CO,CS,g,h,F,H,Q,S,T,Y,Z,AA,AC,AD,AG,AH,AI,AJ,AK,AL,AN,AO,AP,AQ,AS,BR,BS,BU,BV,BY,CA,CC,CD,CE,CF,CG,CN;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$packages[\"github.com/gopherjs/gopherjs/nosync\"];A=$packages[\"runtime\"];D=$packages[\"syscall\"];AF=$pkg.ParseError=$newType(0,$kindStruct,\"time.ParseError\",true,\"time\",true,function(Layout_,Value_,LayoutElem_,ValueElem_,Message_){this.$val=this;if(arguments.length===0){this.Layout=\"\";this.Value=\"\";this.LayoutElem=\"\";this.ValueElem=\"\";this.Message=\"\";return;}this.Layout=Layout_;this.Value=Value_;this.LayoutElem=LayoutElem_;this.ValueElem=ValueElem_;this.Message=Message_;});BM=$pkg.Time=$newType(0,$kindStruct,\"time.Time\",true,\"time\",true,function(sec_,nsec_,loc_){this.$val=this;if(arguments.length===0){this.sec=new $Int64(0,0);this.nsec=0;this.loc=DJ.nil;return;}this.sec=sec_;this.nsec=nsec_;this.loc=loc_;});BN=$pkg.Month=$newType(4,$kindInt,\"time.Month\",true,\"time\",true,null);BP=$pkg.Weekday=$newType(4,$kindInt,\"time.Weekday\",true,\"time\",true,null);BT=$pkg.Duration=$newType(8,$kindInt64,\"time.Duration\",true,\"time\",true,null);CH=$pkg.Location=$newType(0,$kindStruct,\"time.Location\",true,\"time\",true,function(name_,zone_,tx_,cacheStart_,cacheEnd_,cacheZone_){this.$val=this;if(arguments.length===0){this.name=\"\";this.zone=DA.nil;this.tx=DB.nil;this.cacheStart=new $Int64(0,0);this.cacheEnd=new $Int64(0,0);this.cacheZone=DC.nil;return;}this.name=name_;this.zone=zone_;this.tx=tx_;this.cacheStart=cacheStart_;this.cacheEnd=cacheEnd_;this.cacheZone=cacheZone_;});CI=$pkg.zone=$newType(0,$kindStruct,\"time.zone\",true,\"time\",false,function(name_,offset_,isDST_){this.$val=this;if(arguments.length===0){this.name=\"\";this.offset=0;this.isDST=false;return;}this.name=name_;this.offset=offset_;this.isDST=isDST_;});CJ=$pkg.zoneTrans=$newType(0,$kindStruct,\"time.zoneTrans\",true,\"time\",false,function(when_,index_,isstd_,isutc_){this.$val=this;if(arguments.length===0){this.when=new $Int64(0,0);this.index=0;this.isstd=false;this.isutc=false;return;}this.when=when_;this.index=index_;this.isstd=isstd_;this.isutc=isutc_;});DA=$sliceType(CI);DB=$sliceType(CJ);DC=$ptrType(CI);DD=$sliceType($String);DF=$arrayType($Uint8,20);DG=$sliceType($Uint8);DH=$arrayType($Uint8,9);DI=$arrayType($Uint8,64);DJ=$ptrType(CH);DN=$arrayType($Uint8,32);DR=$ptrType(AF);DV=$ptrType(BM);F=function(){var $ptr;$unused(CC(new $Int64(0,0),new $Int64(0,0)));};H=function(){var $ptr,i,j,k,l;i=new($global.Date)();j=$internalize(i,$String);k=Q(j,40);l=Q(j,41);if((k===-1)||(l===-1)){CL.name=\"UTC\";return;}CL.name=$substring(j,(k+1>>0),l);CL.zone=new DA([new CI.ptr(CL.name,$imul(($parseInt(i.getTimezoneOffset())>>0),-60),false)]);};Q=function(i,j){var $ptr,i,j;return $parseInt(i.indexOf($global.String.fromCharCode(j)))>>0;};S=function(i){var $ptr,i,j;if(i.length===0){return false;}j=i.charCodeAt(0);return 97<=j&&j<=122;};T=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=\"\";k=0;l=\"\";m=0;while(true){if(!(m<i.length)){break;}n=((i.charCodeAt(m)>>0));o=n;if(o===(74)){if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Jan\"){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"January\"){p=$substring(i,0,m);q=257;r=$substring(i,(m+7>>0));j=p;k=q;l=r;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){s=$substring(i,0,m);t=258;u=$substring(i,(m+3>>0));j=s;k=t;l=u;return[j,k,l];}}}else if(o===(77)){if(i.length>=(m+3>>0)){if($substring(i,m,(m+3>>0))===\"Mon\"){if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Monday\"){v=$substring(i,0,m);w=261;x=$substring(i,(m+6>>0));j=v;k=w;l=x;return[j,k,l];}if(!S($substring(i,(m+3>>0)))){y=$substring(i,0,m);z=262;aa=$substring(i,(m+3>>0));j=y;k=z;l=aa;return[j,k,l];}}if($substring(i,m,(m+3>>0))===\"MST\"){ab=$substring(i,0,m);ac=21;ad=$substring(i,(m+3>>0));j=ab;k=ac;l=ad;return[j,k,l];}}}else if(o===(48)){if(i.length>=(m+2>>0)&&49<=i.charCodeAt((m+1>>0))&&i.charCodeAt((m+1>>0))<=54){ae=$substring(i,0,m);af=(ag=i.charCodeAt((m+1>>0))-49<<24>>>24,((ag<0||ag>=R.length)?($throwRuntimeError(\"index out of range\"),undefined):R[ag]));ah=$substring(i,(m+2>>0));j=ae;k=af;l=ah;return[j,k,l];}}else if(o===(49)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===53)){ai=$substring(i,0,m);aj=522;ak=$substring(i,(m+2>>0));j=ai;k=aj;l=ak;return[j,k,l];}al=$substring(i,0,m);am=259;an=$substring(i,(m+1>>0));j=al;k=am;l=an;return[j,k,l];}else if(o===(50)){if(i.length>=(m+4>>0)&&$substring(i,m,(m+4>>0))===\"2006\"){ao=$substring(i,0,m);ap=273;aq=$substring(i,(m+4>>0));j=ao;k=ap;l=aq;return[j,k,l];}ar=$substring(i,0,m);as=263;at=$substring(i,(m+1>>0));j=ar;k=as;l=at;return[j,k,l];}else if(o===(95)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===50)){if(i.length>=(m+5>>0)&&$substring(i,(m+1>>0),(m+5>>0))===\"2006\"){au=$substring(i,0,(m+1>>0));av=273;aw=$substring(i,(m+5>>0));j=au;k=av;l=aw;return[j,k,l];}ax=$substring(i,0,m);ay=264;az=$substring(i,(m+2>>0));j=ax;k=ay;l=az;return[j,k,l];}}else if(o===(51)){ba=$substring(i,0,m);bb=523;bc=$substring(i,(m+1>>0));j=ba;k=bb;l=bc;return[j,k,l];}else if(o===(52)){bd=$substring(i,0,m);be=525;bf=$substring(i,(m+1>>0));j=bd;k=be;l=bf;return[j,k,l];}else if(o===(53)){bg=$substring(i,0,m);bh=527;bi=$substring(i,(m+1>>0));j=bg;k=bh;l=bi;return[j,k,l];}else if(o===(80)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===77)){bj=$substring(i,0,m);bk=531;bl=$substring(i,(m+2>>0));j=bj;k=bk;l=bl;return[j,k,l];}}else if(o===(112)){if(i.length>=(m+2>>0)&&(i.charCodeAt((m+1>>0))===109)){bm=$substring(i,0,m);bn=532;bo=$substring(i,(m+2>>0));j=bm;k=bn;l=bo;return[j,k,l];}}else if(o===(45)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"-070000\"){bp=$substring(i,0,m);bq=28;br=$substring(i,(m+7>>0));j=bp;k=bq;l=br;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"-07:00:00\"){bs=$substring(i,0,m);bt=31;bu=$substring(i,(m+9>>0));j=bs;k=bt;l=bu;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"-0700\"){bv=$substring(i,0,m);bw=27;bx=$substring(i,(m+5>>0));j=bv;k=bw;l=bx;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"-07:00\"){by=$substring(i,0,m);bz=30;ca=$substring(i,(m+6>>0));j=by;k=bz;l=ca;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"-07\"){cb=$substring(i,0,m);cc=29;cd=$substring(i,(m+3>>0));j=cb;k=cc;l=cd;return[j,k,l];}}else if(o===(90)){if(i.length>=(m+7>>0)&&$substring(i,m,(m+7>>0))===\"Z070000\"){ce=$substring(i,0,m);cf=23;cg=$substring(i,(m+7>>0));j=ce;k=cf;l=cg;return[j,k,l];}if(i.length>=(m+9>>0)&&$substring(i,m,(m+9>>0))===\"Z07:00:00\"){ch=$substring(i,0,m);ci=26;cj=$substring(i,(m+9>>0));j=ch;k=ci;l=cj;return[j,k,l];}if(i.length>=(m+5>>0)&&$substring(i,m,(m+5>>0))===\"Z0700\"){ck=$substring(i,0,m);cl=22;cm=$substring(i,(m+5>>0));j=ck;k=cl;l=cm;return[j,k,l];}if(i.length>=(m+6>>0)&&$substring(i,m,(m+6>>0))===\"Z07:00\"){cn=$substring(i,0,m);co=25;cp=$substring(i,(m+6>>0));j=cn;k=co;l=cp;return[j,k,l];}if(i.length>=(m+3>>0)&&$substring(i,m,(m+3>>0))===\"Z07\"){cq=$substring(i,0,m);cr=24;cs=$substring(i,(m+3>>0));j=cq;k=cr;l=cs;return[j,k,l];}}else if(o===(46)){if((m+1>>0)<i.length&&((i.charCodeAt((m+1>>0))===48)||(i.charCodeAt((m+1>>0))===57))){ct=i.charCodeAt((m+1>>0));cu=m+1>>0;while(true){if(!(cu<i.length&&(i.charCodeAt(cu)===ct))){break;}cu=cu+(1)>>0;}if(!AH(i,cu)){cv=32;if(i.charCodeAt((m+1>>0))===57){cv=33;}cv=cv|((((cu-((m+1>>0))>>0))<<16>>0));cw=$substring(i,0,m);cx=cv;cy=$substring(i,cu);j=cw;k=cx;l=cy;return[j,k,l];}}}m=m+(1)>>0;}cz=i;da=0;db=\"\";j=cz;k=da;l=db;return[j,k,l];};Y=function(i,j){var $ptr,i,j,k,l,m;k=0;while(true){if(!(k<i.length)){break;}l=i.charCodeAt(k);m=j.charCodeAt(k);if(!((l===m))){l=(l|(32))>>>0;m=(m|(32))>>>0;if(!((l===m))||l<97||l>122){return false;}}k=k+(1)>>0;}return true;};Z=function(i,j){var $ptr,i,j,k,l,m,n;k=i;l=0;while(true){if(!(l<k.$length)){break;}m=l;n=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);if(j.length>=n.length&&Y($substring(j,0,n.length),n)){return[m,$substring(j,n.length),$ifaceNil];}l++;}return[-1,j,AE];};AA=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q;l=((j>>>0));if(j<0){i=$append(i,45);l=((-j>>>0));}m=DF.zero();n=20;while(true){if(!(l>=10)){break;}n=n-(1)>>0;p=(o=l/10,(o===o&&o!==1/0&&o!==-1/0)?o>>>0:$throwRuntimeError(\"integer divide by zero\"));((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=((((48+l>>>0)-(p*10>>>0)>>>0)<<24>>>24)));l=p;}n=n-(1)>>0;((n<0||n>=m.length)?($throwRuntimeError(\"index out of range\"),undefined):m[n]=(((48+l>>>0)<<24>>>24)));q=20-n>>0;while(true){if(!(q<k)){break;}i=$append(i,48);q=q+(1)>>0;}return $appendSlice(i,$subslice(new DG(m),n));};AC=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=0;k=$ifaceNil;l=false;if(!(i===\"\")&&((i.charCodeAt(0)===45)||(i.charCodeAt(0)===43))){l=i.charCodeAt(0)===45;i=$substring(i,1);}m=AS(i);n=m[0];o=m[1];k=m[2];j=(((n.$low+((n.$high>>31)*4294967296))>>0));if(!($interfaceIsEqual(k,$ifaceNil))||!(o===\"\")){p=0;q=AB;j=p;k=q;return[j,k];}if(l){j=-j;}r=j;s=$ifaceNil;j=r;k=s;return[j,k];};AD=function(i,j,k,l){var $ptr,i,j,k,l,m,n,o,p,q,r;m=j;n=DH.zero();o=9;while(true){if(!(o>0)){break;}o=o-(1)>>0;((o<0||o>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[o]=((((p=m%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))+48>>>0)<<24>>>24)));m=(q=m/(10),(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));}if(k>9){k=9;}if(l){while(true){if(!(k>0&&((r=k-1>>0,((r<0||r>=n.length)?($throwRuntimeError(\"index out of range\"),undefined):n[r]))===48))){break;}k=k-(1)>>0;}if(k===0){return i;}}i=$append(i,46);return $appendSlice(i,$subslice(new DG(n),0,k));};BM.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Format(\"2006-01-02 15:04:05.999999999 -0700 MST\");$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.String=function(){return this.$val.String();};BM.ptr.prototype.Format=function(i){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=DG.nil;l=i.length+10>>0;if(l<64){m=DI.zero();k=$subslice(new DG(m),0,0);}else{k=$makeSlice(DG,0,l);}n=$clone(j,BM).AppendFormat(k,i);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}k=n;$s=-1;return($bytesToString(k));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Format};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Format=function(i){return this.$val.Format(i);};BM.ptr.prototype.AppendFormat=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=this;m=$clone(k,BM).locabs();$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[0];o=l[1];p=l[2];q=-1;r=0;s=0;t=-1;u=0;v=0;while(true){if(!(!(j===\"\"))){break;}w=T(j);x=w[0];y=w[1];z=w[2];if(!(x===\"\")){i=$appendSlice(i,x);}if(y===0){break;}j=z;if(q<0&&!(((y&256)===0))){aa=BY(p,true);q=aa[0];r=aa[1];s=aa[2];}if(t<0&&!(((y&512)===0))){ab=BS(p);t=ab[0];u=ab[1];v=ab[2];}switch(0){default:ac=y&65535;if(ac===(274)){ad=q;if(ad<0){ad=-ad;}i=AA(i,(ae=ad%100,ae===ae?ae:$throwRuntimeError(\"integer divide by zero\")),2);}else if(ac===(273)){i=AA(i,q,4);}else if(ac===(258)){i=$appendSlice(i,$substring(new BN(r).String(),0,3));}else if(ac===(257)){af=new BN(r).String();i=$appendSlice(i,af);}else if(ac===(259)){i=AA(i,((r>>0)),0);}else if(ac===(260)){i=AA(i,((r>>0)),2);}else if(ac===(262)){i=$appendSlice(i,$substring(new BP(BR(p)).String(),0,3));}else if(ac===(261)){ag=new BP(BR(p)).String();i=$appendSlice(i,ag);}else if(ac===(263)){i=AA(i,s,0);}else if(ac===(264)){if(s<10){i=$append(i,32);}i=AA(i,s,0);}else if(ac===(265)){i=AA(i,s,2);}else if(ac===(522)){i=AA(i,t,2);}else if(ac===(523)){ai=(ah=t%12,ah===ah?ah:$throwRuntimeError(\"integer divide by zero\"));if(ai===0){ai=12;}i=AA(i,ai,0);}else if(ac===(524)){ak=(aj=t%12,aj===aj?aj:$throwRuntimeError(\"integer divide by zero\"));if(ak===0){ak=12;}i=AA(i,ak,2);}else if(ac===(525)){i=AA(i,u,0);}else if(ac===(526)){i=AA(i,u,2);}else if(ac===(527)){i=AA(i,v,0);}else if(ac===(528)){i=AA(i,v,2);}else if(ac===(531)){if(t>=12){i=$appendSlice(i,\"PM\");}else{i=$appendSlice(i,\"AM\");}}else if(ac===(532)){if(t>=12){i=$appendSlice(i,\"pm\");}else{i=$appendSlice(i,\"am\");}}else if((ac===(22))||(ac===(25))||(ac===(23))||(ac===(24))||(ac===(26))||(ac===(27))||(ac===(30))||(ac===(28))||(ac===(29))||(ac===(31))){if((o===0)&&((y===22)||(y===25)||(y===23)||(y===24)||(y===26))){i=$append(i,90);break;}am=(al=o/60,(al===al&&al!==1/0&&al!==-1/0)?al>>0:$throwRuntimeError(\"integer divide by zero\"));an=o;if(am<0){i=$append(i,45);am=-am;an=-an;}else{i=$append(i,43);}i=AA(i,(ao=am/60,(ao===ao&&ao!==1/0&&ao!==-1/0)?ao>>0:$throwRuntimeError(\"integer divide by zero\")),2);if((y===25)||(y===30)||(y===26)||(y===31)){i=$append(i,58);}if(!((y===29))&&!((y===24))){i=AA(i,(ap=am%60,ap===ap?ap:$throwRuntimeError(\"integer divide by zero\")),2);}if((y===23)||(y===28)||(y===31)||(y===26)){if((y===31)||(y===26)){i=$append(i,58);}i=AA(i,(aq=an%60,aq===aq?aq:$throwRuntimeError(\"integer divide by zero\")),2);}}else if(ac===(21)){if(!(n===\"\")){i=$appendSlice(i,n);break;}as=(ar=o/60,(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>0:$throwRuntimeError(\"integer divide by zero\"));if(as<0){i=$append(i,45);as=-as;}else{i=$append(i,43);}i=AA(i,(at=as/60,(at===at&&at!==1/0&&at!==-1/0)?at>>0:$throwRuntimeError(\"integer divide by zero\")),2);i=AA(i,(au=as%60,au===au?au:$throwRuntimeError(\"integer divide by zero\")),2);}else if((ac===(32))||(ac===(33))){i=AD(i,(($clone(k,BM).Nanosecond()>>>0)),y>>16>>0,(y&65535)===33);}}}$s=-1;return i;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AppendFormat};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AppendFormat=function(i,j){return this.$val.AppendFormat(i,j);};AG=function(i){var $ptr,i;return\"\\\"\"+i+\"\\\"\";};AF.ptr.prototype.Error=function(){var $ptr,i;i=this;if(i.Message===\"\"){return\"parsing time \"+AG(i.Value)+\" as \"+AG(i.Layout)+\": cannot parse \"+AG(i.ValueElem)+\" as \"+AG(i.LayoutElem);}return\"parsing time \"+AG(i.Value)+i.Message;};AF.prototype.Error=function(){return this.$val.Error();};AH=function(i,j){var $ptr,i,j,k;if(i.length<=j){return false;}k=i.charCodeAt(j);return 48<=k&&k<=57;};AI=function(i,j){var $ptr,i,j;if(!AH(i,0)){return[0,i,AE];}if(!AH(i,1)){if(j){return[0,i,AE];}return[(((i.charCodeAt(0)-48<<24>>>24)>>0)),$substring(i,1),$ifaceNil];}return[($imul((((i.charCodeAt(0)-48<<24>>>24)>>0)),10))+(((i.charCodeAt(1)-48<<24>>>24)>>0))>>0,$substring(i,2),$ifaceNil];};AJ=function(i){var $ptr,i;while(true){if(!(i.length>0&&(i.charCodeAt(0)===32))){break;}i=$substring(i,1);}return i;};AK=function(i,j){var $ptr,i,j;while(true){if(!(j.length>0)){break;}if(j.charCodeAt(0)===32){if(i.length>0&&!((i.charCodeAt(0)===32))){return[i,AE];}j=AJ(j);i=AJ(i);continue;}if((i.length===0)||!((i.charCodeAt(0)===j.charCodeAt(0)))){return[i,AE];}j=$substring(j,1);i=$substring(i,1);}return[i,$ifaceNil];};AL=function(i,j){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=AN(i,j,$pkg.UTC,$pkg.Local);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:AL};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Parse=AL;AN=function(i,j,k,l){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,ea,eb,ec,ed,ee,ef,eg,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;cs=$f.cs;ct=$f.ct;cu=$f.cu;cv=$f.cv;cw=$f.cw;cx=$f.cx;cy=$f.cy;cz=$f.cz;da=$f.da;db=$f.db;dc=$f.dc;dd=$f.dd;de=$f.de;df=$f.df;dg=$f.dg;dh=$f.dh;di=$f.di;dj=$f.dj;dk=$f.dk;dl=$f.dl;dm=$f.dm;dn=$f.dn;dp=$f.dp;dq=$f.dq;dr=$f.dr;ds=$f.ds;dt=$f.dt;du=$f.du;dv=$f.dv;dw=$f.dw;dx=$f.dx;dy=$f.dy;dz=$f.dz;ea=$f.ea;eb=$f.eb;ec=$f.ec;ed=$f.ed;ee=$f.ee;ef=$f.ef;eg=$f.eg;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:m=i;n=j;o=m;p=n;q=\"\";r=false;s=false;t=0;u=1;v=1;w=0;x=0;y=0;z=0;aa=DJ.nil;ab=-1;ac=\"\";while(true){ad=$ifaceNil;ae=T(i);af=ae[0];ag=ae[1];ah=ae[2];ai=$substring(i,af.length,(i.length-ah.length>>0));aj=AK(j,af);j=aj[0];ad=aj[1];if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,af,j,\"\")];}if(ag===0){if(!((j.length===0))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": extra text: \"+j)];}break;}i=ah;ak=\"\";switch(0){default:al=ag&65535;if(al===(274)){if(j.length<2){ad=AE;break;}am=$substring(j,0,2);an=$substring(j,2);ak=am;j=an;ao=AC(ak);t=ao[0];ad=ao[1];if(t>=69){t=t+(1900)>>0;}else{t=t+(2000)>>0;}}else if(al===(273)){if(j.length<4||!AH(j,0)){ad=AE;break;}ap=$substring(j,0,4);aq=$substring(j,4);ak=ap;j=aq;ar=AC(ak);t=ar[0];ad=ar[1];}else if(al===(258)){as=Z(W,j);u=as[0];j=as[1];ad=as[2];}else if(al===(257)){at=Z(X,j);u=at[0];j=at[1];ad=at[2];}else if((al===(259))||(al===(260))){au=AI(j,ag===260);u=au[0];j=au[1];ad=au[2];if(u<=0||12<u){q=\"month\";}}else if(al===(262)){av=Z(V,j);j=av[1];ad=av[2];}else if(al===(261)){aw=Z(U,j);j=aw[1];ad=aw[2];}else if((al===(263))||(al===(264))||(al===(265))){if((ag===264)&&j.length>0&&(j.charCodeAt(0)===32)){j=$substring(j,1);}ax=AI(j,ag===265);v=ax[0];j=ax[1];ad=ax[2];if(v<0){q=\"day\";}}else if(al===(522)){ay=AI(j,false);w=ay[0];j=ay[1];ad=ay[2];if(w<0||24<=w){q=\"hour\";}}else if((al===(523))||(al===(524))){az=AI(j,ag===524);w=az[0];j=az[1];ad=az[2];if(w<0||12<w){q=\"hour\";}}else if((al===(525))||(al===(526))){ba=AI(j,ag===526);x=ba[0];j=ba[1];ad=ba[2];if(x<0||60<=x){q=\"minute\";}}else if((al===(527))||(al===(528))){bb=AI(j,ag===528);y=bb[0];j=bb[1];ad=bb[2];if(y<0||60<=y){q=\"second\";break;}if(j.length>=2&&(j.charCodeAt(0)===46)&&AH(j,1)){bc=T(i);ag=bc[1];ag=ag&(65535);if((ag===32)||(ag===33)){break;}bd=2;while(true){if(!(bd<j.length&&AH(j,bd))){break;}bd=bd+(1)>>0;}be=AQ(j,bd);z=be[0];q=be[1];ad=be[2];j=$substring(j,bd);}}else if(al===(531)){if(j.length<2){ad=AE;break;}bf=$substring(j,0,2);bg=$substring(j,2);ak=bf;j=bg;bh=ak;if(bh===(\"PM\")){s=true;}else if(bh===(\"AM\")){r=true;}else{ad=AE;}}else if(al===(532)){if(j.length<2){ad=AE;break;}bi=$substring(j,0,2);bj=$substring(j,2);ak=bi;j=bj;bk=ak;if(bk===(\"pm\")){s=true;}else if(bk===(\"am\")){r=true;}else{ad=AE;}}else if((al===(22))||(al===(25))||(al===(23))||(al===(24))||(al===(26))||(al===(27))||(al===(29))||(al===(30))||(al===(28))||(al===(31))){if(((ag===22)||(ag===24)||(ag===25))&&j.length>=1&&(j.charCodeAt(0)===90)){j=$substring(j,1);aa=$pkg.UTC;break;}bl=\"\";bm=\"\";bn=\"\";bo=\"\";bp=bl;bq=bm;br=bn;bs=bo;if((ag===25)||(ag===30)){if(j.length<6){ad=AE;break;}if(!((j.charCodeAt(3)===58))){ad=AE;break;}bt=$substring(j,0,1);bu=$substring(j,1,3);bv=$substring(j,4,6);bw=\"00\";bx=$substring(j,6);bp=bt;bq=bu;br=bv;bs=bw;j=bx;}else if((ag===29)||(ag===24)){if(j.length<3){ad=AE;break;}by=$substring(j,0,1);bz=$substring(j,1,3);ca=\"00\";cb=\"00\";cc=$substring(j,3);bp=by;bq=bz;br=ca;bs=cb;j=cc;}else if((ag===26)||(ag===31)){if(j.length<9){ad=AE;break;}if(!((j.charCodeAt(3)===58))||!((j.charCodeAt(6)===58))){ad=AE;break;}cd=$substring(j,0,1);ce=$substring(j,1,3);cf=$substring(j,4,6);cg=$substring(j,7,9);ch=$substring(j,9);bp=cd;bq=ce;br=cf;bs=cg;j=ch;}else if((ag===23)||(ag===28)){if(j.length<7){ad=AE;break;}ci=$substring(j,0,1);cj=$substring(j,1,3);ck=$substring(j,3,5);cl=$substring(j,5,7);cm=$substring(j,7);bp=ci;bq=cj;br=ck;bs=cl;j=cm;}else{if(j.length<5){ad=AE;break;}cn=$substring(j,0,1);co=$substring(j,1,3);cp=$substring(j,3,5);cq=\"00\";cr=$substring(j,5);bp=cn;bq=co;br=cp;bs=cq;j=cr;}cs=0;ct=0;cu=0;cv=cs;cw=ct;cx=cu;cy=AC(bq);cv=cy[0];ad=cy[1];if($interfaceIsEqual(ad,$ifaceNil)){cz=AC(br);cw=cz[0];ad=cz[1];}if($interfaceIsEqual(ad,$ifaceNil)){da=AC(bs);cx=da[0];ad=da[1];}ab=($imul(((($imul(cv,60))+cw>>0)),60))+cx>>0;db=bp.charCodeAt(0);if(db===(43)){}else if(db===(45)){ab=-ab;}else{ad=AE;}}else if(al===(21)){if(j.length>=3&&$substring(j,0,3)===\"UTC\"){aa=$pkg.UTC;j=$substring(j,3);break;}dc=AO(j);dd=dc[0];de=dc[1];if(!de){ad=AE;break;}df=$substring(j,0,dd);dg=$substring(j,dd);ac=df;j=dg;}else if(al===(32)){dh=1+((ag>>16>>0))>>0;if(j.length<dh){ad=AE;break;}di=AQ(j,dh);z=di[0];q=di[1];ad=di[2];j=$substring(j,dh);}else if(al===(33)){if(j.length<2||!((j.charCodeAt(0)===46))||j.charCodeAt(1)<48||57<j.charCodeAt(1)){break;}dj=0;while(true){if(!(dj<9&&(dj+1>>0)<j.length&&48<=j.charCodeAt((dj+1>>0))&&j.charCodeAt((dj+1>>0))<=57)){break;}dj=dj+(1)>>0;}dk=AQ(j,1+dj>>0);z=dk[0];q=dk[1];ad=dk[2];j=$substring(j,(1+dj>>0));}}if(!(q===\"\")){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\": \"+q+\" out of range\")];}if(!($interfaceIsEqual(ad,$ifaceNil))){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,ai,j,\"\")];}}if(s&&w<12){w=w+(12)>>0;}else if(r&&(w===12)){w=0;}if(v<1||v>CA(((u>>0)),t)){$s=-1;return[new BM.ptr(new $Int64(0,0),0,DJ.nil),new AF.ptr(o,p,\"\",j,\": day out of range\")];}if(!(aa===DJ.nil)){$s=1;continue;}$s=2;continue;case 1:dl=CF(t,((u>>0)),v,w,x,y,z,aa);$s=3;case 3:if($c){$c=false;dl=dl.$blk();}if(dl&&dl.$blk!==undefined){break s;}$s=-1;return[dl,$ifaceNil];case 2:if(!((ab===-1))){$s=4;continue;}$s=5;continue;case 4:dm=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=6;case 6:if($c){$c=false;dm=dm.$blk();}if(dm&&dm.$blk!==undefined){break s;}dn=$clone(dm,BM);dn.sec=(dp=dn.sec,dq=(new $Int64(0,ab)),new $Int64(dp.$high-dq.$high,dp.$low-dq.$low));dt=l.lookup((ds=dn.sec,new $Int64(ds.$high+-15,ds.$low+2288912640)));$s=7;case 7:if($c){$c=false;dt=dt.$blk();}if(dt&&dt.$blk!==undefined){break s;}dr=dt;du=dr[0];dv=dr[1];if((dv===ab)&&(ac===\"\"||du===ac)){dn.setLoc(l);$s=-1;return[dn,$ifaceNil];}dn.setLoc(CN(ac,ab));$s=-1;return[dn,$ifaceNil];case 5:if(!(ac===\"\")){$s=8;continue;}$s=9;continue;case 8:dw=CF(t,((u>>0)),v,w,x,y,z,$pkg.UTC);$s=10;case 10:if($c){$c=false;dw=dw.$blk();}if(dw&&dw.$blk!==undefined){break s;}dx=$clone(dw,BM);ea=l.lookupName(ac,(dz=dx.sec,new $Int64(dz.$high+-15,dz.$low+2288912640)));$s=11;case 11:if($c){$c=false;ea=ea.$blk();}if(ea&&ea.$blk!==undefined){break s;}dy=ea;eb=dy[0];ec=dy[2];if(ec){dx.sec=(ed=dx.sec,ee=(new $Int64(0,eb)),new $Int64(ed.$high-ee.$high,ed.$low-ee.$low));dx.setLoc(l);$s=-1;return[dx,$ifaceNil];}if(ac.length>3&&$substring(ac,0,3)===\"GMT\"){ef=AC($substring(ac,3));eb=ef[0];eb=$imul(eb,(3600));}dx.setLoc(CN(ac,eb));$s=-1;return[dx,$ifaceNil];case 9:eg=CF(t,((u>>0)),v,w,x,y,z,k);$s=12;case 12:if($c){$c=false;eg=eg.$blk();}if(eg&&eg.$blk!==undefined){break s;}$s=-1;return[eg,$ifaceNil];}return;}if($f===undefined){$f={$blk:AN};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.cs=cs;$f.ct=ct;$f.cu=cu;$f.cv=cv;$f.cw=cw;$f.cx=cx;$f.cy=cy;$f.cz=cz;$f.da=da;$f.db=db;$f.dc=dc;$f.dd=dd;$f.de=de;$f.df=df;$f.dg=dg;$f.dh=dh;$f.di=di;$f.dj=dj;$f.dk=dk;$f.dl=dl;$f.dm=dm;$f.dn=dn;$f.dp=dp;$f.dq=dq;$f.dr=dr;$f.ds=ds;$f.dt=dt;$f.du=du;$f.dv=dv;$f.dw=dw;$f.dx=dx;$f.dy=dy;$f.dz=dz;$f.ea=ea;$f.eb=eb;$f.ec=ec;$f.ed=ed;$f.ee=ee;$f.ef=ef;$f.eg=eg;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};AO=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=0;k=false;if(i.length<3){l=0;m=false;j=l;k=m;return[j,k];}if(i.length>=4&&($substring(i,0,4)===\"ChST\"||$substring(i,0,4)===\"MeST\")){n=4;o=true;j=n;k=o;return[j,k];}if($substring(i,0,3)===\"GMT\"){j=AP(i);p=j;q=true;j=p;k=q;return[j,k];}r=0;r=0;while(true){if(!(r<6)){break;}if(r>=i.length){break;}s=i.charCodeAt(r);if(s<65||90<s){break;}r=r+(1)>>0;}t=r;if((t===(0))||(t===(1))||(t===(2))||(t===(6))){u=0;v=false;j=u;k=v;return[j,k];}else if(t===(5)){if(i.charCodeAt(4)===84){w=5;x=true;j=w;k=x;return[j,k];}}else if(t===(4)){if((i.charCodeAt(3)===84)||$substring(i,0,4)===\"WITA\"){y=4;z=true;j=y;k=z;return[j,k];}}else if(t===(3)){aa=3;ab=true;j=aa;k=ab;return[j,k];}ac=0;ad=false;j=ac;k=ad;return[j,k];};AP=function(i){var $ptr,i,j,k,l,m,n;i=$substring(i,3);if(i.length===0){return 3;}j=i.charCodeAt(0);if(!((j===45))&&!((j===43))){return 3;}k=AS($substring(i,1));l=k[0];m=k[1];n=k[2];if(!($interfaceIsEqual(n,$ifaceNil))){return 3;}if(j===45){l=new $Int64(-l.$high,-l.$low);}if((l.$high===0&&l.$low===0)||(l.$high<-1||(l.$high===-1&&l.$low<4294967282))||(0<l.$high||(0===l.$high&&12<l.$low))){return 3;}return(3+i.length>>0)-m.length>>0;};AQ=function(i,j){var $ptr,i,j,k,l,m,n,o,p;k=0;l=\"\";m=$ifaceNil;if(!((i.charCodeAt(0)===46))){m=AE;return[k,l,m];}n=AC($substring(i,1,j));k=n[0];m=n[1];if(!($interfaceIsEqual(m,$ifaceNil))){return[k,l,m];}if(k<0||1000000000<=k){l=\"fractional second\";return[k,l,m];}o=10-j>>0;p=0;while(true){if(!(p<o)){break;}k=$imul(k,(10));p=p+(1)>>0;}return[k,l,m];};AS=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;j=new $Int64(0,0);k=\"\";l=$ifaceNil;m=0;while(true){if(!(m<i.length)){break;}n=i.charCodeAt(m);if(n<48||n>57){break;}if((j.$high>214748364||(j.$high===214748364&&j.$low>3435973836))){o=new $Int64(0,0);p=\"\";q=AR;j=o;k=p;l=q;return[j,k,l];}j=(r=(s=$mul64(j,new $Int64(0,10)),t=(new $Int64(0,n)),new $Int64(s.$high+t.$high,s.$low+t.$low)),new $Int64(r.$high-0,r.$low-48));if((j.$high<0||(j.$high===0&&j.$low<0))){u=new $Int64(0,0);v=\"\";w=AR;j=u;k=v;l=w;return[j,k,l];}m=m+(1)>>0;}x=j;y=$substring(i,m);z=$ifaceNil;j=x;k=y;l=z;return[j,k,l];};BM.ptr.prototype.setLoc=function(i){var $ptr,i,j;j=this;if(i===CK){i=DJ.nil;}j.loc=i;};BM.prototype.setLoc=function(i){return this.$val.setLoc(i);};BM.ptr.prototype.After=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec>i.nsec;};BM.prototype.After=function(i){return this.$val.After(i);};BM.ptr.prototype.Before=function(i){var $ptr,i,j,k,l,m,n;j=this;return(k=j.sec,l=i.sec,(k.$high<l.$high||(k.$high===l.$high&&k.$low<l.$low)))||(m=j.sec,n=i.sec,(m.$high===n.$high&&m.$low===n.$low))&&j.nsec<i.nsec;};BM.prototype.Before=function(i){return this.$val.Before(i);};BM.ptr.prototype.Equal=function(i){var $ptr,i,j,k,l;j=this;return(k=j.sec,l=i.sec,(k.$high===l.$high&&k.$low===l.$low))&&(j.nsec===i.nsec);};BM.prototype.Equal=function(i){return this.$val.Equal(i);};BN.prototype.String=function(){var $ptr,i,j,k,l;i=this.$val;if(1<=i&&i<=12){return(j=i-1>>0,((j<0||j>=BO.length)?($throwRuntimeError(\"index out of range\"),undefined):BO[j]));}k=$makeSlice(DG,20);l=BV(k,(new $Uint64(0,i)));return\"%!Month(\"+($bytesToString($subslice(k,l)))+\")\";};$ptrType(BN).prototype.String=function(){return new BN(this.$get()).String();};BP.prototype.String=function(){var $ptr,i;i=this.$val;return((i<0||i>=BQ.length)?($throwRuntimeError(\"index out of range\"),undefined):BQ[i]);};$ptrType(BP).prototype.String=function(){return new BP(this.$get()).String();};BM.ptr.prototype.IsZero=function(){var $ptr,i,j;i=this;return(j=i.sec,(j.$high===0&&j.$low===0))&&(i.nsec===0);};BM.prototype.IsZero=function(){return this.$val.IsZero();};BM.ptr.prototype.abs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.loc;if(j===DJ.nil||j===CL){$s=1;continue;}$s=2;continue;case 1:k=j.get();$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;case 2:m=(l=i.sec,new $Int64(l.$high+-15,l.$low+2288912640));if(!(j===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(j.cacheZone===DC.nil)&&(n=j.cacheStart,(n.$high<m.$high||(n.$high===m.$high&&n.$low<=m.$low)))&&(o=j.cacheEnd,(m.$high<o.$high||(m.$high===o.$high&&m.$low<o.$low)))){$s=6;continue;}$s=7;continue;case 6:m=(p=(new $Int64(0,j.cacheZone.offset)),new $Int64(m.$high+p.$high,m.$low+p.$low));$s=8;continue;case 7:r=j.lookup(m);$s=9;case 9:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}q=r;s=q[1];m=(t=(new $Int64(0,s)),new $Int64(m.$high+t.$high,m.$low+t.$low));case 8:case 5:$s=-1;return((u=new $Int64(m.$high+2147483646,m.$low+450480384),new $Uint64(u.$high,u.$low)));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.abs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.abs=function(){return this.$val.abs();};BM.ptr.prototype.locabs=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=new $Uint64(0,0);l=this;m=l.loc;if(m===DJ.nil||m===CL){$s=1;continue;}$s=2;continue;case 1:n=m.get();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;case 2:p=(o=l.sec,new $Int64(o.$high+-15,o.$low+2288912640));if(!(m===CK)){$s=4;continue;}$s=5;continue;case 4:if(!(m.cacheZone===DC.nil)&&(q=m.cacheStart,(q.$high<p.$high||(q.$high===p.$high&&q.$low<=p.$low)))&&(r=m.cacheEnd,(p.$high<r.$high||(p.$high===r.$high&&p.$low<r.$low)))){$s=7;continue;}$s=8;continue;case 7:i=m.cacheZone.name;j=m.cacheZone.offset;$s=9;continue;case 8:t=m.lookup(p);$s=10;case 10:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}s=t;i=s[0];j=s[1];case 9:p=(u=(new $Int64(0,j)),new $Int64(p.$high+u.$high,p.$low+u.$low));$s=6;continue;case 5:i=\"UTC\";case 6:k=((v=new $Int64(p.$high+2147483646,p.$low+450480384),new $Uint64(v.$high,v.$low)));$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.locabs};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.locabs=function(){return this.$val.locabs();};BM.ptr.prototype.Date=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).date(true);$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Date=function(){return this.$val.Date();};BM.ptr.prototype.Year=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[0];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Year};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Year=function(){return this.$val.Year();};BM.ptr.prototype.Month=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[1];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Month};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Month=function(){return this.$val.Month();};BM.ptr.prototype.Day=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(true);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[2];$s=-1;return l;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Day};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Day=function(){return this.$val.Day();};BM.ptr.prototype.Weekday=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=BR(j);$s=2;case 2:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Weekday};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Weekday=function(){return this.$val.Weekday();};BR=function(i){var $ptr,i,j,k;j=$div64((new $Uint64(i.$high+0,i.$low+86400)),new $Uint64(0,604800),true);return(((k=((j.$low>>0))/86400,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));};BM.ptr.prototype.ISOWeek=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=this;m=$clone(k,BM).date(true);$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;i=l[0];n=l[1];o=l[2];p=l[3];r=$clone(k,BM).Weekday();$s=2;case 2:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=(q=(((r+6>>0)>>0))%7,q===q?q:$throwRuntimeError(\"integer divide by zero\"));j=(t=(((p-s>>0)+7>>0))/7,(t===t&&t!==1/0&&t!==-1/0)?t>>0:$throwRuntimeError(\"integer divide by zero\"));v=(u=(((s-p>>0)+371>>0))%7,u===u?u:$throwRuntimeError(\"integer divide by zero\"));if(1<=v&&v<=3){j=j+(1)>>0;}if(j===0){i=i-(1)>>0;j=52;if((v===4)||((v===5)&&CD(i))){j=j+(1)>>0;}}if((n===12)&&o>=29&&s<3){x=(w=(((s+31>>0)-o>>0))%7,w===w?w:$throwRuntimeError(\"integer divide by zero\"));if(0<=x&&x<=2){i=i+(1)>>0;j=1;}}$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.ISOWeek};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.ISOWeek=function(){return this.$val.ISOWeek();};BM.ptr.prototype.Clock=function(){var $ptr,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=0;j=0;k=0;l=this;n=$clone(l,BM).abs();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=BS(n);$s=2;case 2:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}m=o;i=m[0];j=m[1];k=m[2];$s=-1;return[i,j,k];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Clock};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Clock=function(){return this.$val.Clock();};BS=function(i){var $ptr,i,j,k,l,m,n;j=0;k=0;l=0;l=(($div64(i,new $Uint64(0,86400),true).$low>>0));j=(m=l/3600,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(j,3600)))>>0;k=(n=l/60,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"));l=l-(($imul(k,60)))>>0;return[j,k,l];};BM.ptr.prototype.Hour=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,86400),true).$low>>0))/3600,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Hour};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Hour=function(){return this.$val.Hour();};BM.ptr.prototype.Minute=function(){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return(j=(($div64(k,new $Uint64(0,3600),true).$low>>0))/60,(j===j&&j!==1/0&&j!==-1/0)?j>>0:$throwRuntimeError(\"integer divide by zero\"));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Minute};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Minute=function(){return this.$val.Minute();};BM.ptr.prototype.Second=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).abs();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return(($div64(j,new $Uint64(0,60),true).$low>>0));}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Second};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Second=function(){return this.$val.Second();};BM.ptr.prototype.Nanosecond=function(){var $ptr,i;i=this;return((i.nsec>>0));};BM.prototype.Nanosecond=function(){return this.$val.Nanosecond();};BM.ptr.prototype.YearDay=function(){var $ptr,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;k=$clone(i,BM).date(false);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;l=j[3];$s=-1;return l+1>>0;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.YearDay};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.YearDay=function(){return this.$val.YearDay();};BT.prototype.String=function(){var $ptr,i,j,k,l,m,n,o,p;i=this;j=DN.zero();k=32;l=(new $Uint64(i.$high,i.$low));m=(i.$high<0||(i.$high===0&&i.$low<0));if(m){l=new $Uint64(-l.$high,-l.$low);}if((l.$high<0||(l.$high===0&&l.$low<1000000000))){n=0;k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);k=k-(1)>>0;if((l.$high===0&&l.$low===0)){return\"0s\";}else if((l.$high<0||(l.$high===0&&l.$low<1000))){n=0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=110);}else if((l.$high<0||(l.$high===0&&l.$low<1000000))){n=3;k=k-(1)>>0;$copyString($subslice(new DG(j),k),\"\\xC2\\xB5\");}else{n=6;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);}o=BU($subslice(new DG(j),0,k),l,n);k=o[0];l=o[1];k=BV($subslice(new DG(j),0,k),l);}else{k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=115);p=BU($subslice(new DG(j),0,k),l,9);k=p[0];l=p[1];k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=109);k=BV($subslice(new DG(j),0,k),$div64(l,new $Uint64(0,60),true));l=$div64(l,(new $Uint64(0,60)),false);if((l.$high>0||(l.$high===0&&l.$low>0))){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=104);k=BV($subslice(new DG(j),0,k),l);}}}if(m){k=k-(1)>>0;((k<0||k>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[k]=45);}return($bytesToString($subslice(new DG(j),k)));};$ptrType(BT).prototype.String=function(){return this.$get().String();};BU=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=new $Uint64(0,0);n=i.$length;o=false;p=0;while(true){if(!(p<k)){break;}q=$div64(j,new $Uint64(0,10),true);o=o||!((q.$high===0&&q.$low===0));if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=(((q.$low<<24>>>24))+48<<24>>>24));}j=$div64(j,(new $Uint64(0,10)),false);p=p+(1)>>0;}if(o){n=n-(1)>>0;((n<0||n>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+n]=46);}r=n;s=j;l=r;m=s;return[l,m];};BV=function(i,j){var $ptr,i,j,k;k=i.$length;if((j.$high===0&&j.$low===0)){k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=48);}else{while(true){if(!((j.$high>0||(j.$high===0&&j.$low>0)))){break;}k=k-(1)>>0;((k<0||k>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+k]=((($div64(j,new $Uint64(0,10),true).$low<<24>>>24))+48<<24>>>24));j=$div64(j,(new $Uint64(0,10)),false);}}return k;};BT.prototype.Nanoseconds=function(){var $ptr,i;i=this;return(new $Int64(i.$high,i.$low));};$ptrType(BT).prototype.Nanoseconds=function(){return this.$get().Nanoseconds();};BT.prototype.Seconds=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(0,1000000000),false);k=$div64(i,new BT(0,1000000000),true);return($flatten64(j))+($flatten64(k))/1e+09;};$ptrType(BT).prototype.Seconds=function(){return this.$get().Seconds();};BT.prototype.Minutes=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(13,4165425152),false);k=$div64(i,new BT(13,4165425152),true);return($flatten64(j))+($flatten64(k))/6e+10;};$ptrType(BT).prototype.Minutes=function(){return this.$get().Minutes();};BT.prototype.Hours=function(){var $ptr,i,j,k;i=this;j=$div64(i,new BT(838,817405952),false);k=$div64(i,new BT(838,817405952),true);return($flatten64(j))+($flatten64(k))/3.6e+12;};$ptrType(BT).prototype.Hours=function(){return this.$get().Hours();};BM.ptr.prototype.Add=function(i){var $ptr,i,j,k,l,m,n,o,p,q,r,s;j=this;j.sec=(k=j.sec,l=((m=$div64(i,new BT(0,1000000000),false),new $Int64(m.$high,m.$low))),new $Int64(k.$high+l.$high,k.$low+l.$low));o=j.nsec+(((n=$div64(i,new BT(0,1000000000),true),n.$low+((n.$high>>31)*4294967296))>>0))>>0;if(o>=1000000000){j.sec=(p=j.sec,q=new $Int64(0,1),new $Int64(p.$high+q.$high,p.$low+q.$low));o=o-(1000000000)>>0;}else if(o<0){j.sec=(r=j.sec,s=new $Int64(0,1),new $Int64(r.$high-s.$high,r.$low-s.$low));o=o+(1000000000)>>0;}j.nsec=o;return j;};BM.prototype.Add=function(i){return this.$val.Add(i);};BM.ptr.prototype.Sub=function(i){var $ptr,i,j,k,l,m,n,o,p;j=this;p=(k=$mul64(((l=(m=j.sec,n=i.sec,new $Int64(m.$high-n.$high,m.$low-n.$low)),new BT(l.$high,l.$low))),new BT(0,1000000000)),o=(new BT(0,(j.nsec-i.nsec>>0))),new BT(k.$high+o.$high,k.$low+o.$low));if($clone($clone(i,BM).Add(p),BM).Equal($clone(j,BM))){return p;}else if($clone(j,BM).Before($clone(i,BM))){return new BT(-2147483648,0);}else{return new BT(2147483647,4294967295);}};BM.prototype.Sub=function(i){return this.$val.Sub(i);};BM.ptr.prototype.AddDate=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=this;n=$clone(l,BM).Date();$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];q=m[2];s=$clone(l,BM).Clock();$s=2;case 2:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s;t=r[0];u=r[1];v=r[2];w=CF(o+i>>0,p+((j>>0))>>0,q+k>>0,t,u,v,((l.nsec>>0)),$clone(l,BM).Location());$s=3;case 3:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.AddDate};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.AddDate=function(i,j,k){return this.$val.AddDate(i,j,k);};BM.ptr.prototype.date=function(i){var $ptr,i,j,k,l,m,n,o,p,q,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=0;k=0;l=0;m=0;n=this;p=$clone(n,BM).abs();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=BY(p,i);$s=2;case 2:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}o=q;j=o[0];k=o[1];l=o[2];m=o[3];$s=-1;return[j,k,l,m];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.date};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.date=function(i){return this.$val.date(i);};BY=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=0;m=0;n=0;o=$div64(i,new $Uint64(0,86400),false);p=$div64(o,new $Uint64(0,146097),false);q=$mul64(new $Uint64(0,400),p);o=(r=$mul64(new $Uint64(0,146097),p),new $Uint64(o.$high-r.$high,o.$low-r.$low));p=$div64(o,new $Uint64(0,36524),false);p=(s=$shiftRightUint64(p,2),new $Uint64(p.$high-s.$high,p.$low-s.$low));q=(t=$mul64(new $Uint64(0,100),p),new $Uint64(q.$high+t.$high,q.$low+t.$low));o=(u=$mul64(new $Uint64(0,36524),p),new $Uint64(o.$high-u.$high,o.$low-u.$low));p=$div64(o,new $Uint64(0,1461),false);q=(v=$mul64(new $Uint64(0,4),p),new $Uint64(q.$high+v.$high,q.$low+v.$low));o=(w=$mul64(new $Uint64(0,1461),p),new $Uint64(o.$high-w.$high,o.$low-w.$low));p=$div64(o,new $Uint64(0,365),false);p=(x=$shiftRightUint64(p,2),new $Uint64(p.$high-x.$high,p.$low-x.$low));q=(y=p,new $Uint64(q.$high+y.$high,q.$low+y.$low));o=(z=$mul64(new $Uint64(0,365),p),new $Uint64(o.$high-z.$high,o.$low-z.$low));k=(((aa=(ab=(new $Int64(q.$high,q.$low)),new $Int64(ab.$high+-69,ab.$low+4075721025)),aa.$low+((aa.$high>>31)*4294967296))>>0));n=((o.$low>>0));if(!j){return[k,l,m,n];}m=n;if(CD(k)){if(m>59){m=m-(1)>>0;}else if((m===59)){l=2;m=29;return[k,l,m,n];}}l=(((ac=m/31,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0));ae=(((ad=l+1>>0,((ad<0||ad>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ad]))>>0));af=0;if(m>=ae){l=l+(1)>>0;af=ae;}else{af=((((l<0||l>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[l])>>0));}l=l+(1)>>0;m=(m-af>>0)+1>>0;return[k,l,m,n];};CA=function(i,j){var $ptr,i,j,k;if((i===2)&&CD(j)){return 29;}return(((((i<0||i>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[i])-(k=i-1>>0,((k<0||k>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[k]))>>0)>>0));};BM.ptr.prototype.UTC=function(){var $ptr,i;i=this;i.setLoc(CK);return i;};BM.prototype.UTC=function(){return this.$val.UTC();};BM.ptr.prototype.Local=function(){var $ptr,i;i=this;i.setLoc($pkg.Local);return i;};BM.prototype.Local=function(){return this.$val.Local();};BM.ptr.prototype.In=function(i){var $ptr,i,j;j=this;if(i===DJ.nil){$panic(new $String(\"time: missing Location in call to Time.In\"));}j.setLoc(i);return j;};BM.prototype.In=function(i){return this.$val.In(i);};BM.ptr.prototype.Location=function(){var $ptr,i,j;i=this;j=i.loc;if(j===DJ.nil){j=$pkg.UTC;}return j;};BM.prototype.Location=function(){return this.$val.Location();};BM.ptr.prototype.Zone=function(){var $ptr,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=\"\";j=0;k=this;n=k.loc.lookup((m=k.sec,new $Int64(m.$high+-15,m.$low+2288912640)));$s=1;case 1:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}l=n;i=l[0];j=l[1];$s=-1;return[i,j];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.Zone};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.Zone=function(){return this.$val.Zone();};BM.ptr.prototype.Unix=function(){var $ptr,i,j;i=this;return(j=i.sec,new $Int64(j.$high+-15,j.$low+2288912640));};BM.prototype.Unix=function(){return this.$val.Unix();};BM.ptr.prototype.UnixNano=function(){var $ptr,i,j,k,l;i=this;return(j=$mul64(((k=i.sec,new $Int64(k.$high+-15,k.$low+2288912640))),new $Int64(0,1000000000)),l=(new $Int64(0,i.nsec)),new $Int64(j.$high+l.$high,j.$low+l.$low));};BM.prototype.UnixNano=function(){return this.$val.UnixNano();};BM.ptr.prototype.MarshalBinary=function(){var $ptr,i,j,k,l,m,n,o,p,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=0;if($clone(i,BM).Location()===$pkg.UTC){$s=1;continue;}$s=2;continue;case 1:j=-1;$s=3;continue;case 2:l=$clone(i,BM).Zone();$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;m=k[1];if(!(((n=m%60,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0))){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: zone offset has fractional minute\")];}m=(o=m/(60),(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"));if(m<-32768||(m===-1)||m>32767){$s=-1;return[DG.nil,C.New(\"Time.MarshalBinary: unexpected zone offset\")];}j=((m<<16>>16));case 3:p=new DG([1,(($shiftRightInt64(i.sec,56).$low<<24>>>24)),(($shiftRightInt64(i.sec,48).$low<<24>>>24)),(($shiftRightInt64(i.sec,40).$low<<24>>>24)),(($shiftRightInt64(i.sec,32).$low<<24>>>24)),(($shiftRightInt64(i.sec,24).$low<<24>>>24)),(($shiftRightInt64(i.sec,16).$low<<24>>>24)),(($shiftRightInt64(i.sec,8).$low<<24>>>24)),((i.sec.$low<<24>>>24)),(((i.nsec>>24>>0)<<24>>>24)),(((i.nsec>>16>>0)<<24>>>24)),(((i.nsec>>8>>0)<<24>>>24)),((i.nsec<<24>>>24)),(((j>>8<<16>>16)<<24>>>24)),((j<<24>>>24))]);$s=-1;return[p,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalBinary};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalBinary=function(){return this.$val.MarshalBinary();};BM.ptr.prototype.UnmarshalBinary=function(i){var $ptr,aa,ab,ac,ad,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=i;if(k.$length===0){$s=-1;return C.New(\"Time.UnmarshalBinary: no data\");}if(!(((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])===1))){$s=-1;return C.New(\"Time.UnmarshalBinary: unsupported version\");}if(!((k.$length===15))){$s=-1;return C.New(\"Time.UnmarshalBinary: invalid length\");}k=$subslice(k,1);j.sec=(l=(m=(n=(o=(p=(q=(r=(new $Int64(0,(7>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+7]))),s=$shiftLeft64((new $Int64(0,(6>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+6]))),8),new $Int64(r.$high|s.$high,(r.$low|s.$low)>>>0)),t=$shiftLeft64((new $Int64(0,(5>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+5]))),16),new $Int64(q.$high|t.$high,(q.$low|t.$low)>>>0)),u=$shiftLeft64((new $Int64(0,(4>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+4]))),24),new $Int64(p.$high|u.$high,(p.$low|u.$low)>>>0)),v=$shiftLeft64((new $Int64(0,(3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3]))),32),new $Int64(o.$high|v.$high,(o.$low|v.$low)>>>0)),w=$shiftLeft64((new $Int64(0,(2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2]))),40),new $Int64(n.$high|w.$high,(n.$low|w.$low)>>>0)),x=$shiftLeft64((new $Int64(0,(1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1]))),48),new $Int64(m.$high|x.$high,(m.$low|x.$low)>>>0)),y=$shiftLeft64((new $Int64(0,(0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0]))),56),new $Int64(l.$high|y.$high,(l.$low|y.$low)>>>0));k=$subslice(k,8);j.nsec=(((((3>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+3])>>0))|((((2>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+2])>>0))<<8>>0))|((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])>>0))<<16>>0))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])>>0))<<24>>0);k=$subslice(k,4);z=$imul(((((((1>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+1])<<16>>16))|((((0>=k.$length?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+0])<<16>>16))<<8<<16>>16))>>0)),60);if(z===-60){$s=1;continue;}$s=2;continue;case 1:j.setLoc(CK);$s=3;continue;case 2:ac=$pkg.Local.lookup((ab=j.sec,new $Int64(ab.$high+-15,ab.$low+2288912640)));$s=4;case 4:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}aa=ac;ad=aa[1];if(z===ad){j.setLoc($pkg.Local);}else{j.setLoc(CN(\"\",z));}case 3:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalBinary};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalBinary=function(i){return this.$val.UnmarshalBinary(i);};BM.ptr.prototype.GobEncode=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).MarshalBinary();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobEncode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobEncode=function(){return this.$val.GobEncode();};BM.ptr.prototype.GobDecode=function(i){var $ptr,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=j.UnmarshalBinary(i);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.GobDecode};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.GobDecode=function(i){return this.$val.GobDecode(i);};BM.ptr.prototype.MarshalJSON=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalJSON: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,37);l=$append(l,34);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;l=$append(l,34);$s=-1;return[l,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalJSON=function(){return this.$val.MarshalJSON();};BM.ptr.prototype.UnmarshalJSON=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;if(($bytesToString(i))===\"null\"){$s=-1;return $ifaceNil;}k=$ifaceNil;m=AL(\"\\\"2006-01-02T15:04:05Z07:00\\\"\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalJSON};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalJSON=function(i){return this.$val.UnmarshalJSON(i);};BM.ptr.prototype.MarshalText=function(){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=$clone(i,BM).Year();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if(k<0||k>=10000){$s=-1;return[DG.nil,C.New(\"Time.MarshalText: year outside of range [0,9999]\")];}l=$makeSlice(DG,0,35);m=$clone(i,BM).AppendFormat(l,\"2006-01-02T15:04:05.999999999Z07:00\");$s=2;case 2:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}$s=-1;return[m,$ifaceNil];}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.MarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.MarshalText=function(){return this.$val.MarshalText();};BM.ptr.prototype.UnmarshalText=function(i){var $ptr,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=$ifaceNil;m=AL(\"2006-01-02T15:04:05Z07:00\",($bytesToString(i)));$s=1;case 1:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;BM.copy(j,l[0]);k=l[1];$s=-1;return k;}return;}if($f===undefined){$f={$blk:BM.ptr.prototype.UnmarshalText};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.$s=$s;$f.$r=$r;return $f;};BM.prototype.UnmarshalText=function(i){return this.$val.UnmarshalText(i);};CC=function(i,j){var $ptr,i,j,k,l,m,n,o;if((j.$high<0||(j.$high===0&&j.$low<0))||(j.$high>0||(j.$high===0&&j.$low>=1000000000))){k=$div64(j,new $Int64(0,1000000000),false);i=(l=k,new $Int64(i.$high+l.$high,i.$low+l.$low));j=(m=$mul64(k,new $Int64(0,1000000000)),new $Int64(j.$high-m.$high,j.$low-m.$low));if((j.$high<0||(j.$high===0&&j.$low<0))){j=(n=new $Int64(0,1000000000),new $Int64(j.$high+n.$high,j.$low+n.$low));i=(o=new $Int64(0,1),new $Int64(i.$high-o.$high,i.$low-o.$low));}}return new BM.ptr(new $Int64(i.$high+14,i.$low+2006054656),(((j.$low+((j.$high>>31)*4294967296))>>0)),$pkg.Local);};$pkg.Unix=CC;CD=function(i){var $ptr,i,j,k,l;return((j=i%4,j===j?j:$throwRuntimeError(\"integer divide by zero\"))===0)&&(!(((k=i%100,k===k?k:$throwRuntimeError(\"integer divide by zero\"))===0))||((l=i%400,l===l?l:$throwRuntimeError(\"integer divide by zero\"))===0));};CE=function(i,j,k){var $ptr,i,j,k,l,m,n,o,p,q,r,s;l=0;m=0;if(j<0){o=(n=((-j-1>>0))/k,(n===n&&n!==1/0&&n!==-1/0)?n>>0:$throwRuntimeError(\"integer divide by zero\"))+1>>0;i=i-(o)>>0;j=j+(($imul(o,k)))>>0;}if(j>=k){q=(p=j/k,(p===p&&p!==1/0&&p!==-1/0)?p>>0:$throwRuntimeError(\"integer divide by zero\"));i=i+(q)>>0;j=j-(($imul(q,k)))>>0;}r=i;s=j;l=r;m=s;return[l,m];};CF=function(i,j,k,l,m,n,o,p){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(p===DJ.nil){$panic(new $String(\"time: missing Location in call to Date\"));}q=((j>>0))-1>>0;r=CE(i,q,12);i=r[0];q=r[1];j=((q>>0))+1>>0;s=CE(n,o,1000000000);n=s[0];o=s[1];t=CE(m,n,60);m=t[0];n=t[1];u=CE(l,m,60);l=u[0];m=u[1];v=CE(k,l,24);k=v[0];l=v[1];y=((w=(x=(new $Int64(0,i)),new $Int64(x.$high- -69,x.$low-4075721025)),new $Uint64(w.$high,w.$low)));z=$div64(y,new $Uint64(0,400),false);y=(aa=$mul64(new $Uint64(0,400),z),new $Uint64(y.$high-aa.$high,y.$low-aa.$low));ab=$mul64(new $Uint64(0,146097),z);z=$div64(y,new $Uint64(0,100),false);y=(ac=$mul64(new $Uint64(0,100),z),new $Uint64(y.$high-ac.$high,y.$low-ac.$low));ab=(ad=$mul64(new $Uint64(0,36524),z),new $Uint64(ab.$high+ad.$high,ab.$low+ad.$low));z=$div64(y,new $Uint64(0,4),false);y=(ae=$mul64(new $Uint64(0,4),z),new $Uint64(y.$high-ae.$high,y.$low-ae.$low));ab=(af=$mul64(new $Uint64(0,1461),z),new $Uint64(ab.$high+af.$high,ab.$low+af.$low));z=y;ab=(ag=$mul64(new $Uint64(0,365),z),new $Uint64(ab.$high+ag.$high,ab.$low+ag.$low));ab=(ah=(new $Uint64(0,(ai=j-1>>0,((ai<0||ai>=BZ.length)?($throwRuntimeError(\"index out of range\"),undefined):BZ[ai])))),new $Uint64(ab.$high+ah.$high,ab.$low+ah.$low));if(CD(i)&&j>=3){ab=(aj=new $Uint64(0,1),new $Uint64(ab.$high+aj.$high,ab.$low+aj.$low));}ab=(ak=(new $Uint64(0,(k-1>>0))),new $Uint64(ab.$high+ak.$high,ab.$low+ak.$low));al=$mul64(ab,new $Uint64(0,86400));al=(am=(new $Uint64(0,((($imul(l,3600))+($imul(m,60))>>0)+n>>0))),new $Uint64(al.$high+am.$high,al.$low+am.$low));ao=(an=(new $Int64(al.$high,al.$low)),new $Int64(an.$high+-2147483647,an.$low+3844486912));aq=p.lookup(ao);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;ar=ap[1];as=ap[3];at=ap[4];if(!((ar===0))){$s=2;continue;}$s=3;continue;case 2:av=(au=(new $Int64(0,ar)),new $Int64(ao.$high-au.$high,ao.$low-au.$low));if((av.$high<as.$high||(av.$high===as.$high&&av.$low<as.$low))){$s=5;continue;}if((av.$high>at.$high||(av.$high===at.$high&&av.$low>=at.$low))){$s=6;continue;}$s=7;continue;case 5:ax=p.lookup(new $Int64(as.$high-0,as.$low-1));$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}aw=ax;ar=aw[1];$s=7;continue;case 6:az=p.lookup(at);$s=9;case 9:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ay=az;ar=ay[1];case 7:case 4:ao=(ba=(new $Int64(0,ar)),new $Int64(ao.$high-ba.$high,ao.$low-ba.$low));case 3:bb=new BM.ptr(new $Int64(ao.$high+14,ao.$low+2006054656),((o>>0)),DJ.nil);bb.setLoc(p);$s=-1;return bb;}return;}if($f===undefined){$f={$blk:CF};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Date=CF;BM.ptr.prototype.Truncate=function(i){var $ptr,i,j,k,l;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];return $clone(j,BM).Add(new BT(-l.$high,-l.$low));};BM.prototype.Truncate=function(i){return this.$val.Truncate(i);};BM.ptr.prototype.Round=function(i){var $ptr,i,j,k,l,m;j=this;if((i.$high<0||(i.$high===0&&i.$low<=0))){return j;}k=CG($clone(j,BM),i);l=k[1];if((m=new BT(l.$high+l.$high,l.$low+l.$low),(m.$high<i.$high||(m.$high===i.$high&&m.$low<i.$low)))){return $clone(j,BM).Add(new BT(-l.$high,-l.$low));}return $clone(j,BM).Add(new BT(i.$high-l.$high,i.$low-l.$low));};BM.prototype.Round=function(i){return this.$val.Round(i);};CG=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;k=0;l=new BT(0,0);m=false;n=i.nsec;if((o=i.sec,(o.$high<0||(o.$high===0&&o.$low<0)))){m=true;i.sec=(p=i.sec,new $Int64(-p.$high,-p.$low));n=-n;if(n<0){n=n+(1000000000)>>0;i.sec=(q=i.sec,r=new $Int64(0,1),new $Int64(q.$high-r.$high,q.$low-r.$low));}}if((j.$high<0||(j.$high===0&&j.$low<1000000000))&&(s=$div64(new BT(0,1000000000),(new BT(j.$high+j.$high,j.$low+j.$low)),true),(s.$high===0&&s.$low===0))){k=(((u=n/(((j.$low+((j.$high>>31)*4294967296))>>0)),(u===u&&u!==1/0&&u!==-1/0)?u>>0:$throwRuntimeError(\"integer divide by zero\"))>>0))&1;l=(new BT(0,(v=n%(((j.$low+((j.$high>>31)*4294967296))>>0)),v===v?v:$throwRuntimeError(\"integer divide by zero\"))));}else if((t=$div64(j,new BT(0,1000000000),true),(t.$high===0&&t.$low===0))){x=((w=$div64(j,new BT(0,1000000000),false),new $Int64(w.$high,w.$low)));k=(((y=$div64(i.sec,x,false),y.$low+((y.$high>>31)*4294967296))>>0))&1;l=(z=$mul64(((aa=$div64(i.sec,x,true),new BT(aa.$high,aa.$low))),new BT(0,1000000000)),ab=(new BT(0,n)),new BT(z.$high+ab.$high,z.$low+ab.$low));}else{ad=((ac=i.sec,new $Uint64(ac.$high,ac.$low)));ae=$mul64(($shiftRightUint64(ad,32)),new $Uint64(0,1000000000));af=$shiftRightUint64(ae,32);ag=$shiftLeft64(ae,32);ae=$mul64((new $Uint64(ad.$high&0,(ad.$low&4294967295)>>>0)),new $Uint64(0,1000000000));ah=ag;ai=new $Uint64(ag.$high+ae.$high,ag.$low+ae.$low);aj=ah;ag=ai;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ak=new $Uint64(0,1),new $Uint64(af.$high+ak.$high,af.$low+ak.$low));}al=ag;am=(an=(new $Uint64(0,n)),new $Uint64(ag.$high+an.$high,ag.$low+an.$low));aj=al;ag=am;if((ag.$high<aj.$high||(ag.$high===aj.$high&&ag.$low<aj.$low))){af=(ao=new $Uint64(0,1),new $Uint64(af.$high+ao.$high,af.$low+ao.$low));}ap=(new $Uint64(j.$high,j.$low));while(true){if(!(!((aq=$shiftRightUint64(ap,63),(aq.$high===0&&aq.$low===1))))){break;}ap=$shiftLeft64(ap,(1));}ar=new $Uint64(0,0);while(true){k=0;if((af.$high>ap.$high||(af.$high===ap.$high&&af.$low>ap.$low))||(af.$high===ap.$high&&af.$low===ap.$low)&&(ag.$high>ar.$high||(ag.$high===ar.$high&&ag.$low>=ar.$low))){k=1;as=ag;at=new $Uint64(ag.$high-ar.$high,ag.$low-ar.$low);aj=as;ag=at;if((ag.$high>aj.$high||(ag.$high===aj.$high&&ag.$low>aj.$low))){af=(au=new $Uint64(0,1),new $Uint64(af.$high-au.$high,af.$low-au.$low));}af=(av=ap,new $Uint64(af.$high-av.$high,af.$low-av.$low));}if((ap.$high===0&&ap.$low===0)&&(aw=(new $Uint64(j.$high,j.$low)),(ar.$high===aw.$high&&ar.$low===aw.$low))){break;}ar=$shiftRightUint64(ar,(1));ar=(ax=$shiftLeft64((new $Uint64(ap.$high&0,(ap.$low&1)>>>0)),63),new $Uint64(ar.$high|ax.$high,(ar.$low|ax.$low)>>>0));ap=$shiftRightUint64(ap,(1));}l=(new BT(ag.$high,ag.$low));}if(m&&!((l.$high===0&&l.$low===0))){k=(k^(1))>>0;l=new BT(j.$high-l.$high,j.$low-l.$low);}return[k,l];};CH.ptr.prototype.get=function(){var $ptr,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;if(i===DJ.nil){$s=-1;return CK;}if(i===CL){$s=1;continue;}$s=2;continue;case 1:$r=CM.Do(H);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return i;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.get};}$f.$ptr=$ptr;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.get=function(){return this.$val.get();};CH.ptr.prototype.String=function(){var $ptr,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:i=this;j=i.get();$s=1;case 1:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$s=-1;return j.name;}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.String};}$f.$ptr=$ptr;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.String=function(){return this.$val.String();};CN=function(i,j){var $ptr,i,j,k,l;k=new CH.ptr(i,new DA([new CI.ptr(i,j,false)]),new DB([new CJ.ptr(new $Int64(-2147483648,0),0,false,false)]),new $Int64(-2147483648,0),new $Int64(2147483647,4294967295),DC.nil);k.cacheZone=(l=k.zone,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0]));return k;};$pkg.FixedZone=CN;CH.ptr.prototype.lookup=function(i){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=\"\";k=0;l=false;m=new $Int64(0,0);n=new $Int64(0,0);o=this;p=o.get();$s=1;case 1:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;if(o.zone.$length===0){j=\"UTC\";k=0;l=false;m=new $Int64(-2147483648,0);n=new $Int64(2147483647,4294967295);$s=-1;return[j,k,l,m,n];}q=o.cacheZone;if(!(q===DC.nil)&&(r=o.cacheStart,(r.$high<i.$high||(r.$high===i.$high&&r.$low<=i.$low)))&&(s=o.cacheEnd,(i.$high<s.$high||(i.$high===s.$high&&i.$low<s.$low)))){j=q.name;k=q.offset;l=q.isDST;m=o.cacheStart;n=o.cacheEnd;$s=-1;return[j,k,l,m,n];}if((o.tx.$length===0)||(t=(u=o.tx,(0>=u.$length?($throwRuntimeError(\"index out of range\"),undefined):u.$array[u.$offset+0])).when,(i.$high<t.$high||(i.$high===t.$high&&i.$low<t.$low)))){x=(v=o.zone,w=o.lookupFirstZone(),((w<0||w>=v.$length)?($throwRuntimeError(\"index out of range\"),undefined):v.$array[v.$offset+w]));j=x.name;k=x.offset;l=x.isDST;m=new $Int64(-2147483648,0);if(o.tx.$length>0){n=(y=o.tx,(0>=y.$length?($throwRuntimeError(\"index out of range\"),undefined):y.$array[y.$offset+0])).when;}else{n=new $Int64(2147483647,4294967295);}$s=-1;return[j,k,l,m,n];}z=o.tx;n=new $Int64(2147483647,4294967295);aa=0;ab=z.$length;while(true){if(!((ab-aa>>0)>1)){break;}ad=aa+(ac=((ab-aa>>0))/2,(ac===ac&&ac!==1/0&&ac!==-1/0)?ac>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;ae=((ad<0||ad>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+ad]).when;if((i.$high<ae.$high||(i.$high===ae.$high&&i.$low<ae.$low))){n=ae;ab=ad;}else{aa=ad;}}ah=(af=o.zone,ag=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).index,((ag<0||ag>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+ag]));j=ah.name;k=ah.offset;l=ah.isDST;m=((aa<0||aa>=z.$length)?($throwRuntimeError(\"index out of range\"),undefined):z.$array[z.$offset+aa]).when;$s=-1;return[j,k,l,m,n];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookup};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookup=function(i){return this.$val.lookup(i);};CH.ptr.prototype.lookupFirstZone=function(){var $ptr,i,j,k,l,m,n,o,p,q,r,s;i=this;if(!i.firstZoneUsed()){return 0;}if(i.tx.$length>0&&(j=i.zone,k=(l=i.tx,(0>=l.$length?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+0])).index,((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k])).isDST){n=(((m=i.tx,(0>=m.$length?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+0])).index>>0))-1>>0;while(true){if(!(n>=0)){break;}if(!(o=i.zone,((n<0||n>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+n])).isDST){return n;}n=n-(1)>>0;}}p=i.zone;q=0;while(true){if(!(q<p.$length)){break;}r=q;if(!(s=i.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r])).isDST){return r;}q++;}return 0;};CH.prototype.lookupFirstZone=function(){return this.$val.lookupFirstZone();};CH.ptr.prototype.firstZoneUsed=function(){var $ptr,i,j,k,l;i=this;j=i.tx;k=0;while(true){if(!(k<j.$length)){break;}l=$clone(((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]),CJ);if(l.index===0){return true;}k++;}return false;};CH.prototype.firstZoneUsed=function(){return this.$val.firstZoneUsed();};CH.ptr.prototype.lookupName=function(i,j){var $ptr,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:k=0;l=false;m=false;n=this;o=n.get();$s=1;case 1:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}n=o;p=n.zone;q=0;case 2:if(!(q<p.$length)){$s=3;continue;}r=q;t=(s=n.zone,((r<0||r>=s.$length)?($throwRuntimeError(\"index out of range\"),undefined):s.$array[s.$offset+r]));if(t.name===i){$s=4;continue;}$s=5;continue;case 4:w=n.lookup((v=(new $Int64(0,t.offset)),new $Int64(j.$high-v.$high,j.$low-v.$low)));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}u=w;x=u[0];y=u[1];z=u[2];if(x===t.name){aa=y;ab=z;ac=true;k=aa;l=ab;m=ac;$s=-1;return[k,l,m];}case 5:q++;$s=2;continue;case 3:ad=n.zone;ae=0;while(true){if(!(ae<ad.$length)){break;}af=ae;ah=(ag=n.zone,((af<0||af>=ag.$length)?($throwRuntimeError(\"index out of range\"),undefined):ag.$array[ag.$offset+af]));if(ah.name===i){ai=ah.offset;aj=ah.isDST;ak=true;k=ai;l=aj;m=ak;$s=-1;return[k,l,m];}ae++;}$s=-1;return[k,l,m];}return;}if($f===undefined){$f={$blk:CH.ptr.prototype.lookupName};}$f.$ptr=$ptr;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};CH.prototype.lookupName=function(i,j){return this.$val.lookupName(i,j);};DR.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];BM.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"AppendFormat\",name:\"AppendFormat\",pkg:\"\",typ:$funcType([DG,$String],[DG],false)},{prop:\"After\",name:\"After\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Before\",name:\"Before\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"Equal\",name:\"Equal\",pkg:\"\",typ:$funcType([BM],[$Bool],false)},{prop:\"IsZero\",name:\"IsZero\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"abs\",name:\"abs\",pkg:\"time\",typ:$funcType([],[$Uint64],false)},{prop:\"locabs\",name:\"locabs\",pkg:\"time\",typ:$funcType([],[$String,$Int,$Uint64],false)},{prop:\"Date\",name:\"Date\",pkg:\"\",typ:$funcType([],[$Int,BN,$Int],false)},{prop:\"Year\",name:\"Year\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Month\",name:\"Month\",pkg:\"\",typ:$funcType([],[BN],false)},{prop:\"Day\",name:\"Day\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Weekday\",name:\"Weekday\",pkg:\"\",typ:$funcType([],[BP],false)},{prop:\"ISOWeek\",name:\"ISOWeek\",pkg:\"\",typ:$funcType([],[$Int,$Int],false)},{prop:\"Clock\",name:\"Clock\",pkg:\"\",typ:$funcType([],[$Int,$Int,$Int],false)},{prop:\"Hour\",name:\"Hour\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Minute\",name:\"Minute\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Second\",name:\"Second\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Nanosecond\",name:\"Nanosecond\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"YearDay\",name:\"YearDay\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Add\",name:\"Add\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Sub\",name:\"Sub\",pkg:\"\",typ:$funcType([BM],[BT],false)},{prop:\"AddDate\",name:\"AddDate\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[BM],false)},{prop:\"date\",name:\"date\",pkg:\"time\",typ:$funcType([$Bool],[$Int,BN,$Int,$Int],false)},{prop:\"UTC\",name:\"UTC\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"Local\",name:\"Local\",pkg:\"\",typ:$funcType([],[BM],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([DJ],[BM],false)},{prop:\"Location\",name:\"Location\",pkg:\"\",typ:$funcType([],[DJ],false)},{prop:\"Zone\",name:\"Zone\",pkg:\"\",typ:$funcType([],[$String,$Int],false)},{prop:\"Unix\",name:\"Unix\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"UnixNano\",name:\"UnixNano\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"MarshalBinary\",name:\"MarshalBinary\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"GobEncode\",name:\"GobEncode\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalJSON\",name:\"MarshalJSON\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"MarshalText\",name:\"MarshalText\",pkg:\"\",typ:$funcType([],[DG,$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([BT],[BM],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([BT],[BM],false)}];DV.methods=[{prop:\"setLoc\",name:\"setLoc\",pkg:\"time\",typ:$funcType([DJ],[],false)},{prop:\"UnmarshalBinary\",name:\"UnmarshalBinary\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"GobDecode\",name:\"GobDecode\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalJSON\",name:\"UnmarshalJSON\",pkg:\"\",typ:$funcType([DG],[$error],false)},{prop:\"UnmarshalText\",name:\"UnmarshalText\",pkg:\"\",typ:$funcType([DG],[$error],false)}];BN.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BP.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];BT.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Nanoseconds\",name:\"Nanoseconds\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Seconds\",name:\"Seconds\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Minutes\",name:\"Minutes\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Hours\",name:\"Hours\",pkg:\"\",typ:$funcType([],[$Float64],false)}];DJ.methods=[{prop:\"get\",name:\"get\",pkg:\"time\",typ:$funcType([],[DJ],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"lookup\",name:\"lookup\",pkg:\"time\",typ:$funcType([$Int64],[$String,$Int,$Bool,$Int64,$Int64],false)},{prop:\"lookupFirstZone\",name:\"lookupFirstZone\",pkg:\"time\",typ:$funcType([],[$Int],false)},{prop:\"firstZoneUsed\",name:\"firstZoneUsed\",pkg:\"time\",typ:$funcType([],[$Bool],false)},{prop:\"lookupName\",name:\"lookupName\",pkg:\"time\",typ:$funcType([$String,$Int64],[$Int,$Bool,$Bool],false)}];AF.init(\"\",[{prop:\"Layout\",name:\"Layout\",exported:true,typ:$String,tag:\"\"},{prop:\"Value\",name:\"Value\",exported:true,typ:$String,tag:\"\"},{prop:\"LayoutElem\",name:\"LayoutElem\",exported:true,typ:$String,tag:\"\"},{prop:\"ValueElem\",name:\"ValueElem\",exported:true,typ:$String,tag:\"\"},{prop:\"Message\",name:\"Message\",exported:true,typ:$String,tag:\"\"}]);BM.init(\"time\",[{prop:\"sec\",name:\"sec\",exported:false,typ:$Int64,tag:\"\"},{prop:\"nsec\",name:\"nsec\",exported:false,typ:$Int32,tag:\"\"},{prop:\"loc\",name:\"loc\",exported:false,typ:DJ,tag:\"\"}]);CH.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"zone\",name:\"zone\",exported:false,typ:DA,tag:\"\"},{prop:\"tx\",name:\"tx\",exported:false,typ:DB,tag:\"\"},{prop:\"cacheStart\",name:\"cacheStart\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheEnd\",name:\"cacheEnd\",exported:false,typ:$Int64,tag:\"\"},{prop:\"cacheZone\",name:\"cacheZone\",exported:false,typ:DC,tag:\"\"}]);CI.init(\"time\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Int,tag:\"\"},{prop:\"isDST\",name:\"isDST\",exported:false,typ:$Bool,tag:\"\"}]);CJ.init(\"time\",[{prop:\"when\",name:\"when\",exported:false,typ:$Int64,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"isstd\",name:\"isstd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"isutc\",name:\"isutc\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}CL=new CH.ptr(\"\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);CM=new E.Once.ptr(false,false);R=$toNativeArray($kindInt,[260,265,524,526,528,274]);U=new DD([\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);V=new DD([\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"]);W=new DD([\"---\",\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"]);X=new DD([\"---\",\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);AB=C.New(\"time: invalid number\");AE=C.New(\"bad value for field\");AR=C.New(\"time: bad [0-9]*\");BO=$toNativeArray($kindString,[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]);BQ=$toNativeArray($kindString,[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]);BZ=$toNativeArray($kindInt32,[0,31,59,90,120,151,181,212,243,273,304,334,365]);CK=new CH.ptr(\"UTC\",DA.nil,DB.nil,new $Int64(0,0),new $Int64(0,0),DC.nil);$pkg.UTC=CK;$pkg.Local=CL;h=D.Getenv(\"ZONEINFO\");$s=6;case 6:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;CO=g[0];CS=C.New(\"malformed time zone information\");F();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"os\"]=(function(){var $pkg={},$init,A,B,C,E,F,G,D,H,X,Y,AU,BL,BN,CY,CZ,DA,DC,DF,DG,DH,DI,DJ,DK,DL,DM,DU,DZ,EA,EE,EF,EH,EI,AR,AZ,BW,CV,I,J,Z,AB,AD,AF,BB,BC,BE,BM,BO,BY,BZ,CD,CF,CM,CN,CQ,CW;A=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];C=$packages[\"io\"];E=$packages[\"runtime\"];F=$packages[\"sync\"];G=$packages[\"sync/atomic\"];D=$packages[\"syscall\"];H=$packages[\"time\"];X=$pkg.PathError=$newType(0,$kindStruct,\"os.PathError\",true,\"os\",true,function(Op_,Path_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Path=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Path=Path_;this.Err=Err_;});Y=$pkg.SyscallError=$newType(0,$kindStruct,\"os.SyscallError\",true,\"os\",true,function(Syscall_,Err_){this.$val=this;if(arguments.length===0){this.Syscall=\"\";this.Err=$ifaceNil;return;}this.Syscall=Syscall_;this.Err=Err_;});AU=$pkg.LinkError=$newType(0,$kindStruct,\"os.LinkError\",true,\"os\",true,function(Op_,Old_,New_,Err_){this.$val=this;if(arguments.length===0){this.Op=\"\";this.Old=\"\";this.New=\"\";this.Err=$ifaceNil;return;}this.Op=Op_;this.Old=Old_;this.New=New_;this.Err=Err_;});BL=$pkg.file=$newType(0,$kindStruct,\"os.file\",true,\"os\",false,function(fd_,name_,dirinfo_){this.$val=this;if(arguments.length===0){this.fd=0;this.name=\"\";this.dirinfo=DI.nil;return;}this.fd=fd_;this.name=name_;this.dirinfo=dirinfo_;});BN=$pkg.dirInfo=$newType(0,$kindStruct,\"os.dirInfo\",true,\"os\",false,function(buf_,nbuf_,bufp_){this.$val=this;if(arguments.length===0){this.buf=DJ.nil;this.nbuf=0;this.bufp=0;return;}this.buf=buf_;this.nbuf=nbuf_;this.bufp=bufp_;});CY=$pkg.File=$newType(0,$kindStruct,\"os.File\",true,\"os\",true,function(file_){this.$val=this;if(arguments.length===0){this.file=DZ.nil;return;}this.file=file_;});CZ=$pkg.FileInfo=$newType(8,$kindInterface,\"os.FileInfo\",true,\"os\",true,null);DA=$pkg.FileMode=$newType(4,$kindUint32,\"os.FileMode\",true,\"os\",true,null);DC=$pkg.fileStat=$newType(0,$kindStruct,\"os.fileStat\",true,\"os\",false,function(name_,size_,mode_,modTime_,sys_){this.$val=this;if(arguments.length===0){this.name=\"\";this.size=new $Int64(0,0);this.mode=0;this.modTime=new H.Time.ptr(new $Int64(0,0),0,EE.nil);this.sys=new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero());return;}this.name=name_;this.size=size_;this.mode=mode_;this.modTime=modTime_;this.sys=sys_;});DF=$sliceType($String);DG=$ptrType(CY);DH=$sliceType(CZ);DI=$ptrType(BN);DJ=$sliceType($Uint8);DK=$ptrType(X);DL=$ptrType(AU);DM=$ptrType(Y);DU=$arrayType($Uint8,4);DZ=$ptrType(BL);EA=$funcType([DZ],[$error],false);EE=$ptrType(H.Location);EF=$arrayType($Int64,2);EH=$arrayType($Uint8,32);EI=$ptrType(DC);I=function(){var $ptr;return $pkg.Args;};J=function(){var $ptr,c,d,e;c=$global.process;if(!(c===undefined)){d=c.argv;$pkg.Args=$makeSlice(DF,($parseInt(d.length)-1>>0));e=0;while(true){if(!(e<($parseInt(d.length)-1>>0))){break;}((e<0||e>=$pkg.Args.$length)?($throwRuntimeError(\"index out of range\"),undefined):$pkg.Args.$array[$pkg.Args.$offset+e]=$internalize(d[(e+1>>0)],$String));e=e+(1)>>0;}}if($pkg.Args.$length===0){$pkg.Args=new DF([\"?\"]);}};CY.ptr.prototype.Readdir=function(c){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(d===DG.nil){$s=-1;return[DH.nil,$pkg.ErrInvalid];}e=d.readdir(c);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return e;}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.Readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.Readdir=function(c){return this.$val.Readdir(c);};CY.ptr.prototype.Readdirnames=function(c){var $ptr,c,d,e,f,g,h,i;d=DF.nil;e=$ifaceNil;f=this;if(f===DG.nil){g=DF.nil;h=$pkg.ErrInvalid;d=g;e=h;return[d,e];}i=f.readdirnames(c);d=i[0];e=i[1];return[d,e];};CY.prototype.Readdirnames=function(c){return this.$val.Readdirnames(c);};CY.ptr.prototype.readdir=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=DH.nil;e=$ifaceNil;f=this;g=f.file.name;if(g===\"\"){g=\".\";}h=f.Readdirnames(c);i=h[0];e=h[1];d=$makeSlice(DH,0,i.$length);j=i;k=0;case 1:if(!(k<j.$length)){$s=2;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);n=AZ(g+\"/\"+l);$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;o=m[0];p=m[1];if(AB(p)){k++;$s=1;continue;}if(!($interfaceIsEqual(p,$ifaceNil))){q=d;r=p;d=q;e=r;$s=-1;return[d,e];}d=$append(d,o);k++;$s=1;continue;case 2:if((d.$length===0)&&$interfaceIsEqual(e,$ifaceNil)&&c>0){e=C.EOF;}s=d;t=e;d=s;e=t;$s=-1;return[d,e];}return;}if($f===undefined){$f={$blk:CY.ptr.prototype.readdir};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};CY.prototype.readdir=function(c){return this.$val.readdir(c);};CY.ptr.prototype.readdirnames=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;d=DF.nil;e=$ifaceNil;f=this;if(f.file.dirinfo===DI.nil){f.file.dirinfo=new BN.ptr(DJ.nil,0,0);f.file.dirinfo.buf=$makeSlice(DJ,4096);}g=f.file.dirinfo;h=c;if(h<=0){h=100;c=-1;}d=$makeSlice(DF,0,h);while(true){if(!(!((c===0)))){break;}if(g.bufp>=g.nbuf){g.bufp=0;i=$ifaceNil;k=D.ReadDirent(f.file.fd,g.buf);j=BB(k[0],k[1]);g.nbuf=j[0];i=j[1];if(!($interfaceIsEqual(i,$ifaceNil))){l=d;m=Z(\"readdirent\",i);d=l;e=m;return[d,e];}if(g.nbuf<=0){break;}}n=0;o=0;p=n;q=o;r=D.ParseDirent($subslice(g.buf,g.bufp,g.nbuf),c,d);p=r[0];q=r[1];d=r[2];g.bufp=g.bufp+(p)>>0;c=c-(q)>>0;}if(c>=0&&(d.$length===0)){s=d;t=C.EOF;d=s;e=t;return[d,e];}u=d;v=$ifaceNil;d=u;e=v;return[d,e];};CY.prototype.readdirnames=function(c){return this.$val.readdirnames(c);};X.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Path+\": \"+d;}return;}if($f===undefined){$f={$blk:X.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};X.prototype.Error=function(){return this.$val.Error();};Y.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Syscall+\": \"+d;}return;}if($f===undefined){$f={$blk:Y.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};Y.prototype.Error=function(){return this.$val.Error();};Z=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,$ifaceNil)){return $ifaceNil;}return new Y.ptr(c,d);};$pkg.NewSyscallError=Z;AB=function(c){var $ptr,c;return AF(c);};$pkg.IsNotExist=AB;AD=function(c){var $ptr,c,d,e,f,g;d=c;if($assertType(d,DK,true)[1]){e=d.$val;return e.Err;}else if($assertType(d,DL,true)[1]){f=d.$val;return f.Err;}else if($assertType(d,DM,true)[1]){g=d.$val;return g.Err;}return c;};AF=function(c){var $ptr,c;c=AD(c);return $interfaceIsEqual(c,new D.Errno(2))||$interfaceIsEqual(c,$pkg.ErrNotExist);};CY.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.file.name;};CY.prototype.Name=function(){return this.$val.Name();};AU.ptr.prototype.Error=function(){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.Err.Error();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return c.Op+\" \"+c.Old+\" \"+c.New+\": \"+d;}return;}if($f===undefined){$f={$blk:AU.ptr.prototype.Error};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AU.prototype.Error=function(){return this.$val.Error();};CY.ptr.prototype.Read=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"read\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.read(c);d=j[0];k=j[1];if((d===0)&&c.$length>0&&$interfaceIsEqual(k,$ifaceNil)){l=0;m=C.EOF;d=l;e=m;return[d,e];}if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"read\",f.file.name,k);}n=d;o=e;d=n;e=o;return[d,e];};CY.prototype.Read=function(c){return this.$val.Read(c);};CY.ptr.prototype.ReadAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"read\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pread(c,d);l=k[0];m=k[1];if((l===0)&&$interfaceIsEqual(m,$ifaceNil)){n=e;o=C.EOF;e=n;f=o;return[e,f];}if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"read\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(p=(new $Int64(0,l)),new $Int64(d.$high+p.$high,d.$low+p.$low));}return[e,f];};CY.prototype.ReadAt=function(c,d){return this.$val.ReadAt(c,d);};CY.ptr.prototype.Write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;g=f.checkValid(\"write\");if(!($interfaceIsEqual(g,$ifaceNil))){h=0;i=g;d=h;e=i;return[d,e];}j=f.write(c);d=j[0];k=j[1];if(d<0){d=0;}if(!((d===c.$length))){e=C.ErrShortWrite;}BO(f,k);if(!($interfaceIsEqual(k,$ifaceNil))){e=new X.ptr(\"write\",f.file.name,k);}l=d;m=e;d=l;e=m;return[d,e];};CY.prototype.Write=function(c){return this.$val.Write(c);};CY.ptr.prototype.WriteAt=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n;e=0;f=$ifaceNil;g=this;h=g.checkValid(\"write\");if(!($interfaceIsEqual(h,$ifaceNil))){i=0;j=h;e=i;f=j;return[e,f];}while(true){if(!(c.$length>0)){break;}k=g.pwrite(c,d);l=k[0];m=k[1];if(!($interfaceIsEqual(m,$ifaceNil))){f=new X.ptr(\"write\",g.file.name,m);break;}e=e+(l)>>0;c=$subslice(c,l);d=(n=(new $Int64(0,l)),new $Int64(d.$high+n.$high,d.$low+n.$low));}return[e,f];};CY.prototype.WriteAt=function(c,d){return this.$val.WriteAt(c,d);};CY.ptr.prototype.Seek=function(c,d){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;e=new $Int64(0,0);f=$ifaceNil;g=this;h=g.checkValid(\"seek\");if(!($interfaceIsEqual(h,$ifaceNil))){i=new $Int64(0,0);j=h;e=i;f=j;return[e,f];}k=g.seek(c,d);l=k[0];m=k[1];if($interfaceIsEqual(m,$ifaceNil)&&!(g.file.dirinfo===DI.nil)&&!((l.$high===0&&l.$low===0))){m=new D.Errno(21);}if(!($interfaceIsEqual(m,$ifaceNil))){n=new $Int64(0,0);o=new X.ptr(\"seek\",g.file.name,m);e=n;f=o;return[e,f];}p=l;q=$ifaceNil;e=p;f=q;return[e,f];};CY.prototype.Seek=function(c,d){return this.$val.Seek(c,d);};CY.ptr.prototype.WriteString=function(c){var $ptr,c,d,e,f,g;d=0;e=$ifaceNil;f=this;g=f.Write((new DJ($stringToBytes(c))));d=g[0];e=g[1];return[d,e];};CY.prototype.WriteString=function(c){return this.$val.WriteString(c);};CY.ptr.prototype.Chdir=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"chdir\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fchdir(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"chdir\",c.file.name,e);}return $ifaceNil;};CY.prototype.Chdir=function(){return this.$val.Chdir();};BB=function(c,d){var $ptr,c,d;if(c<0){c=0;}return[c,d];};CY.ptr.prototype.checkValid=function(c){var $ptr,c,d;d=this;if(d===DG.nil){return $pkg.ErrInvalid;}if(d.file.fd===-1){return new X.ptr(c,d.file.name,$pkg.ErrClosed);}return $ifaceNil;};CY.prototype.checkValid=function(c){return this.$val.checkValid(c);};BC=function(){$throwRuntimeError(\"native function not implemented: os.sigpipe\");};BE=function(c){var $ptr,c,d;d=0;d=(d|(((new DA(c).Perm()>>>0))))>>>0;if(!((((c&8388608)>>>0)===0))){d=(d|(2048))>>>0;}if(!((((c&4194304)>>>0)===0))){d=(d|(1024))>>>0;}if(!((((c&1048576)>>>0)===0))){d=(d|(512))>>>0;}return d;};CY.ptr.prototype.Chmod=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"chmod\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Fchmod(d.file.fd,BE(c));if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"chmod\",d.file.name,f);}return $ifaceNil;};CY.prototype.Chmod=function(c){return this.$val.Chmod(c);};CY.ptr.prototype.Chown=function(c,d){var $ptr,c,d,e,f,g;e=this;f=e.checkValid(\"chown\");if(!($interfaceIsEqual(f,$ifaceNil))){return f;}g=D.Fchown(e.file.fd,c,d);if(!($interfaceIsEqual(g,$ifaceNil))){return new X.ptr(\"chown\",e.file.name,g);}return $ifaceNil;};CY.prototype.Chown=function(c,d){return this.$val.Chown(c,d);};CY.ptr.prototype.Truncate=function(c){var $ptr,c,d,e,f;d=this;e=d.checkValid(\"truncate\");if(!($interfaceIsEqual(e,$ifaceNil))){return e;}f=D.Ftruncate(d.file.fd,c);if(!($interfaceIsEqual(f,$ifaceNil))){return new X.ptr(\"truncate\",d.file.name,f);}return $ifaceNil;};CY.prototype.Truncate=function(c){return this.$val.Truncate(c);};CY.ptr.prototype.Sync=function(){var $ptr,c,d,e;c=this;d=c.checkValid(\"sync\");if(!($interfaceIsEqual(d,$ifaceNil))){return d;}e=D.Fsync(c.file.fd);if(!($interfaceIsEqual(e,$ifaceNil))){return new X.ptr(\"sync\",c.file.name,e);}return $ifaceNil;};CY.prototype.Sync=function(){return this.$val.Sync();};CY.ptr.prototype.Fd=function(){var $ptr,c;c=this;if(c===DG.nil){return 4294967295;}return((c.file.fd>>>0));};CY.prototype.Fd=function(){return this.$val.Fd();};BM=function(c,d){var $ptr,c,d,e,f;e=((c>>0));if(e<0){return DG.nil;}f=new CY.ptr(new BL.ptr(e,d,DI.nil));E.SetFinalizer(f.file,new EA($methodExpr(DZ,\"close\")));return f;};$pkg.NewFile=BM;BO=function(c,d){var $ptr,c,d;if($interfaceIsEqual(d,new D.Errno(32))&&((c.file.fd===1)||(c.file.fd===2))){BC();}};CY.ptr.prototype.Close=function(){var $ptr,c;c=this;if(c===DG.nil){return $pkg.ErrInvalid;}return c.file.close();};CY.prototype.Close=function(){return this.$val.Close();};BL.ptr.prototype.close=function(){var $ptr,c,d,e;c=this;if(c===DZ.nil||(c.fd===-1)){return new D.Errno(22);}d=$ifaceNil;e=D.Close(c.fd);if(!($interfaceIsEqual(e,$ifaceNil))){d=new X.ptr(\"close\",c.name,e);}c.fd=-1;E.SetFinalizer(c,$ifaceNil);return d;};BL.prototype.close=function(){return this.$val.close();};CY.ptr.prototype.read=function(c){var $ptr,c,d,e,f,g,h;d=0;e=$ifaceNil;f=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}h=D.Read(f.file.fd,c);g=BB(h[0],h[1]);d=g[0];e=g[1];return[d,e];};CY.prototype.read=function(c){return this.$val.read(c);};CY.ptr.prototype.pread=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pread(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pread=function(c,d){return this.$val.pread(c,d);};CY.ptr.prototype.write=function(c){var $ptr,c,d,e,f,g,h,i,j,k,l,m;d=0;e=$ifaceNil;f=this;while(true){g=c;if(true&&g.$length>1073741824){g=$subslice(g,0,1073741824);}i=D.Write(f.file.fd,g);h=BB(i[0],i[1]);j=h[0];k=h[1];d=d+(j)>>0;if(0<j&&j<g.$length||$interfaceIsEqual(k,new D.Errno(4))){c=$subslice(c,j);continue;}if(true&&!((g.$length===c.$length))&&$interfaceIsEqual(k,$ifaceNil)){c=$subslice(c,j);continue;}l=d;m=k;d=l;e=m;return[d,e];}};CY.prototype.write=function(c){return this.$val.write(c);};CY.ptr.prototype.pwrite=function(c,d){var $ptr,c,d,e,f,g,h,i;e=0;f=$ifaceNil;g=this;if(true&&c.$length>1073741824){c=$subslice(c,0,1073741824);}i=D.Pwrite(g.file.fd,c,d);h=BB(i[0],i[1]);e=h[0];f=h[1];return[e,f];};CY.prototype.pwrite=function(c,d){return this.$val.pwrite(c,d);};CY.ptr.prototype.seek=function(c,d){var $ptr,c,d,e,f,g,h;e=new $Int64(0,0);f=$ifaceNil;g=this;h=D.Seek(g.file.fd,c,d);e=h[0];f=h[1];return[e,f];};CY.prototype.seek=function(c,d){return this.$val.seek(c,d);};BY=function(){var $ptr;BW=BZ;};BZ=function(c){var $ptr,c;return!($interfaceIsEqual(c,new D.Errno(45)));};CD=function(c){var $ptr,c,d;d=c.length-1>>0;while(true){if(!(d>0&&(c.charCodeAt(d)===47))){break;}c=$substring(c,0,d);d=d-(1)>>0;}d=d-(1)>>0;while(true){if(!(d>=0)){break;}if(c.charCodeAt(d)===47){c=$substring(c,(d+1>>0));break;}d=d-(1)>>0;}return c;};CF=function(){var $ptr;if(false){return;}$pkg.Args=I();};CM=function(c,d){var $ptr,c,d,e;c.name=CD(d);c.size=c.sys.Size;H.Time.copy(c.modTime,CN($clone(c.sys.Mtimespec,D.Timespec)));c.mode=((((c.sys.Mode&511)>>>0)>>>0));e=(c.sys.Mode&61440)>>>0;if((e===(24576))||(e===(57344))){c.mode=(c.mode|(67108864))>>>0;}else if(e===(8192)){c.mode=(c.mode|(69206016))>>>0;}else if(e===(16384)){c.mode=(c.mode|(2147483648))>>>0;}else if(e===(4096)){c.mode=(c.mode|(33554432))>>>0;}else if(e===(40960)){c.mode=(c.mode|(134217728))>>>0;}else if(e===(32768)){}else if(e===(49152)){c.mode=(c.mode|(16777216))>>>0;}if(!((((c.sys.Mode&1024)>>>0)===0))){c.mode=(c.mode|(4194304))>>>0;}if(!((((c.sys.Mode&2048)>>>0)===0))){c.mode=(c.mode|(8388608))>>>0;}if(!((((c.sys.Mode&512)>>>0)===0))){c.mode=(c.mode|(1048576))>>>0;}};CN=function(c){var $ptr,c;return H.Unix((c.Sec),(c.Nsec));};CY.ptr.prototype.Stat=function(){var $ptr,c,d,e;c=this;if(c===DG.nil){return[$ifaceNil,$pkg.ErrInvalid];}d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Fstat(c.file.fd,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"stat\",c.file.name,e)];}CM(d,c.file.name);return[d,$ifaceNil];};CY.prototype.Stat=function(){return this.$val.Stat();};CQ=function(c){var $ptr,c,d,e;d=new DC.ptr(\"\",new $Int64(0,0),0,new H.Time.ptr(new $Int64(0,0),0,EE.nil),new D.Stat_t.ptr(0,0,0,new $Uint64(0,0),0,0,0,DU.zero(),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new D.Timespec.ptr(new $Int64(0,0),new $Int64(0,0)),new $Int64(0,0),new $Int64(0,0),0,0,0,0,EF.zero()));e=D.Lstat(c,d.sys);if(!($interfaceIsEqual(e,$ifaceNil))){return[$ifaceNil,new X.ptr(\"lstat\",c,e)];}CM(d,c);return[d,$ifaceNil];};$pkg.Lstat=CQ;CW=function(){var $ptr,c,d,e,f,g,h,i;c=D.Sysctl(\"kern.osrelease\");d=c[0];e=c[1];if(!($interfaceIsEqual(e,$ifaceNil))){return;}f=0;g=d;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);f=h;if(!((d.charCodeAt(f)===46))){h+=i[1];continue;}h+=i[1];}if(f>2||(f===2)&&d.charCodeAt(0)>=49&&d.charCodeAt(1)>=49){CV=true;}};DA.prototype.String=function(){var $ptr,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;c=this.$val;d=EH.zero();e=0;f=\"dalTLDpSugct\";g=0;while(true){if(!(g<f.length)){break;}h=$decodeRune(f,g);i=g;j=h[0];if(!((((c&(((k=(((31-i>>0)>>>0)),k<32?(1<<k):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((j<<24>>>24)));e=e+(1)>>0;}g+=h[1];}if(e===0){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);e=e+(1)>>0;}l=\"rwxrwxrwx\";m=0;while(true){if(!(m<l.length)){break;}n=$decodeRune(l,m);o=m;p=n[0];if(!((((c&(((q=(((8-o>>0)>>>0)),q<32?(1<<q):0)>>>0)))>>>0)===0))){((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=((p<<24>>>24)));}else{((e<0||e>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[e]=45);}e=e+(1)>>0;m+=n[1];}return($bytesToString($subslice(new DJ(d),0,e)));};$ptrType(DA).prototype.String=function(){return new DA(this.$get()).String();};DA.prototype.IsDir=function(){var $ptr,c;c=this.$val;return!((((c&2147483648)>>>0)===0));};$ptrType(DA).prototype.IsDir=function(){return new DA(this.$get()).IsDir();};DA.prototype.IsRegular=function(){var $ptr,c;c=this.$val;return((c&2399141888)>>>0)===0;};$ptrType(DA).prototype.IsRegular=function(){return new DA(this.$get()).IsRegular();};DA.prototype.Perm=function(){var $ptr,c;c=this.$val;return(c&511)>>>0;};$ptrType(DA).prototype.Perm=function(){return new DA(this.$get()).Perm();};DC.ptr.prototype.Name=function(){var $ptr,c;c=this;return c.name;};DC.prototype.Name=function(){return this.$val.Name();};DC.ptr.prototype.IsDir=function(){var $ptr,c;c=this;return new DA(c.Mode()).IsDir();};DC.prototype.IsDir=function(){return this.$val.IsDir();};DC.ptr.prototype.Size=function(){var $ptr,c;c=this;return c.size;};DC.prototype.Size=function(){return this.$val.Size();};DC.ptr.prototype.Mode=function(){var $ptr,c;c=this;return c.mode;};DC.prototype.Mode=function(){return this.$val.Mode();};DC.ptr.prototype.ModTime=function(){var $ptr,c;c=this;return c.modTime;};DC.prototype.ModTime=function(){return this.$val.ModTime();};DC.ptr.prototype.Sys=function(){var $ptr,c;c=this;return c.sys;};DC.prototype.Sys=function(){return this.$val.Sys();};DK.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DM.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DL.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];DZ.methods=[{prop:\"close\",name:\"close\",pkg:\"os\",typ:$funcType([],[$error],false)}];DG.methods=[{prop:\"Readdir\",name:\"Readdir\",pkg:\"\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"Readdirnames\",name:\"Readdirnames\",pkg:\"\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"readdir\",name:\"readdir\",pkg:\"os\",typ:$funcType([$Int],[DH,$error],false)},{prop:\"readdirnames\",name:\"readdirnames\",pkg:\"os\",typ:$funcType([$Int],[DF,$error],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"ReadAt\",name:\"ReadAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"WriteAt\",name:\"WriteAt\",pkg:\"\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"Seek\",name:\"Seek\",pkg:\"\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[$Int,$error],false)},{prop:\"Chdir\",name:\"Chdir\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"checkValid\",name:\"checkValid\",pkg:\"os\",typ:$funcType([$String],[$error],false)},{prop:\"Chmod\",name:\"Chmod\",pkg:\"\",typ:$funcType([DA],[$error],false)},{prop:\"Chown\",name:\"Chown\",pkg:\"\",typ:$funcType([$Int,$Int],[$error],false)},{prop:\"Truncate\",name:\"Truncate\",pkg:\"\",typ:$funcType([$Int64],[$error],false)},{prop:\"Sync\",name:\"Sync\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"Fd\",name:\"Fd\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"read\",name:\"read\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pread\",name:\"pread\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"write\",name:\"write\",pkg:\"os\",typ:$funcType([DJ],[$Int,$error],false)},{prop:\"pwrite\",name:\"pwrite\",pkg:\"os\",typ:$funcType([DJ,$Int64],[$Int,$error],false)},{prop:\"seek\",name:\"seek\",pkg:\"os\",typ:$funcType([$Int64,$Int],[$Int64,$error],false)},{prop:\"Stat\",name:\"Stat\",pkg:\"\",typ:$funcType([],[CZ,$error],false)}];DA.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"IsRegular\",name:\"IsRegular\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Perm\",name:\"Perm\",pkg:\"\",typ:$funcType([],[DA],false)}];EI.methods=[{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}];X.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Path\",name:\"Path\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);Y.init(\"\",[{prop:\"Syscall\",name:\"Syscall\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);AU.init(\"\",[{prop:\"Op\",name:\"Op\",exported:true,typ:$String,tag:\"\"},{prop:\"Old\",name:\"Old\",exported:true,typ:$String,tag:\"\"},{prop:\"New\",name:\"New\",exported:true,typ:$String,tag:\"\"},{prop:\"Err\",name:\"Err\",exported:true,typ:$error,tag:\"\"}]);BL.init(\"os\",[{prop:\"fd\",name:\"fd\",exported:false,typ:$Int,tag:\"\"},{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"dirinfo\",name:\"dirinfo\",exported:false,typ:DI,tag:\"\"}]);BN.init(\"os\",[{prop:\"buf\",name:\"buf\",exported:false,typ:DJ,tag:\"\"},{prop:\"nbuf\",name:\"nbuf\",exported:false,typ:$Int,tag:\"\"},{prop:\"bufp\",name:\"bufp\",exported:false,typ:$Int,tag:\"\"}]);CY.init(\"os\",[{prop:\"file\",name:\"\",exported:false,typ:DZ,tag:\"\"}]);CZ.init([{prop:\"IsDir\",name:\"IsDir\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ModTime\",name:\"ModTime\",pkg:\"\",typ:$funcType([],[H.Time],false)},{prop:\"Mode\",name:\"Mode\",pkg:\"\",typ:$funcType([],[DA],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"Sys\",name:\"Sys\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)}]);DC.init(\"os\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"size\",name:\"size\",exported:false,typ:$Int64,tag:\"\"},{prop:\"mode\",name:\"mode\",exported:false,typ:DA,tag:\"\"},{prop:\"modTime\",name:\"modTime\",exported:false,typ:H.Time,tag:\"\"},{prop:\"sys\",name:\"sys\",exported:false,typ:D.Stat_t,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.Args=DF.nil;CV=false;$pkg.ErrInvalid=A.New(\"invalid argument\");$pkg.ErrPermission=A.New(\"permission denied\");$pkg.ErrExist=A.New(\"file already exists\");$pkg.ErrNotExist=A.New(\"file does not exist\");$pkg.ErrClosed=A.New(\"file already closed\");AR=A.New(\"os: process already finished\");BW=(function(c){var $ptr,c;return true;});AZ=CQ;$pkg.Stdin=BM(((D.Stdin>>>0)),\"/dev/stdin\");$pkg.Stdout=BM(((D.Stdout>>>0)),\"/dev/stdout\");$pkg.Stderr=BM(((D.Stderr>>>0)),\"/dev/stderr\");J();BY();CF();CW();}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode/utf8\"]=(function(){var $pkg={},$init,B,A,C,G,J,K,L,M,Q;B=$pkg.acceptRange=$newType(0,$kindStruct,\"utf8.acceptRange\",true,\"unicode/utf8\",false,function(lo_,hi_){this.$val=this;if(arguments.length===0){this.lo=0;this.hi=0;return;}this.lo=lo_;this.hi=hi_;});G=function(a){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;b=0;c=0;d=a.length;if(d<1){e=65533;f=0;b=e;c=f;return[b,c];}g=a.charCodeAt(0);h=((g<0||g>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[g]);if(h>=240){i=(((h>>0))<<31>>0)>>31>>0;j=((((a.charCodeAt(0)>>0))&~i)>>0)|(65533&i);k=1;b=j;c=k;return[b,c];}l=(h&7)>>>0;n=$clone((m=h>>>4<<24>>>24,((m<0||m>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[m])),B);if(d<((l>>0))){o=65533;p=1;b=o;c=p;return[b,c];}q=a.charCodeAt(1);if(q<n.lo||n.hi<q){r=65533;s=1;b=r;c=s;return[b,c];}if(l===2){t=(((((g&31)>>>0)>>0))<<6>>0)|((((q&63)>>>0)>>0));u=2;b=t;c=u;return[b,c];}v=a.charCodeAt(2);if(v<128||191<v){w=65533;x=1;b=w;c=x;return[b,c];}if(l===3){y=((((((g&15)>>>0)>>0))<<12>>0)|(((((q&63)>>>0)>>0))<<6>>0))|((((v&63)>>>0)>>0));z=3;b=y;c=z;return[b,c];}aa=a.charCodeAt(3);if(aa<128||191<aa){ab=65533;ac=1;b=ab;c=ac;return[b,c];}ad=(((((((g&7)>>>0)>>0))<<18>>0)|(((((q&63)>>>0)>>0))<<12>>0))|(((((v&63)>>>0)>>0))<<6>>0))|((((aa&63)>>>0)>>0));ae=4;b=ad;c=ae;return[b,c];};$pkg.DecodeRuneInString=G;J=function(a){var $ptr,a;if(a<0){return-1;}else if(a<=127){return 1;}else if(a<=2047){return 2;}else if(55296<=a&&a<=57343){return-1;}else if(a<=65535){return 3;}else if(a<=1114111){return 4;}return-1;};$pkg.RuneLen=J;K=function(a,b){var $ptr,a,b,c;c=((b>>>0));if(c<=127){(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((b<<24>>>24)));return 1;}else if(c<=2047){$unused((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((192|(((b>>6>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 2;}else if((c>1114111)||(55296<=c&&c<=57343)){b=65533;$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else if(c<=65535){$unused((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((224|(((b>>12>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 3;}else{$unused((3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]));(0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]=((240|(((b>>18>>0)<<24>>>24)))>>>0));(1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]=((128|(((((b>>12>>0)<<24>>>24))&63)>>>0))>>>0));(2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]=((128|(((((b>>6>>0)<<24>>>24))&63)>>>0))>>>0));(3>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+3]=((128|((((b<<24>>>24))&63)>>>0))>>>0));return 4;}};$pkg.EncodeRune=K;L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=a.$length;c=0;d=0;while(true){if(!(d<b)){break;}c=c+(1)>>0;e=((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]);if(e<128){d=d+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>b){d=d+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);k=(j=d+1>>0,((j<0||j>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+j]));if(k<i.lo||i.hi<k){g=1;}else if(g===2){}else{m=(l=d+2>>0,((l<0||l>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+l]));if(m<128||191<m){g=1;}else if(g===3){}else{o=(n=d+3>>0,((n<0||n>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+n]));if(o<128||191<o){g=1;}}}d=d+(g)>>0;}return c;};$pkg.RuneCount=L;M=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;b=0;c=a.length;d=0;while(true){if(!(d<c)){break;}e=a.charCodeAt(d);if(e<128){d=d+(1)>>0;b=b+(1)>>0;continue;}f=((e<0||e>=A.length)?($throwRuntimeError(\"index out of range\"),undefined):A[e]);if(f===241){d=d+(1)>>0;b=b+(1)>>0;continue;}g=((((f&7)>>>0)>>0));if((d+g>>0)>c){d=d+(1)>>0;b=b+(1)>>0;continue;}i=$clone((h=f>>>4<<24>>>24,((h<0||h>=C.length)?($throwRuntimeError(\"index out of range\"),undefined):C[h])),B);j=a.charCodeAt((d+1>>0));if(j<i.lo||i.hi<j){g=1;}else if(g===2){}else{k=a.charCodeAt((d+2>>0));if(k<128||191<k){g=1;}else if(g===3){}else{l=a.charCodeAt((d+3>>0));if(l<128||191<l){g=1;}}}d=d+(g)>>0;b=b+(1)>>0;}b=b;return b;};$pkg.RuneCountInString=M;Q=function(a){var $ptr,a;if(0<=a&&a<55296){return true;}else if(57343<a&&a<=1114111){return true;}return false;};$pkg.ValidRune=Q;B.init(\"unicode/utf8\",[{prop:\"lo\",name:\"lo\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"hi\",name:\"hi\",exported:false,typ:$Uint8,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint8,[240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,241,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,19,3,3,3,3,3,3,3,3,3,3,3,3,35,3,3,52,4,4,4,68,241,241,241,241,241,241,241,241,241,241,241]);C=$toNativeArray($kindStruct,[new B.ptr(128,191),new B.ptr(160,191),new B.ptr(128,159),new B.ptr(144,191),new B.ptr(128,143)]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strconv\"]=(function(){var $pkg={},$init,B,A,C,Y,AC,AH,AO,AX,CV,CW,CX,CY,DA,DB,DC,DD,DE,DF,DG,DH,DI,G,AD,AI,AJ,AK,AP,CQ,AQ,CR,BD,BE,BF,BG,BH,BN,Z,AA,AB,AE,AF,AG,AL,AM,AN,AS,AT,AU,AV,AW,AY,AZ,BA,BB,BC,BJ,BK,BO,BR,BS,BT,BV,BX,CB,CD,CG,CH,CI,CJ,CK,CL,CM,CN,CP;B=$packages[\"errors\"];A=$packages[\"math\"];C=$packages[\"unicode/utf8\"];Y=$pkg.decimal=$newType(0,$kindStruct,\"strconv.decimal\",true,\"strconv\",false,function(d_,nd_,dp_,neg_,trunc_){this.$val=this;if(arguments.length===0){this.d=CY.zero();this.nd=0;this.dp=0;this.neg=false;this.trunc=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;this.trunc=trunc_;});AC=$pkg.leftCheat=$newType(0,$kindStruct,\"strconv.leftCheat\",true,\"strconv\",false,function(delta_,cutoff_){this.$val=this;if(arguments.length===0){this.delta=0;this.cutoff=\"\";return;}this.delta=delta_;this.cutoff=cutoff_;});AH=$pkg.extFloat=$newType(0,$kindStruct,\"strconv.extFloat\",true,\"strconv\",false,function(mant_,exp_,neg_){this.$val=this;if(arguments.length===0){this.mant=new $Uint64(0,0);this.exp=0;this.neg=false;return;}this.mant=mant_;this.exp=exp_;this.neg=neg_;});AO=$pkg.floatInfo=$newType(0,$kindStruct,\"strconv.floatInfo\",true,\"strconv\",false,function(mantbits_,expbits_,bias_){this.$val=this;if(arguments.length===0){this.mantbits=0;this.expbits=0;this.bias=0;return;}this.mantbits=mantbits_;this.expbits=expbits_;this.bias=bias_;});AX=$pkg.decimalSlice=$newType(0,$kindStruct,\"strconv.decimalSlice\",true,\"strconv\",false,function(d_,nd_,dp_,neg_){this.$val=this;if(arguments.length===0){this.d=DA.nil;this.nd=0;this.dp=0;this.neg=false;return;}this.d=d_;this.nd=nd_;this.dp=dp_;this.neg=neg_;});CV=$sliceType(AC);CW=$sliceType($Uint16);CX=$sliceType($Uint32);CY=$arrayType($Uint8,800);DA=$sliceType($Uint8);DB=$arrayType($Uint8,24);DC=$arrayType($Uint8,32);DD=$ptrType(AO);DE=$arrayType($Uint8,65);DF=$arrayType($Uint8,4);DG=$ptrType(Y);DH=$ptrType(AX);DI=$ptrType(AH);Y.ptr.prototype.String=function(){var $ptr,a,b,c,d;a=this;b=10+a.nd>>0;if(a.dp>0){b=b+(a.dp)>>0;}if(a.dp<0){b=b+(-a.dp)>>0;}c=$makeSlice(DA,b);d=0;if((a.nd===0)){return\"0\";}else if(a.dp<=0){((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=48);d=d+(1)>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+(Z($subslice(c,d,(d+-a.dp>>0))))>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;}else if(a.dp<a.nd){d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.dp)))>>0;((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]=46);d=d+(1)>>0;d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),a.dp,a.nd)))>>0;}else{d=d+($copySlice($subslice(c,d),$subslice(new DA(a.d),0,a.nd)))>>0;d=d+(Z($subslice(c,d,((d+a.dp>>0)-a.nd>>0))))>>0;}return($bytesToString($subslice(c,0,d)));};Y.prototype.String=function(){return this.$val.String();};Z=function(a){var $ptr,a,b,c,d;b=a;c=0;while(true){if(!(c<b.$length)){break;}d=c;((d<0||d>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+d]=48);c++;}return a.$length;};AA=function(a){var $ptr,a,b,c;while(true){if(!(a.nd>0&&((b=a.d,c=a.nd-1>>0,((c<0||c>=b.length)?($throwRuntimeError(\"index out of range\"),undefined):b[c]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}};Y.ptr.prototype.Assign=function(a){var $ptr,a,b,c,d,e,f,g,h;b=this;c=DB.zero();d=0;while(true){if(!((a.$high>0||(a.$high===0&&a.$low>0)))){break;}e=$div64(a,new $Uint64(0,10),false);a=(f=$mul64(new $Uint64(0,10),e),new $Uint64(a.$high-f.$high,a.$low-f.$low));((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d]=((new $Uint64(a.$high+0,a.$low+48).$low<<24>>>24)));d=d+(1)>>0;a=e;}b.nd=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}(g=b.d,h=b.nd,((h<0||h>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[h]=((d<0||d>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[d])));b.nd=b.nd+(1)>>0;d=d-(1)>>0;}b.dp=b.nd;AA(b);};Y.prototype.Assign=function(a){return this.$val.Assign(a);};AB=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=0;d=0;e=0;while(true){if(!(((f=b,f<32?(e>>>f):0)>>>0)===0)){break;}if(c>=a.nd){if(e===0){a.nd=0;return;}while(true){if(!(((g=b,g<32?(e>>>g):0)>>>0)===0)){break;}e=e*10>>>0;c=c+(1)>>0;}break;}i=(((h=a.d,((c<0||c>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[c]))>>>0));e=((e*10>>>0)+i>>>0)-48>>>0;c=c+(1)>>0;}a.dp=a.dp-((c-1>>0))>>0;k=(((j=b,j<32?(1<<j):0)>>>0))-1>>>0;while(true){if(!(c<a.nd)){break;}m=(((l=a.d,((c<0||c>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[c]))>>>0));o=(n=b,n<32?(e>>>n):0)>>>0;e=(e&(k))>>>0;(p=a.d,((d<0||d>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[d]=(((o+48>>>0)<<24>>>24))));d=d+(1)>>0;e=((e*10>>>0)+m>>>0)-48>>>0;c=c+(1)>>0;}while(true){if(!(e>0)){break;}r=(q=b,q<32?(e>>>q):0)>>>0;e=(e&(k))>>>0;if(d<800){(s=a.d,((d<0||d>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[d]=(((r+48>>>0)<<24>>>24))));d=d+(1)>>0;}else if(r>0){a.trunc=true;}e=e*10>>>0;}a.nd=d;AA(a);};AE=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<b.length)){break;}if(c>=a.$length){return true;}if(!((((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])===b.charCodeAt(c)))){return((c<0||c>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+c])<b.charCodeAt(c);}c=c+(1)>>0;}return false;};AF=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).delta;if(AE($subslice(new DA(a.d),0,a.nd),((b<0||b>=AD.$length)?($throwRuntimeError(\"index out of range\"),undefined):AD.$array[AD.$offset+b]).cutoff)){c=c-(1)>>0;}d=a.nd;e=a.nd+c>>0;f=0;d=d-(1)>>0;while(true){if(!(d>=0)){break;}f=f+(((g=b,g<32?((((((h=a.d,((d<0||d>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[d]))>>>0))-48>>>0))<<g):0)>>>0))>>>0;j=(i=f/10,(i===i&&i!==1/0&&i!==-1/0)?i>>>0:$throwRuntimeError(\"integer divide by zero\"));k=f-(10*j>>>0)>>>0;e=e-(1)>>0;if(e<800){(l=a.d,((e<0||e>=l.length)?($throwRuntimeError(\"index out of range\"),undefined):l[e]=(((k+48>>>0)<<24>>>24))));}else if(!((k===0))){a.trunc=true;}f=j;d=d-(1)>>0;}while(true){if(!(f>0)){break;}n=(m=f/10,(m===m&&m!==1/0&&m!==-1/0)?m>>>0:$throwRuntimeError(\"integer divide by zero\"));o=f-(10*n>>>0)>>>0;e=e-(1)>>0;if(e<800){(p=a.d,((e<0||e>=p.length)?($throwRuntimeError(\"index out of range\"),undefined):p[e]=(((o+48>>>0)<<24>>>24))));}else if(!((o===0))){a.trunc=true;}f=n;}a.nd=a.nd+(c)>>0;if(a.nd>=800){a.nd=800;}a.dp=a.dp+(c)>>0;AA(a);};Y.ptr.prototype.Shift=function(a){var $ptr,a,b;b=this;if((b.nd===0)){}else if(a>0){while(true){if(!(a>28)){break;}AF(b,28);a=a-(28)>>0;}AF(b,((a>>>0)));}else if(a<0){while(true){if(!(a<-28)){break;}AB(b,28);a=a+(28)>>0;}AB(b,((-a>>>0)));}};Y.prototype.Shift=function(a){return this.$val.Shift(a);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g;if(b<0||b>=a.nd){return false;}if(((c=a.d,((b<0||b>=c.length)?($throwRuntimeError(\"index out of range\"),undefined):c[b]))===53)&&((b+1>>0)===a.nd)){if(a.trunc){return true;}return b>0&&!(((d=(((e=a.d,f=b-1>>0,((f<0||f>=e.length)?($throwRuntimeError(\"index out of range\"),undefined):e[f]))-48<<24>>>24))%2,d===d?d:$throwRuntimeError(\"integer divide by zero\"))===0));}return(g=a.d,((b<0||b>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[b]))>=53;};Y.ptr.prototype.Round=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}if(AG(b,a)){b.RoundUp(a);}else{b.RoundDown(a);}};Y.prototype.Round=function(a){return this.$val.Round(a);};Y.ptr.prototype.RoundDown=function(a){var $ptr,a,b;b=this;if(a<0||a>=b.nd){return;}b.nd=a;AA(b);};Y.prototype.RoundDown=function(a){return this.$val.RoundDown(a);};Y.ptr.prototype.RoundUp=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(a<0||a>=b.nd){return;}c=a-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.d,((c<0||c>=d.length)?($throwRuntimeError(\"index out of range\"),undefined):d[c]));if(e<57){(g=b.d,((c<0||c>=g.length)?($throwRuntimeError(\"index out of range\"),undefined):g[c]=((f=b.d,((c<0||c>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[c]))+(1)<<24>>>24)));b.nd=c+1>>0;return;}c=c-(1)>>0;}b.d[0]=49;b.nd=1;b.dp=b.dp+(1)>>0;};Y.prototype.RoundUp=function(a){return this.$val.RoundUp(a);};Y.ptr.prototype.RoundedInteger=function(){var $ptr,a,b,c,d,e,f,g;a=this;if(a.dp>20){return new $Uint64(4294967295,4294967295);}b=0;c=new $Uint64(0,0);b=0;while(true){if(!(b<a.dp&&b<a.nd)){break;}c=(d=$mul64(c,new $Uint64(0,10)),e=(new $Uint64(0,((f=a.d,((b<0||b>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[b]))-48<<24>>>24))),new $Uint64(d.$high+e.$high,d.$low+e.$low));b=b+(1)>>0;}while(true){if(!(b<a.dp)){break;}c=$mul64(c,(new $Uint64(0,10)));b=b+(1)>>0;}if(AG(a,a.dp)){c=(g=new $Uint64(0,1),new $Uint64(c.$high+g.$high,c.$low+g.$low));}return c;};Y.prototype.RoundedInteger=function(){return this.$val.RoundedInteger();};AH.ptr.prototype.AssignComputeBounds=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;e=new AH.ptr(new $Uint64(0,0),0,false);f=new AH.ptr(new $Uint64(0,0),0,false);g=this;g.mant=a;g.exp=b-((d.mantbits>>0))>>0;g.neg=c;if(g.exp<=0&&(h=$shiftLeft64(($shiftRightUint64(a,((-g.exp>>>0)))),((-g.exp>>>0))),(a.$high===h.$high&&a.$low===h.$low))){g.mant=$shiftRightUint64(g.mant,(((-g.exp>>>0))));g.exp=0;i=$clone(g,AH);j=$clone(g,AH);AH.copy(e,i);AH.copy(f,j);return[e,f];}k=b-d.bias>>0;AH.copy(f,new AH.ptr((l=$mul64(new $Uint64(0,2),g.mant),new $Uint64(l.$high+0,l.$low+1)),g.exp-1>>0,g.neg));if(!((m=$shiftLeft64(new $Uint64(0,1),d.mantbits),(a.$high===m.$high&&a.$low===m.$low)))||(k===1)){AH.copy(e,new AH.ptr((n=$mul64(new $Uint64(0,2),g.mant),new $Uint64(n.$high-0,n.$low-1)),g.exp-1>>0,g.neg));}else{AH.copy(e,new AH.ptr((o=$mul64(new $Uint64(0,4),g.mant),new $Uint64(o.$high-0,o.$low-1)),g.exp-2>>0,g.neg));}return[e,f];};AH.prototype.AssignComputeBounds=function(a,b,c,d){return this.$val.AssignComputeBounds(a,b,c,d);};AH.ptr.prototype.Normalize=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=0;b=this;c=b.mant;d=b.exp;e=c;f=d;if((e.$high===0&&e.$low===0)){a=0;return a;}if((g=$shiftRightUint64(e,32),(g.$high===0&&g.$low===0))){e=$shiftLeft64(e,(32));f=f-(32)>>0;}if((h=$shiftRightUint64(e,48),(h.$high===0&&h.$low===0))){e=$shiftLeft64(e,(16));f=f-(16)>>0;}if((i=$shiftRightUint64(e,56),(i.$high===0&&i.$low===0))){e=$shiftLeft64(e,(8));f=f-(8)>>0;}if((j=$shiftRightUint64(e,60),(j.$high===0&&j.$low===0))){e=$shiftLeft64(e,(4));f=f-(4)>>0;}if((k=$shiftRightUint64(e,62),(k.$high===0&&k.$low===0))){e=$shiftLeft64(e,(2));f=f-(2)>>0;}if((l=$shiftRightUint64(e,63),(l.$high===0&&l.$low===0))){e=$shiftLeft64(e,(1));f=f-(1)>>0;}a=(((b.exp-f>>0)>>>0));m=e;n=f;b.mant=m;b.exp=n;return a;};AH.prototype.Normalize=function(){return this.$val.Normalize();};AH.ptr.prototype.Multiply=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;b=this;c=$shiftRightUint64(b.mant,32);d=(new $Uint64(0,((b.mant.$low>>>0))));e=c;f=d;g=$shiftRightUint64(a.mant,32);h=(new $Uint64(0,((a.mant.$low>>>0))));i=g;j=h;k=$mul64(e,j);l=$mul64(f,i);b.mant=(m=(n=$mul64(e,i),o=$shiftRightUint64(k,32),new $Uint64(n.$high+o.$high,n.$low+o.$low)),p=$shiftRightUint64(l,32),new $Uint64(m.$high+p.$high,m.$low+p.$low));u=(q=(r=(new $Uint64(0,((k.$low>>>0)))),s=(new $Uint64(0,((l.$low>>>0)))),new $Uint64(r.$high+s.$high,r.$low+s.$low)),t=$shiftRightUint64(($mul64(f,j)),32),new $Uint64(q.$high+t.$high,q.$low+t.$low));u=(v=new $Uint64(0,2147483648),new $Uint64(u.$high+v.$high,u.$low+v.$low));b.mant=(w=b.mant,x=($shiftRightUint64(u,32)),new $Uint64(w.$high+x.$high,w.$low+x.$low));b.exp=(b.exp+a.exp>>0)+64>>0;};AH.prototype.Multiply=function(a){return this.$val.Multiply(a);};AH.ptr.prototype.AssignDecimal=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=false;g=this;h=0;if(d){h=h+(4)>>0;}g.mant=a;g.exp=0;g.neg=c;j=(i=((b- -348>>0))/8,(i===i&&i!==1/0&&i!==-1/0)?i>>0:$throwRuntimeError(\"integer divide by zero\"));if(b<-348||j>=87){f=false;return f;}l=(k=((b- -348>>0))%8,k===k?k:$throwRuntimeError(\"integer divide by zero\"));if(l<19&&(m=(n=19-l>>0,((n<0||n>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[n])),(a.$high<m.$high||(a.$high===m.$high&&a.$low<m.$low)))){g.mant=$mul64(g.mant,(((l<0||l>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[l])));g.Normalize();}else{g.Normalize();g.Multiply($clone(((l<0||l>=AI.length)?($throwRuntimeError(\"index out of range\"),undefined):AI[l]),AH));h=h+(4)>>0;}g.Multiply($clone(((j<0||j>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[j]),AH));if(h>0){h=h+(1)>>0;}h=h+(4)>>0;o=g.Normalize();h=(p=(o),p<32?(h<<p):0)>>0;q=e.bias-63>>0;r=0;if(g.exp<=q){r=((63-e.mantbits>>>0)+1>>>0)+(((q-g.exp>>0)>>>0))>>>0;}else{r=63-e.mantbits>>>0;}s=$shiftLeft64(new $Uint64(0,1),((r-1>>>0)));w=(t=g.mant,u=(v=$shiftLeft64(new $Uint64(0,1),r),new $Uint64(v.$high-0,v.$low-1)),new $Uint64(t.$high&u.$high,(t.$low&u.$low)>>>0));if((x=(y=(new $Int64(s.$high,s.$low)),z=(new $Int64(0,h)),new $Int64(y.$high-z.$high,y.$low-z.$low)),aa=(new $Int64(w.$high,w.$low)),(x.$high<aa.$high||(x.$high===aa.$high&&x.$low<aa.$low)))&&(ab=(new $Int64(w.$high,w.$low)),ac=(ad=(new $Int64(s.$high,s.$low)),ae=(new $Int64(0,h)),new $Int64(ad.$high+ae.$high,ad.$low+ae.$low)),(ab.$high<ac.$high||(ab.$high===ac.$high&&ab.$low<ac.$low)))){f=false;return f;}f=true;return f;};AH.prototype.AssignDecimal=function(a,b,c,d,e){return this.$val.AssignDecimal(a,b,c,d,e);};AH.ptr.prototype.frexp10=function(){var $ptr,a,b,c,d,e,f,g,h,i,j;a=0;b=0;c=this;e=(d=($imul(((-46-c.exp>>0)),28))/93,(d===d&&d!==1/0&&d!==-1/0)?d>>0:$throwRuntimeError(\"integer divide by zero\"));g=(f=((e- -348>>0))/8,(f===f&&f!==1/0&&f!==-1/0)?f>>0:$throwRuntimeError(\"integer divide by zero\"));Loop:while(true){h=(c.exp+((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]).exp>>0)+64>>0;if(h<-60){g=g+(1)>>0;}else if(h>-32){g=g-(1)>>0;}else{break Loop;}}c.Multiply($clone(((g<0||g>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[g]),AH));i=-((-348+($imul(g,8))>>0));j=g;a=i;b=j;return[a,b];};AH.prototype.frexp10=function(){return this.$val.frexp10();};AL=function(a,b,c){var $ptr,a,b,c,d,e,f;d=0;e=c.frexp10();d=e[0];f=e[1];a.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));b.Multiply($clone(((f<0||f>=AJ.length)?($throwRuntimeError(\"index out of range\"),undefined):AJ[f]),AH));return d;};AH.ptr.prototype.FixedDecimal=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if((d=c.mant,(d.$high===0&&d.$low===0))){a.nd=0;a.dp=0;a.neg=c.neg;return true;}if(b===0){$panic(new $String(\"strconv: internal error: extFloat.FixedDecimal called with n == 0\"));}c.Normalize();e=c.frexp10();f=e[0];g=((-c.exp>>>0));h=(($shiftRightUint64(c.mant,g).$low>>>0));k=(i=c.mant,j=$shiftLeft64((new $Uint64(0,h)),g),new $Uint64(i.$high-j.$high,i.$low-j.$low));l=new $Uint64(0,1);m=b;n=0;o=new $Uint64(0,1);p=0;q=new $Uint64(0,1);r=p;s=q;while(true){if(!(r<20)){break;}if((t=(new $Uint64(0,h)),(s.$high>t.$high||(s.$high===t.$high&&s.$low>t.$low)))){n=r;break;}s=$mul64(s,(new $Uint64(0,10)));r=r+(1)>>0;}u=h;if(n>m){o=(v=n-m>>0,((v<0||v>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[v]));h=(w=h/(((o.$low>>>0))),(w===w&&w!==1/0&&w!==-1/0)?w>>>0:$throwRuntimeError(\"integer divide by zero\"));u=u-(($imul(h,((o.$low>>>0)))>>>0))>>>0;}else{u=0;}x=DC.zero();y=32;z=h;while(true){if(!(z>0)){break;}ab=(aa=z/10,(aa===aa&&aa!==1/0&&aa!==-1/0)?aa>>>0:$throwRuntimeError(\"integer divide by zero\"));z=z-(($imul(10,ab)>>>0))>>>0;y=y-(1)>>0;((y<0||y>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[y]=(((z+48>>>0)<<24>>>24)));z=ab;}ac=y;while(true){if(!(ac<32)){break;}(ad=a.d,ae=ac-y>>0,((ae<0||ae>=ad.$length)?($throwRuntimeError(\"index out of range\"),undefined):ad.$array[ad.$offset+ae]=((ac<0||ac>=x.length)?($throwRuntimeError(\"index out of range\"),undefined):x[ac])));ac=ac+(1)>>0;}af=32-y>>0;a.nd=af;a.dp=n+f>>0;m=m-(af)>>0;if(m>0){if(!((u===0))||!((o.$high===0&&o.$low===1))){$panic(new $String(\"strconv: internal error, rest != 0 but needed > 0\"));}while(true){if(!(m>0)){break;}k=$mul64(k,(new $Uint64(0,10)));l=$mul64(l,(new $Uint64(0,10)));if((ag=$mul64(new $Uint64(0,2),l),ah=$shiftLeft64(new $Uint64(0,1),g),(ag.$high>ah.$high||(ag.$high===ah.$high&&ag.$low>ah.$low)))){return false;}ai=$shiftRightUint64(k,g);(aj=a.d,((af<0||af>=aj.$length)?($throwRuntimeError(\"index out of range\"),undefined):aj.$array[aj.$offset+af]=((new $Uint64(ai.$high+0,ai.$low+48).$low<<24>>>24))));k=(ak=$shiftLeft64(ai,g),new $Uint64(k.$high-ak.$high,k.$low-ak.$low));af=af+(1)>>0;m=m-(1)>>0;}a.nd=af;}am=AM(a,(al=$shiftLeft64((new $Uint64(0,u)),g),new $Uint64(al.$high|k.$high,(al.$low|k.$low)>>>0)),o,g,l);if(!am){return false;}an=a.nd-1>>0;while(true){if(!(an>=0)){break;}if(!(((ao=a.d,((an<0||an>=ao.$length)?($throwRuntimeError(\"index out of range\"),undefined):ao.$array[ao.$offset+an]))===48))){a.nd=an+1>>0;break;}an=an-(1)>>0;}return true;};AH.prototype.FixedDecimal=function(a,b){return this.$val.FixedDecimal(a,b);};AM=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;if((f=$shiftLeft64(c,d),(b.$high>f.$high||(b.$high===f.$high&&b.$low>f.$low)))){$panic(new $String(\"strconv: num > den<<shift in adjustLastDigitFixed\"));}if((g=$mul64(new $Uint64(0,2),e),h=$shiftLeft64(c,d),(g.$high>h.$high||(g.$high===h.$high&&g.$low>h.$low)))){$panic(new $String(\"strconv: \\xCE\\xB5 > (den<<shift)/2\"));}if((i=$mul64(new $Uint64(0,2),(new $Uint64(b.$high+e.$high,b.$low+e.$low))),j=$shiftLeft64(c,d),(i.$high<j.$high||(i.$high===j.$high&&i.$low<j.$low)))){return true;}if((k=$mul64(new $Uint64(0,2),(new $Uint64(b.$high-e.$high,b.$low-e.$low))),l=$shiftLeft64(c,d),(k.$high>l.$high||(k.$high===l.$high&&k.$low>l.$low)))){m=a.nd-1>>0;while(true){if(!(m>=0)){break;}if((n=a.d,((m<0||m>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+m]))===57){a.nd=a.nd-(1)>>0;}else{break;}m=m-(1)>>0;}if(m<0){(o=a.d,(0>=o.$length?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+0]=49));a.nd=1;a.dp=a.dp+(1)>>0;}else{(q=a.d,((m<0||m>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+m]=((p=a.d,((m<0||m>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+m]))+(1)<<24>>>24)));}return true;}return false;};AH.ptr.prototype.ShortestDecimal=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;d=this;if((e=d.mant,(e.$high===0&&e.$low===0))){a.nd=0;a.dp=0;a.neg=d.neg;return true;}if((d.exp===0)&&$equal(b,d,AH)&&$equal(b,c,AH)){f=DB.zero();g=23;h=d.mant;while(true){if(!((h.$high>0||(h.$high===0&&h.$low>0)))){break;}i=$div64(h,new $Uint64(0,10),false);h=(j=$mul64(new $Uint64(0,10),i),new $Uint64(h.$high-j.$high,h.$low-j.$low));((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g]=((new $Uint64(h.$high+0,h.$low+48).$low<<24>>>24)));g=g-(1)>>0;h=i;}k=(24-g>>0)-1>>0;l=0;while(true){if(!(l<k)){break;}(n=a.d,((l<0||l>=n.$length)?($throwRuntimeError(\"index out of range\"),undefined):n.$array[n.$offset+l]=(m=(g+1>>0)+l>>0,((m<0||m>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[m]))));l=l+(1)>>0;}o=k;p=k;a.nd=o;a.dp=p;while(true){if(!(a.nd>0&&((q=a.d,r=a.nd-1>>0,((r<0||r>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+r]))===48))){break;}a.nd=a.nd-(1)>>0;}if(a.nd===0){a.dp=0;}a.neg=d.neg;return true;}c.Normalize();if(d.exp>c.exp){d.mant=$shiftLeft64(d.mant,((((d.exp-c.exp>>0)>>>0))));d.exp=c.exp;}if(b.exp>c.exp){b.mant=$shiftLeft64(b.mant,((((b.exp-c.exp>>0)>>>0))));b.exp=c.exp;}s=AL(b,d,c);c.mant=(t=c.mant,u=new $Uint64(0,1),new $Uint64(t.$high+u.$high,t.$low+u.$low));b.mant=(v=b.mant,w=new $Uint64(0,1),new $Uint64(v.$high-w.$high,v.$low-w.$low));x=((-c.exp>>>0));y=(($shiftRightUint64(c.mant,x).$low>>>0));ab=(z=c.mant,aa=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(z.$high-aa.$high,z.$low-aa.$low));ae=(ac=c.mant,ad=b.mant,new $Uint64(ac.$high-ad.$high,ac.$low-ad.$low));ah=(af=c.mant,ag=d.mant,new $Uint64(af.$high-ag.$high,af.$low-ag.$low));ai=0;aj=0;ak=new $Uint64(0,1);al=aj;am=ak;while(true){if(!(al<20)){break;}if((an=(new $Uint64(0,y)),(am.$high>an.$high||(am.$high===an.$high&&am.$low>an.$low)))){ai=al;break;}am=$mul64(am,(new $Uint64(0,10)));al=al+(1)>>0;}ao=0;while(true){if(!(ao<ai)){break;}aq=(ap=(ai-ao>>0)-1>>0,((ap<0||ap>=AK.length)?($throwRuntimeError(\"index out of range\"),undefined):AK[ap]));as=(ar=y/((aq.$low>>>0)),(ar===ar&&ar!==1/0&&ar!==-1/0)?ar>>>0:$throwRuntimeError(\"integer divide by zero\"));(at=a.d,((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao]=(((as+48>>>0)<<24>>>24))));y=y-(($imul(as,((aq.$low>>>0)))>>>0))>>>0;av=(au=$shiftLeft64((new $Uint64(0,y)),x),new $Uint64(au.$high+ab.$high,au.$low+ab.$low));if((av.$high<ae.$high||(av.$high===ae.$high&&av.$low<ae.$low))){a.nd=ao+1>>0;a.dp=ai+s>>0;a.neg=d.neg;return AN(a,av,ah,ae,$shiftLeft64(aq,x),new $Uint64(0,2));}ao=ao+(1)>>0;}a.nd=ai;a.dp=a.nd+s>>0;a.neg=d.neg;aw=0;ax=new $Uint64(0,1);while(true){ab=$mul64(ab,(new $Uint64(0,10)));ax=$mul64(ax,(new $Uint64(0,10)));aw=(($shiftRightUint64(ab,x).$low>>0));(ay=a.d,az=a.nd,((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]=(((aw+48>>0)<<24>>>24))));a.nd=a.nd+(1)>>0;ab=(ba=$shiftLeft64((new $Uint64(0,aw)),x),new $Uint64(ab.$high-ba.$high,ab.$low-ba.$low));if((bb=$mul64(ae,ax),(ab.$high<bb.$high||(ab.$high===bb.$high&&ab.$low<bb.$low)))){return AN(a,ab,$mul64(ah,ax),$mul64(ae,ax),$shiftLeft64(new $Uint64(0,1),x),$mul64(ax,new $Uint64(0,2)));}}};AH.prototype.ShortestDecimal=function(a,b,c){return this.$val.ShortestDecimal(a,b,c);};AN=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if((g=$mul64(new $Uint64(0,2),f),(e.$high<g.$high||(e.$high===g.$high&&e.$low<g.$low)))){return false;}while(true){if(!((h=(i=(j=$div64(e,new $Uint64(0,2),false),new $Uint64(b.$high+j.$high,b.$low+j.$low)),new $Uint64(i.$high+f.$high,i.$low+f.$low)),(h.$high<c.$high||(h.$high===c.$high&&h.$low<c.$low))))){break;}k=a.nd-1>>0;(m=a.d,((k<0||k>=m.$length)?($throwRuntimeError(\"index out of range\"),undefined):m.$array[m.$offset+k]=((l=a.d,((k<0||k>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+k]))-(1)<<24>>>24)));b=(n=e,new $Uint64(b.$high+n.$high,b.$low+n.$low));}if((o=new $Uint64(b.$high+e.$high,b.$low+e.$low),p=(q=(r=$div64(e,new $Uint64(0,2),false),new $Uint64(c.$high+r.$high,c.$low+r.$low)),new $Uint64(q.$high+f.$high,q.$low+f.$low)),(o.$high<p.$high||(o.$high===p.$high&&o.$low<=p.$low)))){return false;}if((b.$high<f.$high||(b.$high===f.$high&&b.$low<f.$low))||(s=new $Uint64(d.$high-f.$high,d.$low-f.$low),(b.$high>s.$high||(b.$high===s.$high&&b.$low>s.$low)))){return false;}if((a.nd===1)&&((t=a.d,(0>=t.$length?($throwRuntimeError(\"index out of range\"),undefined):t.$array[t.$offset+0]))===48)){a.nd=0;a.dp=0;}return true;};AS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;return AT(a,b,c,d,e);};$pkg.AppendFloat=AS;AT=function(a,b,c,d,e){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;f=new $Uint64(0,0);g=DD.nil;h=e;if(h===(32)){f=(new $Uint64(0,A.Float32bits(($fround(b)))));g=AP;}else if(h===(64)){f=A.Float64bits(b);g=AQ;}else{$panic(new $String(\"strconv: illegal AppendFloat/FormatFloat bitSize\"));}j=!((i=$shiftRightUint64(f,((g.expbits+g.mantbits>>>0))),(i.$high===0&&i.$low===0)));l=(($shiftRightUint64(f,g.mantbits).$low>>0))&((((k=g.expbits,k<32?(1<<k):0)>>0)-1>>0));o=(m=(n=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(n.$high-0,n.$low-1)),new $Uint64(f.$high&m.$high,(f.$low&m.$low)>>>0));p=l;if(p===((((q=g.expbits,q<32?(1<<q):0)>>0)-1>>0))){r=\"\";if(!((o.$high===0&&o.$low===0))){r=\"NaN\";}else if(j){r=\"-Inf\";}else{r=\"+Inf\";}return $appendSlice(a,r);}else if(p===(0)){l=l+(1)>>0;}else{o=(s=$shiftLeft64(new $Uint64(0,1),g.mantbits),new $Uint64(o.$high|s.$high,(o.$low|s.$low)>>>0));}l=l+(g.bias)>>0;if(c===98){return BA(a,j,o,l,g);}if(!G){return AU(a,d,c,j,o,l,g);}t=new AX.ptr(DA.nil,0,0,false);u=false;v=d<0;if(v){w=new AH.ptr(new $Uint64(0,0),0,false);x=w.AssignComputeBounds(o,l,j,g);y=$clone(x[0],AH);z=$clone(x[1],AH);aa=DC.zero();t.d=new DA(aa);u=w.ShortestDecimal(t,y,z);if(!u){return AU(a,d,c,j,o,l,g);}ab=c;if((ab===(101))||(ab===(69))){d=BC(t.nd-1>>0,0);}else if(ab===(102)){d=BC(t.nd-t.dp>>0,0);}else if((ab===(103))||(ab===(71))){d=t.nd;}}else if(!((c===102))){ac=d;ad=c;if((ad===(101))||(ad===(69))){ac=ac+(1)>>0;}else if((ad===(103))||(ad===(71))){if(d===0){d=1;}ac=d;}if(ac<=15){ae=DB.zero();t.d=new DA(ae);af=new AH.ptr(o,l-((g.mantbits>>0))>>0,j);u=af.FixedDecimal(t,ac);}}if(!u){return AU(a,d,c,j,o,l,g);}return AV(a,v,j,$clone(t,AX),d,c);};AU=function(a,b,c,d,e,f,g){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;h=new Y.ptr(CY.zero(),0,0,false,false);h.Assign(e);h.Shift(f-((g.mantbits>>0))>>0);i=new AX.ptr(DA.nil,0,0,false);j=b<0;if(j){AW(h,e,f,g);AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));k=c;if((k===(101))||(k===(69))){b=i.nd-1>>0;}else if(k===(102)){b=BC(i.nd-i.dp>>0,0);}else if((k===(103))||(k===(71))){b=i.nd;}}else{l=c;if((l===(101))||(l===(69))){h.Round(b+1>>0);}else if(l===(102)){h.Round(h.dp+b>>0);}else if((l===(103))||(l===(71))){if(b===0){b=1;}h.Round(b);}AX.copy(i,new AX.ptr(new DA(h.d),h.nd,h.dp,false));}return AV(a,j,d,$clone(i,AX),b,c);};AV=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i;g=f;if((g===(101))||(g===(69))){return AY(a,c,$clone(d,AX),e,f);}else if(g===(102)){return AZ(a,c,$clone(d,AX),e);}else if((g===(103))||(g===(71))){h=e;if(h>d.nd&&d.nd>=d.dp){h=d.nd;}if(b){h=6;}i=d.dp-1>>0;if(i<-4||i>=h){if(e>d.nd){e=d.nd;}return AY(a,c,$clone(d,AX),e-1>>0,(f+101<<24>>>24)-103<<24>>>24);}if(e>d.dp){e=d.nd;}return AZ(a,c,$clone(d,AX),BC(e-d.dp>>0,0));}return $append(a,37,f);};AW=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;if((b.$high===0&&b.$low===0)){a.nd=0;return;}e=d.bias+1>>0;if(c>e&&($imul(332,((a.dp-a.nd>>0))))>=($imul(100,((c-((d.mantbits>>0))>>0))))){return;}f=new Y.ptr(CY.zero(),0,0,false,false);f.Assign((g=$mul64(b,new $Uint64(0,2)),new $Uint64(g.$high+0,g.$low+1)));f.Shift((c-((d.mantbits>>0))>>0)-1>>0);h=new $Uint64(0,0);i=0;if((j=$shiftLeft64(new $Uint64(0,1),d.mantbits),(b.$high>j.$high||(b.$high===j.$high&&b.$low>j.$low)))||(c===e)){h=new $Uint64(b.$high-0,b.$low-1);i=c;}else{h=(k=$mul64(b,new $Uint64(0,2)),new $Uint64(k.$high-0,k.$low-1));i=c-1>>0;}l=new Y.ptr(CY.zero(),0,0,false,false);l.Assign((m=$mul64(h,new $Uint64(0,2)),new $Uint64(m.$high+0,m.$low+1)));l.Shift((i-((d.mantbits>>0))>>0)-1>>0);o=(n=$div64(b,new $Uint64(0,2),true),(n.$high===0&&n.$low===0));p=0;while(true){if(!(p<a.nd)){break;}q=48;if(p<l.nd){q=(r=l.d,((p<0||p>=r.length)?($throwRuntimeError(\"index out of range\"),undefined):r[p]));}t=(s=a.d,((p<0||p>=s.length)?($throwRuntimeError(\"index out of range\"),undefined):s[p]));u=48;if(p<f.nd){u=(v=f.d,((p<0||p>=v.length)?($throwRuntimeError(\"index out of range\"),undefined):v[p]));}w=!((q===t))||o&&((p+1>>0)===l.nd);x=!((t===u))&&(o||(t+1<<24>>>24)<u||(p+1>>0)<f.nd);if(w&&x){a.Round(p+1>>0);return;}else if(w){a.RoundDown(p+1>>0);return;}else if(x){a.RoundUp(p+1>>0);return;}p=p+(1)>>0;}};AY=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;if(b){a=$append(a,45);}f=48;if(!((c.nd===0))){f=(g=c.d,(0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]));}a=$append(a,f);if(d>0){a=$append(a,46);h=1;i=BB(c.nd,d+1>>0);if(h<i){a=$appendSlice(a,$subslice(c.d,h,i));h=i;}while(true){if(!(h<=d)){break;}a=$append(a,48);h=h+(1)>>0;}}a=$append(a,e);j=c.dp-1>>0;if(c.nd===0){j=0;}if(j<0){f=45;j=-j;}else{f=43;}a=$append(a,f);if(j<10){a=$append(a,48,((j<<24>>>24))+48<<24>>>24);}else if(j<100){a=$append(a,(((k=j/10,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(((l=j%10,l===l?l:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}else{a=$append(a,(((m=j/100,(m===m&&m!==1/0&&m!==-1/0)?m>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24,(n=(((o=j/10,(o===o&&o!==1/0&&o!==-1/0)?o>>0:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))%10,n===n?n:$throwRuntimeError(\"integer divide by zero\"))+48<<24>>>24,(((p=j%10,p===p?p:$throwRuntimeError(\"integer divide by zero\"))<<24>>>24))+48<<24>>>24);}return a;};AZ=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i;if(b){a=$append(a,45);}if(c.dp>0){e=BB(c.nd,c.dp);a=$appendSlice(a,$subslice(c.d,0,e));while(true){if(!(e<c.dp)){break;}a=$append(a,48);e=e+(1)>>0;}}else{a=$append(a,48);}if(d>0){a=$append(a,46);f=0;while(true){if(!(f<d)){break;}g=48;h=c.dp+f>>0;if(0<=h&&h<c.nd){g=(i=c.d,((h<0||h>=i.$length)?($throwRuntimeError(\"index out of range\"),undefined):i.$array[i.$offset+h]));}a=$append(a,g);f=f+(1)>>0;}}return a;};BA=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g;if(b){a=$append(a,45);}f=BO(a,c,10,false,true);a=f[0];a=$append(a,112);d=d-(((e.mantbits>>0)))>>0;if(d>=0){a=$append(a,43);}g=BO(a,(new $Uint64(0,d)),10,d<0,true);a=g[0];return a;};BB=function(a,b){var $ptr,a,b;if(a<b){return a;}return b;};BC=function(a,b){var $ptr,a,b;if(a>b){return a;}return b;};BJ=function(a,b){var $ptr,a,b,c,d;c=BO(DA.nil,(new $Uint64(a.$high,a.$low)),b,(a.$high<0||(a.$high===0&&a.$low<0)),false);d=c[1];return d;};$pkg.FormatInt=BJ;BK=function(a){var $ptr,a;return BJ((new $Int64(0,a)),10);};$pkg.Itoa=BK;BO=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;f=DA.nil;g=\"\";if(c<2||c>36){$panic(new $String(\"strconv: illegal AppendInt/FormatInt base\"));}h=DE.zero();i=65;if(d){b=new $Uint64(-b.$high,-b.$low);}if(c===10){if(true){while(true){if(!((b.$high>0||(b.$high===0&&b.$low>4294967295)))){break;}j=$div64(b,new $Uint64(0,1000000000),false);l=(((k=$mul64(j,new $Uint64(0,1000000000)),new $Uint64(b.$high-k.$high,b.$low-k.$low)).$low>>>0));m=9;while(true){if(!(m>0)){break;}i=i-(1)>>0;o=(n=l/10,(n===n&&n!==1/0&&n!==-1/0)?n>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((l-($imul(o,10)>>>0)>>>0)+48>>>0)<<24>>>24)));l=o;m=m-(1)>>0;}b=j;}}p=((b.$low>>>0));while(true){if(!(p>=10)){break;}i=i-(1)>>0;r=(q=p/10,(q===q&&q!==1/0&&q!==-1/0)?q>>>0:$throwRuntimeError(\"integer divide by zero\"));((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=((((p-($imul(r,10)>>>0)>>>0)+48>>>0)<<24>>>24)));p=r;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=(((p+48>>>0)<<24>>>24)));}else{s=((c<0||c>=BN.length)?($throwRuntimeError(\"index out of range\"),undefined):BN[c]);if(s>0){t=(new $Uint64(0,c));u=((t.$low>>>0))-1>>>0;while(true){if(!((b.$high>t.$high||(b.$high===t.$high&&b.$low>=t.$low)))){break;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((((b.$low>>>0))&u)>>>0)));b=$shiftRightUint64(b,(s));}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}else{v=(new $Uint64(0,c));while(true){if(!((b.$high>v.$high||(b.$high===v.$high&&b.$low>=v.$low)))){break;}i=i-(1)>>0;w=$div64(b,v,false);((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt((((x=$mul64(w,v),new $Uint64(b.$high-x.$high,b.$low-x.$low)).$low>>>0))));b=w;}i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=\"0123456789abcdefghijklmnopqrstuvwxyz\".charCodeAt(((b.$low>>>0))));}}if(d){i=i-(1)>>0;((i<0||i>=h.length)?($throwRuntimeError(\"index out of range\"),undefined):h[i]=45);}if(e){f=$appendSlice(a,$subslice(new DA(h),i));return[f,g];}g=($bytesToString($subslice(new DA(h),i)));return[f,g];};BR=function(a,b,c,d,e){var $ptr,a,b,c,d,e,f,g,h;a=$append(a,c);f=0;while(true){if(!(b.length>0)){break;}g=((b.charCodeAt(0)>>0));f=1;if(g>=128){h=C.DecodeRuneInString(b);g=h[0];f=h[1];}if((f===1)&&(g===65533)){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((b.charCodeAt(0)>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((b.charCodeAt(0)&15)>>>0)));b=$substring(b,f);continue;}a=BT(a,g,f,c,d,e);b=$substring(b,f);}a=$append(a,c);return a;};BS=function(a,b,c,d,e){var $ptr,a,b,c,d,e;a=$append(a,c);if(!C.ValidRune(b)){b=65533;}a=BT(a,b,C.RuneLen(b),c,d,e);a=$append(a,c);return a;};BT=function(a,b,c,d,e,f){var $ptr,a,b,c,d,e,f,g,h,i,j,k;g=DF.zero();if((b===((d>>0)))||(b===92)){a=$append(a,92);a=$append(a,((b<<24>>>24)));return a;}if(e){if(b<128&&CN(b)){a=$append(a,((b<<24>>>24)));return a;}}else if(CN(b)||f&&CP(b)){h=C.EncodeRune(new DA(g),b);a=$appendSlice(a,$subslice(new DA(g),0,h));return a;}i=b;if(i===(7)){a=$appendSlice(a,\"\\\\a\");}else if(i===(8)){a=$appendSlice(a,\"\\\\b\");}else if(i===(12)){a=$appendSlice(a,\"\\\\f\");}else if(i===(10)){a=$appendSlice(a,\"\\\\n\");}else if(i===(13)){a=$appendSlice(a,\"\\\\r\");}else if(i===(9)){a=$appendSlice(a,\"\\\\t\");}else if(i===(11)){a=$appendSlice(a,\"\\\\v\");}else{if(b<32){a=$appendSlice(a,\"\\\\x\");a=$append(a,\"0123456789abcdef\".charCodeAt((((b<<24>>>24))>>>4<<24>>>24)));a=$append(a,\"0123456789abcdef\".charCodeAt(((((b<<24>>>24))&15)>>>0)));}else if(b>1114111){b=65533;a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else if(b<65536){a=$appendSlice(a,\"\\\\u\");j=12;while(true){if(!(j>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((j>>>0)),31))>>0)&15)));j=j-(4)>>0;}}else{a=$appendSlice(a,\"\\\\U\");k=28;while(true){if(!(k>=0)){break;}a=$append(a,\"0123456789abcdef\".charCodeAt((((b>>$min(((k>>>0)),31))>>0)&15)));k=k-(4)>>0;}}}return a;};BV=function(a,b){var $ptr,a,b;return BR(a,b,34,false,false);};$pkg.AppendQuote=BV;BX=function(a,b){var $ptr,a,b;return BR(a,b,34,true,false);};$pkg.AppendQuoteToASCII=BX;CB=function(a,b){var $ptr,a,b;return BS(a,b,39,false,false);};$pkg.AppendQuoteRune=CB;CD=function(a,b){var $ptr,a,b;return BS(a,b,39,true,false);};$pkg.AppendQuoteRuneToASCII=CD;CG=function(a){var $ptr,a,b,c,d;while(true){if(!(a.length>0)){break;}b=C.DecodeRuneInString(a);c=b[0];d=b[1];a=$substring(a,d);if(d>1){if(c===65279){return false;}continue;}if(c===65533){return false;}if((c<32&&!((c===9)))||(c===96)||(c===127)){return false;}}return true;};$pkg.CanBackquote=CG;CH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=0;c=false;d=((a>>0));if(48<=d&&d<=57){e=d-48>>0;f=true;b=e;c=f;return[b,c];}else if(97<=d&&d<=102){g=(d-97>>0)+10>>0;h=true;b=g;c=h;return[b,c];}else if(65<=d&&d<=70){i=(d-65>>0)+10>>0;j=true;b=i;c=j;return[b,c];}return[b,c];};CI=function(a,b){var $ptr,a,aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=0;d=false;e=\"\";f=$ifaceNil;g=a.charCodeAt(0);if((g===b)&&((b===39)||(b===34))){f=$pkg.ErrSyntax;return[c,d,e,f];}else if(g>=128){h=C.DecodeRuneInString(a);i=h[0];j=h[1];k=i;l=true;m=$substring(a,j);n=$ifaceNil;c=k;d=l;e=m;f=n;return[c,d,e,f];}else if(!((g===92))){o=((a.charCodeAt(0)>>0));p=false;q=$substring(a,1);r=$ifaceNil;c=o;d=p;e=q;f=r;return[c,d,e,f];}if(a.length<=1){f=$pkg.ErrSyntax;return[c,d,e,f];}s=a.charCodeAt(1);a=$substring(a,2);switch(0){default:t=s;if(t===(97)){c=7;}else if(t===(98)){c=8;}else if(t===(102)){c=12;}else if(t===(110)){c=10;}else if(t===(114)){c=13;}else if(t===(116)){c=9;}else if(t===(118)){c=11;}else if((t===(120))||(t===(117))||(t===(85))){u=0;v=s;if(v===(120)){u=2;}else if(v===(117)){u=4;}else if(v===(85)){u=8;}w=0;if(a.length<u){f=$pkg.ErrSyntax;return[c,d,e,f];}x=0;while(true){if(!(x<u)){break;}y=CH(a.charCodeAt(x));z=y[0];aa=y[1];if(!aa){f=$pkg.ErrSyntax;return[c,d,e,f];}w=(w<<4>>0)|z;x=x+(1)>>0;}a=$substring(a,u);if(s===120){c=w;break;}if(w>1114111){f=$pkg.ErrSyntax;return[c,d,e,f];}c=w;d=true;}else if((t===(48))||(t===(49))||(t===(50))||(t===(51))||(t===(52))||(t===(53))||(t===(54))||(t===(55))){ab=((s>>0))-48>>0;if(a.length<2){f=$pkg.ErrSyntax;return[c,d,e,f];}ac=0;while(true){if(!(ac<2)){break;}ad=((a.charCodeAt(ac)>>0))-48>>0;if(ad<0||ad>7){f=$pkg.ErrSyntax;return[c,d,e,f];}ab=((ab<<3>>0))|ad;ac=ac+(1)>>0;}a=$substring(a,2);if(ab>255){f=$pkg.ErrSyntax;return[c,d,e,f];}c=ab;}else if(t===(92)){c=92;}else if((t===(39))||(t===(34))){if(!((s===b))){f=$pkg.ErrSyntax;return[c,d,e,f];}c=((s>>0));}else{f=$pkg.ErrSyntax;return[c,d,e,f];}}e=a;return[c,d,e,f];};$pkg.UnquoteChar=CI;CJ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;b=a.length;if(b<2){return[\"\",$pkg.ErrSyntax];}c=a.charCodeAt(0);if(!((c===a.charCodeAt((b-1>>0))))){return[\"\",$pkg.ErrSyntax];}a=$substring(a,1,(b-1>>0));if(c===96){if(CK(a,96)){return[\"\",$pkg.ErrSyntax];}if(CK(a,13)){d=$makeSlice(DA,0,(a.length-1>>0));e=0;while(true){if(!(e<a.length)){break;}if(!((a.charCodeAt(e)===13))){d=$append(d,a.charCodeAt(e));}e=e+(1)>>0;}return[($bytesToString(d)),$ifaceNil];}return[a,$ifaceNil];}if(!((c===34))&&!((c===39))){return[\"\",$pkg.ErrSyntax];}if(CK(a,10)){return[\"\",$pkg.ErrSyntax];}if(!CK(a,92)&&!CK(a,c)){f=c;if(f===(34)){return[a,$ifaceNil];}else if(f===(39)){g=C.DecodeRuneInString(a);h=g[0];i=g[1];if((i===a.length)&&(!((h===65533))||!((i===1)))){return[a,$ifaceNil];}}}j=DF.zero();l=$makeSlice(DA,0,(k=($imul(3,a.length))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\")));while(true){if(!(a.length>0)){break;}m=CI(a,c);n=m[0];o=m[1];p=m[2];q=m[3];if(!($interfaceIsEqual(q,$ifaceNil))){return[\"\",q];}a=p;if(n<128||!o){l=$append(l,((n<<24>>>24)));}else{r=C.EncodeRune(new DA(j),n);l=$appendSlice(l,$subslice(new DA(j),0,r));}if((c===39)&&!((a.length===0))){return[\"\",$pkg.ErrSyntax];}}return[($bytesToString(l)),$ifaceNil];};$pkg.Unquote=CJ;CK=function(a,b){var $ptr,a,b,c;c=0;while(true){if(!(c<a.length)){break;}if(a.charCodeAt(c)===b){return true;}c=c+(1)>>0;}return false;};CL=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CM=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=0;d=a.$length;e=c;f=d;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;if(((h<0||h>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+h])<b){e=h+1>>0;}else{f=h;}}return e;};CN=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;if(a<=255){if(32<=a&&a<=126){return true;}if(161<=a&&a<=255){return!((a===173));}return false;}if(0<=a&&a<65536){b=((a<<16>>>16));c=BD;d=BE;e=b;f=c;g=d;h=CL(f,e);if(h>=f.$length||e<(i=(h&~1)>>0,((i<0||i>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+i]))||(j=h|1,((j<0||j>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+j]))<e){return false;}k=CL(g,e);return k>=g.$length||!((((k<0||k>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+k])===e));}l=((a>>>0));m=BF;n=BG;o=l;p=m;q=n;r=CM(p,o);if(r>=p.$length||o<(s=(r&~1)>>0,((s<0||s>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+s]))||(t=r|1,((t<0||t>=p.$length)?($throwRuntimeError(\"index out of range\"),undefined):p.$array[p.$offset+t]))<o){return false;}if(a>=131072){return true;}a=a-(65536)>>0;u=CL(q,((a<<16>>>16)));return u>=q.$length||!((((u<0||u>=q.$length)?($throwRuntimeError(\"index out of range\"),undefined):q.$array[q.$offset+u])===((a<<16>>>16))));};$pkg.IsPrint=CN;CP=function(a){var $ptr,a,b,c;if(a>65535){return false;}b=((a<<16>>>16));c=CL(BH,b);return c<BH.$length&&(b===((c<0||c>=BH.$length)?($throwRuntimeError(\"index out of range\"),undefined):BH.$array[BH.$offset+c]));};DG.methods=[{prop:\"set\",name:\"set\",pkg:\"strconv\",typ:$funcType([$String],[$Bool],false)},{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Assign\",name:\"Assign\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"Shift\",name:\"Shift\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Round\",name:\"Round\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundDown\",name:\"RoundDown\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundUp\",name:\"RoundUp\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"RoundedInteger\",name:\"RoundedInteger\",pkg:\"\",typ:$funcType([],[$Uint64],false)}];DI.methods=[{prop:\"floatBits\",name:\"floatBits\",pkg:\"strconv\",typ:$funcType([DD],[$Uint64,$Bool],false)},{prop:\"AssignComputeBounds\",name:\"AssignComputeBounds\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,DD],[AH,AH],false)},{prop:\"Normalize\",name:\"Normalize\",pkg:\"\",typ:$funcType([],[$Uint],false)},{prop:\"Multiply\",name:\"Multiply\",pkg:\"\",typ:$funcType([AH],[],false)},{prop:\"AssignDecimal\",name:\"AssignDecimal\",pkg:\"\",typ:$funcType([$Uint64,$Int,$Bool,$Bool,DD],[$Bool],false)},{prop:\"frexp10\",name:\"frexp10\",pkg:\"strconv\",typ:$funcType([],[$Int,$Int],false)},{prop:\"FixedDecimal\",name:\"FixedDecimal\",pkg:\"\",typ:$funcType([DH,$Int],[$Bool],false)},{prop:\"ShortestDecimal\",name:\"ShortestDecimal\",pkg:\"\",typ:$funcType([DH,DI,DI],[$Bool],false)}];Y.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:CY,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"},{prop:\"trunc\",name:\"trunc\",exported:false,typ:$Bool,tag:\"\"}]);AC.init(\"strconv\",[{prop:\"delta\",name:\"delta\",exported:false,typ:$Int,tag:\"\"},{prop:\"cutoff\",name:\"cutoff\",exported:false,typ:$String,tag:\"\"}]);AH.init(\"strconv\",[{prop:\"mant\",name:\"mant\",exported:false,typ:$Uint64,tag:\"\"},{prop:\"exp\",name:\"exp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);AO.init(\"strconv\",[{prop:\"mantbits\",name:\"mantbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"expbits\",name:\"expbits\",exported:false,typ:$Uint,tag:\"\"},{prop:\"bias\",name:\"bias\",exported:false,typ:$Int,tag:\"\"}]);AX.init(\"strconv\",[{prop:\"d\",name:\"d\",exported:false,typ:DA,tag:\"\"},{prop:\"nd\",name:\"nd\",exported:false,typ:$Int,tag:\"\"},{prop:\"dp\",name:\"dp\",exported:false,typ:$Int,tag:\"\"},{prop:\"neg\",name:\"neg\",exported:false,typ:$Bool,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;$pkg.ErrRange=B.New(\"value out of range\");$pkg.ErrSyntax=B.New(\"invalid syntax\");AD=new CV([new AC.ptr(0,\"\"),new AC.ptr(1,\"5\"),new AC.ptr(1,\"25\"),new AC.ptr(1,\"125\"),new AC.ptr(2,\"625\"),new AC.ptr(2,\"3125\"),new AC.ptr(2,\"15625\"),new AC.ptr(3,\"78125\"),new AC.ptr(3,\"390625\"),new AC.ptr(3,\"1953125\"),new AC.ptr(4,\"9765625\"),new AC.ptr(4,\"48828125\"),new AC.ptr(4,\"244140625\"),new AC.ptr(4,\"1220703125\"),new AC.ptr(5,\"6103515625\"),new AC.ptr(5,\"30517578125\"),new AC.ptr(5,\"152587890625\"),new AC.ptr(6,\"762939453125\"),new AC.ptr(6,\"3814697265625\"),new AC.ptr(6,\"19073486328125\"),new AC.ptr(7,\"95367431640625\"),new AC.ptr(7,\"476837158203125\"),new AC.ptr(7,\"2384185791015625\"),new AC.ptr(7,\"11920928955078125\"),new AC.ptr(8,\"59604644775390625\"),new AC.ptr(8,\"298023223876953125\"),new AC.ptr(8,\"1490116119384765625\"),new AC.ptr(9,\"7450580596923828125\"),new AC.ptr(9,\"37252902984619140625\"),new AC.ptr(9,\"186264514923095703125\"),new AC.ptr(10,\"931322574615478515625\"),new AC.ptr(10,\"4656612873077392578125\"),new AC.ptr(10,\"23283064365386962890625\"),new AC.ptr(10,\"116415321826934814453125\"),new AC.ptr(11,\"582076609134674072265625\"),new AC.ptr(11,\"2910383045673370361328125\"),new AC.ptr(11,\"14551915228366851806640625\"),new AC.ptr(12,\"72759576141834259033203125\"),new AC.ptr(12,\"363797880709171295166015625\"),new AC.ptr(12,\"1818989403545856475830078125\"),new AC.ptr(13,\"9094947017729282379150390625\"),new AC.ptr(13,\"45474735088646411895751953125\"),new AC.ptr(13,\"227373675443232059478759765625\"),new AC.ptr(13,\"1136868377216160297393798828125\"),new AC.ptr(14,\"5684341886080801486968994140625\"),new AC.ptr(14,\"28421709430404007434844970703125\"),new AC.ptr(14,\"142108547152020037174224853515625\"),new AC.ptr(15,\"710542735760100185871124267578125\"),new AC.ptr(15,\"3552713678800500929355621337890625\"),new AC.ptr(15,\"17763568394002504646778106689453125\"),new AC.ptr(16,\"88817841970012523233890533447265625\"),new AC.ptr(16,\"444089209850062616169452667236328125\"),new AC.ptr(16,\"2220446049250313080847263336181640625\"),new AC.ptr(16,\"11102230246251565404236316680908203125\"),new AC.ptr(17,\"55511151231257827021181583404541015625\"),new AC.ptr(17,\"277555756156289135105907917022705078125\"),new AC.ptr(17,\"1387778780781445675529539585113525390625\"),new AC.ptr(18,\"6938893903907228377647697925567626953125\"),new AC.ptr(18,\"34694469519536141888238489627838134765625\"),new AC.ptr(18,\"173472347597680709441192448139190673828125\"),new AC.ptr(19,\"867361737988403547205962240695953369140625\")]);AI=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(2147483648,0),-63,false),new AH.ptr(new $Uint64(2684354560,0),-60,false),new AH.ptr(new $Uint64(3355443200,0),-57,false),new AH.ptr(new $Uint64(4194304000,0),-54,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3276800000,0),-47,false),new AH.ptr(new $Uint64(4096000000,0),-44,false),new AH.ptr(new $Uint64(2560000000,0),-40,false)]);AJ=$toNativeArray($kindStruct,[new AH.ptr(new $Uint64(4203730336,136053384),-1220,false),new AH.ptr(new $Uint64(3132023167,2722021238),-1193,false),new AH.ptr(new $Uint64(2333539104,810921078),-1166,false),new AH.ptr(new $Uint64(3477244234,1573795306),-1140,false),new AH.ptr(new $Uint64(2590748842,1432697645),-1113,false),new AH.ptr(new $Uint64(3860516611,1025131999),-1087,false),new AH.ptr(new $Uint64(2876309015,3348809418),-1060,false),new AH.ptr(new $Uint64(4286034428,3200048207),-1034,false),new AH.ptr(new $Uint64(3193344495,1097586188),-1007,false),new AH.ptr(new $Uint64(2379227053,2424306748),-980,false),new AH.ptr(new $Uint64(3545324584,827693699),-954,false),new AH.ptr(new $Uint64(2641472655,2913388981),-927,false),new AH.ptr(new $Uint64(3936100983,602835915),-901,false),new AH.ptr(new $Uint64(2932623761,1081627501),-874,false),new AH.ptr(new $Uint64(2184974969,1572261463),-847,false),new AH.ptr(new $Uint64(3255866422,1308317239),-821,false),new AH.ptr(new $Uint64(2425809519,944281679),-794,false),new AH.ptr(new $Uint64(3614737867,629291719),-768,false),new AH.ptr(new $Uint64(2693189581,2545915892),-741,false),new AH.ptr(new $Uint64(4013165208,388672741),-715,false),new AH.ptr(new $Uint64(2990041083,708162190),-688,false),new AH.ptr(new $Uint64(2227754207,3536207675),-661,false),new AH.ptr(new $Uint64(3319612455,450088378),-635,false),new AH.ptr(new $Uint64(2473304014,3139815830),-608,false),new AH.ptr(new $Uint64(3685510180,2103616900),-582,false),new AH.ptr(new $Uint64(2745919064,224385782),-555,false),new AH.ptr(new $Uint64(4091738259,3737383206),-529,false),new AH.ptr(new $Uint64(3048582568,2868871352),-502,false),new AH.ptr(new $Uint64(2271371013,1820084875),-475,false),new AH.ptr(new $Uint64(3384606560,885076051),-449,false),new AH.ptr(new $Uint64(2521728396,2444895829),-422,false),new AH.ptr(new $Uint64(3757668132,1881767613),-396,false),new AH.ptr(new $Uint64(2799680927,3102062735),-369,false),new AH.ptr(new $Uint64(4171849679,2289335700),-343,false),new AH.ptr(new $Uint64(3108270227,2410191823),-316,false),new AH.ptr(new $Uint64(2315841784,3205436779),-289,false),new AH.ptr(new $Uint64(3450873173,1697722806),-263,false),new AH.ptr(new $Uint64(2571100870,3497754540),-236,false),new AH.ptr(new $Uint64(3831238852,707476230),-210,false),new AH.ptr(new $Uint64(2854495385,1769181907),-183,false),new AH.ptr(new $Uint64(4253529586,2197867022),-157,false),new AH.ptr(new $Uint64(3169126500,2450594539),-130,false),new AH.ptr(new $Uint64(2361183241,1867548876),-103,false),new AH.ptr(new $Uint64(3518437208,3793315116),-77,false),new AH.ptr(new $Uint64(2621440000,0),-50,false),new AH.ptr(new $Uint64(3906250000,0),-24,false),new AH.ptr(new $Uint64(2910383045,2892103680),3,false),new AH.ptr(new $Uint64(2168404344,4170451332),30,false),new AH.ptr(new $Uint64(3231174267,3372684723),56,false),new AH.ptr(new $Uint64(2407412430,2078956656),83,false),new AH.ptr(new $Uint64(3587324068,2884206696),109,false),new AH.ptr(new $Uint64(2672764710,395977285),136,false),new AH.ptr(new $Uint64(3982729777,3569679143),162,false),new AH.ptr(new $Uint64(2967364920,2361961896),189,false),new AH.ptr(new $Uint64(2210859150,447440347),216,false),new AH.ptr(new $Uint64(3294436857,1114709402),242,false),new AH.ptr(new $Uint64(2454546732,2786846552),269,false),new AH.ptr(new $Uint64(3657559652,443583978),295,false),new AH.ptr(new $Uint64(2725094297,2599384906),322,false),new AH.ptr(new $Uint64(4060706939,3028118405),348,false),new AH.ptr(new $Uint64(3025462433,2044532855),375,false),new AH.ptr(new $Uint64(2254145170,1536935362),402,false),new AH.ptr(new $Uint64(3358938053,3365297469),428,false),new AH.ptr(new $Uint64(2502603868,4204241075),455,false),new AH.ptr(new $Uint64(3729170365,2577424355),481,false),new AH.ptr(new $Uint64(2778448436,3677981733),508,false),new AH.ptr(new $Uint64(4140210802,2744688476),534,false),new AH.ptr(new $Uint64(3084697427,1424604878),561,false),new AH.ptr(new $Uint64(2298278679,4062331362),588,false),new AH.ptr(new $Uint64(3424702107,3546052773),614,false),new AH.ptr(new $Uint64(2551601907,2065781727),641,false),new AH.ptr(new $Uint64(3802183132,2535403578),667,false),new AH.ptr(new $Uint64(2832847187,1558426518),694,false),new AH.ptr(new $Uint64(4221271257,2762425404),720,false),new AH.ptr(new $Uint64(3145092172,2812560400),747,false),new AH.ptr(new $Uint64(2343276271,3057687578),774,false),new AH.ptr(new $Uint64(3491753744,2790753324),800,false),new AH.ptr(new $Uint64(2601559269,3918606633),827,false),new AH.ptr(new $Uint64(3876625403,2711358621),853,false),new AH.ptr(new $Uint64(2888311001,1648096297),880,false),new AH.ptr(new $Uint64(2151959390,2057817989),907,false),new AH.ptr(new $Uint64(3206669376,61660461),933,false),new AH.ptr(new $Uint64(2389154863,1581580175),960,false),new AH.ptr(new $Uint64(3560118173,2626467905),986,false),new AH.ptr(new $Uint64(2652494738,3034782633),1013,false),new AH.ptr(new $Uint64(3952525166,3135207385),1039,false),new AH.ptr(new $Uint64(2944860731,2616258155),1066,false)]);AK=$toNativeArray($kindUint64,[new $Uint64(0,1),new $Uint64(0,10),new $Uint64(0,100),new $Uint64(0,1000),new $Uint64(0,10000),new $Uint64(0,100000),new $Uint64(0,1000000),new $Uint64(0,10000000),new $Uint64(0,100000000),new $Uint64(0,1000000000),new $Uint64(2,1410065408),new $Uint64(23,1215752192),new $Uint64(232,3567587328),new $Uint64(2328,1316134912),new $Uint64(23283,276447232),new $Uint64(232830,2764472320),new $Uint64(2328306,1874919424),new $Uint64(23283064,1569325056),new $Uint64(232830643,2808348672),new $Uint64(2328306436,2313682944)]);AP=new AO.ptr(23,8,-127);AQ=new AO.ptr(52,11,-1023);BD=new CW([32,126,161,887,890,895,900,1366,1369,1418,1421,1479,1488,1514,1520,1524,1542,1563,1566,1805,1808,1866,1869,1969,1984,2042,2048,2093,2096,2139,2142,2142,2208,2237,2260,2444,2447,2448,2451,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2531,2534,2555,2561,2570,2575,2576,2579,2617,2620,2626,2631,2632,2635,2637,2641,2641,2649,2654,2662,2677,2689,2745,2748,2765,2768,2768,2784,2787,2790,2801,2809,2809,2817,2828,2831,2832,2835,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2915,2918,2935,2946,2954,2958,2965,2969,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3021,3024,3024,3031,3031,3046,3066,3072,3129,3133,3149,3157,3162,3168,3171,3174,3183,3192,3257,3260,3277,3285,3286,3294,3299,3302,3314,3329,3386,3389,3407,3412,3427,3430,3455,3458,3478,3482,3517,3520,3526,3530,3530,3535,3551,3558,3567,3570,3572,3585,3642,3647,3675,3713,3716,3719,3722,3725,3725,3732,3751,3754,3773,3776,3789,3792,3801,3804,3807,3840,3948,3953,4058,4096,4295,4301,4301,4304,4685,4688,4701,4704,4749,4752,4789,4792,4805,4808,4885,4888,4954,4957,4988,4992,5017,5024,5109,5112,5117,5120,5788,5792,5880,5888,5908,5920,5942,5952,5971,5984,6003,6016,6109,6112,6121,6128,6137,6144,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6443,6448,6459,6464,6464,6468,6509,6512,6516,6528,6571,6576,6601,6608,6618,6622,6683,6686,6780,6783,6793,6800,6809,6816,6829,6832,6846,6912,6987,6992,7036,7040,7155,7164,7223,7227,7241,7245,7304,7360,7367,7376,7417,7424,7669,7675,7957,7960,7965,7968,8005,8008,8013,8016,8061,8064,8147,8150,8175,8178,8190,8208,8231,8240,8286,8304,8305,8308,8348,8352,8382,8400,8432,8448,8587,8592,9254,9280,9290,9312,11123,11126,11157,11160,11193,11197,11217,11244,11247,11264,11507,11513,11559,11565,11565,11568,11623,11631,11632,11647,11670,11680,11844,11904,12019,12032,12245,12272,12283,12289,12438,12441,12543,12549,12589,12593,12730,12736,12771,12784,19893,19904,40917,40960,42124,42128,42182,42192,42539,42560,42743,42752,42935,42999,43051,43056,43065,43072,43127,43136,43205,43214,43225,43232,43261,43264,43347,43359,43388,43392,43481,43486,43574,43584,43597,43600,43609,43612,43714,43739,43766,43777,43782,43785,43790,43793,43798,43808,43877,43888,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64449,64467,64831,64848,64911,64914,64967,65008,65021,65024,65049,65056,65131,65136,65276,65281,65470,65474,65479,65482,65487,65490,65495,65498,65500,65504,65518,65532,65533]);BE=new CW([173,907,909,930,1328,1376,1416,1424,1757,2111,2229,2274,2436,2473,2481,2526,2564,2601,2609,2612,2615,2621,2653,2692,2702,2706,2729,2737,2740,2758,2762,2820,2857,2865,2868,2910,2948,2961,2971,2973,3017,3076,3085,3089,3113,3141,3145,3159,3204,3213,3217,3241,3252,3269,3273,3295,3312,3332,3341,3345,3397,3401,3460,3506,3516,3541,3543,3715,3721,3736,3744,3748,3750,3756,3770,3781,3783,3912,3992,4029,4045,4294,4681,4695,4697,4745,4785,4799,4801,4823,4881,5760,5901,5997,6001,6431,6751,7415,8024,8026,8028,8030,8117,8133,8156,8181,8335,9215,11209,11311,11359,11558,11687,11695,11703,11711,11719,11727,11735,11743,11930,12352,12687,12831,13055,42927,43470,43519,43815,43823,64311,64317,64319,64322,64325,65107,65127,65141,65511]);BF=new CX([65536,65613,65616,65629,65664,65786,65792,65794,65799,65843,65847,65947,65952,65952,66000,66045,66176,66204,66208,66256,66272,66299,66304,66339,66352,66378,66384,66426,66432,66499,66504,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,66927,66927,67072,67382,67392,67413,67424,67431,67584,67589,67592,67640,67644,67644,67647,67742,67751,67759,67808,67829,67835,67867,67871,67897,67903,67903,67968,68023,68028,68047,68050,68102,68108,68147,68152,68154,68159,68167,68176,68184,68192,68255,68288,68326,68331,68342,68352,68405,68409,68437,68440,68466,68472,68497,68505,68508,68521,68527,68608,68680,68736,68786,68800,68850,68858,68863,69216,69246,69632,69709,69714,69743,69759,69825,69840,69864,69872,69881,69888,69955,69968,70006,70016,70093,70096,70132,70144,70206,70272,70313,70320,70378,70384,70393,70400,70412,70415,70416,70419,70457,70460,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70749,70784,70855,70864,70873,71040,71093,71096,71133,71168,71236,71248,71257,71264,71276,71296,71351,71360,71369,71424,71449,71453,71467,71472,71487,71840,71922,71935,71935,72384,72440,72704,72773,72784,72812,72816,72847,72850,72886,73728,74649,74752,74868,74880,75075,77824,78894,82944,83526,92160,92728,92736,92777,92782,92783,92880,92909,92912,92917,92928,92997,93008,93047,93053,93071,93952,94020,94032,94078,94095,94111,94176,94176,94208,100332,100352,101106,110592,110593,113664,113770,113776,113788,113792,113800,113808,113817,113820,113823,118784,119029,119040,119078,119081,119154,119163,119272,119296,119365,119552,119638,119648,119665,119808,119967,119970,119970,119973,119974,119977,120074,120077,120134,120138,120485,120488,120779,120782,121483,121499,121519,122880,122904,122907,122922,124928,125124,125127,125142,125184,125258,125264,125273,125278,125279,126464,126500,126503,126523,126530,126530,126535,126548,126551,126564,126567,126619,126625,126651,126704,126705,126976,127019,127024,127123,127136,127150,127153,127221,127232,127244,127248,127339,127344,127404,127462,127490,127504,127547,127552,127560,127568,127569,127744,128722,128736,128748,128752,128758,128768,128883,128896,128980,129024,129035,129040,129095,129104,129113,129120,129159,129168,129197,129296,129319,129328,129328,129331,129355,129360,129374,129408,129425,129472,129472,131072,173782,173824,177972,177984,178205,178208,183969,194560,195101,917760,917999]);BG=new CW([12,39,59,62,399,926,2057,2102,2134,2291,2564,2580,2584,4285,4405,4576,4626,4743,4745,4750,4766,4868,4905,4913,4916,5210,5212,7177,7223,7336,9327,27231,27482,27490,54357,54429,54445,54458,54460,54468,54534,54549,54557,54586,54591,54597,54609,55968,57351,57378,57381,60932,60960,60963,60968,60979,60984,60986,61000,61002,61004,61008,61011,61016,61018,61020,61022,61024,61027,61035,61043,61048,61053,61055,61066,61092,61098,61632,61648,61743,63775,63807]);BH=new CW([160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288]);BN=$toNativeArray($kindUint,[0,0,1,0,2,0,0,0,3,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"reflect\"]=(function(){var $pkg={},$init,A,C,F,D,B,E,L,N,O,P,AU,BY,BZ,CA,CB,CC,CD,CE,CF,CG,CH,CI,CJ,CK,CL,CM,CN,CP,CY,CZ,DA,DE,DF,DG,EZ,FA,FD,HM,HN,HO,HP,HQ,HR,IG,IH,II,IJ,IK,IL,IM,IN,IO,IP,IQ,IR,IS,IT,IU,IV,IW,IX,IY,IZ,JA,JB,JC,JN,JP,JQ,JS,JT,JU,KB,KC,G,M,Q,S,U,BG,BH,BL,CQ,DB,FM,H,I,J,K,R,T,V,W,X,Y,Z,AA,AB,AC,AF,AH,AI,AJ,AK,AM,AQ,AR,AS,AT,AV,AW,AX,AY,AZ,BB,BC,BD,BE,BF,BI,BJ,BK,BM,BN,BP,BQ,DI,DK,DL,DM,DN,ER,EW,FN,GF,GH,GI,GJ,GK,GL,GM,GN,GO,GP,GQ,GR,GS,GT,GU,GV,GW,GX,GY,GZ,HA,HB,HC;A=$packages[\"errors\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];F=$packages[\"math\"];D=$packages[\"runtime\"];B=$packages[\"strconv\"];E=$packages[\"sync\"];L=$pkg.uncommonType=$newType(0,$kindStruct,\"reflect.uncommonType\",true,\"reflect\",false,function(pkgPath_,mcount_,_$2_,moff_,_$4_,_methods_){this.$val=this;if(arguments.length===0){this.pkgPath=0;this.mcount=0;this._$2=0;this.moff=0;this._$4=0;this._methods=HP.nil;return;}this.pkgPath=pkgPath_;this.mcount=mcount_;this._$2=_$2_;this.moff=moff_;this._$4=_$4_;this._methods=_methods_;});N=$pkg.funcType=$newType(0,$kindStruct,\"reflect.funcType\",true,\"reflect\",false,function(rtype_,inCount_,outCount_,_in_,_out_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.inCount=0;this.outCount=0;this._in=HO.nil;this._out=HO.nil;return;}this.rtype=rtype_;this.inCount=inCount_;this.outCount=outCount_;this._in=_in_;this._out=_out_;});O=$pkg.name=$newType(0,$kindStruct,\"reflect.name\",true,\"reflect\",false,function(bytes_){this.$val=this;if(arguments.length===0){this.bytes=IL.nil;return;}this.bytes=bytes_;});P=$pkg.nameData=$newType(0,$kindStruct,\"reflect.nameData\",true,\"reflect\",false,function(name_,tag_,pkgPath_,exported_){this.$val=this;if(arguments.length===0){this.name=\"\";this.tag=\"\";this.pkgPath=\"\";this.exported=false;return;}this.name=name_;this.tag=tag_;this.pkgPath=pkgPath_;this.exported=exported_;});AU=$pkg.mapIter=$newType(0,$kindStruct,\"reflect.mapIter\",true,\"reflect\",false,function(t_,m_,keys_,i_){this.$val=this;if(arguments.length===0){this.t=$ifaceNil;this.m=null;this.keys=null;this.i=0;return;}this.t=t_;this.m=m_;this.keys=keys_;this.i=i_;});BY=$pkg.Type=$newType(8,$kindInterface,\"reflect.Type\",true,\"reflect\",true,null);BZ=$pkg.Kind=$newType(4,$kindUint,\"reflect.Kind\",true,\"reflect\",true,null);CA=$pkg.tflag=$newType(1,$kindUint8,\"reflect.tflag\",true,\"reflect\",false,null);CB=$pkg.rtype=$newType(0,$kindStruct,\"reflect.rtype\",true,\"reflect\",false,function(size_,ptrdata_,hash_,tflag_,align_,fieldAlign_,kind_,alg_,gcdata_,str_,ptrToThis_){this.$val=this;if(arguments.length===0){this.size=0;this.ptrdata=0;this.hash=0;this.tflag=0;this.align=0;this.fieldAlign=0;this.kind=0;this.alg=IK.nil;this.gcdata=IL.nil;this.str=0;this.ptrToThis=0;return;}this.size=size_;this.ptrdata=ptrdata_;this.hash=hash_;this.tflag=tflag_;this.align=align_;this.fieldAlign=fieldAlign_;this.kind=kind_;this.alg=alg_;this.gcdata=gcdata_;this.str=str_;this.ptrToThis=ptrToThis_;});CC=$pkg.typeAlg=$newType(0,$kindStruct,\"reflect.typeAlg\",true,\"reflect\",false,function(hash_,equal_){this.$val=this;if(arguments.length===0){this.hash=$throwNilPointerError;this.equal=$throwNilPointerError;return;}this.hash=hash_;this.equal=equal_;});CD=$pkg.method=$newType(0,$kindStruct,\"reflect.method\",true,\"reflect\",false,function(name_,mtyp_,ifn_,tfn_){this.$val=this;if(arguments.length===0){this.name=0;this.mtyp=0;this.ifn=0;this.tfn=0;return;}this.name=name_;this.mtyp=mtyp_;this.ifn=ifn_;this.tfn=tfn_;});CE=$pkg.ChanDir=$newType(4,$kindInt,\"reflect.ChanDir\",true,\"reflect\",true,null);CF=$pkg.arrayType=$newType(0,$kindStruct,\"reflect.arrayType\",true,\"reflect\",false,function(rtype_,elem_,slice_,len_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.slice=HN.nil;this.len=0;return;}this.rtype=rtype_;this.elem=elem_;this.slice=slice_;this.len=len_;});CG=$pkg.chanType=$newType(0,$kindStruct,\"reflect.chanType\",true,\"reflect\",false,function(rtype_,elem_,dir_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;this.dir=0;return;}this.rtype=rtype_;this.elem=elem_;this.dir=dir_;});CH=$pkg.imethod=$newType(0,$kindStruct,\"reflect.imethod\",true,\"reflect\",false,function(name_,typ_){this.$val=this;if(arguments.length===0){this.name=0;this.typ=0;return;}this.name=name_;this.typ=typ_;});CI=$pkg.interfaceType=$newType(0,$kindStruct,\"reflect.interfaceType\",true,\"reflect\",false,function(rtype_,pkgPath_,methods_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.methods=IM.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.methods=methods_;});CJ=$pkg.mapType=$newType(0,$kindStruct,\"reflect.mapType\",true,\"reflect\",false,function(rtype_,key_,elem_,bucket_,hmap_,keysize_,indirectkey_,valuesize_,indirectvalue_,bucketsize_,reflexivekey_,needkeyupdate_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.key=HN.nil;this.elem=HN.nil;this.bucket=HN.nil;this.hmap=HN.nil;this.keysize=0;this.indirectkey=0;this.valuesize=0;this.indirectvalue=0;this.bucketsize=0;this.reflexivekey=false;this.needkeyupdate=false;return;}this.rtype=rtype_;this.key=key_;this.elem=elem_;this.bucket=bucket_;this.hmap=hmap_;this.keysize=keysize_;this.indirectkey=indirectkey_;this.valuesize=valuesize_;this.indirectvalue=indirectvalue_;this.bucketsize=bucketsize_;this.reflexivekey=reflexivekey_;this.needkeyupdate=needkeyupdate_;});CK=$pkg.ptrType=$newType(0,$kindStruct,\"reflect.ptrType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CL=$pkg.sliceType=$newType(0,$kindStruct,\"reflect.sliceType\",true,\"reflect\",false,function(rtype_,elem_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.elem=HN.nil;return;}this.rtype=rtype_;this.elem=elem_;});CM=$pkg.structField=$newType(0,$kindStruct,\"reflect.structField\",true,\"reflect\",false,function(name_,typ_,offset_){this.$val=this;if(arguments.length===0){this.name=new O.ptr(IL.nil);this.typ=HN.nil;this.offset=0;return;}this.name=name_;this.typ=typ_;this.offset=offset_;});CN=$pkg.structType=$newType(0,$kindStruct,\"reflect.structType\",true,\"reflect\",false,function(rtype_,pkgPath_,fields_){this.$val=this;if(arguments.length===0){this.rtype=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);this.pkgPath=new O.ptr(IL.nil);this.fields=IN.nil;return;}this.rtype=rtype_;this.pkgPath=pkgPath_;this.fields=fields_;});CP=$pkg.Method=$newType(0,$kindStruct,\"reflect.Method\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Func_,Index_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Func=new EZ.ptr(HN.nil,0,0);this.Index=0;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Func=Func_;this.Index=Index_;});CY=$pkg.nameOff=$newType(4,$kindInt32,\"reflect.nameOff\",true,\"reflect\",false,null);CZ=$pkg.typeOff=$newType(4,$kindInt32,\"reflect.typeOff\",true,\"reflect\",false,null);DA=$pkg.textOff=$newType(4,$kindInt32,\"reflect.textOff\",true,\"reflect\",false,null);DE=$pkg.StructField=$newType(0,$kindStruct,\"reflect.StructField\",true,\"reflect\",true,function(Name_,PkgPath_,Type_,Tag_,Offset_,Index_,Anonymous_){this.$val=this;if(arguments.length===0){this.Name=\"\";this.PkgPath=\"\";this.Type=$ifaceNil;this.Tag=\"\";this.Offset=0;this.Index=IZ.nil;this.Anonymous=false;return;}this.Name=Name_;this.PkgPath=PkgPath_;this.Type=Type_;this.Tag=Tag_;this.Offset=Offset_;this.Index=Index_;this.Anonymous=Anonymous_;});DF=$pkg.StructTag=$newType(8,$kindString,\"reflect.StructTag\",true,\"reflect\",true,null);DG=$pkg.fieldScan=$newType(0,$kindStruct,\"reflect.fieldScan\",true,\"reflect\",false,function(typ_,index_){this.$val=this;if(arguments.length===0){this.typ=JB.nil;this.index=IZ.nil;return;}this.typ=typ_;this.index=index_;});EZ=$pkg.Value=$newType(0,$kindStruct,\"reflect.Value\",true,\"reflect\",true,function(typ_,ptr_,flag_){this.$val=this;if(arguments.length===0){this.typ=HN.nil;this.ptr=0;this.flag=0;return;}this.typ=typ_;this.ptr=ptr_;this.flag=flag_;});FA=$pkg.flag=$newType(4,$kindUintptr,\"reflect.flag\",true,\"reflect\",false,null);FD=$pkg.ValueError=$newType(0,$kindStruct,\"reflect.ValueError\",true,\"reflect\",true,function(Method_,Kind_){this.$val=this;if(arguments.length===0){this.Method=\"\";this.Kind=0;return;}this.Method=Method_;this.Kind=Kind_;});HM=$sliceType(O);HN=$ptrType(CB);HO=$sliceType(HN);HP=$sliceType(CD);HQ=$mapType(HN,HP);HR=$structType(\"reflect\",[{prop:\"RWMutex\",name:\"\",exported:true,typ:E.RWMutex,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:HQ,tag:\"\"}]);IG=$sliceType($emptyInterface);IH=$ptrType(C.Object);II=$funcType([IG],[IH],true);IJ=$sliceType($String);IK=$ptrType(CC);IL=$ptrType($Uint8);IM=$sliceType(CH);IN=$sliceType(CM);IO=$ptrType(L);IP=$ptrType(P);IQ=$structType(\"reflect\",[{prop:\"str\",name:\"str\",exported:false,typ:$String,tag:\"\"}]);IR=$sliceType(IH);IS=$sliceType(EZ);IT=$sliceType(BY);IU=$sliceType(IR);IV=$arrayType($UnsafePointer,2);IW=$sliceType(IV);IX=$ptrType(CI);IY=$ptrType(CH);IZ=$sliceType($Int);JA=$sliceType(DG);JB=$ptrType(CN);JC=$sliceType($Uint8);JN=$ptrType($UnsafePointer);JP=$sliceType($Int32);JQ=$ptrType(N);JS=$funcType([$String],[$Bool],false);JT=$funcType([$UnsafePointer,$Uintptr],[$Uintptr],false);JU=$funcType([$UnsafePointer,$UnsafePointer],[$Bool],false);KB=$arrayType($Uintptr,2);KC=$ptrType(FD);H=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=(function(am){var $ptr,am;});$r=am((an=new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new an.constructor.elem(an)));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ao=new L.ptr(0,0,0,0,0,HP.nil),new ao.constructor.elem(ao)));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ap=new CD.ptr(0,0,0,0),new ap.constructor.elem(ap)));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aq=new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,0),new aq.constructor.elem(aq)));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ar=new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,0),new ar.constructor.elem(ar)));$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((as=new N.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),0,0,HO.nil,HO.nil),new as.constructor.elem(as)));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((at=new CI.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IM.nil),new at.constructor.elem(at)));$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((au=new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil,HN.nil,HN.nil,HN.nil,0,0,0,0,0,false,false),new au.constructor.elem(au)));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((av=new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new av.constructor.elem(av)));$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((aw=new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),HN.nil),new aw.constructor.elem(aw)));$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ax=new CN.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),new O.ptr(IL.nil),IN.nil),new ax.constructor.elem(ax)));$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((ay=new CH.ptr(0,0),new ay.constructor.elem(ay)));$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=am((az=new CM.ptr(new O.ptr(IL.nil),HN.nil,0),new az.constructor.elem(az)));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}G=true;FM=$assertType(AB(new $Uint8(0)),HN);$s=-1;return;}return;}if($f===undefined){$f={$blk:H};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};I=function(am){var $ptr,am;return am.jsType;};J=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu;if(am.reflectType===undefined){an=new CB.ptr(((($parseInt(am.size)>>0)>>>0)),0,0,0,0,0,((($parseInt(am.kind)>>0)<<24>>>24)),IK.nil,IL.nil,T($clone(R(W(am.string),\"\",\"\",!!(am.exported)),O)),0);an.jsType=am;am.reflectType=an;ao=$methodSet(am);if(!(($parseInt(ao.length)===0))||!!(am.named)){an.tflag=(an.tflag|(1))>>>0;if(!!(am.named)){an.tflag=(an.tflag|(4))>>>0;}ap=$makeSlice(HP,$parseInt(ao.length));aq=ap;ar=0;while(true){if(!(ar<aq.$length)){break;}as=ar;at=ao[as];CD.copy(((as<0||as>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+as]),new CD.ptr(T($clone(R(W(at.name),\"\",\"\",W(at.pkg)===\"\"),O)),V(J(at.typ)),0,0));ar++;}au=new L.ptr(T($clone(R(W(am.pkg),\"\",\"\",false),O)),(($parseInt(ao.length)<<16>>>16)),0,0,0,ap);av=an;(M||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(av)]={k:av,v:au};au.jsType=am;}aw=an.Kind();if(aw===(17)){K(an,new CF.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),HN.nil,((($parseInt(am.len)>>0)>>>0))));}else if(aw===(18)){ax=3;if(!!(am.sendOnly)){ax=2;}if(!!(am.recvOnly)){ax=1;}K(an,new CG.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem),((ax>>>0))));}else if(aw===(19)){ay=am.params;az=$makeSlice(HO,$parseInt(ay.length));ba=az;bb=0;while(true){if(!(bb<ba.$length)){break;}bc=bb;((bc<0||bc>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+bc]=J(ay[bc]));bb++;}bd=am.results;be=$makeSlice(HO,$parseInt(bd.length));bf=be;bg=0;while(true){if(!(bg<bf.$length)){break;}bh=bg;((bh<0||bh>=be.$length)?($throwRuntimeError(\"index out of range\"),undefined):be.$array[be.$offset+bh]=J(bd[bh]));bg++;}bi=(($parseInt(bd.length)<<16>>>16));if(!!(am.variadic)){bi=(bi|(32768))>>>0;}K(an,new N.ptr($clone(an,CB),(($parseInt(ay.length)<<16>>>16)),bi,az,be));}else if(aw===(20)){bj=am.methods;bk=$makeSlice(IM,$parseInt(bj.length));bl=bk;bm=0;while(true){if(!(bm<bl.$length)){break;}bn=bm;bo=bj[bn];CH.copy(((bn<0||bn>=bk.$length)?($throwRuntimeError(\"index out of range\"),undefined):bk.$array[bk.$offset+bn]),new CH.ptr(T($clone(R(W(bo.name),\"\",\"\",W(bo.pkg)===\"\"),O)),V(J(bo.typ))));bm++;}K(an,new CI.ptr($clone(an,CB),new O.ptr(IL.nil),bk));}else if(aw===(21)){K(an,new CJ.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.key),J(am.elem),HN.nil,HN.nil,0,0,0,0,0,false,false));}else if(aw===(22)){K(an,new CK.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(23)){K(an,new CL.ptr(new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0),J(am.elem)));}else if(aw===(25)){bp=am.fields;bq=$makeSlice(IN,$parseInt(bp.length));br=bq;bs=0;while(true){if(!(bs<br.$length)){break;}bt=bs;bu=bp[bt];CM.copy(((bt<0||bt>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bt]),new CM.ptr($clone(R(W(bu.name),W(bu.tag),\"\",!!(bu.exported)),O),J(bu.typ),((bt>>>0))));bs++;}K(an,new CN.ptr($clone(an,CB),$clone(R(W(am.pkgPath),\"\",\"\",false),O),bq));}}return((am.reflectType));};K=function(am,an){var $ptr,am,an;am.kindType=an;an.rtype=am;};L.ptr.prototype.methods=function(){var $ptr,am;am=this;return am._methods;};L.prototype.methods=function(){return this.$val.methods();};CB.ptr.prototype.uncommon=function(){var $ptr,am,an;am=this;return(an=M[HN.keyFor(am)],an!==undefined?an.v:IO.nil);};CB.prototype.uncommon=function(){return this.$val.uncommon();};N.ptr.prototype.in$=function(){var $ptr,am;am=this;return am._in;};N.prototype.in$=function(){return this.$val.in$();};N.ptr.prototype.out=function(){var $ptr,am;am=this;return am._out;};N.prototype.out=function(){return this.$val.out();};O.ptr.prototype.name=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).name;return am;};O.prototype.name=function(){return this.$val.name();};O.ptr.prototype.tag=function(){var $ptr,am,an,ao;am=\"\";an=this;am=(ao=Q[IL.keyFor(an.bytes)],ao!==undefined?ao.v:IP.nil).tag;return am;};O.prototype.tag=function(){return this.$val.tag();};O.ptr.prototype.pkgPath=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).pkgPath;};O.prototype.pkgPath=function(){return this.$val.pkgPath();};O.ptr.prototype.isExported=function(){var $ptr,am,an;am=this;return(an=Q[IL.keyFor(am.bytes)],an!==undefined?an.v:IP.nil).exported;};O.prototype.isExported=function(){return this.$val.isExported();};R=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar;aq=$newDataPointer(0,IL);ar=aq;(Q||$throwRuntimeError(\"assignment to entry in nil map\"))[IL.keyFor(ar)]={k:ar,v:new P.ptr(am,an,ao,ap)};return new O.ptr(aq);};CB.ptr.prototype.nameOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=S.$length)?($throwRuntimeError(\"index out of range\"),undefined):S.$array[S.$offset+ao]));};CB.prototype.nameOff=function(am){return this.$val.nameOff(am);};T=function(am){var $ptr,am,an;an=S.$length;S=$append(S,am);return((an>>0));};CB.ptr.prototype.typeOff=function(am){var $ptr,am,an,ao;an=this;return(ao=((am>>0)),((ao<0||ao>=U.$length)?($throwRuntimeError(\"index out of range\"),undefined):U.$array[U.$offset+ao]));};CB.prototype.typeOff=function(am){return this.$val.typeOff(am);};V=function(am){var $ptr,am,an;an=U.$length;U=$append(U,am);return((an>>0));};W=function(am){var $ptr,am,an;an=new IQ.ptr(\"\");an.str=am;return an.str;};X=function(am){var $ptr,am;return!!(I(am).wrapped);};Y=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=I(ao).fields;aq=0;while(true){if(!(aq<$parseInt(ap.length))){break;}ar=$internalize(ap[aq].prop,$String);am[$externalize(ar,$String)]=an[$externalize(ar,$String)];aq=aq+(1)>>0;}};Z=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;at=am.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===17){as=true;$s=5;continue s;}au=am.Kind();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au===25;case 5:if(as){ar=true;$s=4;continue s;}av=am.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}ar=av===22;case 4:if(ar){$s=2;continue;}$s=3;continue;case 2:aw=am.Kind();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,(an),(ao|((aw>>>0)))>>>0);case 3:ax=am.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,($newDataPointer(an,I(aq.ptrTo()))),(((ao|((ax>>>0)))>>>0)|128)>>>0);}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AA=function(am,an,ao){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];ap=am[0].Kind();$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}if(!((ap===23))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.MakeSlice of non-slice type\"));case 2:if(an<0){$panic(new $String(\"reflect.MakeSlice: negative len\"));}if(ao<0){$panic(new $String(\"reflect.MakeSlice: negative cap\"));}if(an>ao){$panic(new $String(\"reflect.MakeSlice: len > cap\"));}aq=Z(am[0],$makeSlice(I(am[0]),an,ao,(function(am){return function $b(){var $ptr,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=am[0].Elem();$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=2;case 2:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar.zero();}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};})(am)),0);$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return aq;}return;}if($f===undefined){$f={$blk:AA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MakeSlice=AA;AB=function(am){var $ptr,am;if(!G){return new CB.ptr(0,0,0,0,0,0,0,IK.nil,IL.nil,0,0);}if($interfaceIsEqual(am,$ifaceNil)){return $ifaceNil;}return J(am.constructor);};$pkg.TypeOf=AB;AC=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$s=-1;return new EZ.ptr(HN.nil,0,0);}an=Z(J(am.constructor),am.$val,0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ValueOf=AC;AF=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!(ao)){ap=false;$s=3;continue s;}if(am.$length===0){aq=true;$s=4;continue s;}as=(ar=am.$length-1>>0,((ar<0||ar>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+ar])).Kind();$s=5;case 5:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}aq=!((as===23));case 4:ap=aq;case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.FuncOf: last arg of variadic func must be slice\"));case 2:at=$makeSlice(IR,am.$length);au=am;av=0;while(true){if(!(av<au.$length)){break;}aw=av;ax=((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]);((aw<0||aw>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+aw]=I(ax));av++;}ay=$makeSlice(IR,an.$length);az=an;ba=0;while(true){if(!(ba<az.$length)){break;}bb=ba;bc=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);((bb<0||bb>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+bb]=I(bc));ba++;}$s=-1;return J($funcType($externalize(at,IR),$externalize(ay,IR),$externalize(ao,$Bool)));}return;}if($f===undefined){$f={$blk:AF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};$pkg.FuncOf=AF;CB.ptr.prototype.ptrTo=function(){var $ptr,am;am=this;return J($ptrType(I(am)));};CB.prototype.ptrTo=function(){return this.$val.ptrTo();};AH=function(am){var $ptr,am;return J($sliceType(I(am)));};$pkg.SliceOf=AH;AI=function(am){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=Z(am,I(am).zero(),0);$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Zero=AI;AJ=function(am){var $ptr,am,an;an=am.Kind();if(an===(25)){return(new(I(am).ptr)());}else if(an===(17)){return(I(am).zero());}else{return($newDataPointer(I(am).zero(),I(am.ptrTo())));}};AK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.Kind();if(as===(3)){(ar).$set(((an.$low<<24>>24)));}else if(as===(4)){(ar).$set(((an.$low<<16>>16)));}else if((as===(2))||(as===(5))){(ar).$set(((an.$low>>0)));}else if(as===(6)){(ar).$set((new $Int64(an.$high,an.$low)));}else if(as===(8)){(ar).$set(((an.$low<<24>>>24)));}else if(as===(9)){(ar).$set(((an.$low<<16>>>16)));}else if((as===(7))||(as===(10))||(as===(12))){(ar).$set(((an.$low>>>0)));}else if(as===(11)){(ar).$set((an));}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};AM=function(am,an,ao){var $ptr,am,an,ao;an.$set(ao.$get());};AQ=function(am,an){var $ptr,am,an,ao,ap;ao=an;if(!(ao.$get===undefined)){ao=ao.$get();}ap=$internalize(I(am.Key()).keyFor(ao),$String);return[ao,ap];};AR=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar;ap=AQ(am,ao);aq=ap[1];ar=an[$externalize(aq,$String)];if(ar===undefined){return 0;}return($newDataPointer(ar.v,I(DI(am.Elem()))));};AS=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=AQ(am,ao);ar=aq[0];as=aq[1];at=ap.$get();au=am.Elem();av=au.Kind();$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===25){$s=1;continue;}$s=2;continue;case 1:aw=I(au).zero();Y(aw,at,au);at=aw;case 2:ax=new($global.Object)();ax.k=ar;ax.v=at;an[$externalize(as,$String)]=ax;$s=-1;return;}return;}if($f===undefined){$f={$blk:AS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};AT=function(am,an,ao){var $ptr,am,an,ao,ap,aq;ap=AQ(am,ao);aq=ap[1];delete an[$externalize(aq,$String)];};AV=function(am,an){var $ptr,am,an;return((new AU.ptr(am,an,$keys(an),0)));};AW=function(am){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=((am));ao=an.keys[an.i];ap=an.t.Key();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=DI(ap);$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=I(aq);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return($newDataPointer(an.m[$externalize($internalize(ao,$String),$String)].k,ar));}return;}if($f===undefined){$f={$blk:AW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};AX=function(am){var $ptr,am,an;an=((am));an.i=an.i+(1)>>0;};AY=function(am){var $ptr,am;return $parseInt($keys(am).length);};AZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=$clone(am,EZ).object();if(ao===I(am.typ).nil){$s=1;continue;}$s=2;continue;case 1:ap=Z(an,I(an).nil,am.flag);$s=3;case 3:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;case 2:aq=null;ar=an.Kind();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=as;if(at===(23)){$s=6;continue;}if(at===(22)){$s=7;continue;}if(at===(25)){$s=8;continue;}if((at===(17))||(at===(1))||(at===(18))||(at===(19))||(at===(20))||(at===(21))||(at===(24))){$s=9;continue;}$s=10;continue;case 6:au=new(I(an))(ao.$array);au.$offset=ao.$offset;au.$length=ao.$length;au.$capacity=ao.$capacity;aq=$newDataPointer(au,I(DI(an)));$s=11;continue;case 7:av=an.Elem();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av.Kind();$s=15;case 15:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}if(aw===25){$s=12;continue;}$s=13;continue;case 12:ax=an.Elem();$s=18;case 18:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}if($interfaceIsEqual(ax,am.typ.Elem())){$s=16;continue;}$s=17;continue;case 16:aq=ao;$s=4;continue;case 17:aq=new(I(an))();ay=aq;az=ao;ba=an.Elem();$s=19;case 19:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}bb=ba;$r=Y(ay,az,bb);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=4;continue;case 13:aq=new(I(an))(ao.$get,ao.$set);$s=11;continue;case 8:aq=new(I(an).ptr)();Y(aq,ao,an);$s=11;continue;case 9:aq=am.ptr;$s=11;continue;case 10:$panic(new FD.ptr(\"reflect.Convert\",as));case 11:case 4:bc=an.common();$s=21;case 21:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=an.Kind();$s=22;case 22:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(bc,(aq),(((am.flag&224)>>>0)|((bd>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:AZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};BB=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;ap=HN.nil;aq=HN.nil;ar=0;as=\"\";if(an.typ.Kind()===20){at=(an.typ.kindType);if(ao<0||ao>=at.methods.$length){$panic(new $String(\"reflect: internal error: invalid method index\"));}av=(au=at.methods,((ao<0||ao>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ao]));if(!$clone(at.rtype.nameOff(av.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=at.rtype.typeOff(av.typ);as=$clone(at.rtype.nameOff(av.name),O).name();}else{aw=an.typ.uncommon();if(aw===IO.nil||((ao>>>0))>=((aw.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ay=$clone((ax=aw.methods(),((ao<0||ao>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ao])),CD);if(!$clone(an.typ.nameOff(ay.name),O).isExported()){$panic(new $String(\"reflect: \"+am+\" of unexported method\"));}aq=an.typ.typeOff(ay.mtyp);as=$internalize($methodSet(I(an.typ))[ao].prop,$String);}az=$clone(an,EZ).object();if(X(an.typ)){az=new(I(an.typ))(az);}ar=(az[$externalize(as,$String)]);return[ap,aq,ar];};BC=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.Interface\",0));}if(an&&!((((am.flag&96)>>>0)===0))){$panic(new $String(\"reflect.Value.Interface: cannot return value obtained from unexported field or method\"));}if(!((((am.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Interface\",$clone(am,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;case 2:if(X(am.typ)){$s=-1;return((new(I(am.typ))($clone(am,EZ).object())));}$s=-1;return(($clone(am,EZ).object()));}return;}if($f===undefined){$f={$blk:BC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};BD=function(am,an,ao){var $ptr,am,an,ao;ao.$set(an);};BE=function(){var $ptr;return\"?FIXME?\";};BF=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=[ao];ap=[ap];if(((an.flag&512)>>>0)===0){$panic(new $String(\"reflect: internal error: invalid use of makePartialFunc\"));}aq=BB(am,$clone(an,EZ),((an.flag>>0))>>10>>0);ao[0]=aq[2];ap[0]=$clone(an,EZ).object();if(X(an.typ)){ap[0]=new(I(an.typ))(ap[0]);}ar=C.MakeFunc((function(ao,ap){return function(ar,as){var $ptr,ar,as;return new $jsObjectPtr(ao[0].apply(ap[0],$externalize(as,IR)));};})(ao,ap));as=$clone(an,EZ).Type().common();$s=1;case 1:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(as,(ar),(((an.flag&96)>>>0)|19)>>>0);}return;}if($f===undefined){$f={$blk:BF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};CB.ptr.prototype.pointers=function(){var $ptr,am,an;am=this;an=am.Kind();if((an===(22))||(an===(21))||(an===(18))||(an===(19))||(an===(25))||(an===(17))){return true;}else{return false;}};CB.prototype.pointers=function(){return this.$val.pointers();};CB.ptr.prototype.Comparable=function(){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=am.Kind();if((an===(19))||(an===(23))||(an===(21))){$s=2;continue;}if(an===(17)){$s=3;continue;}if(an===(25)){$s=4;continue;}$s=5;continue;case 2:$s=-1;return false;case 3:ao=am.Elem().Comparable();$s=6;case 6:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 4:ap=0;case 7:if(!(ap<am.NumField())){$s=8;continue;}aq=am.Field(ap);$s=11;case 11:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq.Type.Comparable();$s=12;case 12:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!ar){$s=9;continue;}$s=10;continue;case 9:$s=-1;return false;case 10:ap=ap+(1)>>0;$s=7;continue;case 8:case 5:case 1:$s=-1;return true;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Comparable};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Comparable=function(){return this.$val.Comparable();};CB.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ap=this;if(ap.Kind()===20){aq=(ap.kindType);CP.copy(ao,aq.Method(am));$s=-1;return ao;}ar=ap.exportedMethods();$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(am<0||am>=as.$length){$panic(new $String(\"reflect: Method index out of range\"));}at=$clone(((am<0||am>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+am]),CD);au=$clone(ap.nameOff(at.name),O);ao.Name=$clone(au,O).name();av=19;aw=ap.typeOff(at.mtyp);ax=(aw.kindType);ay=$makeSlice(IT,0,(1+ax.in$().$length>>0));ay=$append(ay,ap);az=ax.in$();ba=0;while(true){if(!(ba<az.$length)){break;}bb=((ba<0||ba>=az.$length)?($throwRuntimeError(\"index out of range\"),undefined):az.$array[az.$offset+ba]);ay=$append(ay,bb);ba++;}bc=$makeSlice(IT,0,ax.out().$length);bd=ax.out();be=0;while(true){if(!(be<bd.$length)){break;}bf=((be<0||be>=bd.$length)?($throwRuntimeError(\"index out of range\"),undefined):bd.$array[bd.$offset+be]);bc=$append(bc,bf);be++;}bg=AF(ay,bc,ax.rtype.IsVariadic());$s=2;case 2:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bh=bg;ao.Type=bh;an[0]=$internalize($methodSet(ap.jsType)[am].prop,$String);bi=C.MakeFunc((function(an){return function(bi,bj){var $ptr,bi,bj,bk;bk=(0>=bj.$length?($throwRuntimeError(\"index out of range\"),undefined):bj.$array[bj.$offset+0]);return new $jsObjectPtr(bk[$externalize(an[0],$String)].apply(bk,$externalize($subslice(bj,1),IR)));};})(an));ao.Func=new EZ.ptr($assertType(bh,HN),(bi),av);ao.Index=am;CP.copy(ao,ao);$s=-1;return ao;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.object=function(){var $ptr,am,an,ao,ap;am=this;if((am.typ.Kind()===17)||(am.typ.Kind()===25)){return am.ptr;}if(!((((am.flag&128)>>>0)===0))){an=am.ptr.$get();if(!(an===$ifaceNil)&&!(an.constructor===I(am.typ))){switch(0){default:ao=am.typ.Kind();if((ao===(11))||(ao===(6))){an=new(I(am.typ))(an.$high,an.$low);}else if((ao===(15))||(ao===(16))){an=new(I(am.typ))(an.$real,an.$imag);}else if(ao===(23)){if(an===an.constructor.nil){an=I(am.typ).nil;break;}ap=new(I(am.typ))(an.$array);ap.$offset=an.$offset;ap.$length=an.$length;ap.$capacity=an.$capacity;an=ap;}}}return an;}return am.ptr;};EZ.prototype.object=function(){return this.$val.object();};EZ.ptr.prototype.call=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;cj=$f.cj;ck=$f.ck;cl=$f.cl;cm=$f.cm;cn=$f.cn;co=$f.co;cp=$f.cp;cq=$f.cq;cr=$f.cr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=HN.nil;aq=0;ar=null;if(!((((ao.flag&512)>>>0)===0))){as=BB(am,$clone(ao,EZ),((ao.flag>>0))>>10>>0);ap=as[1];aq=as[2];ar=$clone(ao,EZ).object();if(X(ao.typ)){ar=new(I(ao.typ))(ar);}}else{ap=ao.typ;aq=($clone(ao,EZ).object());ar=undefined;}if(aq===0){$panic(new $String(\"reflect.Value.Call: call of nil function\"));}at=am===\"CallSlice\";au=ap.NumIn();if(at){if(!ap.IsVariadic()){$panic(new $String(\"reflect: CallSlice of non-variadic function\"));}if(an.$length<au){$panic(new $String(\"reflect: CallSlice with too few input arguments\"));}if(an.$length>au){$panic(new $String(\"reflect: CallSlice with too many input arguments\"));}}else{if(ap.IsVariadic()){au=au-(1)>>0;}if(an.$length<au){$panic(new $String(\"reflect: Call with too few input arguments\"));}if(!ap.IsVariadic()&&an.$length>au){$panic(new $String(\"reflect: Call with too many input arguments\"));}}av=an;aw=0;while(true){if(!(aw<av.$length)){break;}ax=((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]);if($clone(ax,EZ).Kind()===0){$panic(new $String(\"reflect: \"+am+\" using zero Value argument\"));}aw++;}ay=0;case 1:if(!(ay<au)){$s=2;continue;}az=$clone(((ay<0||ay>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+ay]),EZ).Type();ba=ap.In(ay);bb=az;bc=ba;bd=bb.AssignableTo(bc);$s=5;case 5:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}if(!bd){$s=3;continue;}$s=4;continue;case 3:be=bb.String();$s=6;case 6:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=bc.String();$s=7;case 7:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}$panic(new $String(\"reflect: \"+am+\" using \"+be+\" as type \"+bf));case 4:ay=ay+(1)>>0;$s=1;continue;case 2:if(!at&&ap.IsVariadic()){$s=8;continue;}$s=9;continue;case 8:bg=an.$length-au>>0;bh=AA(ap.In(au),bg,bg);$s=10;case 10:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bi=bh;bj=ap.In(au).Elem();$s=11;case 11:if($c){$c=false;bj=bj.$blk();}if(bj&&bj.$blk!==undefined){break s;}bk=bj;bl=0;case 12:if(!(bl<bg)){$s=13;continue;}bn=(bm=au+bl>>0,((bm<0||bm>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+bm]));bo=$clone(bn,EZ).Type();bp=bo.AssignableTo(bk);$s=16;case 16:if($c){$c=false;bp=bp.$blk();}if(bp&&bp.$blk!==undefined){break s;}if(!bp){$s=14;continue;}$s=15;continue;case 14:bq=bo.String();$s=17;case 17:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bk.String();$s=18;case 18:if($c){$c=false;br=br.$blk();}if(br&&br.$blk!==undefined){break s;}$panic(new $String(\"reflect: cannot use \"+bq+\" as type \"+br+\" in \"+am));case 15:bs=$clone(bi,EZ).Index(bl);$s=19;case 19:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}$r=$clone(bs,EZ).Set($clone(bn,EZ));$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}bl=bl+(1)>>0;$s=12;continue;case 13:bt=an;an=$makeSlice(IS,(au+1>>0));$copySlice($subslice(an,0,au),bt);((au<0||au>=an.$length)?($throwRuntimeError(\"index out of range\"),undefined):an.$array[an.$offset+au]=bi);case 9:bu=an.$length;if(!((bu===ap.NumIn()))){$panic(new $String(\"reflect.Value.Call: wrong argument count\"));}bv=ap.NumOut();bw=new($global.Array)(ap.NumIn());bx=an;by=0;case 21:if(!(by<bx.$length)){$s=22;continue;}bz=by;ca=((by<0||by>=bx.$length)?($throwRuntimeError(\"index out of range\"),undefined):bx.$array[bx.$offset+by]);cb=ap.In(bz);cc=ap.In(bz).common();$s=23;case 23:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;ce=0;cf=$clone(ca,EZ).assignTo(\"reflect.Value.Call\",cd,ce);$s=24;case 24:if($c){$c=false;cf=cf.$blk();}if(cf&&cf.$blk!==undefined){break s;}cg=$clone(cf,EZ).object();$s=25;case 25:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}ch=cg;ci=BJ(cb,ch);$s=26;case 26:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}bw[bz]=ci;by++;$s=21;continue;case 22:cj=BG(new IG([new $jsObjectPtr(aq),new $jsObjectPtr(ar),new $jsObjectPtr(bw)]));$s=27;case 27:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;cl=bv;if(cl===(0)){$s=29;continue;}if(cl===(1)){$s=30;continue;}$s=31;continue;case 29:$s=-1;return IS.nil;case 30:cm=Z(ap.Out(0),BI(ap.Out(0),ck),0);$s=33;case 33:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}$s=-1;return new IS([$clone(cm,EZ)]);case 31:cn=$makeSlice(IS,bv);co=cn;cp=0;case 34:if(!(cp<co.$length)){$s=35;continue;}cq=cp;cr=Z(ap.Out(cq),BI(ap.Out(cq),ck[cq]),0);$s=36;case 36:if($c){$c=false;cr=cr.$blk();}if(cr&&cr.$blk!==undefined){break s;}((cq<0||cq>=cn.$length)?($throwRuntimeError(\"index out of range\"),undefined):cn.$array[cn.$offset+cq]=cr);cp++;$s=34;continue;case 35:$s=-1;return cn;case 32:case 28:$s=-1;return IS.nil;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.cj=cj;$f.ck=ck;$f.cl=cl;$f.cm=cm;$f.cn=cn;$f.co=co;$f.cp=cp;$f.cq=cq;$f.cr=cr;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.call=function(am,an){return this.$val.call(am,an);};EZ.ptr.prototype.Cap=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(17)){return am.typ.Len();}else if((ao===(18))||(ao===(23))){return $parseInt($clone(am,EZ).object().$capacity)>>0;}$panic(new FD.ptr(\"reflect.Value.Cap\",an));};EZ.prototype.Cap=function(){return this.$val.Cap();};BI=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return new(I(BH))(an);}return an;};BJ=function(am,an){var $ptr,am,an;if($interfaceIsEqual(am,BH)){return an.object;}return an;};EZ.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(20)){$s=2;continue;}if(ao===(22)){$s=3;continue;}$s=4;continue;case 2:ap=$clone(am,EZ).object();if(ap===$ifaceNil){$s=-1;return new EZ.ptr(HN.nil,0,0);}aq=J(ap.constructor);ar=Z(aq,ap.$val,(am.flag&96)>>>0);$s=6;case 6:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;case 3:if($clone(am,EZ).IsNil()){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(am,EZ).object();at=(am.typ.kindType);au=(((((am.flag&96)>>>0)|128)>>>0)|256)>>>0;au=(au|(((at.elem.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(at.elem,(BI(at.elem,as)),au);case 4:$panic(new FD.ptr(\"reflect.Value.Elem\",an));case 5:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Elem};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Elem=function(){return this.$val.Elem();};EZ.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=[an];ao=[ao];ap=[ap];aq=[aq];ar=this;if(!((new FA(ar.flag).kind()===25))){$panic(new FD.ptr(\"reflect.Value.Field\",new FA(ar.flag).kind()));}as=(ar.typ.kindType);if(((am>>>0))>=((as.fields.$length>>>0))){$panic(new $String(\"reflect: Field index out of range\"));}ao[0]=$internalize(I(ar.typ).fields[am].prop,$String);au=(at=as.fields,((am<0||am>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+am]));aq[0]=au.typ;av=(((ar.flag&416)>>>0)|((aq[0].Kind()>>>0)))>>>0;if(!$clone(au.name,O).isExported()){if($clone(au.name,O).name()===\"\"){av=(av|(64))>>>0;}else{av=(av|(32))>>>0;}}ax=$clone((aw=as.fields,((am<0||am>=aw.$length)?($throwRuntimeError(\"index out of range\"),undefined):aw.$array[aw.$offset+am])).name,O).tag();if(!(ax===\"\")&&!((am===0))){$s=1;continue;}$s=2;continue;case 1:an[0]=BK(ax);if(!(an[0]===\"\")){$s=3;continue;}$s=4;continue;case 3:case 5:ay=[ay];az=$clone(ar,EZ).Field(0);$s=7;case 7:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ar=az;if(ar.typ===BH){$s=8;continue;}$s=9;continue;case 8:ay[0]=$clone(ar,EZ).object().object;$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq,ay){return function(){var $ptr;return $internalize(ay[0][$externalize(an[0],$String)],I(aq[0]));};})(an,ao,ap,aq,ay),(function(an,ao,ap,aq,ay){return function(ba){var $ptr,ba;ay[0][$externalize(an[0],$String)]=$externalize(ba,I(aq[0]));};})(an,ao,ap,aq,ay))),av);case 9:if(ar.typ.Kind()===22){$s=10;continue;}$s=11;continue;case 10:ba=$clone(ar,EZ).Elem();$s=12;case 12:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}ar=ba;case 11:$s=5;continue;case 6:case 4:case 2:ap[0]=ar.ptr;if(!((((av&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=13;continue;}$s=14;continue;case 13:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(an,ao,ap,aq){return function(){var $ptr;return BI(aq[0],ap[0][$externalize(ao[0],$String)]);};})(an,ao,ap,aq),(function(an,ao,ap,aq){return function(bb){var $ptr,bb;ap[0][$externalize(ao[0],$String)]=BJ(aq[0],bb);};})(an,ao,ap,aq))),av);case 14:bb=Z(aq[0],BI(aq[0],ap[0][$externalize(ao[0],$String)]),av);$s=15;case 15:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Field=function(am){return this.$val.Field(am);};BK=function(am){var $ptr,am,an,ao,ap,aq,ar;while(true){if(!(!(am===\"\"))){break;}an=0;while(true){if(!(an<am.length&&(am.charCodeAt(an)===32))){break;}an=an+(1)>>0;}am=$substring(am,an);if(am===\"\"){break;}an=0;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===32))&&!((am.charCodeAt(an)===58))&&!((am.charCodeAt(an)===34)))){break;}an=an+(1)>>0;}if((an+1>>0)>=am.length||!((am.charCodeAt(an)===58))||!((am.charCodeAt((an+1>>0))===34))){break;}ao=($substring(am,0,an));am=$substring(am,(an+1>>0));an=1;while(true){if(!(an<am.length&&!((am.charCodeAt(an)===34)))){break;}if(am.charCodeAt(an)===92){an=an+(1)>>0;}an=an+(1)>>0;}if(an>=am.length){break;}ap=($substring(am,0,(an+1>>0)));am=$substring(am,(an+1>>0));if(ao===\"js\"){aq=B.Unquote(ap);ar=aq[0];return ar;}}return\"\";};EZ.ptr.prototype.Index=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=[an];ao=[ao];ap=[ap];aq=[aq];ar=[ar];as=this;at=new FA(as.flag).kind();au=at;if(au===(17)){$s=2;continue;}if(au===(23)){$s=3;continue;}if(au===(24)){$s=4;continue;}$s=5;continue;case 2:av=(as.typ.kindType);if(am[0]<0||am[0]>((av.len>>0))){$panic(new $String(\"reflect: array index out of range\"));}aq[0]=av.elem;aw=(as.flag&480)>>>0;aw=(aw|(((aq[0].Kind()>>>0))))>>>0;an[0]=as.ptr;if(!((((aw&128)>>>0)===0))&&!((aq[0].Kind()===17))&&!((aq[0].Kind()===25))){$s=7;continue;}$s=8;continue;case 7:$s=-1;return new EZ.ptr(aq[0],(new(I(DI(aq[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(aq[0],an[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(ax){var $ptr,ax;an[0][am[0]]=BJ(aq[0],ax);};})(am,an,ao,ap,aq,ar))),aw);case 8:ax=Z(aq[0],BI(aq[0],an[0][am[0]]),aw);$s=9;case 9:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;case 3:ay=$clone(as,EZ).object();if(am[0]<0||am[0]>=($parseInt(ay.$length)>>0)){$panic(new $String(\"reflect: slice index out of range\"));}az=(as.typ.kindType);ar[0]=az.elem;ba=(384|((as.flag&96)>>>0))>>>0;ba=(ba|(((ar[0].Kind()>>>0))))>>>0;am[0]=am[0]+(($parseInt(ay.$offset)>>0))>>0;ao[0]=ay.$array;if(!((((ba&128)>>>0)===0))&&!((ar[0].Kind()===17))&&!((ar[0].Kind()===25))){$s=10;continue;}$s=11;continue;case 10:$s=-1;return new EZ.ptr(ar[0],(new(I(DI(ar[0])))((function(am,an,ao,ap,aq,ar){return function(){var $ptr;return BI(ar[0],ao[0][am[0]]);};})(am,an,ao,ap,aq,ar),(function(am,an,ao,ap,aq,ar){return function(bb){var $ptr,bb;ao[0][am[0]]=BJ(ar[0],bb);};})(am,an,ao,ap,aq,ar))),ba);case 11:bb=Z(ar[0],BI(ar[0],ao[0][am[0]]),ba);$s=12;case 12:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}$s=-1;return bb;case 4:bc=(as.ptr).$get();if(am[0]<0||am[0]>=bc.length){$panic(new $String(\"reflect: string index out of range\"));}bd=(((as.flag&96)>>>0)|8)>>>0;ap[0]=bc.charCodeAt(am[0]);$s=-1;return new EZ.ptr(FM,((ap.$ptr||(ap.$ptr=new IL(function(){return this.$target[0];},function($v){this.$target[0]=$v;},ap)))),(bd|128)>>>0);case 5:$panic(new FD.ptr(\"reflect.Value.Index\",at));case 6:case 1:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Index};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Index=function(am){return this.$val.Index(am);};EZ.ptr.prototype.InterfaceData=function(){var $ptr,am;am=this;$panic(A.New(\"InterfaceData is not supported by GopherJS\"));};EZ.prototype.InterfaceData=function(){return this.$val.InterfaceData();};EZ.ptr.prototype.IsNil=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(22))||(ao===(23))){return $clone(am,EZ).object()===I(am.typ).nil;}else if(ao===(18)){return $clone(am,EZ).object()===$chanNil;}else if(ao===(19)){return $clone(am,EZ).object()===$throwNilPointerError;}else if(ao===(21)){return $clone(am,EZ).object()===false;}else if(ao===(20)){return $clone(am,EZ).object()===$ifaceNil;}else{$panic(new FD.ptr(\"reflect.Value.IsNil\",an));}};EZ.prototype.IsNil=function(){return this.$val.IsNil();};EZ.ptr.prototype.Len=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(17))||(ao===(24))){return $parseInt($clone(am,EZ).object().length);}else if(ao===(23)){return $parseInt($clone(am,EZ).object().$length)>>0;}else if(ao===(18)){return $parseInt($clone(am,EZ).object().$buffer.length)>>0;}else if(ao===(21)){return $parseInt($keys($clone(am,EZ).object()).length);}else{$panic(new FD.ptr(\"reflect.Value.Len\",an));}};EZ.prototype.Len=function(){return this.$val.Len();};EZ.ptr.prototype.Pointer=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if((ao===(18))||(ao===(21))||(ao===(22))||(ao===(26))){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object();}else if(ao===(19)){if($clone(am,EZ).IsNil()){return 0;}return 1;}else if(ao===(23)){if($clone(am,EZ).IsNil()){return 0;}return $clone(am,EZ).object().$array;}else{$panic(new FD.ptr(\"reflect.Value.Pointer\",an));}};EZ.prototype.Pointer=function(){return this.$val.Pointer();};EZ.ptr.prototype.Set=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(am.flag).mustBeExported();ao=$clone(am,EZ).assignTo(\"reflect.Set\",an.typ,0);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;if(!((((an.flag&128)>>>0)===0))){$s=2;continue;}$s=3;continue;case 2:ap=an.typ.Kind();if(ap===(17)){$s=5;continue;}if(ap===(20)){$s=6;continue;}if(ap===(25)){$s=7;continue;}$s=8;continue;case 5:I(an.typ).copy(an.ptr,am.ptr);$s=9;continue;case 6:aq=BC($clone(am,EZ),false);$s=10;case 10:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}an.ptr.$set(aq);$s=9;continue;case 7:Y(an.ptr,am.ptr,an.typ);$s=9;continue;case 8:an.ptr.$set($clone(am,EZ).object());case 9:case 4:$s=-1;return;case 3:an.ptr=am.ptr;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Set};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Set=function(am){return this.$val.Set(am);};EZ.ptr.prototype.SetBytes=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.SetBytes of non-byte slice\"));case 2:ap=am;if(!(an.typ.Name()===\"\")){aq=true;$s=6;continue s;}ar=an.typ.Elem().Name();$s=7;case 7:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}aq=!(ar===\"\");case 6:if(aq){$s=4;continue;}$s=5;continue;case 4:as=new(I(an.typ))(ap.$array);as.$offset=ap.$offset;as.$length=ap.$length;as.$capacity=ap.$capacity;ap=as;case 5:an.ptr.$set(ap);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetBytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetBytes=function(am){return this.$val.SetBytes(am);};EZ.ptr.prototype.SetCap=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<($parseInt(ao.$length)>>0)||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice capacity out of range in SetCap\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=ao.$length;ap.$capacity=am;an.ptr.$set(ap);};EZ.prototype.SetCap=function(am){return this.$val.SetCap(am);};EZ.ptr.prototype.SetLen=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.ptr.$get();if(am<0||am>($parseInt(ao.$capacity)>>0)){$panic(new $String(\"reflect: slice length out of range in SetLen\"));}ap=new(I(an.typ))(ao.$array);ap.$offset=ao.$offset;ap.$length=am;ap.$capacity=ao.$capacity;an.ptr.$set(ap);};EZ.prototype.SetLen=function(am){return this.$val.SetLen(am);};EZ.ptr.prototype.Slice=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;ap=0;aq=$ifaceNil;ar=null;as=new FA(ao.flag).kind();at=as;if(at===(17)){$s=2;continue;}if(at===(23)){$s=3;continue;}if(at===(24)){$s=4;continue;}$s=5;continue;case 2:if(((ao.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}au=(ao.typ.kindType);ap=((au.len>>0));aq=AH(au.elem);ar=new(I(aq))($clone(ao,EZ).object());$s=6;continue;case 3:aq=ao.typ;ar=$clone(ao,EZ).object();ap=$parseInt(ar.$capacity)>>0;$s=6;continue;case 4:av=(ao.ptr).$get();if(am<0||an<am||an>av.length){$panic(new $String(\"reflect.Value.Slice: string slice index out of bounds\"));}aw=AC(new $String($substring(av,am,an)));$s=7;case 7:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;case 5:$panic(new FD.ptr(\"reflect.Value.Slice\",as));case 6:case 1:if(am<0||an<am||an>ap){$panic(new $String(\"reflect.Value.Slice: slice index out of bounds\"));}ax=Z(aq,$subslice(ar,am,an),(ao.flag&96)>>>0);$s=8;case 8:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}$s=-1;return ax;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice=function(am,an){return this.$val.Slice(am,an);};EZ.ptr.prototype.Slice3=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;aq=0;ar=$ifaceNil;as=null;at=new FA(ap.flag).kind();au=at;if(au===(17)){if(((ap.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Slice: slice of unaddressable array\"));}av=(ap.typ.kindType);aq=((av.len>>0));ar=AH(av.elem);as=new(I(ar))($clone(ap,EZ).object());}else if(au===(23)){ar=ap.typ;as=$clone(ap,EZ).object();aq=$parseInt(as.$capacity)>>0;}else{$panic(new FD.ptr(\"reflect.Value.Slice3\",at));}if(am<0||an<am||ao<an||ao>aq){$panic(new $String(\"reflect.Value.Slice3: slice index out of bounds\"));}aw=Z(ar,$subslice(as,am,an,ao),(ap.flag&96)>>>0);$s=1;case 1:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$s=-1;return aw;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Slice3};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Slice3=function(am,an,ao){return this.$val.Slice3(am,an,ao);};EZ.ptr.prototype.Close=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(18);new FA(am.flag).mustBeExported();$close($clone(am,EZ).object());};EZ.prototype.Close=function(){return this.$val.Close();};BM=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=false;ar=false;as=new IU([new IR([an])]);if(ao){as=$append(as,new IR([]));}at=BL(new IG([as]));$s=1;case 1:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;if(ao&&(($parseInt(au[0])>>0)===1)){av=false;aw=false;aq=av;ar=aw;$s=-1;return[aq,ar];}ax=au[1];ap.$set(ax[0]);ay=true;az=!!(ax[1]);aq=ay;ar=az;$s=-1;return[aq,ar];}return;}if($f===undefined){$f={$blk:BM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};BN=function(am,an,ao,ap){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:aq=new IU([new IR([an,ao.$get()])]);if(ap){aq=$append(aq,new IR([]));}ar=BL(new IG([aq]));$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(ap&&(($parseInt(as[0])>>0)===1)){$s=-1;return false;}$s=-1;return true;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};BP=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=am;ap=an;if(ao===ap){$s=-1;return true;}if(ao===null||ap===null||!(ao.constructor===ap.constructor)){$s=-1;return false;}aq=AC(am);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=$clone(aq,EZ);as=AC(an);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=$clone(as,EZ);au=IW.nil;av=BQ(ar,at,au);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}$s=-1;return av;}return;}if($f===undefined){$f={$blk:BP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};$pkg.DeepEqual=BP;BQ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,ca,cb,cc,cd,ce,cf,cg,ch,ci,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;by=$f.by;bz=$f.bz;ca=$f.ca;cb=$f.cb;cc=$f.cc;cd=$f.cd;ce=$f.ce;cf=$f.cf;cg=$f.cg;ch=$f.ch;ci=$f.ci;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!$clone(am,EZ).IsValid()||!$clone(an,EZ).IsValid()){$s=-1;return!$clone(am,EZ).IsValid()&&!$clone(an,EZ).IsValid();}if(!($interfaceIsEqual($clone(am,EZ).Type(),$clone(an,EZ).Type()))){$s=-1;return false;}if($interfaceIsEqual($clone(am,EZ).Type(),BH)){$s=-1;return BJ(BH,$clone(am,EZ).object())===BJ(BH,$clone(an,EZ).object());}ap=$clone(am,EZ).Kind();if((ap===(17))||(ap===(21))||(ap===(23))||(ap===(25))){aq=ao;ar=0;while(true){if(!(ar<aq.$length)){break;}as=$clone(((ar<0||ar>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ar]),IV);if(am.ptr===as[0]&&an.ptr===as[1]){$s=-1;return true;}ar++;}ao=$append(ao,$toNativeArray($kindUnsafePointer,[am.ptr,an.ptr]));}at=$clone(am,EZ).Kind();if((at===(17))||(at===(23))){$s=2;continue;}if(at===(20)){$s=3;continue;}if(at===(22)){$s=4;continue;}if(at===(25)){$s=5;continue;}if(at===(21)){$s=6;continue;}if(at===(19)){$s=7;continue;}if(at===(26)){$s=8;continue;}$s=9;continue;case 2:if($clone(am,EZ).Kind()===23){if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}}au=$clone(am,EZ).Len();if(!((au===$clone(an,EZ).Len()))){$s=-1;return false;}av=0;case 10:if(!(av<au)){$s=11;continue;}aw=$clone(am,EZ).Index(av);$s=14;case 14:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=$clone(aw,EZ);ay=$clone(an,EZ).Index(av);$s=15;case 15:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}az=$clone(ay,EZ);ba=ao;bb=BQ(ax,az,ba);$s=16;case 16:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(!bb){$s=12;continue;}$s=13;continue;case 12:$s=-1;return false;case 13:av=av+(1)>>0;$s=10;continue;case 11:$s=-1;return true;case 3:if($clone(am,EZ).IsNil()||$clone(an,EZ).IsNil()){$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();}bc=$clone(am,EZ).Elem();$s=17;case 17:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}bd=$clone(bc,EZ);be=$clone(an,EZ).Elem();$s=18;case 18:if($c){$c=false;be=be.$blk();}if(be&&be.$blk!==undefined){break s;}bf=$clone(be,EZ);bg=ao;bh=BQ(bd,bf,bg);$s=19;case 19:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}$s=-1;return bh;case 4:bi=$clone(am,EZ).Elem();$s=20;case 20:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=$clone(bi,EZ);bk=$clone(an,EZ).Elem();$s=21;case 21:if($c){$c=false;bk=bk.$blk();}if(bk&&bk.$blk!==undefined){break s;}bl=$clone(bk,EZ);bm=ao;bn=BQ(bj,bl,bm);$s=22;case 22:if($c){$c=false;bn=bn.$blk();}if(bn&&bn.$blk!==undefined){break s;}$s=-1;return bn;case 5:bo=$clone(am,EZ).NumField();bp=0;case 23:if(!(bp<bo)){$s=24;continue;}bq=$clone(am,EZ).Field(bp);$s=27;case 27:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=$clone(bq,EZ);bs=$clone(an,EZ).Field(bp);$s=28;case 28:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=$clone(bs,EZ);bu=ao;bv=BQ(br,bt,bu);$s=29;case 29:if($c){$c=false;bv=bv.$blk();}if(bv&&bv.$blk!==undefined){break s;}if(!bv){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bp=bp+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 6:if(!($clone(am,EZ).IsNil()===$clone(an,EZ).IsNil())){$s=-1;return false;}if($clone(am,EZ).object()===$clone(an,EZ).object()){$s=-1;return true;}bw=$clone(am,EZ).MapKeys();$s=30;case 30:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bx=bw;if(!((bx.$length===$clone(an,EZ).Len()))){$s=-1;return false;}by=bx;bz=0;case 31:if(!(bz<by.$length)){$s=32;continue;}ca=((bz<0||bz>=by.$length)?($throwRuntimeError(\"index out of range\"),undefined):by.$array[by.$offset+bz]);cb=$clone(am,EZ).MapIndex($clone(ca,EZ));$s=33;case 33:if($c){$c=false;cb=cb.$blk();}if(cb&&cb.$blk!==undefined){break s;}cc=cb;cd=$clone(an,EZ).MapIndex($clone(ca,EZ));$s=34;case 34:if($c){$c=false;cd=cd.$blk();}if(cd&&cd.$blk!==undefined){break s;}ce=cd;if(!$clone(cc,EZ).IsValid()||!$clone(ce,EZ).IsValid()){cf=true;$s=37;continue s;}cg=BQ($clone(cc,EZ),$clone(ce,EZ),ao);$s=38;case 38:if($c){$c=false;cg=cg.$blk();}if(cg&&cg.$blk!==undefined){break s;}cf=!cg;case 37:if(cf){$s=35;continue;}$s=36;continue;case 35:$s=-1;return false;case 36:bz++;$s=31;continue;case 32:$s=-1;return true;case 7:$s=-1;return $clone(am,EZ).IsNil()&&$clone(an,EZ).IsNil();case 8:$s=-1;return $clone(am,EZ).object()===$clone(an,EZ).object();case 9:case 1:ch=BC($clone(am,EZ),false);$s=39;case 39:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}ci=BC($clone(an,EZ),false);$s=40;case 40:if($c){$c=false;ci=ci.$blk();}if(ci&&ci.$blk!==undefined){break s;}$s=-1;return!!($interfaceIsEqual(ch,ci));}return;}if($f===undefined){$f={$blk:BQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.by=by;$f.bz=bz;$f.ca=ca;$f.cb=cb;$f.cc=cc;$f.cd=cd;$f.ce=ce;$f.cf=cf;$f.cg=cg;$f.ch=ch;$f.ci=ci;$f.$s=$s;$f.$r=$r;return $f;};BZ.prototype.String=function(){var $ptr,am;am=this.$val;if(((am>>0))<CQ.$length){return((am<0||am>=CQ.$length)?($throwRuntimeError(\"index out of range\"),undefined):CQ.$array[CQ.$offset+am]);}return\"kind\"+B.Itoa(((am>>0)));};$ptrType(BZ).prototype.String=function(){return new BZ(this.$get()).String();};CB.ptr.prototype.String=function(){var $ptr,am,an;am=this;an=$clone(am.nameOff(am.str),O).name();if(!((((am.tflag&2)>>>0)===0))){return $substring(an,1);}return an;};CB.prototype.String=function(){return this.$val.String();};CB.ptr.prototype.Size=function(){var $ptr,am;am=this;return am.size;};CB.prototype.Size=function(){return this.$val.Size();};CB.ptr.prototype.Bits=function(){var $ptr,am,an;am=this;if(am===HN.nil){$panic(new $String(\"reflect: Bits of nil Type\"));}an=am.Kind();if(an<2||an>16){$panic(new $String(\"reflect: Bits of non-arithmetic Type \"+am.String()));}return $imul(((am.size>>0)),8);};CB.prototype.Bits=function(){return this.$val.Bits();};CB.ptr.prototype.Align=function(){var $ptr,am;am=this;return((am.align>>0));};CB.prototype.Align=function(){return this.$val.Align();};CB.ptr.prototype.FieldAlign=function(){var $ptr,am;am=this;return((am.fieldAlign>>0));};CB.prototype.FieldAlign=function(){return this.$val.FieldAlign();};CB.ptr.prototype.Kind=function(){var $ptr,am;am=this;return((((am.kind&31)>>>0)>>>0));};CB.prototype.Kind=function(){return this.$val.Kind();};CB.ptr.prototype.common=function(){var $ptr,am;am=this;return am;};CB.prototype.common=function(){return this.$val.common();};CB.ptr.prototype.exportedMethods=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;$r=DB.RWMutex.RLock();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}an=(ao=DB.m[HN.keyFor(am)],ao!==undefined?[ao.v,true]:[HP.nil,false]);ap=an[0];aq=an[1];$r=DB.RWMutex.RUnlock();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(aq){$s=-1;return ap;}ar=am.uncommon();if(ar===IO.nil){$s=-1;return HP.nil;}as=ar.methods();at=true;au=as;av=0;while(true){if(!(av<au.$length)){break;}aw=$clone(((av<0||av>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+av]),CD);ax=$clone(am.nameOff(aw.name),O);if(!$clone(ax,O).isExported()){at=false;break;}av++;}if(at){ap=as;}else{ap=$makeSlice(HP,0,as.$length);ay=as;az=0;while(true){if(!(az<ay.$length)){break;}ba=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);bb=$clone(am.nameOff(ba.name),O);if($clone(bb,O).isExported()){ap=$append(ap,ba);}az++;}ap=$subslice(ap,0,ap.$length,ap.$length);}$r=DB.RWMutex.Lock();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(DB.m===false){DB.m={};}bc=am;(DB.m||$throwRuntimeError(\"assignment to entry in nil map\"))[HN.keyFor(bc)]={k:bc,v:ap};$r=DB.RWMutex.Unlock();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.exportedMethods};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.exportedMethods=function(){return this.$val.exportedMethods();};CB.ptr.prototype.NumMethod=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.Kind()===20){an=(am.kindType);$s=-1;return an.NumMethod();}if(((am.tflag&1)>>>0)===0){$s=-1;return 0;}ao=am.exportedMethods();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao.$length;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.NumMethod=function(){return this.$val.NumMethod();};CB.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap.Kind()===20){aq=(ap.kindType);ar=aq.MethodByName(am);CP.copy(an,ar[0]);ao=ar[1];$s=-1;return[an,ao];}as=ap.uncommon();if(as===IO.nil){at=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);au=false;CP.copy(an,at);ao=au;$s=-1;return[an,ao];}av=as.methods();aw=0;case 1:if(!(aw<((as.mcount>>0)))){$s=2;continue;}ax=$clone(((aw<0||aw>=av.$length)?($throwRuntimeError(\"index out of range\"),undefined):av.$array[av.$offset+aw]),CD);ay=$clone(ap.nameOff(ax.name),O);if($clone(ay,O).isExported()&&$clone(ay,O).name()===am){$s=3;continue;}$s=4;continue;case 3:ba=ap.Method(aw);$s=5;case 5:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}az=$clone(ba,CP);bb=true;CP.copy(an,az);ao=bb;$s=-1;return[an,ao];case 4:aw=aw+(1)>>0;$s=1;continue;case 2:bc=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);bd=false;CP.copy(an,bc);ao=bd;$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};CB.ptr.prototype.PkgPath=function(){var $ptr,am,an;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.uncommon();if(an===IO.nil){return\"\";}return $clone(am.nameOff(an.pkgPath),O).name();};CB.prototype.PkgPath=function(){return this.$val.PkgPath();};CB.ptr.prototype.Name=function(){var $ptr,am,an,ao;am=this;if(((am.tflag&4)>>>0)===0){return\"\";}an=am.String();ao=an.length-1>>0;while(true){if(!(ao>=0)){break;}if(an.charCodeAt(ao)===46){break;}ao=ao-(1)>>0;}return $substring(an,(ao+1>>0));};CB.prototype.Name=function(){return this.$val.Name();};CB.ptr.prototype.ChanDir=function(){var $ptr,am,an;am=this;if(!((am.Kind()===18))){$panic(new $String(\"reflect: ChanDir of non-chan type\"));}an=(am.kindType);return((an.dir>>0));};CB.prototype.ChanDir=function(){return this.$val.ChanDir();};CB.ptr.prototype.IsVariadic=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: IsVariadic of non-func type\"));}an=(am.kindType);return!((((an.outCount&32768)>>>0)===0));};CB.prototype.IsVariadic=function(){return this.$val.IsVariadic();};CB.ptr.prototype.Elem=function(){var $ptr,am,an,ao,ap,aq,ar,as;am=this;an=am.Kind();if(an===(17)){ao=(am.kindType);return ER(ao.elem);}else if(an===(18)){ap=(am.kindType);return ER(ap.elem);}else if(an===(21)){aq=(am.kindType);return ER(aq.elem);}else if(an===(22)){ar=(am.kindType);return ER(ar.elem);}else if(an===(23)){as=(am.kindType);return ER(as.elem);}$panic(new $String(\"reflect: Elem of invalid type\"));};CB.prototype.Elem=function(){return this.$val.Elem();};CB.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: Field of non-struct type\"));}ao=(an.kindType);ap=ao.Field(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Field=function(am){return this.$val.Field(am);};CB.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByIndex of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByIndex(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CB.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByName of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};CB.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((an.Kind()===25))){$panic(new $String(\"reflect: FieldByNameFunc of non-struct type\"));}ao=(an.kindType);ap=ao.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CB.ptr.prototype.In=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: In of non-func type\"));}ao=(an.kindType);return ER((ap=ao.in$(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.In=function(am){return this.$val.In(am);};CB.ptr.prototype.Key=function(){var $ptr,am,an;am=this;if(!((am.Kind()===21))){$panic(new $String(\"reflect: Key of non-map type\"));}an=(am.kindType);return ER(an.key);};CB.prototype.Key=function(){return this.$val.Key();};CB.ptr.prototype.Len=function(){var $ptr,am,an;am=this;if(!((am.Kind()===17))){$panic(new $String(\"reflect: Len of non-array type\"));}an=(am.kindType);return((an.len>>0));};CB.prototype.Len=function(){return this.$val.Len();};CB.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;if(!((am.Kind()===25))){$panic(new $String(\"reflect: NumField of non-struct type\"));}an=(am.kindType);return an.fields.$length;};CB.prototype.NumField=function(){return this.$val.NumField();};CB.ptr.prototype.NumIn=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumIn of non-func type\"));}an=(am.kindType);return((an.inCount>>0));};CB.prototype.NumIn=function(){return this.$val.NumIn();};CB.ptr.prototype.NumOut=function(){var $ptr,am,an;am=this;if(!((am.Kind()===19))){$panic(new $String(\"reflect: NumOut of non-func type\"));}an=(am.kindType);return an.out().$length;};CB.prototype.NumOut=function(){return this.$val.NumOut();};CB.ptr.prototype.Out=function(am){var $ptr,am,an,ao,ap;an=this;if(!((an.Kind()===19))){$panic(new $String(\"reflect: Out of non-func type\"));}ao=(an.kindType);return ER((ap=ao.out(),((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am])));};CB.prototype.Out=function(am){return this.$val.Out(am);};CE.prototype.String=function(){var $ptr,am,an;am=this.$val;an=am;if(an===(2)){return\"chan<-\";}else if(an===(1)){return\"<-chan\";}else if(an===(3)){return\"chan\";}return\"ChanDir\"+B.Itoa(((am>>0)));};$ptrType(CE).prototype.String=function(){return new CE(this.$get()).String();};CI.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,ar;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=this;if(am<0||am>=ao.methods.$length){return an;}aq=(ap=ao.methods,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));ar=$clone(ao.rtype.nameOff(aq.name),O);an.Name=$clone(ar,O).name();if(!$clone(ar,O).isExported()){an.PkgPath=$clone(ar,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}an.Type=ER(ao.rtype.typeOff(aq.typ));an.Index=am;return an;};CI.prototype.Method=function(am){return this.$val.Method(am);};CI.ptr.prototype.NumMethod=function(){var $ptr,am;am=this;return am.methods.$length;};CI.prototype.NumMethod=function(){return this.$val.NumMethod();};CI.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw;an=new CP.ptr(\"\",\"\",$ifaceNil,new EZ.ptr(HN.nil,0,0),0);ao=false;ap=this;if(ap===IX.nil){return[an,ao];}aq=IY.nil;ar=ap.methods;as=0;while(true){if(!(as<ar.$length)){break;}at=as;aq=(au=ap.methods,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));if($clone(ap.rtype.nameOff(aq.name),O).name()===am){av=$clone(ap.Method(at),CP);aw=true;CP.copy(an,av);ao=aw;return[an,ao];}as++;}return[an,ao];};CI.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};DF.prototype.Get=function(am){var $ptr,am,an,ao,ap;an=this.$val;ao=new DF(an).Lookup(am);ap=ao[0];return ap;};$ptrType(DF).prototype.Get=function(am){return new DF(this.$get()).Get(am);};DF.prototype.Lookup=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az;an=\"\";ao=false;ap=this.$val;while(true){if(!(!(ap===\"\"))){break;}aq=0;while(true){if(!(aq<ap.length&&(ap.charCodeAt(aq)===32))){break;}aq=aq+(1)>>0;}ap=$substring(ap,aq);if(ap===\"\"){break;}aq=0;while(true){if(!(aq<ap.length&&ap.charCodeAt(aq)>32&&!((ap.charCodeAt(aq)===58))&&!((ap.charCodeAt(aq)===34))&&!((ap.charCodeAt(aq)===127)))){break;}aq=aq+(1)>>0;}if((aq===0)||(aq+1>>0)>=ap.length||!((ap.charCodeAt(aq)===58))||!((ap.charCodeAt((aq+1>>0))===34))){break;}ar=($substring(ap,0,aq));ap=$substring(ap,(aq+1>>0));aq=1;while(true){if(!(aq<ap.length&&!((ap.charCodeAt(aq)===34)))){break;}if(ap.charCodeAt(aq)===92){aq=aq+(1)>>0;}aq=aq+(1)>>0;}if(aq>=ap.length){break;}as=($substring(ap,0,(aq+1>>0)));ap=$substring(ap,(aq+1>>0));if(am===ar){at=B.Unquote(as);au=at[0];av=at[1];if(!($interfaceIsEqual(av,$ifaceNil))){break;}aw=au;ax=true;an=aw;ao=ax;return[an,ao];}}ay=\"\";az=false;an=ay;ao=az;return[an,ao];};$ptrType(DF).prototype.Lookup=function(am){return new DF(this.$get()).Lookup(am);};CN.ptr.prototype.Field=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;if(am<0||am>=ao.fields.$length){$panic(new $String(\"reflect: Field index out of bounds\"));}aq=(ap=ao.fields,((am<0||am>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+am]));an.Type=ER(aq.typ);ar=$clone(aq.name,O).name();if(!(ar===\"\")){$s=1;continue;}$s=2;continue;case 1:an.Name=ar;$s=3;continue;case 2:as=an.Type;at=as.Kind();$s=6;case 6:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===22){$s=4;continue;}$s=5;continue;case 4:au=as.Elem();$s=7;case 7:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}as=au;case 5:av=as.Name();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an.Name=av;an.Anonymous=true;case 3:if(!$clone(aq.name,O).isExported()){an.PkgPath=$clone(aq.name,O).pkgPath();if(an.PkgPath===\"\"){an.PkgPath=$clone(ao.pkgPath,O).name();}}aw=$clone(aq.name,O).tag();if(!(aw===\"\")){an.Tag=(aw);}an.Offset=aq.offset;an.Index=new IZ([am]);$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.Field};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.Field=function(am){return this.$val.Field(am);};CN.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=this;an.Type=ER(ao.rtype);ap=am;aq=0;case 1:if(!(aq<ap.$length)){$s=2;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=3;continue;}$s=4;continue;case 3:at=an.Type;av=at.Kind();$s=8;case 8:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(!(av===22)){au=false;$s=7;continue s;}aw=at.Elem();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw.Kind();$s=10;case 10:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}au=ax===25;case 7:if(au){$s=5;continue;}$s=6;continue;case 5:ay=at.Elem();$s=11;case 11:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}at=ay;case 6:an.Type=at;case 4:az=an.Type.Field(as);$s=12;case 12:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}DE.copy(an,az);aq++;$s=1;continue;case 2:$s=-1;return an;}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};CN.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;bv=$f.bv;bw=$f.bw;bx=$f.bx;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=new JA([]);ar=new JA([new DG.ptr(ap,IZ.nil)]);as=false;at=$makeMap(JB.keyFor,[]);case 1:if(!(ar.$length>0)){$s=2;continue;}au=ar;av=$subslice(aq,0,0);aq=au;ar=av;aw=as;as=false;ax=aq;ay=0;case 3:if(!(ay<ax.$length)){$s=4;continue;}az=$clone(((ay<0||ay>=ax.$length)?($throwRuntimeError(\"index out of range\"),undefined):ax.$array[ax.$offset+ay]),DG);ba=az.typ;if((bb=at[JB.keyFor(ba)],bb!==undefined?bb.v:false)){$s=5;continue;}$s=6;continue;case 5:ay++;$s=3;continue;case 6:bc=ba;(at||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bc)]={k:bc,v:true};bd=ba.fields;be=0;case 7:if(!(be<bd.$length)){$s=8;continue;}bf=be;bh=(bg=ba.fields,((bf<0||bf>=bg.$length)?($throwRuntimeError(\"index out of range\"),undefined):bg.$array[bg.$offset+bf]));bi=\"\";bj=HN.nil;bk=$clone(bh.name,O).name();if(!(bk===\"\")){$s=9;continue;}$s=10;continue;case 9:bi=bk;$s=11;continue;case 10:bj=bh.typ;if(bj.Kind()===22){$s=12;continue;}$s=13;continue;case 12:bl=bj.Elem().common();$s=14;case 14:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bj=bl;case 13:bi=bj.Name();case 11:bm=am(bi);$s=17;case 17:if($c){$c=false;bm=bm.$blk();}if(bm&&bm.$blk!==undefined){break s;}if(bm){$s=15;continue;}$s=16;continue;case 15:if((bn=aw[JB.keyFor(ba)],bn!==undefined?bn.v:0)>1||ao){bo=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);bp=false;DE.copy(an,bo);ao=bp;$s=-1;return[an,ao];}bq=ba.Field(bf);$s=18;case 18:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}DE.copy(an,bq);an.Index=IZ.nil;an.Index=$appendSlice(an.Index,az.index);an.Index=$append(an.Index,bf);ao=true;be++;$s=7;continue;case 16:if(ao||bj===HN.nil||!((bj.Kind()===25))){be++;$s=7;continue;}br=(bj.kindType);if((bs=as[JB.keyFor(br)],bs!==undefined?bs.v:0)>0){bt=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bt)]={k:bt,v:2};be++;$s=7;continue;}if(as===false){as=$makeMap(JB.keyFor,[]);}bu=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bu)]={k:bu,v:1};if((bv=aw[JB.keyFor(ba)],bv!==undefined?bv.v:0)>1){bw=br;(as||$throwRuntimeError(\"assignment to entry in nil map\"))[JB.keyFor(bw)]={k:bw,v:2};}bx=IZ.nil;bx=$appendSlice(bx,az.index);bx=$append(bx,bf);ar=$append(ar,new DG.ptr(br,bx));be++;$s=7;continue;case 8:ay++;$s=3;continue;case 4:if(ao){$s=2;continue;}$s=1;continue;case 2:$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.bv=bv;$f.bw=bw;$f.bx=bx;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};CN.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=[am];an=new DE.ptr(\"\",\"\",$ifaceNil,\"\",0,IZ.nil,false);ao=false;ap=this;aq=false;if(!(am[0]===\"\")){$s=1;continue;}$s=2;continue;case 1:ar=ap.fields;as=0;case 3:if(!(as<ar.$length)){$s=4;continue;}at=as;av=(au=ap.fields,((at<0||at>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+at]));aw=$clone(av.name,O).name();if(aw===\"\"){$s=5;continue;}$s=6;continue;case 5:aq=true;as++;$s=3;continue;case 6:if(aw===am[0]){$s=7;continue;}$s=8;continue;case 7:ay=ap.Field(at);$s=9;case 9:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=$clone(ay,DE);az=true;DE.copy(an,ax);ao=az;$s=-1;return[an,ao];case 8:as++;$s=3;continue;case 4:case 2:if(!aq){$s=-1;return[an,ao];}bb=ap.FieldByNameFunc((function(am){return function(bb){var $ptr,bb;return bb===am[0];};})(am));$s=10;case 10:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}ba=bb;DE.copy(an,ba[0]);ao=ba[1];$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:CN.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.$s=$s;$f.$r=$r;return $f;};CN.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};DI=function(am){var $ptr,am;return $assertType(am,HN).ptrTo();};$pkg.PtrTo=DI;CB.ptr.prototype.Implements=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.Implements\"));}ao=am.Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===20))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: non-interface type passed to Type.Implements\"));case 2:$s=-1;return DK($assertType(am,HN),an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.Implements};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.Implements=function(am){return this.$val.Implements(am);};CB.ptr.prototype.AssignableTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.AssignableTo\"));}ao=$assertType(am,HN);ap=DL(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap||DK(ao,an);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.AssignableTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.AssignableTo=function(am){return this.$val.AssignableTo(am);};CB.ptr.prototype.ConvertibleTo=function(am){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: nil type passed to Type.ConvertibleTo\"));}ao=$assertType(am,HN);ap=GH(ao,an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return!(ap===$throwNilPointerError);}return;}if($f===undefined){$f={$blk:CB.ptr.prototype.ConvertibleTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};CB.prototype.ConvertibleTo=function(am){return this.$val.ConvertibleTo(am);};DK=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc;if(!((am.Kind()===20))){return false;}ao=(am.kindType);if(ao.methods.$length===0){return true;}if(an.Kind()===20){ap=(an.kindType);aq=0;ar=0;while(true){if(!(ar<ap.methods.$length)){break;}at=(as=ao.methods,((aq<0||aq>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+aq]));av=(au=ap.methods,((ar<0||ar>=au.$length)?($throwRuntimeError(\"index out of range\"),undefined):au.$array[au.$offset+ar]));if($clone(an.nameOff(av.name),O).name()===$clone(ao.rtype.nameOff(at.name),O).name()&&an.typeOff(av.typ)===ao.rtype.typeOff(at.typ)){aq=aq+(1)>>0;if(aq>=ao.methods.$length){return true;}}ar=ar+(1)>>0;}return false;}aw=an.uncommon();if(aw===IO.nil){return false;}ax=0;ay=aw.methods();az=0;while(true){if(!(az<((aw.mcount>>0)))){break;}bb=(ba=ao.methods,((ax<0||ax>=ba.$length)?($throwRuntimeError(\"index out of range\"),undefined):ba.$array[ba.$offset+ax]));bc=$clone(((az<0||az>=ay.$length)?($throwRuntimeError(\"index out of range\"),undefined):ay.$array[ay.$offset+az]),CD);if($clone(an.nameOff(bc.name),O).name()===$clone(ao.rtype.nameOff(bb.name),O).name()&&an.typeOff(bc.mtyp)===ao.rtype.typeOff(bb.typ)){ax=ax+(1)>>0;if(ax>=ao.methods.$length){return true;}}az=az+(1)>>0;}return false;};DL=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}if(!(am.Name()===\"\")&&!(an.Name()===\"\")||!((am.Kind()===an.Kind()))){$s=-1;return false;}ao=DN(am,an,true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:DL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};DM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(ao){$s=-1;return $interfaceIsEqual(am,an);}aq=am.Name();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=an.Name();$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(!(aq===ar)){ap=true;$s=3;continue s;}as=am.Kind();$s=6;case 6:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}at=an.Kind();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ap=!((as===at));case 3:if(ap){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:au=am.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}av=au;aw=an.common();$s=9;case 9:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}ax=aw;ay=DN(av,ax,false);$s=10;case 10:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}$s=-1;return ay;}return;}if($f===undefined){$f={$blk:DM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.$s=$s;$f.$r=$r;return $f;};DN=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;bi=$f.bi;bj=$f.bj;bk=$f.bk;bl=$f.bl;bm=$f.bm;bn=$f.bn;bo=$f.bo;bp=$f.bp;bq=$f.bq;br=$f.br;bs=$f.bs;bt=$f.bt;bu=$f.bu;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(am===an){$s=-1;return true;}ap=am.Kind();if(!((ap===an.Kind()))){$s=-1;return false;}if(1<=ap&&ap<=16||(ap===24)||(ap===26)){$s=-1;return true;}aq=ap;if(aq===(17)){$s=2;continue;}if(aq===(18)){$s=3;continue;}if(aq===(19)){$s=4;continue;}if(aq===(20)){$s=5;continue;}if(aq===(21)){$s=6;continue;}if((aq===(22))||(aq===(23))){$s=7;continue;}if(aq===(25)){$s=8;continue;}$s=9;continue;case 2:if(!(am.Len()===an.Len())){ar=false;$s=10;continue s;}as=DM(am.Elem(),an.Elem(),ao);$s=11;case 11:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}ar=as;case 10:$s=-1;return ar;case 3:if(!(an.ChanDir()===3)){at=false;$s=14;continue s;}au=DM(am.Elem(),an.Elem(),ao);$s=15;case 15:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;case 14:if(at){$s=12;continue;}$s=13;continue;case 12:$s=-1;return true;case 13:if(!(an.ChanDir()===am.ChanDir())){av=false;$s=16;continue s;}aw=DM(am.Elem(),an.Elem(),ao);$s=17;case 17:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}av=aw;case 16:$s=-1;return av;case 4:ax=(am.kindType);ay=(an.kindType);if(!((ax.outCount===ay.outCount))||!((ax.inCount===ay.inCount))){$s=-1;return false;}az=0;case 18:if(!(az<ax.rtype.NumIn())){$s=19;continue;}ba=DM(ax.rtype.In(az),ay.rtype.In(az),ao);$s=22;case 22:if($c){$c=false;ba=ba.$blk();}if(ba&&ba.$blk!==undefined){break s;}if(!ba){$s=20;continue;}$s=21;continue;case 20:$s=-1;return false;case 21:az=az+(1)>>0;$s=18;continue;case 19:bb=0;case 23:if(!(bb<ax.rtype.NumOut())){$s=24;continue;}bc=DM(ax.rtype.Out(bb),ay.rtype.Out(bb),ao);$s=27;case 27:if($c){$c=false;bc=bc.$blk();}if(bc&&bc.$blk!==undefined){break s;}if(!bc){$s=25;continue;}$s=26;continue;case 25:$s=-1;return false;case 26:bb=bb+(1)>>0;$s=23;continue;case 24:$s=-1;return true;case 5:bd=(am.kindType);be=(an.kindType);if((bd.methods.$length===0)&&(be.methods.$length===0)){$s=-1;return true;}$s=-1;return false;case 6:bg=DM(am.Key(),an.Key(),ao);$s=29;case 29:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}if(!(bg)){bf=false;$s=28;continue s;}bh=DM(am.Elem(),an.Elem(),ao);$s=30;case 30:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bf=bh;case 28:$s=-1;return bf;case 7:bi=DM(am.Elem(),an.Elem(),ao);$s=31;case 31:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}$s=-1;return bi;case 8:bj=(am.kindType);bk=(an.kindType);if(!((bj.fields.$length===bk.fields.$length))){$s=-1;return false;}bl=bj.fields;bm=0;case 32:if(!(bm<bl.$length)){$s=33;continue;}bn=bm;bp=(bo=bj.fields,((bn<0||bn>=bo.$length)?($throwRuntimeError(\"index out of range\"),undefined):bo.$array[bo.$offset+bn]));br=(bq=bk.fields,((bn<0||bn>=bq.$length)?($throwRuntimeError(\"index out of range\"),undefined):bq.$array[bq.$offset+bn]));if(!($clone(bp.name,O).name()===$clone(br.name,O).name())){$s=-1;return false;}bs=DM(bp.typ,br.typ,ao);$s=36;case 36:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}if(!bs){$s=34;continue;}$s=35;continue;case 34:$s=-1;return false;case 35:if(ao&&!($clone(bp.name,O).tag()===$clone(br.name,O).tag())){$s=-1;return false;}if(!((bp.offset===br.offset))){$s=-1;return false;}if(!$clone(bp.name,O).isExported()){bt=$clone(bp.name,O).pkgPath();if(bt===\"\"){bt=$clone(bj.pkgPath,O).name();}bu=$clone(br.name,O).pkgPath();if(bu===\"\"){bu=$clone(bk.pkgPath,O).name();}if(!(bt===bu)){$s=-1;return false;}}bm++;$s=32;continue;case 33:$s=-1;return true;case 9:case 1:$s=-1;return false;}return;}if($f===undefined){$f={$blk:DN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.bi=bi;$f.bj=bj;$f.bk=bk;$f.bl=bl;$f.bm=bm;$f.bn=bn;$f.bo=bo;$f.bp=bp;$f.bq=bq;$f.br=br;$f.bs=bs;$f.bt=bt;$f.bu=bu;$f.$s=$s;$f.$r=$r;return $f;};ER=function(am){var $ptr,am;if(am===HN.nil){return $ifaceNil;}return am;};EW=function(am){var $ptr,am;return((am.kind&32)>>>0)===0;};FA.prototype.kind=function(){var $ptr,am;am=this.$val;return((((am&31)>>>0)>>>0));};$ptrType(FA).prototype.kind=function(){return new FA(this.$get()).kind();};EZ.ptr.prototype.pointer=function(){var $ptr,am;am=this;if(!((am.typ.size===4))||!am.typ.pointers()){$panic(new $String(\"can't call pointer on a non-pointer Value\"));}if(!((((am.flag&128)>>>0)===0))){return(am.ptr).$get();}return am.ptr;};EZ.prototype.pointer=function(){return this.$val.pointer();};FD.ptr.prototype.Error=function(){var $ptr,am;am=this;if(am.Kind===0){return\"reflect: call of \"+am.Method+\" on zero Value\";}return\"reflect: call of \"+am.Method+\" on \"+new BZ(am.Kind).String()+\" Value\";};FD.prototype.Error=function(){return this.$val.Error();};FA.prototype.mustBe=function(am){var $ptr,am,an;an=this.$val;if(!((new FA(an).kind()===am))){$panic(new FD.ptr(BE(),new FA(an).kind()));}};$ptrType(FA).prototype.mustBe=function(am){return new FA(this.$get()).mustBe(am);};FA.prototype.mustBeExported=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}};$ptrType(FA).prototype.mustBeExported=function(){return new FA(this.$get()).mustBeExported();};FA.prototype.mustBeAssignable=function(){var $ptr,am;am=this.$val;if(am===0){$panic(new FD.ptr(BE(),0));}if(!((((am&96)>>>0)===0))){$panic(new $String(\"reflect: \"+BE()+\" using value obtained using unexported field\"));}if(((am&256)>>>0)===0){$panic(new $String(\"reflect: \"+BE()+\" using unaddressable value\"));}};$ptrType(FA).prototype.mustBeAssignable=function(){return new FA(this.$get()).mustBeAssignable();};EZ.ptr.prototype.Addr=function(){var $ptr,am;am=this;if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.Addr of unaddressable value\"));}return new EZ.ptr(am.typ.ptrTo(),am.ptr,((((am.flag&96)>>>0))|22)>>>0);};EZ.prototype.Addr=function(){return this.$val.Addr();};EZ.ptr.prototype.Bool=function(){var $ptr,am;am=this;new FA(am.flag).mustBe(1);return(am.ptr).$get();};EZ.prototype.Bool=function(){return this.$val.Bool();};EZ.ptr.prototype.Bytes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===8))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-byte slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Bytes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Bytes=function(){return this.$val.Bytes();};EZ.ptr.prototype.runes=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(23);an=am.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}if(!((an===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.Bytes of non-rune slice\"));case 2:$s=-1;return(am.ptr).$get();}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.runes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.runes=function(){return this.$val.runes();};EZ.ptr.prototype.CanAddr=function(){var $ptr,am;am=this;return!((((am.flag&256)>>>0)===0));};EZ.prototype.CanAddr=function(){return this.$val.CanAddr();};EZ.ptr.prototype.CanSet=function(){var $ptr,am;am=this;return((am.flag&352)>>>0)===256;};EZ.prototype.CanSet=function(){return this.$val.CanSet();};EZ.ptr.prototype.Call=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"Call\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Call};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Call=function(am){return this.$val.Call(am);};EZ.ptr.prototype.CallSlice=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(19);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).call(\"CallSlice\",am);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.CallSlice};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.CallSlice=function(am){return this.$val.CallSlice(am);};EZ.ptr.prototype.Complex=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(15)){return((ap=(am.ptr).$get(),new $Complex128(ap.$real,ap.$imag)));}else if(ao===(16)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Complex\",new FA(am.flag).kind()));};EZ.prototype.Complex=function(){return this.$val.Complex();};EZ.ptr.prototype.FieldByIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(am.$length===1){$s=1;continue;}$s=2;continue;case 1:ao=$clone(an,EZ).Field((0>=am.$length?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+0]));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;case 2:new FA(an.flag).mustBe(25);ap=am;aq=0;case 4:if(!(aq<ap.$length)){$s=5;continue;}ar=aq;as=((aq<0||aq>=ap.$length)?($throwRuntimeError(\"index out of range\"),undefined):ap.$array[ap.$offset+aq]);if(ar>0){$s=6;continue;}$s=7;continue;case 6:if(!($clone(an,EZ).Kind()===22)){at=false;$s=10;continue s;}au=an.typ.Elem().Kind();$s=11;case 11:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===25;case 10:if(at){$s=8;continue;}$s=9;continue;case 8:if($clone(an,EZ).IsNil()){$panic(new $String(\"reflect: indirection through nil pointer to embedded struct\"));}av=$clone(an,EZ).Elem();$s=12;case 12:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}an=av;case 9:case 7:aw=$clone(an,EZ).Field(as);$s=13;case 13:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}an=aw;aq++;$s=4;continue;case 5:$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByIndex=function(am){return this.$val.FieldByIndex(am);};EZ.ptr.prototype.FieldByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(25);ap=an.typ.FieldByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByName=function(am){return this.$val.FieldByName(am);};EZ.ptr.prototype.FieldByNameFunc=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;ap=an.typ.FieldByNameFunc(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],DE);ar=ao[1];if(ar){$s=2;continue;}$s=3;continue;case 2:as=$clone(an,EZ).FieldByIndex(aq.Index);$s=4;case 4:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;case 3:$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.FieldByNameFunc};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.FieldByNameFunc=function(am){return this.$val.FieldByNameFunc(am);};EZ.ptr.prototype.Float=function(){var $ptr,am,an,ao;am=this;an=new FA(am.flag).kind();ao=an;if(ao===(13)){return((am.ptr).$get());}else if(ao===(14)){return(am.ptr).$get();}$panic(new FD.ptr(\"reflect.Value.Float\",new FA(am.flag).kind()));};EZ.prototype.Float=function(){return this.$val.Float();};EZ.ptr.prototype.Int=function(){var $ptr,am,an,ao,ap;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(2)){return(new $Int64(0,(ao).$get()));}else if(ap===(3)){return(new $Int64(0,(ao).$get()));}else if(ap===(4)){return(new $Int64(0,(ao).$get()));}else if(ap===(5)){return(new $Int64(0,(ao).$get()));}else if(ap===(6)){return(ao).$get();}$panic(new FD.ptr(\"reflect.Value.Int\",new FA(am.flag).kind()));};EZ.prototype.Int=function(){return this.$val.Int();};EZ.ptr.prototype.CanInterface=function(){var $ptr,am;am=this;if(am.flag===0){$panic(new FD.ptr(\"reflect.Value.CanInterface\",0));}return((am.flag&96)>>>0)===0;};EZ.prototype.CanInterface=function(){return this.$val.CanInterface();};EZ.ptr.prototype.Interface=function(){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=$ifaceNil;an=this;ao=BC($clone(an,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}am=ao;$s=-1;return am;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Interface};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Interface=function(){return this.$val.Interface();};EZ.ptr.prototype.IsValid=function(){var $ptr,am;am=this;return!((am.flag===0));};EZ.prototype.IsValid=function(){return this.$val.IsValid();};EZ.ptr.prototype.Kind=function(){var $ptr,am;am=this;return new FA(am.flag).kind();};EZ.prototype.Kind=function(){return this.$val.Kind();};EZ.ptr.prototype.MapIndex=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(21);ao=(an.typ.kindType);ap=$clone(am,EZ).assignTo(\"reflect.Value.MapIndex\",ao.key,0);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}am=ap;aq=0;if(!((((am.flag&128)>>>0)===0))){aq=am.ptr;}else{aq=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}ar=AR(an.typ,$clone(an,EZ).pointer(),aq);if(ar===0){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=ao.elem;at=((((an.flag|am.flag)>>>0))&96)>>>0;at=(at|(((as.Kind()>>>0))))>>>0;if(EW(as)){au=AJ(as);AM(as,au,ar);$s=-1;return new EZ.ptr(as,au,(at|128)>>>0);}else{$s=-1;return new EZ.ptr(as,(ar).$get(),at);}$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapIndex=function(am){return this.$val.MapIndex(am);};EZ.ptr.prototype.MapKeys=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;new FA(am.flag).mustBe(21);an=(am.typ.kindType);ao=an.key;ap=(((am.flag&96)>>>0)|((ao.Kind()>>>0)))>>>0;aq=$clone(am,EZ).pointer();ar=0;if(!(aq===0)){ar=AY(aq);}as=AV(am.typ,aq);at=$makeSlice(IS,ar);au=0;au=0;case 1:if(!(au<at.$length)){$s=2;continue;}av=AW(as);$s=3;case 3:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===0){$s=2;continue;}if(EW(ao)){ax=AJ(ao);AM(ao,ax,aw);((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,ax,(ap|128)>>>0));}else{((au<0||au>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+au]=new EZ.ptr(ao,(aw).$get(),ap));}AX(as);au=au+(1)>>0;$s=1;continue;case 2:$s=-1;return $subslice(at,0,au);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MapKeys};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MapKeys=function(){return this.$val.MapKeys();};EZ.ptr.prototype.Method=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.Method\",0));}if(!((((an.flag&512)>>>0)===0))){ao=true;$s=3;continue s;}ap=an.typ.NumMethod();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=((am>>>0))>=((ap>>>0));case 3:if(ao){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect: Method index out of range\"));case 2:if((an.typ.Kind()===20)&&$clone(an,EZ).IsNil()){$panic(new $String(\"reflect: Method on nil interface value\"));}aq=(an.flag&160)>>>0;aq=(aq|(19))>>>0;aq=(aq|((((((am>>>0))<<10>>>0)|512)>>>0)))>>>0;$s=-1;return new EZ.ptr(an.typ,an.ptr,aq);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Method};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Method=function(am){return this.$val.Method(am);};EZ.ptr.prototype.NumMethod=function(){var $ptr,am,an,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.NumMethod\",0));}if(!((((am.flag&512)>>>0)===0))){$s=-1;return 0;}an=am.typ.NumMethod();$s=1;case 1:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}$s=-1;return an;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.NumMethod};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.NumMethod=function(){return this.$val.NumMethod();};EZ.ptr.prototype.MethodByName=function(am){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(an.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.MethodByName\",0));}if(!((((an.flag&512)>>>0)===0))){$s=-1;return new EZ.ptr(HN.nil,0,0);}ap=an.typ.MethodByName(am);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=$clone(ao[0],CP);ar=ao[1];if(!ar){$s=-1;return new EZ.ptr(HN.nil,0,0);}as=$clone(an,EZ).Method(aq.Index);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.MethodByName};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.MethodByName=function(am){return this.$val.MethodByName(am);};EZ.ptr.prototype.NumField=function(){var $ptr,am,an;am=this;new FA(am.flag).mustBe(25);an=(am.typ.kindType);return an.fields.$length;};EZ.prototype.NumField=function(){return this.$val.NumField();};EZ.ptr.prototype.OverflowComplex=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){return FN(am.$real)||FN(am.$imag);}else if(ap===(16)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowComplex\",new FA(an.flag).kind()));};EZ.prototype.OverflowComplex=function(am){return this.$val.OverflowComplex(am);};EZ.ptr.prototype.OverflowFloat=function(am){var $ptr,am,an,ao,ap;an=this;ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){return FN(am);}else if(ap===(14)){return false;}$panic(new FD.ptr(\"reflect.Value.OverflowFloat\",new FA(an.flag).kind()));};EZ.prototype.OverflowFloat=function(am){return this.$val.OverflowFloat(am);};FN=function(am){var $ptr,am;if(am<0){am=-am;}return 3.4028234663852886e+38<am&&am<=1.7976931348623157e+308;};EZ.ptr.prototype.OverflowInt=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightInt64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowInt\",new FA(an.flag).kind()));};EZ.prototype.OverflowInt=function(am){return this.$val.OverflowInt(am);};EZ.ptr.prototype.OverflowUint=function(am){var $ptr,am,an,ao,ap,aq,ar;an=this;ao=new FA(an.flag).kind();ap=ao;if((ap===(7))||(ap===(12))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))){aq=$imul(an.typ.size,8)>>>0;ar=$shiftRightUint64(($shiftLeft64(am,((64-aq>>>0)))),((64-aq>>>0)));return!((am.$high===ar.$high&&am.$low===ar.$low));}$panic(new FD.ptr(\"reflect.Value.OverflowUint\",new FA(an.flag).kind()));};EZ.prototype.OverflowUint=function(am){return this.$val.OverflowUint(am);};EZ.ptr.prototype.Recv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(false);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Recv=function(){return this.$val.Recv();};EZ.ptr.prototype.recv=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=new EZ.ptr(HN.nil,0,0);ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&1)===0){$panic(new $String(\"reflect: recv on send-only channel\"));}ar=aq.elem;an=new EZ.ptr(ar,0,((ar.Kind()>>>0)));as=0;if(EW(ar)){as=AJ(ar);an.ptr=as;an.flag=(an.flag|(128))>>>0;}else{as=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}au=BM(ap.typ,$clone(ap,EZ).pointer(),am,as);$s=1;case 1:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au;av=at[0];ao=at[1];if(!av){an=new EZ.ptr(HN.nil,0,0);}$s=-1;return[an,ao];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.recv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.recv=function(am){return this.$val.recv(am);};EZ.ptr.prototype.Send=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),false);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ao;$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Send=function(am){return this.$val.Send(am);};EZ.ptr.prototype.send=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=false;ap=this;aq=(ap.typ.kindType);if((((aq.dir>>0))&2)===0){$panic(new $String(\"reflect: send on recv-only channel\"));}new FA(am.flag).mustBeExported();ar=$clone(am,EZ).assignTo(\"reflect.Value.Send\",aq.elem,0);$s=1;case 1:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}am=ar;as=0;if(!((((am.flag&128)>>>0)===0))){as=am.ptr;}else{as=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}at=BN(ap.typ,$clone(ap,EZ).pointer(),as,an);$s=2;case 2:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}ao=at;$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.send};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.send=function(am,an){return this.$val.send(am,an);};EZ.ptr.prototype.SetBool=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(1);(an.ptr).$set(am);};EZ.prototype.SetBool=function(am){return this.$val.SetBool(am);};EZ.ptr.prototype.setRunes=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(23);ao=an.typ.Elem().Kind();$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}if(!((ao===5))){$s=1;continue;}$s=2;continue;case 1:$panic(new $String(\"reflect.Value.setRunes of non-rune slice\"));case 2:(an.ptr).$set(am);$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.setRunes};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.setRunes=function(am){return this.$val.setRunes(am);};EZ.ptr.prototype.SetComplex=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(15)){(an.ptr).$set((new $Complex64(am.$real,am.$imag)));}else if(ap===(16)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetComplex\",new FA(an.flag).kind()));}};EZ.prototype.SetComplex=function(am){return this.$val.SetComplex(am);};EZ.ptr.prototype.SetFloat=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(13)){(an.ptr).$set(($fround(am)));}else if(ap===(14)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetFloat\",new FA(an.flag).kind()));}};EZ.prototype.SetFloat=function(am){return this.$val.SetFloat(am);};EZ.ptr.prototype.SetInt=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(2)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(3)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<24>>24)));}else if(ap===(4)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))<<16>>16)));}else if(ap===(5)){(an.ptr).$set((((am.$low+((am.$high>>31)*4294967296))>>0)));}else if(ap===(6)){(an.ptr).$set(am);}else{$panic(new FD.ptr(\"reflect.Value.SetInt\",new FA(an.flag).kind()));}};EZ.prototype.SetInt=function(am){return this.$val.SetInt(am);};EZ.ptr.prototype.SetMapIndex=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=this;new FA(ao.flag).mustBe(21);new FA(ao.flag).mustBeExported();new FA(am.flag).mustBeExported();ap=(ao.typ.kindType);aq=$clone(am,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.key,0);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}am=aq;ar=0;if(!((((am.flag&128)>>>0)===0))){ar=am.ptr;}else{ar=((am.$ptr_ptr||(am.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},am))));}if(an.typ===HN.nil){AT(ao.typ,$clone(ao,EZ).pointer(),ar);$s=-1;return;}new FA(an.flag).mustBeExported();as=$clone(an,EZ).assignTo(\"reflect.Value.SetMapIndex\",ap.elem,0);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}an=as;at=0;if(!((((an.flag&128)>>>0)===0))){at=an.ptr;}else{at=((an.$ptr_ptr||(an.$ptr_ptr=new JN(function(){return this.$target.ptr;},function($v){this.$target.ptr=$v;},an))));}$r=AS(ao.typ,$clone(ao,EZ).pointer(),ar,at);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.SetMapIndex};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.SetMapIndex=function(am,an){return this.$val.SetMapIndex(am,an);};EZ.ptr.prototype.SetUint=function(am){var $ptr,am,an,ao,ap;an=this;new FA(an.flag).mustBeAssignable();ao=new FA(an.flag).kind();ap=ao;if(ap===(7)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(8)){(an.ptr).$set(((am.$low<<24>>>24)));}else if(ap===(9)){(an.ptr).$set(((am.$low<<16>>>16)));}else if(ap===(10)){(an.ptr).$set(((am.$low>>>0)));}else if(ap===(11)){(an.ptr).$set(am);}else if(ap===(12)){(an.ptr).$set(((am.$low>>>0)));}else{$panic(new FD.ptr(\"reflect.Value.SetUint\",new FA(an.flag).kind()));}};EZ.prototype.SetUint=function(am){return this.$val.SetUint(am);};EZ.ptr.prototype.SetPointer=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(26);(an.ptr).$set(am);};EZ.prototype.SetPointer=function(am){return this.$val.SetPointer(am);};EZ.ptr.prototype.SetString=function(am){var $ptr,am,an;an=this;new FA(an.flag).mustBeAssignable();new FA(an.flag).mustBe(24);(an.ptr).$set(am);};EZ.prototype.SetString=function(am){return this.$val.SetString(am);};EZ.ptr.prototype.String=function(){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=this;an=new FA(am.flag).kind();ao=an;if(ao===(0)){$s=-1;return\"<invalid Value>\";}else if(ao===(24)){$s=-1;return(am.ptr).$get();}ap=$clone(am,EZ).Type().String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return\"<\"+ap+\" Value>\";}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.String};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.String=function(){return this.$val.String();};EZ.ptr.prototype.TryRecv=function(){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:am=new EZ.ptr(HN.nil,0,0);an=false;ao=this;new FA(ao.flag).mustBe(18);new FA(ao.flag).mustBeExported();aq=$clone(ao,EZ).recv(true);$s=1;case 1:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;am=ap[0];an=ap[1];$s=-1;return[am,an];}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TryRecv};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TryRecv=function(){return this.$val.TryRecv();};EZ.ptr.prototype.TrySend=function(am){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;new FA(an.flag).mustBe(18);new FA(an.flag).mustBeExported();ao=$clone(an,EZ).send($clone(am,EZ),true);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.TrySend};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.TrySend=function(am){return this.$val.TrySend(am);};EZ.ptr.prototype.Type=function(){var $ptr,am,an,ao,ap,aq,ar,as,at,au;am=this;an=am.flag;if(an===0){$panic(new FD.ptr(\"reflect.Value.Type\",0));}if(((an&512)>>>0)===0){return am.typ;}ao=((am.flag>>0))>>10>>0;if(am.typ.Kind()===20){ap=(am.typ.kindType);if(((ao>>>0))>=((ap.methods.$length>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}ar=(aq=ap.methods,((ao<0||ao>=aq.$length)?($throwRuntimeError(\"index out of range\"),undefined):aq.$array[aq.$offset+ao]));return am.typ.typeOff(ar.typ);}as=am.typ.uncommon();if(as===IO.nil||((ao>>>0))>=((as.mcount>>>0))){$panic(new $String(\"reflect: internal error: invalid method index\"));}au=$clone((at=as.methods(),((ao<0||ao>=at.$length)?($throwRuntimeError(\"index out of range\"),undefined):at.$array[at.$offset+ao])),CD);return am.typ.typeOff(au.mtyp);};EZ.prototype.Type=function(){return this.$val.Type();};EZ.ptr.prototype.Uint=function(){var $ptr,am,an,ao,ap,aq;am=this;an=new FA(am.flag).kind();ao=am.ptr;ap=an;if(ap===(7)){return(new $Uint64(0,(ao).$get()));}else if(ap===(8)){return(new $Uint64(0,(ao).$get()));}else if(ap===(9)){return(new $Uint64(0,(ao).$get()));}else if(ap===(10)){return(new $Uint64(0,(ao).$get()));}else if(ap===(11)){return(ao).$get();}else if(ap===(12)){return((aq=(ao).$get(),new $Uint64(0,aq.constructor===Number?aq:1)));}$panic(new FD.ptr(\"reflect.Value.Uint\",new FA(am.flag).kind()));};EZ.prototype.Uint=function(){return this.$val.Uint();};EZ.ptr.prototype.UnsafeAddr=function(){var $ptr,am;am=this;if(am.typ===HN.nil){$panic(new FD.ptr(\"reflect.Value.UnsafeAddr\",0));}if(((am.flag&256)>>>0)===0){$panic(new $String(\"reflect.Value.UnsafeAddr of unaddressable value\"));}return(am.ptr);};EZ.prototype.UnsafeAddr=function(){return this.$val.UnsafeAddr();};GF=function(am){var $ptr,am,an,ao,ap,aq,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($interfaceIsEqual(am,$ifaceNil)){$panic(new $String(\"reflect: New(nil)\"));}an=AJ($assertType(am,HN));ao=22;ap=am.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap.ptrTo();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(aq,an,ao);}return;}if($f===undefined){$f={$blk:GF};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=GF;EZ.ptr.prototype.assignTo=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=this;if(!((((ap.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:aq=BF(am,$clone(ap,EZ));$s=3;case 3:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ap=aq;case 2:ar=DL(an,ap.typ);$s=8;case 8:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}if(ar){$s=5;continue;}if(DK(an,ap.typ)){$s=6;continue;}$s=7;continue;case 5:ap.typ=an;as=(ap.flag&480)>>>0;as=(as|(((an.Kind()>>>0))))>>>0;$s=-1;return new EZ.ptr(an,ap.ptr,as);case 6:if(ao===0){ao=AJ(an);}at=BC($clone(ap,EZ),false);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;av=an.NumMethod();$s=13;case 13:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}if(av===0){$s=10;continue;}$s=11;continue;case 10:(ao).$set(au);$s=12;continue;case 11:BD(an,au,ao);case 12:$s=-1;return new EZ.ptr(an,ao,148);case 7:case 4:$panic(new $String(am+\": value of type \"+ap.typ.String()+\" is not assignable to type \"+an.String()));$s=-1;return new EZ.ptr(HN.nil,0,0);}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.assignTo};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.assignTo=function(am,an,ao){return this.$val.assignTo(am,an,ao);};EZ.ptr.prototype.Convert=function(am){var $ptr,am,an,ao,ap,aq,ar,as,at,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:an=this;if(!((((an.flag&512)>>>0)===0))){$s=1;continue;}$s=2;continue;case 1:ao=BF(\"Convert\",$clone(an,EZ));$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}an=ao;case 2:ap=am.common();$s=4;case 4:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=GH(ap,an.typ);$s=5;case 5:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;if(ar===$throwNilPointerError){$s=6;continue;}$s=7;continue;case 6:as=am.String();$s=8;case 8:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$panic(new $String(\"reflect.Value.Convert: value of type \"+an.typ.String()+\" cannot be converted to type \"+as));case 7:at=ar($clone(an,EZ),am);$s=9;case 9:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}$s=-1;return at;}return;}if($f===undefined){$f={$blk:EZ.ptr.prototype.Convert};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.$s=$s;$f.$r=$r;return $f;};EZ.prototype.Convert=function(am){return this.$val.Convert(am);};GH=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd,be,bf,bg,bh,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;ba=$f.ba;bb=$f.bb;bc=$f.bc;bd=$f.bd;be=$f.be;bf=$f.bf;bg=$f.bg;bh=$f.bh;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.Kind();if((ao===(2))||(ao===(3))||(ao===(4))||(ao===(5))||(ao===(6))){$s=2;continue;}if((ao===(7))||(ao===(8))||(ao===(9))||(ao===(10))||(ao===(11))||(ao===(12))){$s=3;continue;}if((ao===(13))||(ao===(14))){$s=4;continue;}if((ao===(15))||(ao===(16))){$s=5;continue;}if(ao===(24)){$s=6;continue;}if(ao===(23)){$s=7;continue;}$s=8;continue;case 2:ap=am.Kind();if((ap===(2))||(ap===(3))||(ap===(4))||(ap===(5))||(ap===(6))||(ap===(7))||(ap===(8))||(ap===(9))||(ap===(10))||(ap===(11))||(ap===(12))){$s=-1;return GN;}else if((ap===(13))||(ap===(14))){$s=-1;return GR;}else if(ap===(24)){$s=-1;return GV;}$s=8;continue;case 3:aq=am.Kind();if((aq===(2))||(aq===(3))||(aq===(4))||(aq===(5))||(aq===(6))||(aq===(7))||(aq===(8))||(aq===(9))||(aq===(10))||(aq===(11))||(aq===(12))){$s=-1;return GO;}else if((aq===(13))||(aq===(14))){$s=-1;return GS;}else if(aq===(24)){$s=-1;return GW;}$s=8;continue;case 4:ar=am.Kind();if((ar===(2))||(ar===(3))||(ar===(4))||(ar===(5))||(ar===(6))){$s=-1;return GP;}else if((ar===(7))||(ar===(8))||(ar===(9))||(ar===(10))||(ar===(11))||(ar===(12))){$s=-1;return GQ;}else if((ar===(13))||(ar===(14))){$s=-1;return GT;}$s=8;continue;case 5:as=am.Kind();if((as===(15))||(as===(16))){$s=-1;return GU;}$s=8;continue;case 6:if(!(am.Kind()===23)){at=false;$s=11;continue s;}au=am.Elem().PkgPath();$s=12;case 12:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}at=au===\"\";case 11:if(at){$s=9;continue;}$s=10;continue;case 9:av=am.Elem().Kind();$s=14;case 14:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(aw===(8)){$s=-1;return GY;}else if(aw===(5)){$s=-1;return HA;}case 13:case 10:$s=8;continue;case 7:if(!(am.Kind()===24)){ax=false;$s=17;continue s;}ay=an.Elem().PkgPath();$s=18;case 18:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay===\"\";case 17:if(ax){$s=15;continue;}$s=16;continue;case 15:az=an.Elem().Kind();$s=20;case 20:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(ba===(8)){$s=-1;return GX;}else if(ba===(5)){$s=-1;return GZ;}case 19:case 16:case 8:case 1:bb=DN(am,an,false);$s=23;case 23:if($c){$c=false;bb=bb.$blk();}if(bb&&bb.$blk!==undefined){break s;}if(bb){$s=21;continue;}$s=22;continue;case 21:$s=-1;return AZ;case 22:if(!((am.Kind()===22)&&am.Name()===\"\"&&(an.Kind()===22)&&an.Name()===\"\")){bc=false;$s=26;continue s;}bd=am.Elem().common();$s=27;case 27:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;bf=an.Elem().common();$s=28;case 28:if($c){$c=false;bf=bf.$blk();}if(bf&&bf.$blk!==undefined){break s;}bg=bf;bh=DN(be,bg,false);$s=29;case 29:if($c){$c=false;bh=bh.$blk();}if(bh&&bh.$blk!==undefined){break s;}bc=bh;case 26:if(bc){$s=24;continue;}$s=25;continue;case 24:$s=-1;return AZ;case 25:if(DK(am,an)){if(an.Kind()===20){$s=-1;return HC;}$s=-1;return HB;}$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:GH};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.ba=ba;$f.bb=bb;$f.bc=bc;$f.bd=bd;$f.be=be;$f.bf=bf;$f.bg=bg;$f.bh=bh;$f.$s=$s;$f.$r=$r;return $f;};GI=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(4)){(ar).$set(($fround(an)));}else if(as===(8)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GI};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GJ=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=ao.common();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=AJ(aq);as=aq.size;if(as===(8)){(ar).$set((new $Complex64(an.$real,an.$imag)));}else if(as===(16)){(ar).$set(an);}$s=-1;return new EZ.ptr(aq,ar,(((am|128)>>>0)|((aq.Kind()>>>0)))>>>0);}return;}if($f===undefined){$f={$blk:GJ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GK=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$clone(ar,EZ).SetString(an);ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GK};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GL=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).SetBytes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GL};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GM=function(am,an,ao){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=GF(ao);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=$clone(ap,EZ).Elem();$s=2;case 2:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=$clone(ar,EZ).setRunes(an);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}ar.flag=(((ar.flag&~256)>>>0)|am)>>>0;$s=-1;return ar;}return;}if($f===undefined){$f={$blk:GM};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};GN=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=$clone(am,EZ).Int(),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GN};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GO=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,$clone(am,EZ).Uint(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GO};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GP=function(am,an){var $ptr,am,an,ao,ap,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ap=AK((am.flag&96)>>>0,((ao=(new $Int64(0,$clone(am,EZ).Float())),new $Uint64(ao.$high,ao.$low))),an);$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}$s=-1;return ap;}return;}if($f===undefined){$f={$blk:GP};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.$s=$s;$f.$r=$r;return $f;};GQ=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=AK((am.flag&96)>>>0,(new $Uint64(0,$clone(am,EZ).Float())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GQ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GR=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Int())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GR};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GS=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,($flatten64($clone(am,EZ).Uint())),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GS};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GT=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GI((am.flag&96)>>>0,$clone(am,EZ).Float(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GT};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GU=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GJ((am.flag&96)>>>0,$clone(am,EZ).Complex(),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GU};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GV=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Int().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GV};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GW=function(am,an){var $ptr,am,an,ao,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=GK((am.flag&96)>>>0,($encodeRune($clone(am,EZ).Uint().$low)),an);$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}$s=-1;return ao;}return;}if($f===undefined){$f={$blk:GW};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.$s=$s;$f.$r=$r;return $f;};GX=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).Bytes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($bytesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GX};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GY=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JC($stringToBytes(ap)));ar=an;as=GL(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GY};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};GZ=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).runes();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=($runesToString(ap));ar=an;as=GK(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:GZ};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HA=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=(am.flag&96)>>>0;ap=$clone(am,EZ).String();$s=1;case 1:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=(new JP($stringToRunes(ap)));ar=an;as=GM(ao,aq,ar);$s=2;case 2:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$s=-1;return as;}return;}if($f===undefined){$f={$blk:HA};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.$s=$s;$f.$r=$r;return $f;};HB=function(am,an){var $ptr,am,an,ao,ap,aq,ar,as,at,au,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:ao=an.common();$s=1;case 1:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=AJ(ao);$s=2;case 2:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;ar=BC($clone(am,EZ),false);$s=3;case 3:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;at=an.NumMethod();$s=7;case 7:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}if(at===0){$s=4;continue;}$s=5;continue;case 4:(aq).$set(as);$s=6;continue;case 5:BD($assertType(an,HN),as,aq);case 6:au=an.common();$s=8;case 8:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$s=-1;return new EZ.ptr(au,aq,(((((am.flag&96)>>>0)|128)>>>0)|20)>>>0);}return;}if($f===undefined){$f={$blk:HB};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.$s=$s;$f.$r=$r;return $f;};HC=function(am,an){var $ptr,am,an,ao,ap,aq,ar,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if($clone(am,EZ).IsNil()){$s=1;continue;}$s=2;continue;case 1:ao=AI(an);$s=3;case 3:if($c){$c=false;ao=ao.$blk();}if(ao&&ao.$blk!==undefined){break s;}ap=ao;ap.flag=(ap.flag|(((am.flag&96)>>>0)))>>>0;$s=-1;return ap;case 2:aq=$clone(am,EZ).Elem();$s=4;case 4:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=HB($clone(aq,EZ),an);$s=5;case 5:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}$s=-1;return ar;}return;}if($f===undefined){$f={$blk:HC};}$f.$ptr=$ptr;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.$s=$s;$f.$r=$r;return $f;};IO.methods=[{prop:\"methods\",name:\"methods\",pkg:\"reflect\",typ:$funcType([],[HP],false)}];JQ.methods=[{prop:\"in$\",name:\"in\",pkg:\"reflect\",typ:$funcType([],[HO],false)},{prop:\"out\",name:\"out\",pkg:\"reflect\",typ:$funcType([],[HO],false)}];O.methods=[{prop:\"name\",name:\"name\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"tag\",name:\"tag\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"pkgPath\",name:\"pkgPath\",pkg:\"reflect\",typ:$funcType([],[$String],false)},{prop:\"isExported\",name:\"isExported\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"data\",name:\"data\",pkg:\"reflect\",typ:$funcType([$Int],[IL],false)},{prop:\"nameLen\",name:\"nameLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)},{prop:\"tagLen\",name:\"tagLen\",pkg:\"reflect\",typ:$funcType([],[$Int],false)}];BZ.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];HN.methods=[{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)},{prop:\"nameOff\",name:\"nameOff\",pkg:\"reflect\",typ:$funcType([CY],[O],false)},{prop:\"typeOff\",name:\"typeOff\",pkg:\"reflect\",typ:$funcType([CZ],[HN],false)},{prop:\"ptrTo\",name:\"ptrTo\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"pointers\",name:\"pointers\",pkg:\"reflect\",typ:$funcType([],[$Bool],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"textOff\",name:\"textOff\",pkg:\"reflect\",typ:$funcType([DA],[$UnsafePointer],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"exportedMethods\",name:\"exportedMethods\",pkg:\"reflect\",typ:$funcType([],[HP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)}];CE.methods=[{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}];IX.methods=[{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)}];JB.methods=[{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)}];DF.methods=[{prop:\"Get\",name:\"Get\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Lookup\",name:\"Lookup\",pkg:\"\",typ:$funcType([$String],[$String,$Bool],false)}];EZ.methods=[{prop:\"object\",name:\"object\",pkg:\"reflect\",typ:$funcType([],[IH],false)},{prop:\"call\",name:\"call\",pkg:\"reflect\",typ:$funcType([$String,IS],[IS],false)},{prop:\"Cap\",name:\"Cap\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"Index\",name:\"Index\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"InterfaceData\",name:\"InterfaceData\",pkg:\"\",typ:$funcType([],[KB],false)},{prop:\"IsNil\",name:\"IsNil\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Pointer\",name:\"Pointer\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"Set\",name:\"Set\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"SetBytes\",name:\"SetBytes\",pkg:\"\",typ:$funcType([JC],[],false)},{prop:\"SetCap\",name:\"SetCap\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"SetLen\",name:\"SetLen\",pkg:\"\",typ:$funcType([$Int],[],false)},{prop:\"Slice\",name:\"Slice\",pkg:\"\",typ:$funcType([$Int,$Int],[EZ],false)},{prop:\"Slice3\",name:\"Slice3\",pkg:\"\",typ:$funcType([$Int,$Int,$Int],[EZ],false)},{prop:\"Close\",name:\"Close\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"pointer\",name:\"pointer\",pkg:\"reflect\",typ:$funcType([],[$UnsafePointer],false)},{prop:\"Addr\",name:\"Addr\",pkg:\"\",typ:$funcType([],[EZ],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Bytes\",name:\"Bytes\",pkg:\"\",typ:$funcType([],[JC],false)},{prop:\"runes\",name:\"runes\",pkg:\"reflect\",typ:$funcType([],[JP],false)},{prop:\"CanAddr\",name:\"CanAddr\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"CanSet\",name:\"CanSet\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"CallSlice\",name:\"CallSlice\",pkg:\"\",typ:$funcType([IS],[IS],false)},{prop:\"Complex\",name:\"Complex\",pkg:\"\",typ:$funcType([],[$Complex128],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[EZ],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[EZ],false)},{prop:\"Float\",name:\"Float\",pkg:\"\",typ:$funcType([],[$Float64],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([],[$Int64],false)},{prop:\"CanInterface\",name:\"CanInterface\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([],[$emptyInterface],false)},{prop:\"IsValid\",name:\"IsValid\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"MapIndex\",name:\"MapIndex\",pkg:\"\",typ:$funcType([EZ],[EZ],false)},{prop:\"MapKeys\",name:\"MapKeys\",pkg:\"\",typ:$funcType([],[IS],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[EZ],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[EZ],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"OverflowComplex\",name:\"OverflowComplex\",pkg:\"\",typ:$funcType([$Complex128],[$Bool],false)},{prop:\"OverflowFloat\",name:\"OverflowFloat\",pkg:\"\",typ:$funcType([$Float64],[$Bool],false)},{prop:\"OverflowInt\",name:\"OverflowInt\",pkg:\"\",typ:$funcType([$Int64],[$Bool],false)},{prop:\"OverflowUint\",name:\"OverflowUint\",pkg:\"\",typ:$funcType([$Uint64],[$Bool],false)},{prop:\"Recv\",name:\"Recv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"recv\",name:\"recv\",pkg:\"reflect\",typ:$funcType([$Bool],[EZ,$Bool],false)},{prop:\"Send\",name:\"Send\",pkg:\"\",typ:$funcType([EZ],[],false)},{prop:\"send\",name:\"send\",pkg:\"reflect\",typ:$funcType([EZ,$Bool],[$Bool],false)},{prop:\"SetBool\",name:\"SetBool\",pkg:\"\",typ:$funcType([$Bool],[],false)},{prop:\"setRunes\",name:\"setRunes\",pkg:\"reflect\",typ:$funcType([JP],[],false)},{prop:\"SetComplex\",name:\"SetComplex\",pkg:\"\",typ:$funcType([$Complex128],[],false)},{prop:\"SetFloat\",name:\"SetFloat\",pkg:\"\",typ:$funcType([$Float64],[],false)},{prop:\"SetInt\",name:\"SetInt\",pkg:\"\",typ:$funcType([$Int64],[],false)},{prop:\"SetMapIndex\",name:\"SetMapIndex\",pkg:\"\",typ:$funcType([EZ,EZ],[],false)},{prop:\"SetUint\",name:\"SetUint\",pkg:\"\",typ:$funcType([$Uint64],[],false)},{prop:\"SetPointer\",name:\"SetPointer\",pkg:\"\",typ:$funcType([$UnsafePointer],[],false)},{prop:\"SetString\",name:\"SetString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"TryRecv\",name:\"TryRecv\",pkg:\"\",typ:$funcType([],[EZ,$Bool],false)},{prop:\"TrySend\",name:\"TrySend\",pkg:\"\",typ:$funcType([EZ],[$Bool],false)},{prop:\"Type\",name:\"Type\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Uint\",name:\"Uint\",pkg:\"\",typ:$funcType([],[$Uint64],false)},{prop:\"UnsafeAddr\",name:\"UnsafeAddr\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"assignTo\",name:\"assignTo\",pkg:\"reflect\",typ:$funcType([$String,HN,$UnsafePointer],[EZ],false)},{prop:\"Convert\",name:\"Convert\",pkg:\"\",typ:$funcType([BY],[EZ],false)}];FA.methods=[{prop:\"kind\",name:\"kind\",pkg:\"reflect\",typ:$funcType([],[BZ],false)},{prop:\"mustBe\",name:\"mustBe\",pkg:\"reflect\",typ:$funcType([BZ],[],false)},{prop:\"mustBeExported\",name:\"mustBeExported\",pkg:\"reflect\",typ:$funcType([],[],false)},{prop:\"mustBeAssignable\",name:\"mustBeAssignable\",pkg:\"reflect\",typ:$funcType([],[],false)}];KC.methods=[{prop:\"Error\",name:\"Error\",pkg:\"\",typ:$funcType([],[$String],false)}];L.init(\"reflect\",[{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:CY,tag:\"\"},{prop:\"mcount\",name:\"mcount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_$2\",name:\"_\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"moff\",name:\"moff\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_$4\",name:\"_\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"_methods\",name:\"_methods\",exported:false,typ:HP,tag:\"\"}]);N.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"func\\\"\"},{prop:\"inCount\",name:\"inCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"outCount\",name:\"outCount\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"_in\",name:\"_in\",exported:false,typ:HO,tag:\"\"},{prop:\"_out\",name:\"_out\",exported:false,typ:HO,tag:\"\"}]);O.init(\"reflect\",[{prop:\"bytes\",name:\"bytes\",exported:false,typ:IL,tag:\"\"}]);P.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:$String,tag:\"\"},{prop:\"exported\",name:\"exported\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"reflect\",[{prop:\"t\",name:\"t\",exported:false,typ:BY,tag:\"\"},{prop:\"m\",name:\"m\",exported:false,typ:IH,tag:\"\"},{prop:\"keys\",name:\"keys\",exported:false,typ:IH,tag:\"\"},{prop:\"i\",name:\"i\",exported:false,typ:$Int,tag:\"\"}]);BY.init([{prop:\"Align\",name:\"Align\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"AssignableTo\",name:\"AssignableTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Bits\",name:\"Bits\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"ChanDir\",name:\"ChanDir\",pkg:\"\",typ:$funcType([],[CE],false)},{prop:\"Comparable\",name:\"Comparable\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"ConvertibleTo\",name:\"ConvertibleTo\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"Elem\",name:\"Elem\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Field\",name:\"Field\",pkg:\"\",typ:$funcType([$Int],[DE],false)},{prop:\"FieldAlign\",name:\"FieldAlign\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"FieldByIndex\",name:\"FieldByIndex\",pkg:\"\",typ:$funcType([IZ],[DE],false)},{prop:\"FieldByName\",name:\"FieldByName\",pkg:\"\",typ:$funcType([$String],[DE,$Bool],false)},{prop:\"FieldByNameFunc\",name:\"FieldByNameFunc\",pkg:\"\",typ:$funcType([JS],[DE,$Bool],false)},{prop:\"Implements\",name:\"Implements\",pkg:\"\",typ:$funcType([BY],[$Bool],false)},{prop:\"In\",name:\"In\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"IsVariadic\",name:\"IsVariadic\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"Key\",name:\"Key\",pkg:\"\",typ:$funcType([],[BY],false)},{prop:\"Kind\",name:\"Kind\",pkg:\"\",typ:$funcType([],[BZ],false)},{prop:\"Len\",name:\"Len\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Method\",name:\"Method\",pkg:\"\",typ:$funcType([$Int],[CP],false)},{prop:\"MethodByName\",name:\"MethodByName\",pkg:\"\",typ:$funcType([$String],[CP,$Bool],false)},{prop:\"Name\",name:\"Name\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"NumField\",name:\"NumField\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumIn\",name:\"NumIn\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumMethod\",name:\"NumMethod\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"NumOut\",name:\"NumOut\",pkg:\"\",typ:$funcType([],[$Int],false)},{prop:\"Out\",name:\"Out\",pkg:\"\",typ:$funcType([$Int],[BY],false)},{prop:\"PkgPath\",name:\"PkgPath\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"Size\",name:\"Size\",pkg:\"\",typ:$funcType([],[$Uintptr],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)},{prop:\"common\",name:\"common\",pkg:\"reflect\",typ:$funcType([],[HN],false)},{prop:\"uncommon\",name:\"uncommon\",pkg:\"reflect\",typ:$funcType([],[IO],false)}]);CB.init(\"reflect\",[{prop:\"size\",name:\"size\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"ptrdata\",name:\"ptrdata\",exported:false,typ:$Uintptr,tag:\"\"},{prop:\"hash\",name:\"hash\",exported:false,typ:$Uint32,tag:\"\"},{prop:\"tflag\",name:\"tflag\",exported:false,typ:CA,tag:\"\"},{prop:\"align\",name:\"align\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"fieldAlign\",name:\"fieldAlign\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"kind\",name:\"kind\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"alg\",name:\"alg\",exported:false,typ:IK,tag:\"\"},{prop:\"gcdata\",name:\"gcdata\",exported:false,typ:IL,tag:\"\"},{prop:\"str\",name:\"str\",exported:false,typ:CY,tag:\"\"},{prop:\"ptrToThis\",name:\"ptrToThis\",exported:false,typ:CZ,tag:\"\"}]);CC.init(\"reflect\",[{prop:\"hash\",name:\"hash\",exported:false,typ:JT,tag:\"\"},{prop:\"equal\",name:\"equal\",exported:false,typ:JU,tag:\"\"}]);CD.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"mtyp\",name:\"mtyp\",exported:false,typ:CZ,tag:\"\"},{prop:\"ifn\",name:\"ifn\",exported:false,typ:DA,tag:\"\"},{prop:\"tfn\",name:\"tfn\",exported:false,typ:DA,tag:\"\"}]);CF.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"array\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"slice\",name:\"slice\",exported:false,typ:HN,tag:\"\"},{prop:\"len\",name:\"len\",exported:false,typ:$Uintptr,tag:\"\"}]);CG.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"chan\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"dir\",name:\"dir\",exported:false,typ:$Uintptr,tag:\"\"}]);CH.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:CY,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:CZ,tag:\"\"}]);CI.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"interface\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"methods\",name:\"methods\",exported:false,typ:IM,tag:\"\"}]);CJ.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"map\\\"\"},{prop:\"key\",name:\"key\",exported:false,typ:HN,tag:\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"},{prop:\"bucket\",name:\"bucket\",exported:false,typ:HN,tag:\"\"},{prop:\"hmap\",name:\"hmap\",exported:false,typ:HN,tag:\"\"},{prop:\"keysize\",name:\"keysize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectkey\",name:\"indirectkey\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"valuesize\",name:\"valuesize\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"indirectvalue\",name:\"indirectvalue\",exported:false,typ:$Uint8,tag:\"\"},{prop:\"bucketsize\",name:\"bucketsize\",exported:false,typ:$Uint16,tag:\"\"},{prop:\"reflexivekey\",name:\"reflexivekey\",exported:false,typ:$Bool,tag:\"\"},{prop:\"needkeyupdate\",name:\"needkeyupdate\",exported:false,typ:$Bool,tag:\"\"}]);CK.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"ptr\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CL.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"slice\\\"\"},{prop:\"elem\",name:\"elem\",exported:false,typ:HN,tag:\"\"}]);CM.init(\"reflect\",[{prop:\"name\",name:\"name\",exported:false,typ:O,tag:\"\"},{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"offset\",name:\"offset\",exported:false,typ:$Uintptr,tag:\"\"}]);CN.init(\"reflect\",[{prop:\"rtype\",name:\"\",exported:false,typ:CB,tag:\"reflect:\\\"struct\\\"\"},{prop:\"pkgPath\",name:\"pkgPath\",exported:false,typ:O,tag:\"\"},{prop:\"fields\",name:\"fields\",exported:false,typ:IN,tag:\"\"}]);CP.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Func\",name:\"Func\",exported:true,typ:EZ,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:$Int,tag:\"\"}]);DE.init(\"\",[{prop:\"Name\",name:\"Name\",exported:true,typ:$String,tag:\"\"},{prop:\"PkgPath\",name:\"PkgPath\",exported:true,typ:$String,tag:\"\"},{prop:\"Type\",name:\"Type\",exported:true,typ:BY,tag:\"\"},{prop:\"Tag\",name:\"Tag\",exported:true,typ:DF,tag:\"\"},{prop:\"Offset\",name:\"Offset\",exported:true,typ:$Uintptr,tag:\"\"},{prop:\"Index\",name:\"Index\",exported:true,typ:IZ,tag:\"\"},{prop:\"Anonymous\",name:\"Anonymous\",exported:true,typ:$Bool,tag:\"\"}]);DG.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:JB,tag:\"\"},{prop:\"index\",name:\"index\",exported:false,typ:IZ,tag:\"\"}]);EZ.init(\"reflect\",[{prop:\"typ\",name:\"typ\",exported:false,typ:HN,tag:\"\"},{prop:\"ptr\",name:\"ptr\",exported:false,typ:$UnsafePointer,tag:\"\"},{prop:\"flag\",name:\"\",exported:false,typ:FA,tag:\"\"}]);FD.init(\"\",[{prop:\"Method\",name:\"Method\",exported:true,typ:$String,tag:\"\"},{prop:\"Kind\",name:\"Kind\",exported:true,typ:BZ,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=HM.nil;U=HO.nil;DB=new HR.ptr(new E.RWMutex.ptr(new E.Mutex.ptr(0,0),0,0,0,0),false);G=false;M={};Q={};BG=$assertType($internalize($call,$emptyInterface),II);BL=$assertType($internalize($select,$emptyInterface),II);BH=J($jsObjectPtr);CQ=new IJ([\"invalid\",\"bool\",\"int\",\"int8\",\"int16\",\"int32\",\"int64\",\"uint\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"uintptr\",\"float32\",\"float64\",\"complex64\",\"complex128\",\"array\",\"chan\",\"func\",\"interface\",\"map\",\"ptr\",\"slice\",\"string\",\"struct\",\"unsafe.Pointer\"]);FM=$assertType(AB(new $Uint8(0)),HN);$r=H();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"fmt\"]=(function(){var $pkg={},$init,C,D,H,E,F,A,G,B,I,J,K,L,M,N,O,P,AU,AV,AW,BI,BJ,BK,BL,BM,BN,BO,BP,BS,CN,CO,Q,AF,AX,BB,BD,BE,R,U,V,Y,AC,AD,AE,AG,AH,AY,AZ,BF;C=$packages[\"errors\"];D=$packages[\"io\"];H=$packages[\"math\"];E=$packages[\"os\"];F=$packages[\"reflect\"];A=$packages[\"strconv\"];G=$packages[\"sync\"];B=$packages[\"unicode/utf8\"];I=$pkg.fmtFlags=$newType(0,$kindStruct,\"fmt.fmtFlags\",true,\"fmt\",false,function(widPresent_,precPresent_,minus_,plus_,sharp_,space_,zero_,plusV_,sharpV_){this.$val=this;if(arguments.length===0){this.widPresent=false;this.precPresent=false;this.minus=false;this.plus=false;this.sharp=false;this.space=false;this.zero=false;this.plusV=false;this.sharpV=false;return;}this.widPresent=widPresent_;this.precPresent=precPresent_;this.minus=minus_;this.plus=plus_;this.sharp=sharp_;this.space=space_;this.zero=zero_;this.plusV=plusV_;this.sharpV=sharpV_;});J=$pkg.fmt=$newType(0,$kindStruct,\"fmt.fmt\",true,\"fmt\",false,function(buf_,fmtFlags_,wid_,prec_,intbuf_){this.$val=this;if(arguments.length===0){this.buf=BK.nil;this.fmtFlags=new I.ptr(false,false,false,false,false,false,false,false,false);this.wid=0;this.prec=0;this.intbuf=BL.zero();return;}this.buf=buf_;this.fmtFlags=fmtFlags_;this.wid=wid_;this.prec=prec_;this.intbuf=intbuf_;});K=$pkg.State=$newType(8,$kindInterface,\"fmt.State\",true,\"fmt\",true,null);L=$pkg.Formatter=$newType(8,$kindInterface,\"fmt.Formatter\",true,\"fmt\",true,null);M=$pkg.Stringer=$newType(8,$kindInterface,\"fmt.Stringer\",true,\"fmt\",true,null);N=$pkg.GoStringer=$newType(8,$kindInterface,\"fmt.GoStringer\",true,\"fmt\",true,null);O=$pkg.buffer=$newType(12,$kindSlice,\"fmt.buffer\",true,\"fmt\",false,null);P=$pkg.pp=$newType(0,$kindStruct,\"fmt.pp\",true,\"fmt\",false,function(buf_,arg_,value_,fmt_,reordered_,goodArgNum_,panicking_,erroring_){this.$val=this;if(arguments.length===0){this.buf=O.nil;this.arg=$ifaceNil;this.value=new F.Value.ptr(BJ.nil,0,0);this.fmt=new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero());this.reordered=false;this.goodArgNum=false;this.panicking=false;this.erroring=false;return;}this.buf=buf_;this.arg=arg_;this.value=value_;this.fmt=fmt_;this.reordered=reordered_;this.goodArgNum=goodArgNum_;this.panicking=panicking_;this.erroring=erroring_;});AU=$pkg.scanError=$newType(0,$kindStruct,\"fmt.scanError\",true,\"fmt\",false,function(err_){this.$val=this;if(arguments.length===0){this.err=$ifaceNil;return;}this.err=err_;});AV=$pkg.ss=$newType(0,$kindStruct,\"fmt.ss\",true,\"fmt\",false,function(rs_,buf_,count_,atEOF_,ssave_){this.$val=this;if(arguments.length===0){this.rs=$ifaceNil;this.buf=O.nil;this.count=0;this.atEOF=false;this.ssave=new AW.ptr(false,false,false,0,0,0);return;}this.rs=rs_;this.buf=buf_;this.count=count_;this.atEOF=atEOF_;this.ssave=ssave_;});AW=$pkg.ssave=$newType(0,$kindStruct,\"fmt.ssave\",true,\"fmt\",false,function(validSave_,nlIsEnd_,nlIsSpace_,argLimit_,limit_,maxWid_){this.$val=this;if(arguments.length===0){this.validSave=false;this.nlIsEnd=false;this.nlIsSpace=false;this.argLimit=0;this.limit=0;this.maxWid=0;return;}this.validSave=validSave_;this.nlIsEnd=nlIsEnd_;this.nlIsSpace=nlIsSpace_;this.argLimit=argLimit_;this.limit=limit_;this.maxWid=maxWid_;});BI=$sliceType($emptyInterface);BJ=$ptrType(F.rtype);BK=$ptrType(O);BL=$arrayType($Uint8,68);BM=$arrayType($Uint16,2);BN=$sliceType(BM);BO=$sliceType($Uint8);BP=$ptrType(P);BS=$ptrType(AV);CN=$ptrType(J);CO=$funcType([$Int32],[$Bool],false);J.ptr.prototype.clearflags=function(){var $ptr,a;a=this;I.copy(a.fmtFlags,new I.ptr(false,false,false,false,false,false,false,false,false));};J.prototype.clearflags=function(){return this.$val.clearflags();};J.ptr.prototype.init=function(a){var $ptr,a,b;b=this;b.buf=a;b.clearflags();};J.prototype.init=function(a){return this.$val.init(a);};J.ptr.prototype.writePadding=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j;b=this;if(a<=0){return;}c=b.buf.$get();d=c.$length;e=d+a>>0;if(e>c.$capacity){c=$makeSlice(O,(($imul(c.$capacity,2))+a>>0));$copySlice(c,b.buf.$get());}f=32;if(b.fmtFlags.zero){f=48;}g=$subslice(c,d,e);h=g;i=0;while(true){if(!(i<h.$length)){break;}j=i;((j<0||j>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+j]=f);i++;}b.buf.$set($subslice(c,0,e));};J.prototype.writePadding=function(a){return this.$val.writePadding(a);};J.ptr.prototype.pad=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.Write(a);return;}c=b.wid-B.RuneCount(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.Write(a);}else{b.buf.Write(a);b.writePadding(c);}};J.prototype.pad=function(a){return this.$val.pad(a);};J.ptr.prototype.padString=function(a){var $ptr,a,b,c;b=this;if(!b.fmtFlags.widPresent||(b.wid===0)){b.buf.WriteString(a);return;}c=b.wid-B.RuneCountInString(a)>>0;if(!b.fmtFlags.minus){b.writePadding(c);b.buf.WriteString(a);}else{b.buf.WriteString(a);b.writePadding(c);}};J.prototype.padString=function(a){return this.$val.padString(a);};J.ptr.prototype.fmt_boolean=function(a){var $ptr,a,b;b=this;if(a){b.padString(\"true\");}else{b.padString(\"false\");}};J.prototype.fmt_boolean=function(a){return this.$val.fmt_boolean(a);};J.ptr.prototype.fmt_unicode=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=$subslice(new BO(b.intbuf),0);d=4;if(b.fmtFlags.precPresent&&b.prec>4){d=b.prec;e=(((2+d>>0)+2>>0)+4>>0)+1>>0;if(e>c.$length){c=$makeSlice(BO,e);}}f=c.$length;if(b.fmtFlags.sharp&&(a.$high<0||(a.$high===0&&a.$low<=1114111))&&A.IsPrint(((a.$low>>0)))){f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(B.RuneLen(((a.$low>>0))))>>0;B.EncodeRune($subslice(c,f),((a.$low>>0)));f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=39);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=32);}while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));d=d-(1)>>0;a=$shiftRightUint64(a,(4));}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=\"0123456789ABCDEFX\".charCodeAt($flatten64(a)));d=d-(1)>>0;while(true){if(!(d>0)){break;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=48);d=d-(1)>>0;}f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=43);f=f-(1)>>0;((f<0||f>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+f]=85);g=b.fmtFlags.zero;b.fmtFlags.zero=false;b.pad($subslice(c,f));b.fmtFlags.zero=g;};J.prototype.fmt_unicode=function(a){return this.$val.fmt_unicode(a);};J.ptr.prototype.fmt_integer=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;e=this;g=c&&(f=(new $Int64(a.$high,a.$low)),(f.$high<0||(f.$high===0&&f.$low<0)));if(g){a=new $Uint64(-a.$high,-a.$low);}h=$subslice(new BO(e.intbuf),0);if(e.fmtFlags.widPresent||e.fmtFlags.precPresent){i=(3+e.wid>>0)+e.prec>>0;if(i>h.$length){h=$makeSlice(BO,i);}}j=0;if(e.fmtFlags.precPresent){j=e.prec;if((j===0)&&(a.$high===0&&a.$low===0)){k=e.fmtFlags.zero;e.fmtFlags.zero=false;e.writePadding(e.wid);e.fmtFlags.zero=k;return;}}else if(e.fmtFlags.zero&&e.fmtFlags.widPresent){j=e.wid;if(g||e.fmtFlags.plus||e.fmtFlags.space){j=j-(1)>>0;}}l=h.$length;m=b;if(m===(10)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=10)))){break;}l=l-(1)>>0;n=$div64(a,new $Uint64(0,10),false);((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((o=new $Uint64(0+a.$high,48+a.$low),p=$mul64(n,new $Uint64(0,10)),new $Uint64(o.$high-p.$high,o.$low-p.$low)).$low<<24>>>24)));a=n;}}else if(m===(16)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=16)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(new $Uint64(a.$high&0,(a.$low&15)>>>0))));a=$shiftRightUint64(a,(4));}}else if(m===(8)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=8)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((q=new $Uint64(a.$high&0,(a.$low&7)>>>0),new $Uint64(0+q.$high,48+q.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(3));}}else if(m===(2)){while(true){if(!((a.$high>0||(a.$high===0&&a.$low>=2)))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=(((r=new $Uint64(a.$high&0,(a.$low&1)>>>0),new $Uint64(0+r.$high,48+r.$low)).$low<<24>>>24)));a=$shiftRightUint64(a,(1));}}else{$panic(new $String(\"fmt: unknown base; can't happen\"));}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt($flatten64(a)));while(true){if(!(l>0&&j>(h.$length-l>>0))){break;}l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}if(e.fmtFlags.sharp){s=b;if(s===(8)){if(!((((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l])===48))){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}else if(s===(16)){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=d.charCodeAt(16));l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=48);}}if(g){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=45);}else if(e.fmtFlags.plus){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=43);}else if(e.fmtFlags.space){l=l-(1)>>0;((l<0||l>=h.$length)?($throwRuntimeError(\"index out of range\"),undefined):h.$array[h.$offset+l]=32);}t=e.fmtFlags.zero;e.fmtFlags.zero=false;e.pad($subslice(h,l));e.fmtFlags.zero=t;};J.prototype.fmt_integer=function(a,b,c,d){return this.$val.fmt_integer(a,b,c,d);};J.ptr.prototype.truncate=function(a){var $ptr,a,b,c,d,e,f,g;b=this;if(b.fmtFlags.precPresent){c=b.prec;d=a;e=0;while(true){if(!(e<d.length)){break;}f=$decodeRune(d,e);g=e;c=c-(1)>>0;if(c<0){return $substring(a,0,g);}e+=f[1];}}return a;};J.prototype.truncate=function(a){return this.$val.truncate(a);};J.ptr.prototype.fmt_s=function(a){var $ptr,a,b;b=this;a=b.truncate(a);b.padString(a);};J.prototype.fmt_s=function(a){return this.$val.fmt_s(a);};J.ptr.prototype.fmt_sbx=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i;d=this;e=b.$length;if(b===BO.nil){e=a.length;}if(d.fmtFlags.precPresent&&d.prec<e){e=d.prec;}f=$imul(2,e);if(f>0){if(d.fmtFlags.space){if(d.fmtFlags.sharp){f=$imul(f,(2));}f=f+((e-1>>0))>>0;}else if(d.fmtFlags.sharp){f=f+(2)>>0;}}else{if(d.fmtFlags.widPresent){d.writePadding(d.wid);}return;}if(d.fmtFlags.widPresent&&d.wid>f&&!d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}g=d.buf.$get();if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}h=0;i=0;while(true){if(!(i<e)){break;}if(d.fmtFlags.space&&i>0){g=$append(g,32);if(d.fmtFlags.sharp){g=$append(g,48,c.charCodeAt(16));}}if(!(b===BO.nil)){h=((i<0||i>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+i]);}else{h=a.charCodeAt(i);}g=$append(g,c.charCodeAt((h>>>4<<24>>>24)),c.charCodeAt(((h&15)>>>0)));i=i+(1)>>0;}d.buf.$set(g);if(d.fmtFlags.widPresent&&d.wid>f&&d.fmtFlags.minus){d.writePadding(d.wid-f>>0);}};J.prototype.fmt_sbx=function(a,b,c){return this.$val.fmt_sbx(a,b,c);};J.ptr.prototype.fmt_sx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(a,BO.nil,b);};J.prototype.fmt_sx=function(a,b){return this.$val.fmt_sx(a,b);};J.ptr.prototype.fmt_bx=function(a,b){var $ptr,a,b,c;c=this;c.fmt_sbx(\"\",a,b);};J.prototype.fmt_bx=function(a,b){return this.$val.fmt_bx(a,b);};J.ptr.prototype.fmt_q=function(a){var $ptr,a,b,c;b=this;a=b.truncate(a);if(b.fmtFlags.sharp&&A.CanBackquote(a)){b.padString(\"`\"+a+\"`\");return;}c=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteToASCII(c,a));}else{b.pad(A.AppendQuote(c,a));}};J.prototype.fmt_q=function(a){return this.$val.fmt_q(a);};J.ptr.prototype.fmt_c=function(a){var $ptr,a,b,c,d,e;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);e=B.EncodeRune($subslice(d,0,4),c);b.pad($subslice(d,0,e));};J.prototype.fmt_c=function(a){return this.$val.fmt_c(a);};J.ptr.prototype.fmt_qc=function(a){var $ptr,a,b,c,d;b=this;c=((a.$low>>0));if((a.$high>0||(a.$high===0&&a.$low>1114111))){c=65533;}d=$subslice(new BO(b.intbuf),0,0);if(b.fmtFlags.plus){b.pad(A.AppendQuoteRuneToASCII(d,c));}else{b.pad(A.AppendQuoteRune(d,c));}};J.prototype.fmt_qc=function(a){return this.$val.fmt_qc(a);};J.ptr.prototype.fmt_float=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g;e=this;if(e.fmtFlags.precPresent){d=e.prec;}f=A.AppendFloat($subslice(new BO(e.intbuf),0,1),a,((c<<24>>>24)),d,b);if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===45)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===43)){f=$subslice(f,1);}else{(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=43);}if(e.fmtFlags.space&&((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43)&&!e.fmtFlags.plus){(0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]=32);}if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===73)||((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)){g=e.fmtFlags.zero;e.fmtFlags.zero=false;if(((1>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+1])===78)&&!e.fmtFlags.space&&!e.fmtFlags.plus){f=$subslice(f,1);}e.pad(f);e.fmtFlags.zero=g;return;}if(e.fmtFlags.plus||!(((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0])===43))){if(e.fmtFlags.zero&&e.fmtFlags.widPresent&&e.wid>f.$length){e.buf.WriteByte((0>=f.$length?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+0]));e.writePadding(e.wid-f.$length>>0);e.buf.Write($subslice(f,1));return;}e.pad(f);return;}e.pad($subslice(f,1));};J.prototype.fmt_float=function(a,b,c,d){return this.$val.fmt_float(a,b,c,d);};$ptrType(O).prototype.Write=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteString=function(a){var $ptr,a,b;b=this;b.$set($appendSlice(b.$get(),a));};$ptrType(O).prototype.WriteByte=function(a){var $ptr,a,b;b=this;b.$set($append(b.$get(),a));};$ptrType(O).prototype.WriteRune=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a<128){b.$set($append(b.$get(),((a<<24>>>24))));return;}c=b.$get();d=c.$length;while(true){if(!((d+4>>0)>c.$capacity)){break;}c=$append(c,0);}f=B.EncodeRune((e=$subslice(c,d,(d+4>>0)),$subslice(new BO(e.$array),e.$offset,e.$offset+e.$length)),a);b.$set($subslice(c,0,(d+f>>0)));};R=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=Q.Get();$s=1;case 1:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}b=$assertType(a,BP);b.panicking=false;b.erroring=false;b.fmt.init((b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))));$s=-1;return b;}return;}if($f===undefined){$f={$blk:R};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.free=function(){var $ptr,a;a=this;a.buf=$subslice(a.buf,0,0);a.arg=$ifaceNil;a.value=new F.Value.ptr(BJ.nil,0,0);Q.Put(a);};P.prototype.free=function(){return this.$val.free();};P.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.wid;e=c.fmt.fmtFlags.widPresent;a=d;b=e;return[a,b];};P.prototype.Width=function(){return this.$val.Width();};P.ptr.prototype.Precision=function(){var $ptr,a,b,c,d,e;a=0;b=false;c=this;d=c.fmt.prec;e=c.fmt.fmtFlags.precPresent;a=d;b=e;return[a,b];};P.prototype.Precision=function(){return this.$val.Precision();};P.ptr.prototype.Flag=function(a){var $ptr,a,b,c;b=this;c=a;if(c===(45)){return b.fmt.fmtFlags.minus;}else if(c===(43)){return b.fmt.fmtFlags.plus||b.fmt.fmtFlags.plusV;}else if(c===(35)){return b.fmt.fmtFlags.sharp||b.fmt.fmtFlags.sharpV;}else if(c===(32)){return b.fmt.fmtFlags.space;}else if(c===(48)){return b.fmt.fmtFlags.zero;}return false;};P.prototype.Flag=function(a){return this.$val.Flag(a);};P.ptr.prototype.Write=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).Write(a);e=a.$length;f=$ifaceNil;b=e;c=f;return[b,c];};P.prototype.Write=function(a){return this.$val.Write(a);};U=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=R();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$r=d.doPrintf(a,b);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=($bytesToString(d.buf));d.free();$s=-1;return e;}return;}if($f===undefined){$f={$blk:U};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprintf=U;V=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=U(a,b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=C.New(c);$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:V};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Errorf=V;Y=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=R();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$r=c.doPrint(a);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=($bytesToString(c.buf));c.free();$s=-1;return d;}return;}if($f===undefined){$f={$blk:Y};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Sprint=Y;AC=function(a,b){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=$clone(a,F.Value).Field(b);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(($clone(d,F.Value).Kind()===20)&&!$clone(d,F.Value).IsNil()){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,F.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AD=function(a){var $ptr,a;return a>1000000||a<-1000000;};AE=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l;d=0;e=false;f=0;if(b>=c){g=0;h=false;i=c;d=g;e=h;f=i;return[d,e,f];}f=b;while(true){if(!(f<c&&48<=a.charCodeAt(f)&&a.charCodeAt(f)<=57)){break;}if(AD(d)){j=0;k=false;l=c;d=j;e=k;f=l;return[d,e,f];}d=($imul(d,10))+(((a.charCodeAt(f)-48<<24>>>24)>>0))>>0;e=true;f=f+(1)>>0;}return[d,e,f];};P.ptr.prototype.unknownType=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;if(!$clone(a,F.Value).IsValid()){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");$s=-1;return;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);c=$clone(a,F.Value).Type().String();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(63);$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.unknownType};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.unknownType=function(a){return this.$val.unknownType(a);};P.ptr.prototype.badVerb=function(a){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;b.erroring=true;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(40);if(!($interfaceIsEqual(b.arg,$ifaceNil))){$s=2;continue;}if($clone(b.value,F.Value).IsValid()){$s=3;continue;}$s=4;continue;case 2:c=F.TypeOf(b.arg).String();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printArg(b.arg,118);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 3:d=$clone(b.value,F.Value).Type().String();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(d);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(61);$r=b.printValue($clone(b.value,F.Value),118,0);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=5;continue;case 4:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"<nil>\");case 5:case 1:(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(41);b.erroring=false;$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.badVerb};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.badVerb=function(a){return this.$val.badVerb(a);};P.ptr.prototype.fmtBool=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if((d===(116))||(d===(118))){$s=2;continue;}$s=3;continue;case 2:c.fmt.fmt_boolean(a);$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBool=function(a,b){return this.$val.fmtBool(a,b);};P.ptr.prototype.fmt0x64=function(a,b){var $ptr,a,b,c,d;c=this;d=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=b;c.fmt.fmt_integer(a,16,false,\"0123456789abcdefx\");c.fmt.fmtFlags.sharp=d;};P.prototype.fmt0x64=function(a,b){return this.$val.fmt0x64(a,b);};P.ptr.prototype.fmtInteger=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if(e===(100)){$s=3;continue;}if(e===(98)){$s=4;continue;}if(e===(111)){$s=5;continue;}if(e===(120)){$s=6;continue;}if(e===(88)){$s=7;continue;}if(e===(99)){$s=8;continue;}if(e===(113)){$s=9;continue;}if(e===(85)){$s=10;continue;}$s=11;continue;case 2:if(d.fmt.fmtFlags.sharpV&&!b){d.fmt0x64(a,true);}else{d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");}$s=12;continue;case 3:d.fmt.fmt_integer(a,10,b,\"0123456789abcdefx\");$s=12;continue;case 4:d.fmt.fmt_integer(a,2,b,\"0123456789abcdefx\");$s=12;continue;case 5:d.fmt.fmt_integer(a,8,b,\"0123456789abcdefx\");$s=12;continue;case 6:d.fmt.fmt_integer(a,16,b,\"0123456789abcdefx\");$s=12;continue;case 7:d.fmt.fmt_integer(a,16,b,\"0123456789ABCDEFX\");$s=12;continue;case 8:d.fmt.fmt_c(a);$s=12;continue;case 9:if((a.$high<0||(a.$high===0&&a.$low<=1114111))){$s=13;continue;}$s=14;continue;case 13:d.fmt.fmt_qc(a);$s=15;continue;case 14:$r=d.badVerb(c);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 15:$s=12;continue;case 10:d.fmt.fmt_unicode(a);$s=12;continue;case 11:$r=d.badVerb(c);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 12:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtInteger};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtInteger=function(a,b,c){return this.$val.fmtInteger(a,b,c);};P.ptr.prototype.fmtFloat=function(a,b,c){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if(e===(118)){$s=2;continue;}if((e===(98))||(e===(103))||(e===(71))){$s=3;continue;}if((e===(102))||(e===(101))||(e===(69))){$s=4;continue;}if(e===(70)){$s=5;continue;}$s=6;continue;case 2:d.fmt.fmt_float(a,b,103,-1);$s=7;continue;case 3:d.fmt.fmt_float(a,b,c,-1);$s=7;continue;case 4:d.fmt.fmt_float(a,b,c,6);$s=7;continue;case 5:d.fmt.fmt_float(a,b,102,6);$s=7;continue;case 6:$r=d.badVerb(c);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 7:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtFloat};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtFloat=function(a,b,c){return this.$val.fmtFloat(a,b,c);};P.ptr.prototype.fmtComplex=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=c;if((e===(118))||(e===(98))||(e===(103))||(e===(71))||(e===(102))||(e===(70))||(e===(101))||(e===(69))){$s=2;continue;}$s=3;continue;case 2:f=d.fmt.fmtFlags.plus;(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(40);$r=d.fmtFloat(a.$real,(g=b/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.fmt.fmtFlags.plus=true;$r=d.fmtFloat(a.$imag,(h=b/2,(h===h&&h!==1/0&&h!==-1/0)?h>>0:$throwRuntimeError(\"integer divide by zero\")),c);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"i)\");d.fmt.fmtFlags.plus=f;$s=4;continue;case 3:$r=d.badVerb(c);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtComplex};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtComplex=function(a,b,c){return this.$val.fmtComplex(a,b,c);};P.ptr.prototype.fmtString=function(a,b){var $ptr,a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=b;if(d===(118)){$s=2;continue;}if(d===(115)){$s=3;continue;}if(d===(120)){$s=4;continue;}if(d===(88)){$s=5;continue;}if(d===(113)){$s=6;continue;}$s=7;continue;case 2:if(c.fmt.fmtFlags.sharpV){c.fmt.fmt_q(a);}else{c.fmt.fmt_s(a);}$s=8;continue;case 3:c.fmt.fmt_s(a);$s=8;continue;case 4:c.fmt.fmt_sx(a,\"0123456789abcdefx\");$s=8;continue;case 5:c.fmt.fmt_sx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:c.fmt.fmt_q(a);$s=8;continue;case 7:$r=c.badVerb(b);$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtString};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtString=function(a,b){return this.$val.fmtString(a,b);};P.ptr.prototype.fmtBytes=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;e=b;if((e===(118))||(e===(100))){$s=2;continue;}if(e===(115)){$s=3;continue;}if(e===(120)){$s=4;continue;}if(e===(88)){$s=5;continue;}if(e===(113)){$s=6;continue;}$s=7;continue;case 2:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(c);if(a===BO.nil){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);f=a;g=0;while(true){if(!(g<f.$length)){break;}h=g;i=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);if(h>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}d.fmt0x64((new $Uint64(0,i)),true);g++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);j=a;k=0;while(true){if(!(k<j.$length)){break;}l=k;m=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);if(l>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}d.fmt.fmt_integer((new $Uint64(0,m)),10,false,\"0123456789abcdefx\");k++;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=8;continue;case 3:d.fmt.fmt_s(($bytesToString(a)));$s=8;continue;case 4:d.fmt.fmt_bx(a,\"0123456789abcdefx\");$s=8;continue;case 5:d.fmt.fmt_bx(a,\"0123456789ABCDEFX\");$s=8;continue;case 6:d.fmt.fmt_q(($bytesToString(a)));$s=8;continue;case 7:n=F.ValueOf(a);$s=9;case 9:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}$r=d.printValue($clone(n,F.Value),b,0);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 8:case 1:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtBytes};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtBytes=function(a,b,c){return this.$val.fmtBytes(a,b,c);};P.ptr.prototype.fmtPointer=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=0;e=$clone(a,F.Value).Kind();if((e===(18))||(e===(19))||(e===(21))||(e===(22))||(e===(23))||(e===(26))){$s=2;continue;}$s=3;continue;case 2:d=$clone(a,F.Value).Pointer();$s=4;continue;case 3:$r=c.badVerb(b);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 4:case 1:f=b;if(f===(118)){$s=7;continue;}if(f===(112)){$s=8;continue;}if((f===(98))||(f===(111))||(f===(100))||(f===(120))||(f===(88))){$s=9;continue;}$s=10;continue;case 7:if(c.fmt.fmtFlags.sharpV){$s=12;continue;}$s=13;continue;case 12:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(40);g=$clone(a,F.Value).Type().String();$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(g);$s=16;case 16:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\")(\");if(d===0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"nil\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),true);}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);$s=14;continue;case 13:if(d===0){c.fmt.padString(\"<nil>\");}else{c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);}case 14:$s=11;continue;case 8:c.fmt0x64((new $Uint64(0,d.constructor===Number?d:1)),!c.fmt.fmtFlags.sharp);$s=11;continue;case 9:$r=c.fmtInteger((new $Uint64(0,d.constructor===Number?d:1)),false,b);$s=17;case 17:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:$r=c.badVerb(b);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 11:case 6:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.fmtPointer};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.fmtPointer=function(a,b){return this.$val.fmtPointer(a,b);};P.ptr.prototype.catchPanic=function(a,b){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$recover();if(!($interfaceIsEqual(d,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:e=F.ValueOf(a);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(($clone(f,F.Value).Kind()===22)&&$clone(f,F.Value).IsNil()){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=-1;return;}if(c.panicking){$panic(d);}g=$clone(c.fmt.fmtFlags,I);c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!\");(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(b);(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"(PANIC=\");c.panicking=true;$r=c.printArg(d,118);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.panicking=false;(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);I.copy(c.fmt.fmtFlags,g);case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.catchPanic};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.catchPanic=function(a,b){return this.$val.catchPanic(a,b);};P.ptr.prototype.handleMethods=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);b=false;c=this;if(c.erroring){$s=-1;return b;}d=$assertType(c.arg,L,true);e=d[0];f=d[1];if(f){$s=1;continue;}$s=2;continue;case 1:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);$r=e.Format(c,a);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 2:if(c.fmt.fmtFlags.sharpV){$s=4;continue;}$s=5;continue;case 4:g=$assertType(c.arg,N,true);h=g[0];i=g[1];if(i){$s=7;continue;}$s=8;continue;case 7:b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);j=h.GoString();$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=c.fmt.fmt_s(j);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 8:$s=6;continue;case 5:k=a;if((k===(118))||(k===(115))||(k===(120))||(k===(88))||(k===(113))){$s=12;continue;}$s=13;continue;case 12:l=c.arg;if($assertType(l,$error,true)[1]){$s=14;continue;}if($assertType(l,M,true)[1]){$s=15;continue;}$s=16;continue;case 14:m=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);o=m.Error();$s=17;case 17:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$r=c.fmtString(o,a);$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 15:n=l;b=true;$deferred.push([$methodVal(c,\"catchPanic\"),[c.arg,a]]);p=n.String();$s=19;case 19:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}$r=c.fmtString(p,a);$s=20;case 20:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;case 16:case 13:case 11:case 6:b=false;$s=-1;return b;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return b;}if($curGoroutine.asleep){if($f===undefined){$f={$blk:P.ptr.prototype.handleMethods};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};P.prototype.handleMethods=function(a){return this.$val.handleMethods(a);};P.ptr.prototype.printArg=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.arg=a;c.value=new F.Value.ptr(BJ.nil,0,0);if($interfaceIsEqual(a,$ifaceNil)){$s=1;continue;}$s=2;continue;case 1:d=b;if((d===(84))||(d===(118))){$s=4;continue;}$s=5;continue;case 4:c.fmt.padString(\"<nil>\");$s=6;continue;case 5:$r=c.badVerb(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:case 3:$s=-1;return;case 2:e=b;if(e===(84)){$s=9;continue;}if(e===(112)){$s=10;continue;}$s=11;continue;case 9:f=F.TypeOf(a).String();$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$r=c.fmt.fmt_s(f);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 10:g=F.ValueOf(a);$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$r=c.fmtPointer($clone(g,F.Value),112);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 11:case 8:h=a;if($assertType(h,$Bool,true)[1]){$s=16;continue;}if($assertType(h,$Float32,true)[1]){$s=17;continue;}if($assertType(h,$Float64,true)[1]){$s=18;continue;}if($assertType(h,$Complex64,true)[1]){$s=19;continue;}if($assertType(h,$Complex128,true)[1]){$s=20;continue;}if($assertType(h,$Int,true)[1]){$s=21;continue;}if($assertType(h,$Int8,true)[1]){$s=22;continue;}if($assertType(h,$Int16,true)[1]){$s=23;continue;}if($assertType(h,$Int32,true)[1]){$s=24;continue;}if($assertType(h,$Int64,true)[1]){$s=25;continue;}if($assertType(h,$Uint,true)[1]){$s=26;continue;}if($assertType(h,$Uint8,true)[1]){$s=27;continue;}if($assertType(h,$Uint16,true)[1]){$s=28;continue;}if($assertType(h,$Uint32,true)[1]){$s=29;continue;}if($assertType(h,$Uint64,true)[1]){$s=30;continue;}if($assertType(h,$Uintptr,true)[1]){$s=31;continue;}if($assertType(h,$String,true)[1]){$s=32;continue;}if($assertType(h,BO,true)[1]){$s=33;continue;}if($assertType(h,F.Value,true)[1]){$s=34;continue;}$s=35;continue;case 16:i=h.$val;$r=c.fmtBool(i,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 17:j=h.$val;$r=c.fmtFloat((j),32,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 18:k=h.$val;$r=c.fmtFloat(k,64,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 19:l=h.$val;$r=c.fmtComplex((new $Complex128(l.$real,l.$imag)),64,b);$s=40;case 40:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 20:m=h.$val;$r=c.fmtComplex(m,128,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 21:n=h.$val;$r=c.fmtInteger((new $Uint64(0,n)),true,b);$s=42;case 42:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 22:o=h.$val;$r=c.fmtInteger((new $Uint64(0,o)),true,b);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 23:p=h.$val;$r=c.fmtInteger((new $Uint64(0,p)),true,b);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 24:q=h.$val;$r=c.fmtInteger((new $Uint64(0,q)),true,b);$s=45;case 45:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 25:r=h.$val;$r=c.fmtInteger((new $Uint64(r.$high,r.$low)),true,b);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 26:s=h.$val;$r=c.fmtInteger((new $Uint64(0,s)),false,b);$s=47;case 47:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 27:t=h.$val;$r=c.fmtInteger((new $Uint64(0,t)),false,b);$s=48;case 48:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 28:u=h.$val;$r=c.fmtInteger((new $Uint64(0,u)),false,b);$s=49;case 49:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 29:v=h.$val;$r=c.fmtInteger((new $Uint64(0,v)),false,b);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 30:w=h.$val;$r=c.fmtInteger(w,false,b);$s=51;case 51:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 31:x=h.$val;$r=c.fmtInteger((new $Uint64(0,x.constructor===Number?x:1)),false,b);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 32:y=h.$val;$r=c.fmtString(y,b);$s=53;case 53:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 33:z=h.$val;$r=c.fmtBytes(z,b,\"[]byte\");$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 34:aa=h.$val;if($clone(aa,F.Value).IsValid()&&$clone(aa,F.Value).CanInterface()){$s=55;continue;}$s=56;continue;case 55:ac=$clone(aa,F.Value).Interface();$s=57;case 57:if($c){$c=false;ac=ac.$blk();}if(ac&&ac.$blk!==undefined){break s;}c.arg=ac;ad=c.handleMethods(b);$s=60;case 60:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}if(ad){$s=58;continue;}$s=59;continue;case 58:$s=-1;return;case 59:case 56:$r=c.printValue($clone(aa,F.Value),b,0);$s=61;case 61:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=36;continue;case 35:ab=h;ae=c.handleMethods(b);$s=64;case 64:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(!ae){$s=62;continue;}$s=63;continue;case 62:af=F.ValueOf(ab);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}$r=c.printValue($clone(af,F.Value),b,0);$s=66;case 66:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 63:case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printArg};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printArg=function(a,b){return this.$val.printArg(a,b);};P.ptr.prototype.printValue=function(a,b,c){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;ax=$f.ax;ay=$f.ay;az=$f.az;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=this;if(c>0&&$clone(a,F.Value).IsValid()&&$clone(a,F.Value).CanInterface()){$s=1;continue;}$s=2;continue;case 1:e=$clone(a,F.Value).Interface();$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d.arg=e;f=d.handleMethods(b);$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f){$s=4;continue;}$s=5;continue;case 4:$s=-1;return;case 5:case 2:d.arg=$ifaceNil;d.value=a;g=a;h=$clone(a,F.Value).Kind();if(h===(0)){$s=8;continue;}if(h===(1)){$s=9;continue;}if((h===(2))||(h===(3))||(h===(4))||(h===(5))||(h===(6))){$s=10;continue;}if((h===(7))||(h===(8))||(h===(9))||(h===(10))||(h===(11))||(h===(12))){$s=11;continue;}if(h===(13)){$s=12;continue;}if(h===(14)){$s=13;continue;}if(h===(15)){$s=14;continue;}if(h===(16)){$s=15;continue;}if(h===(24)){$s=16;continue;}if(h===(21)){$s=17;continue;}if(h===(25)){$s=18;continue;}if(h===(20)){$s=19;continue;}if((h===(17))||(h===(23))){$s=20;continue;}if(h===(22)){$s=21;continue;}if((h===(18))||(h===(19))||(h===(26))){$s=22;continue;}$s=23;continue;case 8:if(c===0){$s=25;continue;}$s=26;continue;case 25:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<invalid reflect.Value>\");$s=27;continue;case 26:i=b;if(i===(118)){$s=29;continue;}$s=30;continue;case 29:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");$s=31;continue;case 30:$r=d.badVerb(b);$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 31:case 28:case 27:$s=24;continue;case 9:$r=d.fmtBool($clone(g,F.Value).Bool(),b);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 10:$r=d.fmtInteger(((j=$clone(g,F.Value).Int(),new $Uint64(j.$high,j.$low))),true,b);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 11:$r=d.fmtInteger($clone(g,F.Value).Uint(),false,b);$s=35;case 35:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 12:$r=d.fmtFloat($clone(g,F.Value).Float(),32,b);$s=36;case 36:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 13:$r=d.fmtFloat($clone(g,F.Value).Float(),64,b);$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 14:$r=d.fmtComplex($clone(g,F.Value).Complex(),64,b);$s=38;case 38:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 15:$r=d.fmtComplex($clone(g,F.Value).Complex(),128,b);$s=39;case 39:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 16:k=$clone(g,F.Value).String();$s=40;case 40:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}$r=d.fmtString(k,b);$s=41;case 41:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 17:if(d.fmt.fmtFlags.sharpV){$s=42;continue;}$s=43;continue;case 42:l=$clone(g,F.Value).Type().String();$s=45;case 45:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(l);$s=46;case 46:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if($clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);$s=44;continue;case 43:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"map[\");case 44:m=$clone(g,F.Value).MapKeys();$s=47;case 47:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=n;p=0;case 48:if(!(p<o.$length)){$s=49;continue;}q=p;r=((p<0||p>=o.$length)?($throwRuntimeError(\"index out of range\"),undefined):o.$array[o.$offset+p]);if(q>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}$r=d.printValue($clone(r,F.Value),b,c+1>>0);$s=50;case 50:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);s=$clone(g,F.Value).MapIndex($clone(r,F.Value));$s=51;case 51:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}$r=d.printValue($clone(s,F.Value),b,c+1>>0);$s=52;case 52:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}p++;$s=48;continue;case 49:if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);}$s=24;continue;case 18:if(d.fmt.fmtFlags.sharpV){$s=53;continue;}$s=54;continue;case 53:t=$clone(g,F.Value).Type().String();$s=55;case 55:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(t);$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 54:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);u=0;case 57:if(!(u<$clone(g,F.Value).NumField())){$s=58;continue;}if(u>0){if(d.fmt.fmtFlags.sharpV){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}else{(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}}if(d.fmt.fmtFlags.plusV||d.fmt.fmtFlags.sharpV){$s=59;continue;}$s=60;continue;case 59:v=$clone(g,F.Value).Type().Field(u);$s=61;case 61:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=v.Name;if(!(w===\"\")){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(w);(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(58);}case 60:x=AC($clone(g,F.Value),u);$s=62;case 62:if($c){$c=false;x=x.$blk();}if(x&&x.$blk!==undefined){break s;}$r=d.printValue($clone(x,F.Value),b,c+1>>0);$s=63;case 63:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}u=u+(1)>>0;$s=57;continue;case 58:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=24;continue;case 19:y=$clone(g,F.Value).Elem();$s=64;case 64:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=y;if(!$clone(z,F.Value).IsValid()){$s=65;continue;}$s=66;continue;case 65:if(d.fmt.fmtFlags.sharpV){$s=68;continue;}$s=69;continue;case 68:aa=$clone(g,F.Value).Type().String();$s=71;case 71:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(aa);$s=72;case 72:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=70;continue;case 69:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"<nil>\");case 70:$s=67;continue;case 66:$r=d.printValue($clone(z,F.Value),b,c+1>>0);$s=73;case 73:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 67:$s=24;continue;case 20:ab=b;if((ab===(115))||(ab===(113))||(ab===(120))||(ab===(88))){$s=75;continue;}$s=76;continue;case 75:ac=$clone(g,F.Value).Type();ad=ac.Elem();$s=79;case 79:if($c){$c=false;ad=ad.$blk();}if(ad&&ad.$blk!==undefined){break s;}ae=ad.Kind();$s=80;case 80:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}if(ae===8){$s=77;continue;}$s=78;continue;case 77:af=BO.nil;if($clone(g,F.Value).Kind()===23){$s=81;continue;}if($clone(g,F.Value).CanAddr()){$s=82;continue;}$s=83;continue;case 81:ag=$clone(g,F.Value).Bytes();$s=85;case 85:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;$s=84;continue;case 82:ah=$clone(g,F.Value).Slice(0,$clone(g,F.Value).Len());$s=86;case 86:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=$clone(ah,F.Value).Bytes();$s=87;case 87:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}af=ai;$s=84;continue;case 83:af=$makeSlice(BO,$clone(g,F.Value).Len());aj=af;ak=0;case 88:if(!(ak<aj.$length)){$s=89;continue;}al=ak;am=$clone(g,F.Value).Index(al);$s=90;case 90:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=$clone(am,F.Value).Uint();$s=91;case 91:if($c){$c=false;an=an.$blk();}if(an&&an.$blk!==undefined){break s;}((al<0||al>=af.$length)?($throwRuntimeError(\"index out of range\"),undefined):af.$array[af.$offset+al]=((an.$low<<24>>>24)));ak++;$s=88;continue;case 89:case 84:ao=af;ap=b;aq=ac.String();$s=92;case 92:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}ar=aq;$r=d.fmtBytes(ao,ap,ar);$s=93;case 93:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 78:case 76:case 74:if(d.fmt.fmtFlags.sharpV){$s=94;continue;}$s=95;continue;case 94:as=$clone(g,F.Value).Type().String();$s=97;case 97:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}$r=(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(as);$s=98;case 98:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(($clone(g,F.Value).Kind()===23)&&$clone(g,F.Value).IsNil()){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\"(nil)\");$s=-1;return;}(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(123);at=0;case 99:if(!(at<$clone(g,F.Value).Len())){$s=100;continue;}if(at>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteString(\", \");}au=$clone(g,F.Value).Index(at);$s=101;case 101:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}$r=d.printValue($clone(au,F.Value),b,c+1>>0);$s=102;case 102:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}at=at+(1)>>0;$s=99;continue;case 100:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(125);$s=96;continue;case 95:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(91);av=0;case 103:if(!(av<$clone(g,F.Value).Len())){$s=104;continue;}if(av>0){(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(32);}aw=$clone(g,F.Value).Index(av);$s=105;case 105:if($c){$c=false;aw=aw.$blk();}if(aw&&aw.$blk!==undefined){break s;}$r=d.printValue($clone(aw,F.Value),b,c+1>>0);$s=106;case 106:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}av=av+(1)>>0;$s=103;continue;case 104:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(93);case 96:$s=24;continue;case 21:if((c===0)&&!(($clone(g,F.Value).Pointer()===0))){$s=107;continue;}$s=108;continue;case 107:ax=$clone(g,F.Value).Elem();$s=110;case 110:if($c){$c=false;ax=ax.$blk();}if(ax&&ax.$blk!==undefined){break s;}ay=ax;az=$clone(ay,F.Value).Kind();if((az===(17))||(az===(23))||(az===(25))||(az===(21))){$s=111;continue;}$s=112;continue;case 111:(d.$ptr_buf||(d.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},d))).WriteByte(38);$r=d.printValue($clone(ay,F.Value),b,c+1>>0);$s=113;case 113:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;case 112:case 109:case 108:$r=d.fmtPointer($clone(g,F.Value),b);$s=114;case 114:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 22:$r=d.fmtPointer($clone(g,F.Value),b);$s=115;case 115:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=24;continue;case 23:$r=d.unknownType($clone(g,F.Value));$s=116;case 116:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 24:case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.printValue};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.ax=ax;$f.ay=ay;$f.az=az;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.printValue=function(a,b,c){return this.$val.printValue(a,b,c);};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=0;d=false;e=0;e=b;if(b<a.$length){$s=1;continue;}$s=2;continue;case 1:f=$assertType(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]),$Int,true);c=f[0];d=f[1];if(!d){$s=3;continue;}$s=4;continue;case 3:g=F.ValueOf(((b<0||b>=a.$length)?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+b]));$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=$clone(h,F.Value).Kind();if((i===(2))||(i===(3))||(i===(4))||(i===(5))||(i===(6))){j=$clone(h,F.Value).Int();if((k=(new $Int64(0,(((j.$low+((j.$high>>31)*4294967296))>>0)))),(k.$high===j.$high&&k.$low===j.$low))){c=(((j.$low+((j.$high>>31)*4294967296))>>0));d=true;}}else if((i===(7))||(i===(8))||(i===(9))||(i===(10))||(i===(11))||(i===(12))){l=$clone(h,F.Value).Uint();if((m=(new $Int64(l.$high,l.$low)),(m.$high>0||(m.$high===0&&m.$low>=0)))&&(n=(new $Uint64(0,((l.$low>>0)))),(n.$high===l.$high&&n.$low===l.$low))){c=((l.$low>>0));d=true;}}case 5:case 4:e=b+1>>0;if(AD(c)){c=0;d=false;}case 2:$s=-1;return[c,d,e];}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;b=0;c=0;d=false;if(a.length<3){e=0;f=1;g=false;b=e;c=f;d=g;return[b,c,d];}h=1;while(true){if(!(h<a.length)){break;}if(a.charCodeAt(h)===93){i=AE(a,1,h);j=i[0];k=i[1];l=i[2];if(!k||!((l===h))){m=0;n=h+1>>0;o=false;b=m;c=n;d=o;return[b,c,d];}p=j-1>>0;q=h+1>>0;r=true;b=p;c=q;d=r;return[b,c,d];}h=h+(1)>>0;}s=0;t=1;u=false;b=s;c=t;d=u;return[b,c,d];};P.ptr.prototype.argNumber=function(a,b,c,d){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;e=0;f=0;g=false;h=this;if(b.length<=c||!((b.charCodeAt(c)===91))){i=a;j=c;k=false;e=i;f=j;g=k;return[e,f,g];}h.reordered=true;l=AH($substring(b,c));m=l[0];n=l[1];o=l[2];if(o&&0<=m&&m<d){p=m;q=c+n>>0;r=true;e=p;f=q;g=r;return[e,f,g];}h.goodArgNum=false;s=a;t=c+n>>0;u=o;e=s;f=t;g=u;return[e,f,g];};P.prototype.argNumber=function(a,b,c,d){return this.$val.argNumber(a,b,c,d);};P.ptr.prototype.badArgNum=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(BADINDEX)\");};P.prototype.badArgNum=function(a){return this.$val.badArgNum(a);};P.ptr.prototype.missingArg=function(a){var $ptr,a,b;b=this;(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"%!\");(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteRune(a);(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteString(\"(MISSING)\");};P.prototype.missingArg=function(a){return this.$val.missingArg(a);};P.ptr.prototype.doPrintf=function(a,b){var $ptr,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.length;e=0;f=false;c.reordered=false;g=0;case 1:if(!(g<d)){$s=2;continue;}c.goodArgNum=true;h=g;while(true){if(!(g<d&&!((a.charCodeAt(g)===37)))){break;}g=g+(1)>>0;}if(g>h){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString($substring(a,h,g));}if(g>=d){$s=2;continue;}g=g+(1)>>0;c.fmt.clearflags();case 3:if(!(g<d)){$s=4;continue;}i=a.charCodeAt(g);j=i;if(j===(35)){$s=6;continue;}if(j===(48)){$s=7;continue;}if(j===(43)){$s=8;continue;}if(j===(45)){$s=9;continue;}if(j===(32)){$s=10;continue;}$s=11;continue;case 6:c.fmt.fmtFlags.sharp=true;$s=12;continue;case 7:c.fmt.fmtFlags.zero=!c.fmt.fmtFlags.minus;$s=12;continue;case 8:c.fmt.fmtFlags.plus=true;$s=12;continue;case 9:c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;$s=12;continue;case 10:c.fmt.fmtFlags.space=true;$s=12;continue;case 11:if(97<=i&&i<=122&&e<b.$length){$s=13;continue;}$s=14;continue;case 13:if(i===118){c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;}$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),((i>>0)));$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;g=g+(1)>>0;$s=1;continue s;case 14:$s=4;continue s;case 12:case 5:g=g+(1)>>0;$s=3;continue;case 4:k=c.argNumber(e,a,g,b.$length);e=k[0];g=k[1];f=k[2];if(g<d&&(a.charCodeAt(g)===42)){$s=16;continue;}$s=17;continue;case 16:g=g+(1)>>0;m=AG(b,e);$s=19;case 19:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;c.fmt.wid=l[0];c.fmt.fmtFlags.widPresent=l[1];e=l[2];if(!c.fmt.fmtFlags.widPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADWIDTH)\");}if(c.fmt.wid<0){c.fmt.wid=-c.fmt.wid;c.fmt.fmtFlags.minus=true;c.fmt.fmtFlags.zero=false;}f=false;$s=18;continue;case 17:n=AE(a,g,d);c.fmt.wid=n[0];c.fmt.fmtFlags.widPresent=n[1];g=n[2];if(f&&c.fmt.fmtFlags.widPresent){c.goodArgNum=false;}case 18:if((g+1>>0)<d&&(a.charCodeAt(g)===46)){$s=20;continue;}$s=21;continue;case 20:g=g+(1)>>0;if(f){c.goodArgNum=false;}o=c.argNumber(e,a,g,b.$length);e=o[0];g=o[1];f=o[2];if(g<d&&(a.charCodeAt(g)===42)){$s=22;continue;}$s=23;continue;case 22:g=g+(1)>>0;q=AG(b,e);$s=25;case 25:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;c.fmt.prec=p[0];c.fmt.fmtFlags.precPresent=p[1];e=p[2];if(c.fmt.prec<0){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=false;}if(!c.fmt.fmtFlags.precPresent){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(BADPREC)\");}f=false;$s=24;continue;case 23:r=AE(a,g,d);c.fmt.prec=r[0];c.fmt.fmtFlags.precPresent=r[1];g=r[2];if(!c.fmt.fmtFlags.precPresent){c.fmt.prec=0;c.fmt.fmtFlags.precPresent=true;}case 24:case 21:if(!f){s=c.argNumber(e,a,g,b.$length);e=s[0];g=s[1];f=s[2];}if(g>=d){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(NOVERB)\");$s=2;continue;}t=B.DecodeRuneInString($substring(a,g));u=t[0];v=t[1];g=g+(v)>>0;if((u===37)){$s=27;continue;}if(!c.goodArgNum){$s=28;continue;}if(e>=b.$length){$s=29;continue;}if((u===118)){$s=30;continue;}$s=31;continue;case 27:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(37);$s=32;continue;case 28:c.badArgNum(u);$s=32;continue;case 29:c.missingArg(u);$s=32;continue;case 30:c.fmt.fmtFlags.sharpV=c.fmt.fmtFlags.sharp;c.fmt.fmtFlags.sharp=false;c.fmt.fmtFlags.plusV=c.fmt.fmtFlags.plus;c.fmt.fmtFlags.plus=false;$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=33;case 33:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;$s=32;continue;case 31:$r=c.printArg(((e<0||e>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+e]),u);$s=34;case 34:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=e+(1)>>0;case 32:case 26:$s=1;continue;case 2:if(!c.reordered&&e<b.$length){$s=35;continue;}$s=36;continue;case 35:c.fmt.clearflags();(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"%!(EXTRA \");w=$subslice(b,e);x=0;case 37:if(!(x<w.$length)){$s=38;continue;}y=x;z=((x<0||x>=w.$length)?($throwRuntimeError(\"index out of range\"),undefined):w.$array[w.$offset+x]);if(y>0){(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\", \");}if($interfaceIsEqual(z,$ifaceNil)){$s=39;continue;}$s=40;continue;case 39:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(\"<nil>\");$s=41;continue;case 40:aa=F.TypeOf(z).String();$s=42;case 42:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}$r=(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteString(aa);$s=43;case 43:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(61);$r=c.printArg(z,118);$s=44;case 44:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 41:x++;$s=37;continue;case 38:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteByte(41);case 36:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrintf};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrintf=function(a,b){return this.$val.doPrintf(a,b);};P.ptr.prototype.doPrint=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=false;d=a;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=e;g=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(!($interfaceIsEqual(g,$ifaceNil)))){h=false;$s=3;continue s;}i=F.TypeOf(g).Kind();$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i===24;case 3:j=h;if(f>0&&!j&&!c){(b.$ptr_buf||(b.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},b))).WriteByte(32);}$r=b.printArg(g,118);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=j;e++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.doPrint};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.doPrint=function(a){return this.$val.doPrint(a);};AV.ptr.prototype.Read=function(a){var $ptr,a,b,c,d,e,f;b=0;c=$ifaceNil;d=this;e=0;f=C.New(\"ScanState's Read should not be called. Use ReadRune\");b=e;c=f;return[b,c];};AV.prototype.Read=function(a){return this.$val.Read(a);};AV.ptr.prototype.ReadRune=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=0;c=$ifaceNil;d=this;if(d.atEOF||d.count>=d.ssave.argLimit){c=D.EOF;$s=-1;return[a,b,c];}f=d.rs.ReadRune();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];c=e[2];if($interfaceIsEqual(c,$ifaceNil)){d.count=d.count+(1)>>0;if(d.ssave.nlIsEnd&&(a===10)){d.atEOF=true;}}else if($interfaceIsEqual(c,D.EOF)){d.atEOF=true;}$s=-1;return[a,b,c];}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.ReadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.ReadRune=function(){return this.$val.ReadRune();};AV.ptr.prototype.Width=function(){var $ptr,a,b,c,d,e,f,g;a=0;b=false;c=this;if(c.ssave.maxWid===1073741824){d=0;e=false;a=d;b=e;return[a,b];}f=c.ssave.maxWid;g=true;a=f;b=g;return[a,b];};AV.prototype.Width=function(){return this.$val.Width();};AV.ptr.prototype.getRune=function(){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=0;b=this;d=b.ReadRune();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];e=c[2];if(!($interfaceIsEqual(e,$ifaceNil))){if($interfaceIsEqual(e,D.EOF)){a=-1;$s=-1;return a;}b.error(e);}$s=-1;return a;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.getRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.getRune=function(){return this.$val.getRune();};AV.ptr.prototype.UnreadRune=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b=a.rs.UnreadRune();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;a.atEOF=false;a.count=a.count-(1)>>0;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.UnreadRune};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.UnreadRune=function(){return this.$val.UnreadRune();};AV.ptr.prototype.error=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(a),new c.constructor.elem(c)));};AV.prototype.error=function(a){return this.$val.error(a);};AV.ptr.prototype.errorString=function(a){var $ptr,a,b,c;b=this;$panic((c=new AU.ptr(C.New(a)),new c.constructor.elem(c)));};AV.prototype.errorString=function(a){return this.$val.errorString(a);};AV.ptr.prototype.Token=function(a,b){var $ptr,a,b,c,d,e,f,$s,$deferred,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$deferred=$f.$deferred;$r=$f.$r;}var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$deferred.index=$curGoroutine.deferStack.length;$curGoroutine.deferStack.push($deferred);c=[c];d=BO.nil;c[0]=$ifaceNil;e=this;$deferred.push([(function(c){return function(){var $ptr,f,g,h,i;f=$recover();if(!($interfaceIsEqual(f,$ifaceNil))){g=$assertType(f,AU,true);h=$clone(g[0],AU);i=g[1];if(i){c[0]=h.err;}else{$panic(f);}}};})(c),[]]);if(b===$throwNilPointerError){b=AZ;}e.buf=$subslice(e.buf,0,0);f=e.token(a,b);$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;$s=-1;return[d,c[0]];}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if(!$curGoroutine.asleep){return[d,c[0]];}if($curGoroutine.asleep){if($f===undefined){$f={$blk:AV.ptr.prototype.Token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$deferred=$deferred;$f.$r=$r;return $f;}}};AV.prototype.Token=function(a,b){return this.$val.Token(a,b);};AY=function(a){var $ptr,a,b,c,d,e;if(a>=65536){return false;}b=((a<<16>>>16));c=AX;d=0;while(true){if(!(d<c.$length)){break;}e=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),BM);if(b<e[0]){return false;}if(b<=e[1]){return true;}d++;}return false;};AZ=function(a){var $ptr,a;return!AY(a);};AV.ptr.prototype.SkipSpace=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;$r=a.skipSpace(false);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.SkipSpace};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.SkipSpace=function(){return this.$val.SkipSpace();};AV.ptr.prototype.free=function(a){var $ptr,a,b;b=this;if(a.validSave){AW.copy(b.ssave,a);return;}if(b.buf.$capacity>1024){return;}b.buf=$subslice(b.buf,0,0);b.rs=$ifaceNil;BB.Put(b);};AV.prototype.free=function(a){return this.$val.free(a);};AV.ptr.prototype.skipSpace=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;case 1:c=b.getRune();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(d===-1){$s=-1;return;}if(!(d===13)){e=false;$s=6;continue s;}f=b.peek(\"\\n\");$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:if(e){$s=4;continue;}$s=5;continue;case 4:$s=1;continue;case 5:if(d===10){$s=8;continue;}$s=9;continue;case 8:if(a){$s=2;continue;}if(b.ssave.nlIsSpace){$s=1;continue;}b.errorString(\"unexpected newline\");$s=-1;return;case 9:if(!AY(d)){$s=10;continue;}$s=11;continue;case 10:g=b.UnreadRune();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=2;continue;case 11:$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.skipSpace};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.skipSpace=function(a){return this.$val.skipSpace(a);};AV.ptr.prototype.token=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(a){$s=1;continue;}$s=2;continue;case 1:$r=c.skipSpace(false);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:case 4:d=c.getRune();$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(e===-1){$s=5;continue;}f=b(e);$s=9;case 9:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(!f){$s=7;continue;}$s=8;continue;case 7:g=c.UnreadRune();$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=5;continue;case 8:(c.$ptr_buf||(c.$ptr_buf=new BK(function(){return this.$target.buf;},function($v){this.$target.buf=$v;},c))).WriteRune(e);$s=4;continue;case 5:$s=-1;return(h=c.buf,$subslice(new BO(h.$array),h.$offset,h.$offset+h.$length));}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.token};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.token=function(a,b){return this.$val.token(a,b);};BF=function(a,b){var $ptr,a,b,c,d,e,f,g;c=a;d=0;while(true){if(!(d<c.length)){break;}e=$decodeRune(c,d);f=d;g=e[0];if(g===b){return f;}d+=e[1];}return-1;};AV.ptr.prototype.peek=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b.getRune();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!((d===-1))){$s=2;continue;}$s=3;continue;case 2:e=b.UnreadRune();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;case 3:$s=-1;return BF(a,d)>=0;}return;}if($f===undefined){$f={$blk:AV.ptr.prototype.peek};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AV.prototype.peek=function(a){return this.$val.peek(a);};CN.methods=[{prop:\"clearflags\",name:\"clearflags\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"init\",name:\"init\",pkg:\"fmt\",typ:$funcType([BK],[],false)},{prop:\"writePadding\",name:\"writePadding\",pkg:\"fmt\",typ:$funcType([$Int],[],false)},{prop:\"pad\",name:\"pad\",pkg:\"fmt\",typ:$funcType([BO],[],false)},{prop:\"padString\",name:\"padString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_boolean\",name:\"fmt_boolean\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"fmt_unicode\",name:\"fmt_unicode\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_integer\",name:\"fmt_integer\",pkg:\"fmt\",typ:$funcType([$Uint64,$Int,$Bool,$String],[],false)},{prop:\"truncate\",name:\"truncate\",pkg:\"fmt\",typ:$funcType([$String],[$String],false)},{prop:\"fmt_s\",name:\"fmt_s\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_sbx\",name:\"fmt_sbx\",pkg:\"fmt\",typ:$funcType([$String,BO,$String],[],false)},{prop:\"fmt_sx\",name:\"fmt_sx\",pkg:\"fmt\",typ:$funcType([$String,$String],[],false)},{prop:\"fmt_bx\",name:\"fmt_bx\",pkg:\"fmt\",typ:$funcType([BO,$String],[],false)},{prop:\"fmt_q\",name:\"fmt_q\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"fmt_c\",name:\"fmt_c\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_qc\",name:\"fmt_qc\",pkg:\"fmt\",typ:$funcType([$Uint64],[],false)},{prop:\"fmt_float\",name:\"fmt_float\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32,$Int],[],false)}];BK.methods=[{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[],false)},{prop:\"WriteString\",name:\"WriteString\",pkg:\"\",typ:$funcType([$String],[],false)},{prop:\"WriteByte\",name:\"WriteByte\",pkg:\"\",typ:$funcType([$Uint8],[],false)},{prop:\"WriteRune\",name:\"WriteRune\",pkg:\"\",typ:$funcType([$Int32],[],false)}];BP.methods=[{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"unknownType\",name:\"unknownType\",pkg:\"fmt\",typ:$funcType([F.Value],[],false)},{prop:\"badVerb\",name:\"badVerb\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"fmtBool\",name:\"fmtBool\",pkg:\"fmt\",typ:$funcType([$Bool,$Int32],[],false)},{prop:\"fmt0x64\",name:\"fmt0x64\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool],[],false)},{prop:\"fmtInteger\",name:\"fmtInteger\",pkg:\"fmt\",typ:$funcType([$Uint64,$Bool,$Int32],[],false)},{prop:\"fmtFloat\",name:\"fmtFloat\",pkg:\"fmt\",typ:$funcType([$Float64,$Int,$Int32],[],false)},{prop:\"fmtComplex\",name:\"fmtComplex\",pkg:\"fmt\",typ:$funcType([$Complex128,$Int,$Int32],[],false)},{prop:\"fmtString\",name:\"fmtString\",pkg:\"fmt\",typ:$funcType([$String,$Int32],[],false)},{prop:\"fmtBytes\",name:\"fmtBytes\",pkg:\"fmt\",typ:$funcType([BO,$Int32,$String],[],false)},{prop:\"fmtPointer\",name:\"fmtPointer\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32],[],false)},{prop:\"catchPanic\",name:\"catchPanic\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"handleMethods\",name:\"handleMethods\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"printArg\",name:\"printArg\",pkg:\"fmt\",typ:$funcType([$emptyInterface,$Int32],[],false)},{prop:\"printValue\",name:\"printValue\",pkg:\"fmt\",typ:$funcType([F.Value,$Int32,$Int],[],false)},{prop:\"argNumber\",name:\"argNumber\",pkg:\"fmt\",typ:$funcType([$Int,$String,$Int,$Int],[$Int,$Int,$Bool],false)},{prop:\"badArgNum\",name:\"badArgNum\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"missingArg\",name:\"missingArg\",pkg:\"fmt\",typ:$funcType([$Int32],[],false)},{prop:\"doPrintf\",name:\"doPrintf\",pkg:\"fmt\",typ:$funcType([$String,BI],[],false)},{prop:\"doPrint\",name:\"doPrint\",pkg:\"fmt\",typ:$funcType([BI],[],false)},{prop:\"doPrintln\",name:\"doPrintln\",pkg:\"fmt\",typ:$funcType([BI],[],false)}];BS.methods=[{prop:\"Read\",name:\"Read\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)},{prop:\"ReadRune\",name:\"ReadRune\",pkg:\"\",typ:$funcType([],[$Int32,$Int,$error],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"getRune\",name:\"getRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"mustReadRune\",name:\"mustReadRune\",pkg:\"fmt\",typ:$funcType([],[$Int32],false)},{prop:\"UnreadRune\",name:\"UnreadRune\",pkg:\"\",typ:$funcType([],[$error],false)},{prop:\"error\",name:\"error\",pkg:\"fmt\",typ:$funcType([$error],[],false)},{prop:\"errorString\",name:\"errorString\",pkg:\"fmt\",typ:$funcType([$String],[],false)},{prop:\"Token\",name:\"Token\",pkg:\"\",typ:$funcType([$Bool,CO],[BO,$error],false)},{prop:\"SkipSpace\",name:\"SkipSpace\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"free\",name:\"free\",pkg:\"fmt\",typ:$funcType([AW],[],false)},{prop:\"skipSpace\",name:\"skipSpace\",pkg:\"fmt\",typ:$funcType([$Bool],[],false)},{prop:\"token\",name:\"token\",pkg:\"fmt\",typ:$funcType([$Bool,CO],[BO],false)},{prop:\"consume\",name:\"consume\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$Bool],false)},{prop:\"peek\",name:\"peek\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"notEOF\",name:\"notEOF\",pkg:\"fmt\",typ:$funcType([],[],false)},{prop:\"accept\",name:\"accept\",pkg:\"fmt\",typ:$funcType([$String],[$Bool],false)},{prop:\"okVerb\",name:\"okVerb\",pkg:\"fmt\",typ:$funcType([$Int32,$String,$String],[$Bool],false)},{prop:\"scanBool\",name:\"scanBool\",pkg:\"fmt\",typ:$funcType([$Int32],[$Bool],false)},{prop:\"getBase\",name:\"getBase\",pkg:\"fmt\",typ:$funcType([$Int32],[$Int,$String],false)},{prop:\"scanNumber\",name:\"scanNumber\",pkg:\"fmt\",typ:$funcType([$String,$Bool],[$String],false)},{prop:\"scanRune\",name:\"scanRune\",pkg:\"fmt\",typ:$funcType([$Int],[$Int64],false)},{prop:\"scanBasePrefix\",name:\"scanBasePrefix\",pkg:\"fmt\",typ:$funcType([],[$Int,$String,$Bool],false)},{prop:\"scanInt\",name:\"scanInt\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Int64],false)},{prop:\"scanUint\",name:\"scanUint\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Uint64],false)},{prop:\"floatToken\",name:\"floatToken\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"complexTokens\",name:\"complexTokens\",pkg:\"fmt\",typ:$funcType([],[$String,$String],false)},{prop:\"convertFloat\",name:\"convertFloat\",pkg:\"fmt\",typ:$funcType([$String,$Int],[$Float64],false)},{prop:\"scanComplex\",name:\"scanComplex\",pkg:\"fmt\",typ:$funcType([$Int32,$Int],[$Complex128],false)},{prop:\"convertString\",name:\"convertString\",pkg:\"fmt\",typ:$funcType([$Int32],[$String],false)},{prop:\"quotedString\",name:\"quotedString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"hexByte\",name:\"hexByte\",pkg:\"fmt\",typ:$funcType([],[$Uint8,$Bool],false)},{prop:\"hexString\",name:\"hexString\",pkg:\"fmt\",typ:$funcType([],[$String],false)},{prop:\"scanOne\",name:\"scanOne\",pkg:\"fmt\",typ:$funcType([$Int32,$emptyInterface],[],false)},{prop:\"doScan\",name:\"doScan\",pkg:\"fmt\",typ:$funcType([BI],[$Int,$error],false)},{prop:\"advance\",name:\"advance\",pkg:\"fmt\",typ:$funcType([$String],[$Int],false)},{prop:\"doScanf\",name:\"doScanf\",pkg:\"fmt\",typ:$funcType([$String,BI],[$Int,$error],false)}];I.init(\"fmt\",[{prop:\"widPresent\",name:\"widPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"precPresent\",name:\"precPresent\",exported:false,typ:$Bool,tag:\"\"},{prop:\"minus\",name:\"minus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plus\",name:\"plus\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharp\",name:\"sharp\",exported:false,typ:$Bool,tag:\"\"},{prop:\"space\",name:\"space\",exported:false,typ:$Bool,tag:\"\"},{prop:\"zero\",name:\"zero\",exported:false,typ:$Bool,tag:\"\"},{prop:\"plusV\",name:\"plusV\",exported:false,typ:$Bool,tag:\"\"},{prop:\"sharpV\",name:\"sharpV\",exported:false,typ:$Bool,tag:\"\"}]);J.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:BK,tag:\"\"},{prop:\"fmtFlags\",name:\"\",exported:false,typ:I,tag:\"\"},{prop:\"wid\",name:\"wid\",exported:false,typ:$Int,tag:\"\"},{prop:\"prec\",name:\"prec\",exported:false,typ:$Int,tag:\"\"},{prop:\"intbuf\",name:\"intbuf\",exported:false,typ:BL,tag:\"\"}]);K.init([{prop:\"Flag\",name:\"Flag\",pkg:\"\",typ:$funcType([$Int],[$Bool],false)},{prop:\"Precision\",name:\"Precision\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Width\",name:\"Width\",pkg:\"\",typ:$funcType([],[$Int,$Bool],false)},{prop:\"Write\",name:\"Write\",pkg:\"\",typ:$funcType([BO],[$Int,$error],false)}]);L.init([{prop:\"Format\",name:\"Format\",pkg:\"\",typ:$funcType([K,$Int32],[],false)}]);M.init([{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([],[$String],false)}]);N.init([{prop:\"GoString\",name:\"GoString\",pkg:\"\",typ:$funcType([],[$String],false)}]);O.init($Uint8);P.init(\"fmt\",[{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"arg\",name:\"arg\",exported:false,typ:$emptyInterface,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:F.Value,tag:\"\"},{prop:\"fmt\",name:\"fmt\",exported:false,typ:J,tag:\"\"},{prop:\"reordered\",name:\"reordered\",exported:false,typ:$Bool,tag:\"\"},{prop:\"goodArgNum\",name:\"goodArgNum\",exported:false,typ:$Bool,tag:\"\"},{prop:\"panicking\",name:\"panicking\",exported:false,typ:$Bool,tag:\"\"},{prop:\"erroring\",name:\"erroring\",exported:false,typ:$Bool,tag:\"\"}]);AU.init(\"fmt\",[{prop:\"err\",name:\"err\",exported:false,typ:$error,tag:\"\"}]);AV.init(\"fmt\",[{prop:\"rs\",name:\"rs\",exported:false,typ:D.RuneScanner,tag:\"\"},{prop:\"buf\",name:\"buf\",exported:false,typ:O,tag:\"\"},{prop:\"count\",name:\"count\",exported:false,typ:$Int,tag:\"\"},{prop:\"atEOF\",name:\"atEOF\",exported:false,typ:$Bool,tag:\"\"},{prop:\"ssave\",name:\"\",exported:false,typ:AW,tag:\"\"}]);AW.init(\"fmt\",[{prop:\"validSave\",name:\"validSave\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsEnd\",name:\"nlIsEnd\",exported:false,typ:$Bool,tag:\"\"},{prop:\"nlIsSpace\",name:\"nlIsSpace\",exported:false,typ:$Bool,tag:\"\"},{prop:\"argLimit\",name:\"argLimit\",exported:false,typ:$Int,tag:\"\"},{prop:\"limit\",name:\"limit\",exported:false,typ:$Int,tag:\"\"},{prop:\"maxWid\",name:\"maxWid\",exported:false,typ:$Int,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}Q=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new P.ptr(O.nil,$ifaceNil,new F.Value.ptr(BJ.nil,0,0),new J.ptr(BK.nil,new I.ptr(false,false,false,false,false,false,false,false,false),0,0,BL.zero()),false,false,false,false);}));AF=F.TypeOf(new $Uint8(0));AX=new BN([$toNativeArray($kindUint16,[9,13]),$toNativeArray($kindUint16,[32,32]),$toNativeArray($kindUint16,[133,133]),$toNativeArray($kindUint16,[160,160]),$toNativeArray($kindUint16,[5760,5760]),$toNativeArray($kindUint16,[8192,8202]),$toNativeArray($kindUint16,[8232,8233]),$toNativeArray($kindUint16,[8239,8239]),$toNativeArray($kindUint16,[8287,8287]),$toNativeArray($kindUint16,[12288,12288])]);BB=new G.Pool.ptr(0,0,BI.nil,(function(){var $ptr;return new AV.ptr($ifaceNil,O.nil,0,false,new AW.ptr(false,false,false,0,0,0));}));BD=C.New(\"syntax error scanning complex number\");BE=C.New(\"syntax error scanning boolean\");}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/support\"]=(function(){var $pkg={},$init,A,B,C,E,D;A=$packages[\"errors\"];B=$packages[\"fmt\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];E=$sliceType($emptyInterface);D=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$global.require;if(b===undefined){$s=-1;return[null,A.New(\"require() not defined; if this is not Node.js, give Browserify a try\")];}c=null;d=a;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!(c===null)){c=c[$externalize(f,$String)];}else{c=b($externalize(f,$String));}e++;}if(c===undefined){$s=1;continue;}$s=2;continue;case 1:g=B.Errorf(\"Module %q not found\",new E([a]));$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return[null,g];case 2:$s=-1;return[c,$ifaceNil];}return;}if($f===undefined){$f={$blk:D};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Require=D;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"unicode\"]=(function(){var $pkg={},$init,O,P,Q,R,T,IS,IT,IU,IX,AM,AX,IE,IF,IG,A,C,I,M,U,V,X,AB,AE;O=$pkg.RangeTable=$newType(0,$kindStruct,\"unicode.RangeTable\",true,\"unicode\",true,function(R16_,R32_,LatinOffset_){this.$val=this;if(arguments.length===0){this.R16=IT.nil;this.R32=IU.nil;this.LatinOffset=0;return;}this.R16=R16_;this.R32=R32_;this.LatinOffset=LatinOffset_;});P=$pkg.Range16=$newType(0,$kindStruct,\"unicode.Range16\",true,\"unicode\",true,function(Lo_,Hi_,Stride_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Stride=0;return;}this.Lo=Lo_;this.Hi=Hi_;this.Stride=Stride_;});Q=$pkg.Range32=$newType(0,$kindStruct,\"unicode.Range32\",true,\"unicode\",true,function(Lo_,Hi_,Stride_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Stride=0;return;}this.Lo=Lo_;this.Hi=Hi_;this.Stride=Stride_;});R=$pkg.CaseRange=$newType(0,$kindStruct,\"unicode.CaseRange\",true,\"unicode\",true,function(Lo_,Hi_,Delta_){this.$val=this;if(arguments.length===0){this.Lo=0;this.Hi=0;this.Delta=IS.zero();return;}this.Lo=Lo_;this.Hi=Hi_;this.Delta=Delta_;});T=$pkg.d=$newType(12,$kindArray,\"unicode.d\",true,\"unicode\",false,null);IS=$arrayType($Int32,3);IT=$sliceType(P);IU=$sliceType(Q);IX=$sliceType(R);A=function(b,c,d){var $ptr,b,c,d,e,f,g,h,i,j,k;if(b<0||3<=b){return 65533;}e=0;f=d.$length;while(true){if(!(e<f)){break;}h=e+(g=((f-e>>0))/2,(g===g&&g!==1/0&&g!==-1/0)?g>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;i=((h<0||h>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+h]);if(((i.Lo>>0))<=c&&c<=((i.Hi>>0))){k=((j=i.Delta,((b<0||b>=j.length)?($throwRuntimeError(\"index out of range\"),undefined):j[b])));if(k>1114111){return((i.Lo>>0))+((((((c-((i.Lo>>0))>>0))&~1)>>0)|(((b&1)>>0))))>>0;}return c+k>>0;}if(c<((i.Lo>>0))){f=h;}else{e=h+1>>0;}}return c;};C=function(b){var $ptr,b;if(b<=255){return 48<=b&&b<=57;}return X($pkg.Digit,b);};$pkg.IsDigit=C;I=function(b){var $ptr,b,c;if(((b>>>0))<=255){return!(((((c=((b<<24>>>24)),((c<0||c>=IG.length)?($throwRuntimeError(\"index out of range\"),undefined):IG[c]))&96)>>>0)===0));}return X($pkg.Letter,b);};$pkg.IsLetter=I;M=function(b){var $ptr,b,c;if(((b>>>0))<=255){c=b;if((c===(9))||(c===(10))||(c===(11))||(c===(12))||(c===(13))||(c===(32))||(c===(133))||(c===(160))){return true;}return false;}return X($pkg.White_Space,b);};$pkg.IsSpace=M;U=function(b,c){var $ptr,b,c,d,e,f,g,h,i,j,k,l,m,n;if(b.$length<=18||c<=255){d=b;e=0;while(true){if(!(e<d.$length)){break;}f=e;g=((f<0||f>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+f]);if(c<g.Lo){return false;}if(c<=g.Hi){return(h=((c-g.Lo<<16>>>16))%g.Stride,h===h?h:$throwRuntimeError(\"integer divide by zero\"))===0;}e++;}return false;}i=0;j=b.$length;while(true){if(!(i<j)){break;}l=i+(k=((j-i>>0))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;m=((l<0||l>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+l]);if(m.Lo<=c&&c<=m.Hi){return(n=((c-m.Lo<<16>>>16))%m.Stride,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0;}if(c<m.Lo){j=l;}else{i=l+1>>0;}}return false;};V=function(b,c){var $ptr,b,c,d,e,f,g,h,i,j,k,l,m,n;if(b.$length<=18){d=b;e=0;while(true){if(!(e<d.$length)){break;}f=e;g=((f<0||f>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+f]);if(c<g.Lo){return false;}if(c<=g.Hi){return(h=((c-g.Lo>>>0))%g.Stride,h===h?h:$throwRuntimeError(\"integer divide by zero\"))===0;}e++;}return false;}i=0;j=b.$length;while(true){if(!(i<j)){break;}l=i+(k=((j-i>>0))/2,(k===k&&k!==1/0&&k!==-1/0)?k>>0:$throwRuntimeError(\"integer divide by zero\"))>>0;m=$clone(((l<0||l>=b.$length)?($throwRuntimeError(\"index out of range\"),undefined):b.$array[b.$offset+l]),Q);if(m.Lo<=c&&c<=m.Hi){return(n=((c-m.Lo>>>0))%m.Stride,n===n?n:$throwRuntimeError(\"integer divide by zero\"))===0;}if(c<m.Lo){j=l;}else{i=l+1>>0;}}return false;};X=function(b,c){var $ptr,b,c,d,e,f,g;d=b.R16;e=b.LatinOffset;if(d.$length>e&&c<=(((f=d.$length-1>>0,((f<0||f>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+f])).Hi>>0))){return U($subslice(d,e),((c<<16>>>16)));}g=b.R32;if(g.$length>0&&c>=(((0>=g.$length?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+0]).Lo>>0))){return V(g,((c>>>0)));}return false;};AB=function(b,c){var $ptr,b,c;return A(b,c,$pkg.CaseRanges);};$pkg.To=AB;AE=function(b){var $ptr,b;if(b<=127){if(97<=b&&b<=122){b=b-(32)>>0;}return b;}return AB(2,b);};$pkg.ToTitle=AE;O.init(\"\",[{prop:\"R16\",name:\"R16\",exported:true,typ:IT,tag:\"\"},{prop:\"R32\",name:\"R32\",exported:true,typ:IU,tag:\"\"},{prop:\"LatinOffset\",name:\"LatinOffset\",exported:true,typ:$Int,tag:\"\"}]);P.init(\"\",[{prop:\"Lo\",name:\"Lo\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Hi\",name:\"Hi\",exported:true,typ:$Uint16,tag:\"\"},{prop:\"Stride\",name:\"Stride\",exported:true,typ:$Uint16,tag:\"\"}]);Q.init(\"\",[{prop:\"Lo\",name:\"Lo\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Hi\",name:\"Hi\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Stride\",name:\"Stride\",exported:true,typ:$Uint32,tag:\"\"}]);R.init(\"\",[{prop:\"Lo\",name:\"Lo\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Hi\",name:\"Hi\",exported:true,typ:$Uint32,tag:\"\"},{prop:\"Delta\",name:\"Delta\",exported:true,typ:T,tag:\"\"}]);T.init($Int32,3);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:AM=new O.ptr(new IT([new P.ptr(65,90,1),new P.ptr(97,122,1),new P.ptr(170,181,11),new P.ptr(186,192,6),new P.ptr(193,214,1),new P.ptr(216,246,1),new P.ptr(248,705,1),new P.ptr(710,721,1),new P.ptr(736,740,1),new P.ptr(748,750,2),new P.ptr(880,884,1),new P.ptr(886,887,1),new P.ptr(890,893,1),new P.ptr(895,902,7),new P.ptr(904,906,1),new P.ptr(908,910,2),new P.ptr(911,929,1),new P.ptr(931,1013,1),new P.ptr(1015,1153,1),new P.ptr(1162,1327,1),new P.ptr(1329,1366,1),new P.ptr(1369,1377,8),new P.ptr(1378,1415,1),new P.ptr(1488,1514,1),new P.ptr(1520,1522,1),new P.ptr(1568,1610,1),new P.ptr(1646,1647,1),new P.ptr(1649,1747,1),new P.ptr(1749,1765,16),new P.ptr(1766,1774,8),new P.ptr(1775,1786,11),new P.ptr(1787,1788,1),new P.ptr(1791,1808,17),new P.ptr(1810,1839,1),new P.ptr(1869,1957,1),new P.ptr(1969,1994,25),new P.ptr(1995,2026,1),new P.ptr(2036,2037,1),new P.ptr(2042,2048,6),new P.ptr(2049,2069,1),new P.ptr(2074,2084,10),new P.ptr(2088,2112,24),new P.ptr(2113,2136,1),new P.ptr(2208,2228,1),new P.ptr(2230,2237,1),new P.ptr(2308,2361,1),new P.ptr(2365,2384,19),new P.ptr(2392,2401,1),new P.ptr(2417,2432,1),new P.ptr(2437,2444,1),new P.ptr(2447,2448,1),new P.ptr(2451,2472,1),new P.ptr(2474,2480,1),new P.ptr(2482,2486,4),new P.ptr(2487,2489,1),new P.ptr(2493,2510,17),new P.ptr(2524,2525,1),new P.ptr(2527,2529,1),new P.ptr(2544,2545,1),new P.ptr(2565,2570,1),new P.ptr(2575,2576,1),new P.ptr(2579,2600,1),new P.ptr(2602,2608,1),new P.ptr(2610,2611,1),new P.ptr(2613,2614,1),new P.ptr(2616,2617,1),new P.ptr(2649,2652,1),new P.ptr(2654,2674,20),new P.ptr(2675,2676,1),new P.ptr(2693,2701,1),new P.ptr(2703,2705,1),new P.ptr(2707,2728,1),new P.ptr(2730,2736,1),new P.ptr(2738,2739,1),new P.ptr(2741,2745,1),new P.ptr(2749,2768,19),new P.ptr(2784,2785,1),new P.ptr(2809,2821,12),new P.ptr(2822,2828,1),new P.ptr(2831,2832,1),new P.ptr(2835,2856,1),new P.ptr(2858,2864,1),new P.ptr(2866,2867,1),new P.ptr(2869,2873,1),new P.ptr(2877,2908,31),new P.ptr(2909,2911,2),new P.ptr(2912,2913,1),new P.ptr(2929,2947,18),new P.ptr(2949,2954,1),new P.ptr(2958,2960,1),new P.ptr(2962,2965,1),new P.ptr(2969,2970,1),new P.ptr(2972,2974,2),new P.ptr(2975,2979,4),new P.ptr(2980,2984,4),new P.ptr(2985,2986,1),new P.ptr(2990,3001,1),new P.ptr(3024,3077,53),new P.ptr(3078,3084,1),new P.ptr(3086,3088,1),new P.ptr(3090,3112,1),new P.ptr(3114,3129,1),new P.ptr(3133,3160,27),new P.ptr(3161,3162,1),new P.ptr(3168,3169,1),new P.ptr(3200,3205,5),new P.ptr(3206,3212,1),new P.ptr(3214,3216,1),new P.ptr(3218,3240,1),new P.ptr(3242,3251,1),new P.ptr(3253,3257,1),new P.ptr(3261,3294,33),new P.ptr(3296,3297,1),new P.ptr(3313,3314,1),new P.ptr(3333,3340,1),new P.ptr(3342,3344,1),new P.ptr(3346,3386,1),new P.ptr(3389,3406,17),new P.ptr(3412,3414,1),new P.ptr(3423,3425,1),new P.ptr(3450,3455,1),new P.ptr(3461,3478,1),new P.ptr(3482,3505,1),new P.ptr(3507,3515,1),new P.ptr(3517,3520,3),new P.ptr(3521,3526,1),new P.ptr(3585,3632,1),new P.ptr(3634,3635,1),new P.ptr(3648,3654,1),new P.ptr(3713,3714,1),new P.ptr(3716,3719,3),new P.ptr(3720,3722,2),new P.ptr(3725,3732,7),new P.ptr(3733,3735,1),new P.ptr(3737,3743,1),new P.ptr(3745,3747,1),new P.ptr(3749,3751,2),new P.ptr(3754,3755,1),new P.ptr(3757,3760,1),new P.ptr(3762,3763,1),new P.ptr(3773,3776,3),new P.ptr(3777,3780,1),new P.ptr(3782,3804,22),new P.ptr(3805,3807,1),new P.ptr(3840,3904,64),new P.ptr(3905,3911,1),new P.ptr(3913,3948,1),new P.ptr(3976,3980,1),new P.ptr(4096,4138,1),new P.ptr(4159,4176,17),new P.ptr(4177,4181,1),new P.ptr(4186,4189,1),new P.ptr(4193,4197,4),new P.ptr(4198,4206,8),new P.ptr(4207,4208,1),new P.ptr(4213,4225,1),new P.ptr(4238,4256,18),new P.ptr(4257,4293,1),new P.ptr(4295,4301,6),new P.ptr(4304,4346,1),new P.ptr(4348,4680,1),new P.ptr(4682,4685,1),new P.ptr(4688,4694,1),new P.ptr(4696,4698,2),new P.ptr(4699,4701,1),new P.ptr(4704,4744,1),new P.ptr(4746,4749,1),new P.ptr(4752,4784,1),new P.ptr(4786,4789,1),new P.ptr(4792,4798,1),new P.ptr(4800,4802,2),new P.ptr(4803,4805,1),new P.ptr(4808,4822,1),new P.ptr(4824,4880,1),new P.ptr(4882,4885,1),new P.ptr(4888,4954,1),new P.ptr(4992,5007,1),new P.ptr(5024,5109,1),new P.ptr(5112,5117,1),new P.ptr(5121,5740,1),new P.ptr(5743,5759,1),new P.ptr(5761,5786,1),new P.ptr(5792,5866,1),new P.ptr(5873,5880,1),new P.ptr(5888,5900,1),new P.ptr(5902,5905,1),new P.ptr(5920,5937,1),new P.ptr(5952,5969,1),new P.ptr(5984,5996,1),new P.ptr(5998,6000,1),new P.ptr(6016,6067,1),new P.ptr(6103,6108,5),new P.ptr(6176,6263,1),new P.ptr(6272,6276,1),new P.ptr(6279,6312,1),new P.ptr(6314,6320,6),new P.ptr(6321,6389,1),new P.ptr(6400,6430,1),new P.ptr(6480,6509,1),new P.ptr(6512,6516,1),new P.ptr(6528,6571,1),new P.ptr(6576,6601,1),new P.ptr(6656,6678,1),new P.ptr(6688,6740,1),new P.ptr(6823,6917,94),new P.ptr(6918,6963,1),new P.ptr(6981,6987,1),new P.ptr(7043,7072,1),new P.ptr(7086,7087,1),new P.ptr(7098,7141,1),new P.ptr(7168,7203,1),new P.ptr(7245,7247,1),new P.ptr(7258,7293,1),new P.ptr(7296,7304,1),new P.ptr(7401,7404,1),new P.ptr(7406,7409,1),new P.ptr(7413,7414,1),new P.ptr(7424,7615,1),new P.ptr(7680,7957,1),new P.ptr(7960,7965,1),new P.ptr(7968,8005,1),new P.ptr(8008,8013,1),new P.ptr(8016,8023,1),new P.ptr(8025,8031,2),new P.ptr(8032,8061,1),new P.ptr(8064,8116,1),new P.ptr(8118,8124,1),new P.ptr(8126,8130,4),new P.ptr(8131,8132,1),new P.ptr(8134,8140,1),new P.ptr(8144,8147,1),new P.ptr(8150,8155,1),new P.ptr(8160,8172,1),new P.ptr(8178,8180,1),new P.ptr(8182,8188,1),new P.ptr(8305,8319,14),new P.ptr(8336,8348,1),new P.ptr(8450,8455,5),new P.ptr(8458,8467,1),new P.ptr(8469,8473,4),new P.ptr(8474,8477,1),new P.ptr(8484,8490,2),new P.ptr(8491,8493,1),new P.ptr(8495,8505,1),new P.ptr(8508,8511,1),new P.ptr(8517,8521,1),new P.ptr(8526,8579,53),new P.ptr(8580,11264,2684),new P.ptr(11265,11310,1),new P.ptr(11312,11358,1),new P.ptr(11360,11492,1),new P.ptr(11499,11502,1),new P.ptr(11506,11507,1),new P.ptr(11520,11557,1),new P.ptr(11559,11565,6),new P.ptr(11568,11623,1),new P.ptr(11631,11648,17),new P.ptr(11649,11670,1),new P.ptr(11680,11686,1),new P.ptr(11688,11694,1),new P.ptr(11696,11702,1),new P.ptr(11704,11710,1),new P.ptr(11712,11718,1),new P.ptr(11720,11726,1),new P.ptr(11728,11734,1),new P.ptr(11736,11742,1),new P.ptr(11823,12293,470),new P.ptr(12294,12337,43),new P.ptr(12338,12341,1),new P.ptr(12347,12348,1),new P.ptr(12353,12438,1),new P.ptr(12445,12447,1),new P.ptr(12449,12538,1),new P.ptr(12540,12543,1),new P.ptr(12549,12589,1),new P.ptr(12593,12686,1),new P.ptr(12704,12730,1),new P.ptr(12784,12799,1),new P.ptr(13312,19893,1),new P.ptr(19968,40917,1),new P.ptr(40960,42124,1),new P.ptr(42192,42237,1),new P.ptr(42240,42508,1),new P.ptr(42512,42527,1),new P.ptr(42538,42539,1),new P.ptr(42560,42606,1),new P.ptr(42623,42653,1),new P.ptr(42656,42725,1),new P.ptr(42775,42783,1),new P.ptr(42786,42888,1),new P.ptr(42891,42926,1),new P.ptr(42928,42935,1),new P.ptr(42999,43009,1),new P.ptr(43011,43013,1),new P.ptr(43015,43018,1),new P.ptr(43020,43042,1),new P.ptr(43072,43123,1),new P.ptr(43138,43187,1),new P.ptr(43250,43255,1),new P.ptr(43259,43261,2),new P.ptr(43274,43301,1),new P.ptr(43312,43334,1),new P.ptr(43360,43388,1),new P.ptr(43396,43442,1),new P.ptr(43471,43488,17),new P.ptr(43489,43492,1),new P.ptr(43494,43503,1),new P.ptr(43514,43518,1),new P.ptr(43520,43560,1),new P.ptr(43584,43586,1),new P.ptr(43588,43595,1),new P.ptr(43616,43638,1),new P.ptr(43642,43646,4),new P.ptr(43647,43695,1),new P.ptr(43697,43701,4),new P.ptr(43702,43705,3),new P.ptr(43706,43709,1),new P.ptr(43712,43714,2),new P.ptr(43739,43741,1),new P.ptr(43744,43754,1),new P.ptr(43762,43764,1),new P.ptr(43777,43782,1),new P.ptr(43785,43790,1),new P.ptr(43793,43798,1),new P.ptr(43808,43814,1),new P.ptr(43816,43822,1),new P.ptr(43824,43866,1),new P.ptr(43868,43877,1),new P.ptr(43888,44002,1),new P.ptr(44032,55203,1),new P.ptr(55216,55238,1),new P.ptr(55243,55291,1),new P.ptr(63744,64109,1),new P.ptr(64112,64217,1),new P.ptr(64256,64262,1),new P.ptr(64275,64279,1),new P.ptr(64285,64287,2),new P.ptr(64288,64296,1),new P.ptr(64298,64310,1),new P.ptr(64312,64316,1),new P.ptr(64318,64320,2),new P.ptr(64321,64323,2),new P.ptr(64324,64326,2),new P.ptr(64327,64433,1),new P.ptr(64467,64829,1),new P.ptr(64848,64911,1),new P.ptr(64914,64967,1),new P.ptr(65008,65019,1),new P.ptr(65136,65140,1),new P.ptr(65142,65276,1),new P.ptr(65313,65338,1),new P.ptr(65345,65370,1),new P.ptr(65382,65470,1),new P.ptr(65474,65479,1),new P.ptr(65482,65487,1),new P.ptr(65490,65495,1),new P.ptr(65498,65500,1)]),new IU([new Q.ptr(65536,65547,1),new Q.ptr(65549,65574,1),new Q.ptr(65576,65594,1),new Q.ptr(65596,65597,1),new Q.ptr(65599,65613,1),new Q.ptr(65616,65629,1),new Q.ptr(65664,65786,1),new Q.ptr(66176,66204,1),new Q.ptr(66208,66256,1),new Q.ptr(66304,66335,1),new Q.ptr(66352,66368,1),new Q.ptr(66370,66377,1),new Q.ptr(66384,66421,1),new Q.ptr(66432,66461,1),new Q.ptr(66464,66499,1),new Q.ptr(66504,66511,1),new Q.ptr(66560,66717,1),new Q.ptr(66736,66771,1),new Q.ptr(66776,66811,1),new Q.ptr(66816,66855,1),new Q.ptr(66864,66915,1),new Q.ptr(67072,67382,1),new Q.ptr(67392,67413,1),new Q.ptr(67424,67431,1),new Q.ptr(67584,67589,1),new Q.ptr(67592,67594,2),new Q.ptr(67595,67637,1),new Q.ptr(67639,67640,1),new Q.ptr(67644,67647,3),new Q.ptr(67648,67669,1),new Q.ptr(67680,67702,1),new Q.ptr(67712,67742,1),new Q.ptr(67808,67826,1),new Q.ptr(67828,67829,1),new Q.ptr(67840,67861,1),new Q.ptr(67872,67897,1),new Q.ptr(67968,68023,1),new Q.ptr(68030,68031,1),new Q.ptr(68096,68112,16),new Q.ptr(68113,68115,1),new Q.ptr(68117,68119,1),new Q.ptr(68121,68147,1),new Q.ptr(68192,68220,1),new Q.ptr(68224,68252,1),new Q.ptr(68288,68295,1),new Q.ptr(68297,68324,1),new Q.ptr(68352,68405,1),new Q.ptr(68416,68437,1),new Q.ptr(68448,68466,1),new Q.ptr(68480,68497,1),new Q.ptr(68608,68680,1),new Q.ptr(68736,68786,1),new Q.ptr(68800,68850,1),new Q.ptr(69635,69687,1),new Q.ptr(69763,69807,1),new Q.ptr(69840,69864,1),new Q.ptr(69891,69926,1),new Q.ptr(69968,70002,1),new Q.ptr(70006,70019,13),new Q.ptr(70020,70066,1),new Q.ptr(70081,70084,1),new Q.ptr(70106,70108,2),new Q.ptr(70144,70161,1),new Q.ptr(70163,70187,1),new Q.ptr(70272,70278,1),new Q.ptr(70280,70282,2),new Q.ptr(70283,70285,1),new Q.ptr(70287,70301,1),new Q.ptr(70303,70312,1),new Q.ptr(70320,70366,1),new Q.ptr(70405,70412,1),new Q.ptr(70415,70416,1),new Q.ptr(70419,70440,1),new Q.ptr(70442,70448,1),new Q.ptr(70450,70451,1),new Q.ptr(70453,70457,1),new Q.ptr(70461,70480,19),new Q.ptr(70493,70497,1),new Q.ptr(70656,70708,1),new Q.ptr(70727,70730,1),new Q.ptr(70784,70831,1),new Q.ptr(70852,70853,1),new Q.ptr(70855,71040,185),new Q.ptr(71041,71086,1),new Q.ptr(71128,71131,1),new Q.ptr(71168,71215,1),new Q.ptr(71236,71296,60),new Q.ptr(71297,71338,1),new Q.ptr(71424,71449,1),new Q.ptr(71840,71903,1),new Q.ptr(71935,72384,449),new Q.ptr(72385,72440,1),new Q.ptr(72704,72712,1),new Q.ptr(72714,72750,1),new Q.ptr(72768,72818,50),new Q.ptr(72819,72847,1),new Q.ptr(73728,74649,1),new Q.ptr(74880,75075,1),new Q.ptr(77824,78894,1),new Q.ptr(82944,83526,1),new Q.ptr(92160,92728,1),new Q.ptr(92736,92766,1),new Q.ptr(92880,92909,1),new Q.ptr(92928,92975,1),new Q.ptr(92992,92995,1),new Q.ptr(93027,93047,1),new Q.ptr(93053,93071,1),new Q.ptr(93952,94020,1),new Q.ptr(94032,94099,67),new Q.ptr(94100,94111,1),new Q.ptr(94176,94208,32),new Q.ptr(94209,100332,1),new Q.ptr(100352,101106,1),new Q.ptr(110592,110593,1),new Q.ptr(113664,113770,1),new Q.ptr(113776,113788,1),new Q.ptr(113792,113800,1),new Q.ptr(113808,113817,1),new Q.ptr(119808,119892,1),new Q.ptr(119894,119964,1),new Q.ptr(119966,119967,1),new Q.ptr(119970,119973,3),new Q.ptr(119974,119977,3),new Q.ptr(119978,119980,1),new Q.ptr(119982,119993,1),new Q.ptr(119995,119997,2),new Q.ptr(119998,120003,1),new Q.ptr(120005,120069,1),new Q.ptr(120071,120074,1),new Q.ptr(120077,120084,1),new Q.ptr(120086,120092,1),new Q.ptr(120094,120121,1),new Q.ptr(120123,120126,1),new Q.ptr(120128,120132,1),new Q.ptr(120134,120138,4),new Q.ptr(120139,120144,1),new Q.ptr(120146,120485,1),new Q.ptr(120488,120512,1),new Q.ptr(120514,120538,1),new Q.ptr(120540,120570,1),new Q.ptr(120572,120596,1),new Q.ptr(120598,120628,1),new Q.ptr(120630,120654,1),new Q.ptr(120656,120686,1),new Q.ptr(120688,120712,1),new Q.ptr(120714,120744,1),new Q.ptr(120746,120770,1),new Q.ptr(120772,120779,1),new Q.ptr(124928,125124,1),new Q.ptr(125184,125251,1),new Q.ptr(126464,126467,1),new Q.ptr(126469,126495,1),new Q.ptr(126497,126498,1),new Q.ptr(126500,126503,3),new Q.ptr(126505,126514,1),new Q.ptr(126516,126519,1),new Q.ptr(126521,126523,2),new Q.ptr(126530,126535,5),new Q.ptr(126537,126541,2),new Q.ptr(126542,126543,1),new Q.ptr(126545,126546,1),new Q.ptr(126548,126551,3),new Q.ptr(126553,126561,2),new Q.ptr(126562,126564,2),new Q.ptr(126567,126570,1),new Q.ptr(126572,126578,1),new Q.ptr(126580,126583,1),new Q.ptr(126585,126588,1),new Q.ptr(126590,126592,2),new Q.ptr(126593,126601,1),new Q.ptr(126603,126619,1),new Q.ptr(126625,126627,1),new Q.ptr(126629,126633,1),new Q.ptr(126635,126651,1),new Q.ptr(131072,173782,1),new Q.ptr(173824,177972,1),new Q.ptr(177984,178205,1),new Q.ptr(178208,183969,1),new Q.ptr(194560,195101,1)]),6);AX=new O.ptr(new IT([new P.ptr(48,57,1),new P.ptr(1632,1641,1),new P.ptr(1776,1785,1),new P.ptr(1984,1993,1),new P.ptr(2406,2415,1),new P.ptr(2534,2543,1),new P.ptr(2662,2671,1),new P.ptr(2790,2799,1),new P.ptr(2918,2927,1),new P.ptr(3046,3055,1),new P.ptr(3174,3183,1),new P.ptr(3302,3311,1),new P.ptr(3430,3439,1),new P.ptr(3558,3567,1),new P.ptr(3664,3673,1),new P.ptr(3792,3801,1),new P.ptr(3872,3881,1),new P.ptr(4160,4169,1),new P.ptr(4240,4249,1),new P.ptr(6112,6121,1),new P.ptr(6160,6169,1),new P.ptr(6470,6479,1),new P.ptr(6608,6617,1),new P.ptr(6784,6793,1),new P.ptr(6800,6809,1),new P.ptr(6992,7001,1),new P.ptr(7088,7097,1),new P.ptr(7232,7241,1),new P.ptr(7248,7257,1),new P.ptr(42528,42537,1),new P.ptr(43216,43225,1),new P.ptr(43264,43273,1),new P.ptr(43472,43481,1),new P.ptr(43504,43513,1),new P.ptr(43600,43609,1),new P.ptr(44016,44025,1),new P.ptr(65296,65305,1)]),new IU([new Q.ptr(66720,66729,1),new Q.ptr(69734,69743,1),new Q.ptr(69872,69881,1),new Q.ptr(69942,69951,1),new Q.ptr(70096,70105,1),new Q.ptr(70384,70393,1),new Q.ptr(70736,70745,1),new Q.ptr(70864,70873,1),new Q.ptr(71248,71257,1),new Q.ptr(71360,71369,1),new Q.ptr(71472,71481,1),new Q.ptr(71904,71913,1),new Q.ptr(72784,72793,1),new Q.ptr(92768,92777,1),new Q.ptr(93008,93017,1),new Q.ptr(120782,120831,1),new Q.ptr(125264,125273,1)]),1);$pkg.Digit=AX;$pkg.Letter=AM;IE=new O.ptr(new IT([new P.ptr(9,13,1),new P.ptr(32,32,1),new P.ptr(133,133,1),new P.ptr(160,160,1),new P.ptr(5760,5760,1),new P.ptr(8192,8202,1),new P.ptr(8232,8233,1),new P.ptr(8239,8239,1),new P.ptr(8287,8287,1),new P.ptr(12288,12288,1)]),IU.nil,4);$pkg.White_Space=IE;IF=new IX([new R.ptr(65,90,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(97,122,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(181,181,$toNativeArray($kindInt32,[743,0,743])),new R.ptr(192,214,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(216,222,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(224,246,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(248,254,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(255,255,$toNativeArray($kindInt32,[121,0,121])),new R.ptr(256,303,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(304,304,$toNativeArray($kindInt32,[0,-199,0])),new R.ptr(305,305,$toNativeArray($kindInt32,[-232,0,-232])),new R.ptr(306,311,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(313,328,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(330,375,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(376,376,$toNativeArray($kindInt32,[0,-121,0])),new R.ptr(377,382,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(383,383,$toNativeArray($kindInt32,[-300,0,-300])),new R.ptr(384,384,$toNativeArray($kindInt32,[195,0,195])),new R.ptr(385,385,$toNativeArray($kindInt32,[0,210,0])),new R.ptr(386,389,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(390,390,$toNativeArray($kindInt32,[0,206,0])),new R.ptr(391,392,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(393,394,$toNativeArray($kindInt32,[0,205,0])),new R.ptr(395,396,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(398,398,$toNativeArray($kindInt32,[0,79,0])),new R.ptr(399,399,$toNativeArray($kindInt32,[0,202,0])),new R.ptr(400,400,$toNativeArray($kindInt32,[0,203,0])),new R.ptr(401,402,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(403,403,$toNativeArray($kindInt32,[0,205,0])),new R.ptr(404,404,$toNativeArray($kindInt32,[0,207,0])),new R.ptr(405,405,$toNativeArray($kindInt32,[97,0,97])),new R.ptr(406,406,$toNativeArray($kindInt32,[0,211,0])),new R.ptr(407,407,$toNativeArray($kindInt32,[0,209,0])),new R.ptr(408,409,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(410,410,$toNativeArray($kindInt32,[163,0,163])),new R.ptr(412,412,$toNativeArray($kindInt32,[0,211,0])),new R.ptr(413,413,$toNativeArray($kindInt32,[0,213,0])),new R.ptr(414,414,$toNativeArray($kindInt32,[130,0,130])),new R.ptr(415,415,$toNativeArray($kindInt32,[0,214,0])),new R.ptr(416,421,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(422,422,$toNativeArray($kindInt32,[0,218,0])),new R.ptr(423,424,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(425,425,$toNativeArray($kindInt32,[0,218,0])),new R.ptr(428,429,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(430,430,$toNativeArray($kindInt32,[0,218,0])),new R.ptr(431,432,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(433,434,$toNativeArray($kindInt32,[0,217,0])),new R.ptr(435,438,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(439,439,$toNativeArray($kindInt32,[0,219,0])),new R.ptr(440,441,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(444,445,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(447,447,$toNativeArray($kindInt32,[56,0,56])),new R.ptr(452,452,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(453,453,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(454,454,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(455,455,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(456,456,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(457,457,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(458,458,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(459,459,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(460,460,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(461,476,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(477,477,$toNativeArray($kindInt32,[-79,0,-79])),new R.ptr(478,495,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(497,497,$toNativeArray($kindInt32,[0,2,1])),new R.ptr(498,498,$toNativeArray($kindInt32,[-1,1,0])),new R.ptr(499,499,$toNativeArray($kindInt32,[-2,0,-1])),new R.ptr(500,501,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(502,502,$toNativeArray($kindInt32,[0,-97,0])),new R.ptr(503,503,$toNativeArray($kindInt32,[0,-56,0])),new R.ptr(504,543,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(544,544,$toNativeArray($kindInt32,[0,-130,0])),new R.ptr(546,563,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(570,570,$toNativeArray($kindInt32,[0,10795,0])),new R.ptr(571,572,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(573,573,$toNativeArray($kindInt32,[0,-163,0])),new R.ptr(574,574,$toNativeArray($kindInt32,[0,10792,0])),new R.ptr(575,576,$toNativeArray($kindInt32,[10815,0,10815])),new R.ptr(577,578,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(579,579,$toNativeArray($kindInt32,[0,-195,0])),new R.ptr(580,580,$toNativeArray($kindInt32,[0,69,0])),new R.ptr(581,581,$toNativeArray($kindInt32,[0,71,0])),new R.ptr(582,591,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(592,592,$toNativeArray($kindInt32,[10783,0,10783])),new R.ptr(593,593,$toNativeArray($kindInt32,[10780,0,10780])),new R.ptr(594,594,$toNativeArray($kindInt32,[10782,0,10782])),new R.ptr(595,595,$toNativeArray($kindInt32,[-210,0,-210])),new R.ptr(596,596,$toNativeArray($kindInt32,[-206,0,-206])),new R.ptr(598,599,$toNativeArray($kindInt32,[-205,0,-205])),new R.ptr(601,601,$toNativeArray($kindInt32,[-202,0,-202])),new R.ptr(603,603,$toNativeArray($kindInt32,[-203,0,-203])),new R.ptr(604,604,$toNativeArray($kindInt32,[42319,0,42319])),new R.ptr(608,608,$toNativeArray($kindInt32,[-205,0,-205])),new R.ptr(609,609,$toNativeArray($kindInt32,[42315,0,42315])),new R.ptr(611,611,$toNativeArray($kindInt32,[-207,0,-207])),new R.ptr(613,613,$toNativeArray($kindInt32,[42280,0,42280])),new R.ptr(614,614,$toNativeArray($kindInt32,[42308,0,42308])),new R.ptr(616,616,$toNativeArray($kindInt32,[-209,0,-209])),new R.ptr(617,617,$toNativeArray($kindInt32,[-211,0,-211])),new R.ptr(618,618,$toNativeArray($kindInt32,[42308,0,42308])),new R.ptr(619,619,$toNativeArray($kindInt32,[10743,0,10743])),new R.ptr(620,620,$toNativeArray($kindInt32,[42305,0,42305])),new R.ptr(623,623,$toNativeArray($kindInt32,[-211,0,-211])),new R.ptr(625,625,$toNativeArray($kindInt32,[10749,0,10749])),new R.ptr(626,626,$toNativeArray($kindInt32,[-213,0,-213])),new R.ptr(629,629,$toNativeArray($kindInt32,[-214,0,-214])),new R.ptr(637,637,$toNativeArray($kindInt32,[10727,0,10727])),new R.ptr(640,640,$toNativeArray($kindInt32,[-218,0,-218])),new R.ptr(643,643,$toNativeArray($kindInt32,[-218,0,-218])),new R.ptr(647,647,$toNativeArray($kindInt32,[42282,0,42282])),new R.ptr(648,648,$toNativeArray($kindInt32,[-218,0,-218])),new R.ptr(649,649,$toNativeArray($kindInt32,[-69,0,-69])),new R.ptr(650,651,$toNativeArray($kindInt32,[-217,0,-217])),new R.ptr(652,652,$toNativeArray($kindInt32,[-71,0,-71])),new R.ptr(658,658,$toNativeArray($kindInt32,[-219,0,-219])),new R.ptr(669,669,$toNativeArray($kindInt32,[42261,0,42261])),new R.ptr(670,670,$toNativeArray($kindInt32,[42258,0,42258])),new R.ptr(837,837,$toNativeArray($kindInt32,[84,0,84])),new R.ptr(880,883,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(886,887,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(891,893,$toNativeArray($kindInt32,[130,0,130])),new R.ptr(895,895,$toNativeArray($kindInt32,[0,116,0])),new R.ptr(902,902,$toNativeArray($kindInt32,[0,38,0])),new R.ptr(904,906,$toNativeArray($kindInt32,[0,37,0])),new R.ptr(908,908,$toNativeArray($kindInt32,[0,64,0])),new R.ptr(910,911,$toNativeArray($kindInt32,[0,63,0])),new R.ptr(913,929,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(931,939,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(940,940,$toNativeArray($kindInt32,[-38,0,-38])),new R.ptr(941,943,$toNativeArray($kindInt32,[-37,0,-37])),new R.ptr(945,961,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(962,962,$toNativeArray($kindInt32,[-31,0,-31])),new R.ptr(963,971,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(972,972,$toNativeArray($kindInt32,[-64,0,-64])),new R.ptr(973,974,$toNativeArray($kindInt32,[-63,0,-63])),new R.ptr(975,975,$toNativeArray($kindInt32,[0,8,0])),new R.ptr(976,976,$toNativeArray($kindInt32,[-62,0,-62])),new R.ptr(977,977,$toNativeArray($kindInt32,[-57,0,-57])),new R.ptr(981,981,$toNativeArray($kindInt32,[-47,0,-47])),new R.ptr(982,982,$toNativeArray($kindInt32,[-54,0,-54])),new R.ptr(983,983,$toNativeArray($kindInt32,[-8,0,-8])),new R.ptr(984,1007,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1008,1008,$toNativeArray($kindInt32,[-86,0,-86])),new R.ptr(1009,1009,$toNativeArray($kindInt32,[-80,0,-80])),new R.ptr(1010,1010,$toNativeArray($kindInt32,[7,0,7])),new R.ptr(1011,1011,$toNativeArray($kindInt32,[-116,0,-116])),new R.ptr(1012,1012,$toNativeArray($kindInt32,[0,-60,0])),new R.ptr(1013,1013,$toNativeArray($kindInt32,[-96,0,-96])),new R.ptr(1015,1016,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1017,1017,$toNativeArray($kindInt32,[0,-7,0])),new R.ptr(1018,1019,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1021,1023,$toNativeArray($kindInt32,[0,-130,0])),new R.ptr(1024,1039,$toNativeArray($kindInt32,[0,80,0])),new R.ptr(1040,1071,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(1072,1103,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(1104,1119,$toNativeArray($kindInt32,[-80,0,-80])),new R.ptr(1120,1153,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1162,1215,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1216,1216,$toNativeArray($kindInt32,[0,15,0])),new R.ptr(1217,1230,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1231,1231,$toNativeArray($kindInt32,[-15,0,-15])),new R.ptr(1232,1327,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(1329,1366,$toNativeArray($kindInt32,[0,48,0])),new R.ptr(1377,1414,$toNativeArray($kindInt32,[-48,0,-48])),new R.ptr(4256,4293,$toNativeArray($kindInt32,[0,7264,0])),new R.ptr(4295,4295,$toNativeArray($kindInt32,[0,7264,0])),new R.ptr(4301,4301,$toNativeArray($kindInt32,[0,7264,0])),new R.ptr(5024,5103,$toNativeArray($kindInt32,[0,38864,0])),new R.ptr(5104,5109,$toNativeArray($kindInt32,[0,8,0])),new R.ptr(5112,5117,$toNativeArray($kindInt32,[-8,0,-8])),new R.ptr(7296,7296,$toNativeArray($kindInt32,[-6254,0,-6254])),new R.ptr(7297,7297,$toNativeArray($kindInt32,[-6253,0,-6253])),new R.ptr(7298,7298,$toNativeArray($kindInt32,[-6244,0,-6244])),new R.ptr(7299,7300,$toNativeArray($kindInt32,[-6242,0,-6242])),new R.ptr(7301,7301,$toNativeArray($kindInt32,[-6243,0,-6243])),new R.ptr(7302,7302,$toNativeArray($kindInt32,[-6236,0,-6236])),new R.ptr(7303,7303,$toNativeArray($kindInt32,[-6181,0,-6181])),new R.ptr(7304,7304,$toNativeArray($kindInt32,[35266,0,35266])),new R.ptr(7545,7545,$toNativeArray($kindInt32,[35332,0,35332])),new R.ptr(7549,7549,$toNativeArray($kindInt32,[3814,0,3814])),new R.ptr(7680,7829,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(7835,7835,$toNativeArray($kindInt32,[-59,0,-59])),new R.ptr(7838,7838,$toNativeArray($kindInt32,[0,-7615,0])),new R.ptr(7840,7935,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(7936,7943,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7944,7951,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(7952,7957,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7960,7965,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(7968,7975,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7976,7983,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(7984,7991,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(7992,7999,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8000,8005,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8008,8013,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8017,8017,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8019,8019,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8021,8021,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8023,8023,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8025,8025,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8027,8027,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8029,8029,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8031,8031,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8032,8039,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8040,8047,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8048,8049,$toNativeArray($kindInt32,[74,0,74])),new R.ptr(8050,8053,$toNativeArray($kindInt32,[86,0,86])),new R.ptr(8054,8055,$toNativeArray($kindInt32,[100,0,100])),new R.ptr(8056,8057,$toNativeArray($kindInt32,[128,0,128])),new R.ptr(8058,8059,$toNativeArray($kindInt32,[112,0,112])),new R.ptr(8060,8061,$toNativeArray($kindInt32,[126,0,126])),new R.ptr(8064,8071,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8072,8079,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8080,8087,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8088,8095,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8096,8103,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8104,8111,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8112,8113,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8115,8115,$toNativeArray($kindInt32,[9,0,9])),new R.ptr(8120,8121,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8122,8123,$toNativeArray($kindInt32,[0,-74,0])),new R.ptr(8124,8124,$toNativeArray($kindInt32,[0,-9,0])),new R.ptr(8126,8126,$toNativeArray($kindInt32,[-7205,0,-7205])),new R.ptr(8131,8131,$toNativeArray($kindInt32,[9,0,9])),new R.ptr(8136,8139,$toNativeArray($kindInt32,[0,-86,0])),new R.ptr(8140,8140,$toNativeArray($kindInt32,[0,-9,0])),new R.ptr(8144,8145,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8152,8153,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8154,8155,$toNativeArray($kindInt32,[0,-100,0])),new R.ptr(8160,8161,$toNativeArray($kindInt32,[8,0,8])),new R.ptr(8165,8165,$toNativeArray($kindInt32,[7,0,7])),new R.ptr(8168,8169,$toNativeArray($kindInt32,[0,-8,0])),new R.ptr(8170,8171,$toNativeArray($kindInt32,[0,-112,0])),new R.ptr(8172,8172,$toNativeArray($kindInt32,[0,-7,0])),new R.ptr(8179,8179,$toNativeArray($kindInt32,[9,0,9])),new R.ptr(8184,8185,$toNativeArray($kindInt32,[0,-128,0])),new R.ptr(8186,8187,$toNativeArray($kindInt32,[0,-126,0])),new R.ptr(8188,8188,$toNativeArray($kindInt32,[0,-9,0])),new R.ptr(8486,8486,$toNativeArray($kindInt32,[0,-7517,0])),new R.ptr(8490,8490,$toNativeArray($kindInt32,[0,-8383,0])),new R.ptr(8491,8491,$toNativeArray($kindInt32,[0,-8262,0])),new R.ptr(8498,8498,$toNativeArray($kindInt32,[0,28,0])),new R.ptr(8526,8526,$toNativeArray($kindInt32,[-28,0,-28])),new R.ptr(8544,8559,$toNativeArray($kindInt32,[0,16,0])),new R.ptr(8560,8575,$toNativeArray($kindInt32,[-16,0,-16])),new R.ptr(8579,8580,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(9398,9423,$toNativeArray($kindInt32,[0,26,0])),new R.ptr(9424,9449,$toNativeArray($kindInt32,[-26,0,-26])),new R.ptr(11264,11310,$toNativeArray($kindInt32,[0,48,0])),new R.ptr(11312,11358,$toNativeArray($kindInt32,[-48,0,-48])),new R.ptr(11360,11361,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11362,11362,$toNativeArray($kindInt32,[0,-10743,0])),new R.ptr(11363,11363,$toNativeArray($kindInt32,[0,-3814,0])),new R.ptr(11364,11364,$toNativeArray($kindInt32,[0,-10727,0])),new R.ptr(11365,11365,$toNativeArray($kindInt32,[-10795,0,-10795])),new R.ptr(11366,11366,$toNativeArray($kindInt32,[-10792,0,-10792])),new R.ptr(11367,11372,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11373,11373,$toNativeArray($kindInt32,[0,-10780,0])),new R.ptr(11374,11374,$toNativeArray($kindInt32,[0,-10749,0])),new R.ptr(11375,11375,$toNativeArray($kindInt32,[0,-10783,0])),new R.ptr(11376,11376,$toNativeArray($kindInt32,[0,-10782,0])),new R.ptr(11378,11379,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11381,11382,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11390,11391,$toNativeArray($kindInt32,[0,-10815,0])),new R.ptr(11392,11491,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11499,11502,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11506,11507,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(11520,11557,$toNativeArray($kindInt32,[-7264,0,-7264])),new R.ptr(11559,11559,$toNativeArray($kindInt32,[-7264,0,-7264])),new R.ptr(11565,11565,$toNativeArray($kindInt32,[-7264,0,-7264])),new R.ptr(42560,42605,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42624,42651,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42786,42799,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42802,42863,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42873,42876,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42877,42877,$toNativeArray($kindInt32,[0,-35332,0])),new R.ptr(42878,42887,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42891,42892,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42893,42893,$toNativeArray($kindInt32,[0,-42280,0])),new R.ptr(42896,42899,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42902,42921,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(42922,42922,$toNativeArray($kindInt32,[0,-42308,0])),new R.ptr(42923,42923,$toNativeArray($kindInt32,[0,-42319,0])),new R.ptr(42924,42924,$toNativeArray($kindInt32,[0,-42315,0])),new R.ptr(42925,42925,$toNativeArray($kindInt32,[0,-42305,0])),new R.ptr(42926,42926,$toNativeArray($kindInt32,[0,-42308,0])),new R.ptr(42928,42928,$toNativeArray($kindInt32,[0,-42258,0])),new R.ptr(42929,42929,$toNativeArray($kindInt32,[0,-42282,0])),new R.ptr(42930,42930,$toNativeArray($kindInt32,[0,-42261,0])),new R.ptr(42931,42931,$toNativeArray($kindInt32,[0,928,0])),new R.ptr(42932,42935,$toNativeArray($kindInt32,[1114112,1114112,1114112])),new R.ptr(43859,43859,$toNativeArray($kindInt32,[-928,0,-928])),new R.ptr(43888,43967,$toNativeArray($kindInt32,[-38864,0,-38864])),new R.ptr(65313,65338,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(65345,65370,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(66560,66599,$toNativeArray($kindInt32,[0,40,0])),new R.ptr(66600,66639,$toNativeArray($kindInt32,[-40,0,-40])),new R.ptr(66736,66771,$toNativeArray($kindInt32,[0,40,0])),new R.ptr(66776,66811,$toNativeArray($kindInt32,[-40,0,-40])),new R.ptr(68736,68786,$toNativeArray($kindInt32,[0,64,0])),new R.ptr(68800,68850,$toNativeArray($kindInt32,[-64,0,-64])),new R.ptr(71840,71871,$toNativeArray($kindInt32,[0,32,0])),new R.ptr(71872,71903,$toNativeArray($kindInt32,[-32,0,-32])),new R.ptr(125184,125217,$toNativeArray($kindInt32,[0,34,0])),new R.ptr(125218,125251,$toNativeArray($kindInt32,[-34,0,-34]))]);$pkg.CaseRanges=IF;IG=$toNativeArray($kindUint8,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,144,130,130,130,136,130,130,130,130,130,130,136,130,130,130,130,132,132,132,132,132,132,132,132,132,132,130,130,136,136,136,130,130,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,130,130,130,136,130,136,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,130,136,130,136,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,16,130,136,136,136,136,136,130,136,136,224,130,136,0,136,136,136,136,132,132,136,192,130,130,136,132,224,130,132,132,132,130,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,160,136,160,160,160,160,160,160,160,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,136,192,192,192,192,192,192,192,192]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"strings\"]=(function(){var $pkg={},$init,C,B,D,E,A,BP,CC,CM,CN,F,G,AK,AV,AY,BG,BH,BI,BN,BQ,BR,BT;C=$packages[\"errors\"];B=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"io\"];E=$packages[\"unicode\"];A=$packages[\"unicode/utf8\"];BP=$pkg.asciiSet=$newType(32,$kindArray,\"strings.asciiSet\",true,\"strings\",false,null);CC=$sliceType($Uint8);CM=$ptrType(BP);CN=$arrayType($Uint32,8);F=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf($global.String.fromCharCode(f)))>>0;};$pkg.IndexByte=F;G=function(e,f){var $ptr,e,f;return $parseInt(e.indexOf(f))>>0;};$pkg.Index=G;AK=function(e,f){var $ptr,e,f,g,h,i,j,k;if(0<=f&&f<128){return F(e,((f<<24>>>24)));}else if((f===65533)){g=e;h=0;while(true){if(!(h<g.length)){break;}i=$decodeRune(g,h);j=h;k=i[0];if(k===65533){return j;}h+=i[1];}return-1;}else if(!A.ValidRune(f)){return-1;}else{return G(e,($encodeRune(f)));}};$pkg.IndexRune=AK;AV=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n;g=e.$length;if(g===(0)){return\"\";}else if(g===(1)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]);}else if(g===(2)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1]);}else if(g===(3)){return(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0])+f+(1>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+1])+f+(2>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+2]);}h=$imul(f.length,((e.$length-1>>0)));i=0;while(true){if(!(i<e.$length)){break;}h=h+(((i<0||i>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+i]).length)>>0;i=i+(1)>>0;}j=$makeSlice(CC,h);k=$copyString(j,(0>=e.$length?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+0]));l=$subslice(e,1);m=0;while(true){if(!(m<l.$length)){break;}n=((m<0||m>=l.$length)?($throwRuntimeError(\"index out of range\"),undefined):l.$array[l.$offset+m]);k=k+($copyString($subslice(j,k),f))>>0;k=k+($copyString($subslice(j,k),n))>>0;m++;}return($bytesToString(j));};$pkg.Join=AV;AY=function(e,f){var $ptr,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=f.length;h=0;i=CC.nil;j=f;k=0;case 1:if(!(k<j.length)){$s=2;continue;}l=$decodeRune(j,k);m=k;n=l[0];o=e(n);$s=3;case 3:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;if(i===CC.nil){if(p===n){k+=l[1];$s=1;continue;}i=$makeSlice(CC,g);h=$copyString(i,$substring(f,0,m));}if(p>=0){q=1;if(p>=128){q=A.RuneLen(p);}if((h+q>>0)>g){g=($imul(g,2))+4>>0;r=$makeSlice(CC,g);$copySlice(r,$subslice(i,0,h));i=r;}h=h+(A.EncodeRune($subslice(i,h,g),p))>>0;}k+=l[1];$s=1;continue;case 2:if(i===CC.nil){$s=-1;return f;}$s=-1;return($bytesToString($subslice(i,0,h)));}return;}if($f===undefined){$f={$blk:AY};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Map=AY;BG=function(e){var $ptr,e;if(e<=127){if(48<=e&&e<=57){return false;}else if(97<=e&&e<=122){return false;}else if(65<=e&&e<=90){return false;}else if((e===95)){return false;}return true;}if(E.IsLetter(e)||E.IsDigit(e)){return false;}return E.IsSpace(e);};BH=function(e){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:f=[f];f[0]=32;g=AY((function(f){return function(g){var $ptr,g;if(BG(f[0])){f[0]=g;return E.ToTitle(g);}f[0]=g;return g;};})(f),e);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BH};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Title=BH;BI=function(e,f){var $ptr,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:g=BN(e,f,false);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(h===-1){$s=-1;return\"\";}$s=-1;return $substring(e,h);}return;}if($f===undefined){$f={$blk:BI};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeftFunc=BI;BN=function(e,f,g){var $ptr,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=0;case 1:if(!(h<e.length)){$s=2;continue;}i=1;j=((e.charCodeAt(h)>>0));if(j>=128){k=A.DecodeRuneInString($substring(e,h));j=k[0];i=k[1];}l=f(j);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}if(l===g){$s=3;continue;}$s=4;continue;case 3:$s=-1;return h;case 4:h=h+(i)>>0;$s=1;continue;case 2:$s=-1;return-1;}return;}if($f===undefined){$f={$blk:BN};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};BQ=function(e){var $ptr,e,f,g,h,i,j,k,l,m,n,o;f=CN.zero();g=false;h=0;while(true){if(!(h<e.length)){break;}i=e.charCodeAt(h);if(i>=128){j=$clone(f,BP);k=false;BP.copy(f,j);g=k;return[f,g];}l=i>>>5<<24>>>24;((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l]=((((l<0||l>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[l])|(((m=((((i&31)>>>0)>>>0)),m<32?(1<<m):0)>>>0)))>>>0));h=h+(1)>>0;}n=$clone(f,BP);o=true;BP.copy(f,n);g=o;return[f,g];};BP.prototype.contains=function(e){var $ptr,e,f,g,h;f=this.$val;return!((((((g=e>>>5<<24>>>24,(f.nilCheck,((g<0||g>=f.length)?($throwRuntimeError(\"index out of range\"),undefined):f[g])))&(((h=((((e&31)>>>0)>>>0)),h<32?(1<<h):0)>>>0)))>>>0))===0));};$ptrType(BP).prototype.contains=function(e){return(new BP(this.$get())).contains(e);};BR=function(e){var $ptr,e,f,g,h;if((e.length===1)&&e.charCodeAt(0)<128){return(function(f){var $ptr,f;return f===((e.charCodeAt(0)>>0));});}f=BQ(e);g=$clone(f[0],BP);h=f[1];if(h){return(function(i){var $ptr,i;return i<128&&new CM(g).contains(((i<<24>>>24)));});}return(function(i){var $ptr,i;return AK(e,i)>=0;});};BT=function(e,f){var $ptr,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(e===\"\"||f===\"\"){$s=-1;return e;}g=BI(e,BR(f));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$s=-1;return g;}return;}if($f===undefined){$f={$blk:BT};}$f.$ptr=$ptr;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$pkg.TrimLeft=BT;CM.methods=[{prop:\"contains\",name:\"contains\",pkg:\"strings\",typ:$funcType([$Uint8],[$Bool],false)}];BP.init($Uint32,8);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=C.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr\"]=(function(){var $pkg={},$init,A,B,E,F,D,G,C,H,L,M,N,Q,R,X,Z,AR,AV,AW,AZ,BC,BE,BF,BP,BQ,BR,BS,BT,BU,BV,BW,BX,BY,BZ,CA,CC,CG,CI,CJ,CL,CN,CO,CQ,CR,CS,CT,CU,CW,CX,CY,CZ,DA,DB,DC,DD,DE,DF,DG,DH,DI,DK,DL,DM,DN,DP,DQ,DR,DS,DT,DU,I,J,AX,AY,K,V,W,AC,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU,BA,BB,BD,BH,BJ,BL,CB,CD,CH,CK,CP,CV;A=$packages[\"errors\"];B=$packages[\"fmt\"];E=$packages[\"github.com/bep/gr/support\"];F=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$packages[\"reflect\"];G=$packages[\"strconv\"];C=$packages[\"strings\"];H=$packages[\"time\"];L=$pkg.Component=$newType(8,$kindInterface,\"gr.Component\",true,\"github.com/bep/gr\",true,null);M=$pkg.Factory=$newType(8,$kindInterface,\"gr.Factory\",true,\"github.com/bep/gr\",true,null);N=$pkg.ReactComponent=$newType(0,$kindStruct,\"gr.ReactComponent\",true,\"github.com/bep/gr\",true,function(node_,elementPrototype_,r_,reactClass_,exportName_,globalName_,componentConfig_,needsCreate_){this.$val=this;if(arguments.length===0){this.node=null;this.elementPrototype=null;this.r=$ifaceNil;this.reactClass=DB.nil;this.exportName=\"\";this.globalName=\"\";this.componentConfig=new Q.ptr(false);this.needsCreate=false;return;}this.node=node_;this.elementPrototype=elementPrototype_;this.r=r_;this.reactClass=reactClass_;this.exportName=exportName_;this.globalName=globalName_;this.componentConfig=componentConfig_;this.needsCreate=needsCreate_;});Q=$pkg.ComponentConfig=$newType(0,$kindStruct,\"gr.ComponentConfig\",true,\"github.com/bep/gr\",true,function(ContextTypesTemplate_){this.$val=this;if(arguments.length===0){this.ContextTypesTemplate=false;return;}this.ContextTypesTemplate=ContextTypesTemplate_;});R=$pkg.Option=$newType(0,$kindStruct,\"gr.Option\",true,\"github.com/bep/gr\",true,function(action_,preparePhase_){this.$val=this;if(arguments.length===0){this.action=$throwNilPointerError;this.preparePhase=false;return;}this.action=action_;this.preparePhase=preparePhase_;});X=$pkg.simpleRenderer=$newType(0,$kindStruct,\"gr.simpleRenderer\",true,\"github.com/bep/gr\",false,function(c_){this.$val=this;if(arguments.length===0){this.c=$ifaceNil;return;}this.c=c_;});Z=$pkg.reactClass=$newType(0,$kindStruct,\"gr.reactClass\",true,\"github.com/bep/gr\",false,function(Object_,displayName_,render_,getDefaultProps_,getInitialState_,getChildContext_,childContextTypes_,contextTypes_,shouldComponentUpdate_,componentWillUpdate_,componentDidUpdate_,componentWillReceiveProps_,componentWillMount_,componentDidMount_,componentWillUnmount_){this.$val=this;if(arguments.length===0){this.Object=null;this.displayName=\"\";this.render=null;this.getDefaultProps=null;this.getInitialState=null;this.getChildContext=null;this.childContextTypes=false;this.contextTypes=false;this.shouldComponentUpdate=null;this.componentWillUpdate=null;this.componentDidUpdate=null;this.componentWillReceiveProps=null;this.componentWillMount=null;this.componentDidMount=null;this.componentWillUnmount=null;return;}this.Object=Object_;this.displayName=displayName_;this.render=render_;this.getDefaultProps=getDefaultProps_;this.getInitialState=getInitialState_;this.getChildContext=getChildContext_;this.childContextTypes=childContextTypes_;this.contextTypes=contextTypes_;this.shouldComponentUpdate=shouldComponentUpdate_;this.componentWillUpdate=componentWillUpdate_;this.componentDidUpdate=componentDidUpdate_;this.componentWillReceiveProps=componentWillReceiveProps_;this.componentWillMount=componentWillMount_;this.componentDidMount=componentDidMount_;this.componentWillUnmount=componentWillUnmount_;});AR=$pkg.incrementer=$newType(0,$kindStruct,\"gr.incrementer\",true,\"github.com/bep/gr\",false,function(counter_){this.$val=this;if(arguments.length===0){this.counter=0;return;}this.counter=counter_;});AV=$pkg.Modifier=$newType(8,$kindInterface,\"gr.Modifier\",true,\"github.com/bep/gr\",true,null);AW=$pkg.elementFactory=$newType(4,$kindFunc,\"gr.elementFactory\",true,\"github.com/bep/gr\",false,null);AZ=$pkg.Element=$newType(0,$kindStruct,\"gr.Element\",true,\"github.com/bep/gr\",true,function(tag_,properties_,style_,eventListeners_,children_,elFactory_,dynamic_,element_){this.$val=this;if(arguments.length===0){this.tag=\"\";this.properties=false;this.style=false;this.eventListeners=DE.nil;this.children=DC.nil;this.elFactory=$throwNilPointerError;this.dynamic=false;this.element=null;return;}this.tag=tag_;this.properties=properties_;this.style=style_;this.eventListeners=eventListeners_;this.children=children_;this.elFactory=elFactory_;this.dynamic=dynamic_;this.element=element_;});BC=$pkg.Modifiers=$newType(12,$kindSlice,\"gr.Modifiers\",true,\"github.com/bep/gr\",true,null);BE=$pkg.Event=$newType(0,$kindStruct,\"gr.Event\",true,\"github.com/bep/gr\",true,function(Object_,This_){this.$val=this;if(arguments.length===0){this.Object=null;this.This=DG.nil;return;}this.Object=Object_;this.This=This_;});BF=$pkg.EventListener=$newType(0,$kindStruct,\"gr.EventListener\",true,\"github.com/bep/gr\",true,function(name_,listener_,preventDefault_,stopPropagation_,delegate_){this.$val=this;if(arguments.length===0){this.name=\"\";this.listener=$throwNilPointerError;this.preventDefault=false;this.stopPropagation=false;this.delegate=$throwNilPointerError;return;}this.name=name_;this.listener=listener_;this.preventDefault=preventDefault_;this.stopPropagation=stopPropagation_;this.delegate=delegate_;});BP=$pkg.Cops=$newType(0,$kindStruct,\"gr.Cops\",true,\"github.com/bep/gr\",true,function(Context_,Props_,State_){this.$val=this;if(arguments.length===0){this.Context=false;this.Props=false;this.State=false;return;}this.Context=Context_;this.Props=Props_;this.State=State_;});BQ=$pkg.Renderer=$newType(8,$kindInterface,\"gr.Renderer\",true,\"github.com/bep/gr\",true,null);BR=$pkg.StateInitializer=$newType(8,$kindInterface,\"gr.StateInitializer\",true,\"github.com/bep/gr\",true,null);BS=$pkg.ChildContextProvider=$newType(8,$kindInterface,\"gr.ChildContextProvider\",true,\"github.com/bep/gr\",true,null);BT=$pkg.ShouldComponentUpdate=$newType(8,$kindInterface,\"gr.ShouldComponentUpdate\",true,\"github.com/bep/gr\",true,null);BU=$pkg.ComponentWillUpdate=$newType(8,$kindInterface,\"gr.ComponentWillUpdate\",true,\"github.com/bep/gr\",true,null);BV=$pkg.ComponentWillReceiveProps=$newType(8,$kindInterface,\"gr.ComponentWillReceiveProps\",true,\"github.com/bep/gr\",true,null);BW=$pkg.ComponentDidUpdate=$newType(8,$kindInterface,\"gr.ComponentDidUpdate\",true,\"github.com/bep/gr\",true,null);BX=$pkg.ComponentWillMount=$newType(8,$kindInterface,\"gr.ComponentWillMount\",true,\"github.com/bep/gr\",true,null);BY=$pkg.ComponentWillUnmount=$newType(8,$kindInterface,\"gr.ComponentWillUnmount\",true,\"github.com/bep/gr\",true,null);BZ=$pkg.ComponentDidMount=$newType(8,$kindInterface,\"gr.ComponentDidMount\",true,\"github.com/bep/gr\",true,null);CA=$pkg.textEl=$newType(0,$kindStruct,\"gr.textEl\",true,\"github.com/bep/gr\",false,function(text_){this.$val=this;if(arguments.length===0){this.text=\"\";return;}this.text=text_;});CC=$pkg.cssClasses=$newType(12,$kindSlice,\"gr.cssClasses\",true,\"github.com/bep/gr\",false,null);CG=$pkg.prop=$newType(0,$kindStruct,\"gr.prop\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CI=$pkg.style=$newType(0,$kindStruct,\"gr.style\",true,\"github.com/bep/gr\",false,function(name_,value_){this.$val=this;if(arguments.length===0){this.name=\"\";this.value=$ifaceNil;return;}this.name=name_;this.value=value_;});CJ=$pkg.discard=$newType(4,$kindInt,\"gr.discard\",true,\"github.com/bep/gr\",false,null);CL=$pkg.dynamicModifier=$newType(4,$kindInt,\"gr.dynamicModifier\",true,\"github.com/bep/gr\",false,null);CN=$pkg.This=$newType(0,$kindStruct,\"gr.This\",true,\"github.com/bep/gr\",true,function(This_){this.$val=this;if(arguments.length===0){this.This=null;return;}this.This=This_;});CO=$pkg.ThisSetter=$newType(8,$kindInterface,\"gr.ThisSetter\",true,\"github.com/bep/gr\",true,null);CQ=$pkg.Context=$newType(4,$kindMap,\"gr.Context\",true,\"github.com/bep/gr\",true,null);CR=$pkg.Props=$newType(4,$kindMap,\"gr.Props\",true,\"github.com/bep/gr\",true,null);CS=$pkg.State=$newType(4,$kindMap,\"gr.State\",true,\"github.com/bep/gr\",true,null);CT=$pkg.Refs=$newType(4,$kindMap,\"gr.Refs\",true,\"github.com/bep/gr\",true,null);CU=$pkg.Children=$newType(0,$kindStruct,\"gr.Children\",true,\"github.com/bep/gr\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});CW=$ptrType(AZ);CX=$ptrType(CJ);CY=$ptrType(CL);CZ=$sliceType($String);DA=$sliceType($emptyInterface);DB=$ptrType(Z);DC=$sliceType(L);DD=$ptrType(BF);DE=$sliceType(DD);DF=$mapType($String,$emptyInterface);DG=$ptrType(CN);DH=$ptrType(F.Object);DI=$funcType([DH],[],false);DK=$funcType([DA],[DH],true);DL=$ptrType(CU);DM=$ptrType(N);DN=$funcType([DM],[$error],false);DP=$ptrType(AR);DQ=$ptrType(BE);DR=$funcType([DQ],[],false);DS=$ptrType(CA);DT=$ptrType(CG);DU=$ptrType(CI);K=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(I===undefined||J===undefined){$s=1;continue;}$s=2;continue;case 1:a=$ifaceNil;c=E.Require(new CZ([\"react\"]));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;I=b[0];a=b[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=4;continue;}$s=5;continue;case 4:d=B.Sprintf(\"Cannot find React\",new DA([]));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$panic(new $String(d));case 5:f=E.Require(new CZ([\"react-dom\"]));$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;J=e[0];a=e[1];if(!($interfaceIsEqual(a,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:g=B.Sprintf(\"Cannot find ReactDOM\",new DA([]));$s=10;case 10:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));case 9:case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};V=function(a){var $ptr,a;return new R.ptr((function $b(b){var $ptr,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=a(b.node);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b.node=c;$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;}),false);};$pkg.Apply=V;W=function(a){var $ptr,a,b;return(b=new X.ptr(a),new b.constructor.elem(b));};$pkg.NewSimpleRenderer=W;X.ptr.prototype.Render=function(){var $ptr,a;a=this;return a.c;};X.prototype.Render=function(){return this.$val.Render();};AC=function(a,b){var $ptr,a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;aa=$f.aa;ab=$f.ab;ac=$f.ac;ad=$f.ad;ae=$f.ae;af=$f.af;ag=$f.ag;ah=$f.ah;ai=$f.ai;aj=$f.aj;ak=$f.ak;al=$f.al;am=$f.am;an=$f.an;ao=$f.ao;ap=$f.ap;aq=$f.aq;ar=$f.ar;as=$f.as;at=$f.at;au=$f.au;av=$f.av;aw=$f.aw;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;x=$f.x;y=$f.y;z=$f.z;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=new N.ptr(null,null,a,new Z.ptr(new($global.Object)(),\"\",null,null,null,null,false,false,null,null,null,null,null,null,null),\"\",\"\",new Q.ptr(false),false);e=B.Sprintf(\"%T\",new DA([a]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.TrimLeft(f,\"*\");$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;d.reactClass.Object.displayName=$externalize(h,$String);i=AI(a);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}c[0]=i;d.reactClass.Object.render=AS(c[0],h,$methodVal(a,\"Render\"));j=$assertType(a,BR,true);k=j[0];l=j[1];if(l){d.reactClass.Object.getInitialState=AO(c[0],$methodVal(k,\"GetInitialState\"));}else if(!($interfaceIsEqual(c[0],$ifaceNil))){d.reactClass.Object.getInitialState=F.MakeFunc((function(c){return function $b(m,n){var $ptr,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=c[0].SetThis(m);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};})(c));}m=$assertType(a,BS,true);n=m[0];o=m[1];if(o){$s=4;continue;}$s=5;continue;case 4:q=AP(c[0],$methodVal(n,\"GetChildContext\"));$s=6;case 6:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;d.reactClass.Object.getChildContext=p[0];d.reactClass.Object.childContextTypes=$externalize(p[1],F.M);case 5:r=$assertType(a,BT,true);s=r[0];t=r[1];if(t){d.reactClass.Object.shouldComponentUpdate=AJ(c[0],$methodVal(s,\"ShouldComponentUpdate\"));}u=$assertType(a,BU,true);v=u[0];w=u[1];if(w){d.reactClass.Object.componentWillUpdate=AK(c[0],$methodVal(v,\"ComponentWillUpdate\"));}x=$assertType(a,BW,true);y=x[0];z=x[1];if(z){d.reactClass.Object.componentDidUpdate=AK(c[0],$methodVal(y,\"ComponentDidUpdate\"));}aa=$assertType(a,BV,true);ab=aa[0];ac=aa[1];if(ac){d.reactClass.Object.componentWillReceiveProps=AL(c[0],$methodVal(ab,\"ComponentWillReceiveProps\"));}ad=$assertType(a,BX,true);ae=ad[0];af=ad[1];if(af){d.reactClass.Object.componentWillMount=AN(c[0],$methodVal(ae,\"ComponentWillMount\"),true);}ag=$assertType(a,BZ,true);ah=ag[0];ai=ag[1];if(ai){d.reactClass.Object.componentDidMount=AN(c[0],$methodVal(ah,\"ComponentDidMount\"),true);}aj=$assertType(a,BY,true);ak=aj[0];al=aj[1];if(al){d.reactClass.Object.componentWillUnmount=AN(c[0],$methodVal(ak,\"ComponentWillUnmount\"),true);}am=b;an=0;case 7:if(!(an<am.$length)){$s=8;continue;}ao=$clone(((an<0||an>=am.$length)?($throwRuntimeError(\"index out of range\"),undefined):am.$array[am.$offset+an]),R);if(!ao.preparePhase){$s=9;continue;}$s=10;continue;case 9:an++;$s=7;continue;case 10:ap=ao.action(d);$s=11;case 11:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}aq=ap;if(!($interfaceIsEqual(aq,$ifaceNil))){$panic(aq);}an++;$s=7;continue;case 8:d.handleOptionsOnPrepare();ar=I.createClass(d.reactClass.Object);d.node=I.createFactory(ar);as=b;at=0;case 12:if(!(at<as.$length)){$s=13;continue;}au=$clone(((at<0||at>=as.$length)?($throwRuntimeError(\"index out of range\"),undefined):as.$array[as.$offset+at]),R);if(au.preparePhase){$s=14;continue;}$s=15;continue;case 14:at++;$s=12;continue;case 15:av=au.action(d);$s=16;case 16:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$panic(aw);}at++;$s=12;continue;case 13:d.handleOptionsOnCreate();$s=-1;return d;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.aa=aa;$f.ab=ab;$f.ac=ac;$f.ad=ad;$f.ae=ae;$f.af=af;$f.ag=ag;$f.ah=ah;$f.ai=ai;$f.aj=aj;$f.ak=ak;$f.al=al;$f.am=am;$f.an=an;$f.ao=ao;$f.ap=ap;$f.aq=aq;$f.ar=ar;$f.as=as;$f.at=at;$f.au=au;$f.av=av;$f.aw=aw;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.x=x;$f.y=y;$f.z=z;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=AC;N.ptr.prototype.Node=function(){var $ptr,a;a=this;return a.node;};N.prototype.Node=function(){return this.$val.Node();};N.ptr.prototype.Render=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=$global.document.getElementById($externalize(a,$String));e=c.CreateElement(b,new DC([]));f=e.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}J.render(f,d);$s=-1;return;}return;}if($f===undefined){$f={$blk:N.ptr.prototype.Render};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};N.prototype.Render=function(a,b){return this.$val.Render(a,b);};N.ptr.prototype.CreateElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AF(c),false,null);};N.prototype.CreateElement=function(a,b){return this.$val.CreateElement(a,b);};N.ptr.prototype.CloneElement=function(a,b){var $ptr,a,b,c;c=this;return new AZ.ptr(\"\",a,false,DE.nil,b,AE(c),false,null);};N.prototype.CloneElement=function(a,b){return this.$val.CloneElement(a,b);};AE=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(a.elementPrototype===null){$s=1;continue;}$s=2;continue;case 1:c=AH(a.Node(),b,a.needsCreate);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a.elementPrototype=c;$s=-1;return a.elementPrototype;case 2:d=AG(a.elementPrototype,b);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AF=function(a){var $ptr,a;return(function $b(b){var $ptr,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=AH(a.Node(),b,a.needsCreate);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;a.elementPrototype=d;$s=-1;return d;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;});};AG=function(a,b){var $ptr,a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=null;d=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:e=b.children;f=0;case 3:if(!(f<e.$length)){$s=4;continue;}g=((f<0||f>=e.$length)?($throwRuntimeError(\"index out of range\"),undefined):e.$array[e.$offset+f]);h=g.Node();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=$append(d,new $jsObjectPtr(h));f++;$s=3;continue;case 4:case 2:c=I.cloneElement(a,$externalize(b.properties,DF),$externalize(d,DA));$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=null;e=DA.nil;if(b.children.$length>0){$s=1;continue;}$s=2;continue;case 1:f=b.children;g=0;case 3:if(!(g<f.$length)){$s=4;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h.Node();$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}e=$append(e,new $jsObjectPtr(i));g++;$s=3;continue;case 4:case 2:if(c){d=I.createElement(a,$externalize(b.properties,DF),$externalize(e,DA));}else{d=a($externalize(b.properties,DF),$externalize(e,DA));}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AH};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AI=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=$ifaceNil;c=D.ValueOf(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if($clone(d,D.Value).Kind()===22){$s=2;continue;}$s=3;continue;case 2:e=$clone(d,D.Value).Elem();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 3:f=$clone(d,D.Value).Type();g=f.Kind();$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}if(g===25){$s=5;continue;}$s=6;continue;case 5:h=0;case 8:i=f.NumField();$s=10;case 10:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!(h<i)){$s=9;continue;}j=$clone(d,D.Value).Field(h);$s=11;case 11:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;if($clone(k,D.Value).CanInterface()){$s=12;continue;}$s=13;continue;case 12:m=$clone(k,D.Value).Interface();$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=$assertType(m,CO,true);n=l[0];o=l[1];if(o){$s=15;continue;}$s=16;continue;case 15:if($clone(k,D.Value).IsNil()){$s=17;continue;}$s=18;continue;case 17:p=f.Field(h);$s=20;case 20:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p.Type.Elem();$s=21;case 21:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=D.New(q);$s=22;case 22:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;$r=$clone(k,D.Value).Set($clone(s,D.Value));$s=23;case 23:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}t=$clone(s,D.Value).Interface();$s=24;case 24:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b=$assertType(t,CO);$s=19;continue;case 18:b=n;case 19:$s=9;continue;case 16:case 13:h=h+(1)>>0;$s=8;continue;case 9:case 6:$s=-1;return b;}return;}if($f===undefined){$f={$blk:AI};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.$s=$s;$f.$r=$r;return $f;};AJ=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new $Bool(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AK=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$r=b($clone(AM(d),BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;}));};AL=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=$clone(AM(d),BP);$r=b($clone(e,BP));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AM=function(a){var $ptr,a,b,c,d;b=false;c=false;d=false;if(a.$length>0&&!((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0])===null)){b=BL((0>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+0]));}if(a.$length>1&&!((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1])===null)){c=BL((1>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+1]));}if(a.$length>2&&!((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2])===null)){d=BL((2>=a.$length?($throwRuntimeError(\"index out of range\"),undefined):a.$array[a.$offset+2]));}return new BP.ptr(d,b,c);};AN=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(c){$s=4;continue;}$s=5;continue;case 4:$go((function $b(){var $ptr,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=b();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.$s=$s;$f.$r=$r;return $f;}),[]);$s=6;continue;case 5:$r=b();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return $ifaceNil;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AO=function(a,b){var $ptr,a,b;return F.MakeFunc((function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CS(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;}));};AP=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=[a];b=[b];c=F.MakeFunc((function(a,b){return function $b(c,d){var $ptr,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a[0],$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a[0].SetThis(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:e=b[0]();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}$s=-1;return new CQ(e);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};})(a,b));d=b[0]();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=AQ(d);$s=2;case 2:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=-1;return[c,f];}return;}if($f===undefined){$f={$blk:AP};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AQ=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=h;if($assertType(i,$String,true)[1]){j=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new $jsObjectPtr(I.PropTypes.string)};}else if($assertType(i,$Int,true)[1]){k=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(k)]={k:k,v:new $jsObjectPtr(I.PropTypes.number)};}else{$panic(new $String(\"Context type not implemented\"));}d++;}return b;};AR.ptr.prototype.next=function(){var $ptr,a;a=this;a.counter=a.counter+(1)>>0;return a.counter;};AR.prototype.next=function(){return this.$val.next();};AS=function(a,b,c){var $ptr,a,b,c;return F.MakeFunc((function $b(d,e){var $ptr,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:f=c();$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if($interfaceIsEqual(g,$ifaceNil)){$s=-1;return $ifaceNil;}h=CP(d);i=$assertType(g,CW,true);j=i[0];k=i[1];if(k){$s=5;continue;}$s=6;continue;case 5:AT(a,g,h);l=new AR.ptr(0);$r=AU(b,j,l);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:m=$assertType(g,M,true);n=m[1];if(n){$panic(new $String(\"Render should return a ready-to-use Element.\"));}o=g.Node();$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}$s=-1;return new $jsObjectPtr(o);}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;}));};AT=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m;d=$assertType(b,CW,true);e=d[0];f=d[1];if(f){g=e.eventListeners;h=0;while(true){if(!(h<g.$length)){break;}i=((h<0||h>=g.$length)?($throwRuntimeError(\"index out of range\"),undefined):g.$array[g.$offset+h]);i.delegate=(function $b(j){var $ptr,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!($interfaceIsEqual(a,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:$r=a.SetThis(c.This);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:if(i.preventDefault){j.preventDefault();}if(i.stopPropagation){j.stopPropagation();}$r=i.listener(new BE.ptr(j,c));$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:$b};}$f.$ptr=$ptr;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;});j=i.name;(e.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(j)]={k:j,v:new DI(i.delegate)};h++;}k=e.children;l=0;while(true){if(!(l<k.$length)){break;}m=((l<0||l>=k.$length)?($throwRuntimeError(\"index out of range\"),undefined):k.$array[k.$offset+l]);AT(a,m,c);l++;}}};N.ptr.prototype.handleOptionsOnCreate=function(){var $ptr,a,b;a=this;if(!(a.exportName===\"\")){b=$module.exports;if(b===undefined){$panic(new $String(\"module.exports not present.\"));}b[$externalize(a.exportName,$String)]=a.node;}if(!(a.globalName===\"\")){$global[$externalize(a.globalName,$String)]=a.node;}};N.prototype.handleOptionsOnCreate=function(){return this.$val.handleOptionsOnCreate();};N.ptr.prototype.handleOptionsOnPrepare=function(){var $ptr,a;a=this;if(!(a.componentConfig.ContextTypesTemplate===false)){a.reactClass.Object.contextTypes=$externalize(AQ(a.componentConfig.ContextTypesTemplate),F.M);}};N.prototype.handleOptionsOnPrepare=function(){return this.$val.handleOptionsOnPrepare();};AU=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!b.dynamic){$s=1;continue;}$s=2;continue;case 1:if(b.properties===false){b.properties={};}d=(e=b.properties[$String.keyFor(\"key\")],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[1];if(!f){$s=3;continue;}$s=4;continue;case 3:g=B.Sprintf(\"%s-%d\",new DA([new $String(a),new $Int(c.next())]));$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=\"key\";(b.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:new $String(h)};case 4:case 2:j=b.children;k=0;case 6:if(!(k<j.$length)){$s=7;continue;}l=((k<0||k>=j.$length)?($throwRuntimeError(\"index out of range\"),undefined):j.$array[j.$offset+k]);m=$assertType(l,CW,true);n=m[0];o=m[1];if(o){$s=8;continue;}$s=9;continue;case 8:$r=AU(a,n,c);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 9:k++;$s=6;continue;case 7:$s=-1;return;}return;}if($f===undefined){$f={$blk:AU};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};BA=function(a){var $ptr,a;return new AZ.ptr(a,$makeMap($String.keyFor,[]),false,DE.nil,DC.nil,AX,false,null);};$pkg.NewElement=BA;BB=function(a){var $ptr,a;return new AZ.ptr(\"\",false,false,DE.nil,DC.nil,AY,false,a);};$pkg.NewPreparedElement=BB;AZ.ptr.prototype.Node=function(){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.element===null){$s=1;continue;}$s=2;continue;case 1:b=a.elFactory(a);$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}a.element=b;case 2:$s=-1;return a.element;}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.Node=function(){return this.$val.Node();};AZ.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};AZ.prototype.Modify=function(a){return this.$val.Modify(a);};BC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=b;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);if(!($interfaceIsEqual(e,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$r=e.Modify(a);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 4:d++;$s=1;continue;case 2:$s=-1;return;}return;}if($f===undefined){$f={$blk:BC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(BC).prototype.Modify=function(a){return this.$get().Modify(a);};AZ.ptr.prototype.createElement=function(){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.properties===false){a.properties={};}if(!(($keys(a.style).length===0))){b=\"style\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(b)]={k:b,v:new DF(a.style)};}c=DA.nil;if(a.children.$length>0){$s=1;continue;}$s=2;continue;case 1:d=a.children;e=0;case 3:if(!(e<d.$length)){$s=4;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);g=f.Node();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}c=$append(c,new $jsObjectPtr(g));e++;$s=3;continue;case 4:case 2:$s=-1;return BD(a.tag,a.properties,c);}return;}if($f===undefined){$f={$blk:AZ.ptr.prototype.createElement};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AZ.prototype.createElement=function(){return this.$val.createElement();};BD=function(a,b,c){var $ptr,a,b,c;if(c.$length===0){return I.createElement($externalize(a,$String),$externalize(b,DF));}return I.createElement($externalize(a,$String),$externalize(b,DF),$externalize(c,DA));};BE.ptr.prototype.Persist=function(){var $ptr,a;a=this;a.Object.persist();};BE.prototype.Persist=function(){return this.$val.Persist();};BE.ptr.prototype.Target=function(){var $ptr,a;a=this;return a.Object.target;};BE.prototype.Target=function(){return this.$val.Target();};BE.ptr.prototype.TargetValue=function(){var $ptr,a;a=this;return a.Target().value;};BE.prototype.TargetValue=function(){return this.$val.TargetValue();};BE.ptr.prototype.CurrentTarget=function(){var $ptr,a;a=this;return a.Object.currentTarget;};BE.prototype.CurrentTarget=function(){return this.$val.CurrentTarget();};BE.ptr.prototype.Int=function(a){var $ptr,a,b;b=this;return $parseInt(b.Object[$externalize(a,$String)])>>0;};BE.prototype.Int=function(a){return this.$val.Int(a);};BF.ptr.prototype.PreventDefault=function(){var $ptr,a;a=this;a.preventDefault=true;return a;};BF.prototype.PreventDefault=function(){return this.$val.PreventDefault();};BF.ptr.prototype.StopPropagation=function(){var $ptr,a;a=this;a.stopPropagation=true;return a;};BF.prototype.StopPropagation=function(){return this.$val.StopPropagation();};BH=function(a,b){var $ptr,a,b,c;c=new BF.ptr(a,b,false,false,$throwNilPointerError);return c;};$pkg.NewEventListener=BH;BF.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.eventListeners=$append(a.eventListeners,b);};BF.prototype.Modify=function(a){return this.$val.Modify(a);};BJ=function(a){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=a;if($assertType(b,$String,true)[1]){c=b.$val;$s=-1;return $assertType(a,$String);}else if($assertType(b,DH,true)[1]){d=b.$val;if(d===undefined){$s=-1;return\"\";}e=d.object;$s=-1;return $internalize(e,$String);}f=B.Sprint(new DA([a]));$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:BJ};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};BL=function(a){var $ptr,a,b,c,d,e,f,g;b={};if(a===undefined){return b;}c=F.Keys(a);d=0;while(true){if(!(d<c.$length)){break;}e=((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]);f=a[$externalize(e,$String)];g=e;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $jsObjectPtr(f)};d++;}return b;};CB=function(a){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=BJ(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=-1;return new CA.ptr(c);}return;}if($f===undefined){$f={$blk:CB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Text=CB;CA.ptr.prototype.Modify=function(a){var $ptr,a,b;b=this;a.children=$append(a.children,b);};CA.prototype.Modify=function(a){return this.$val.Modify(a);};CA.ptr.prototype.Node=function(){var $ptr,a;a=this;return new($global.Object)($externalize(a.text,$String));};CA.prototype.Node=function(){return this.$val.Node();};CD=function(a){var $ptr,a;return($subslice(new CC(a.$array),a.$offset,a.$offset+a.$length));};$pkg.CSS=CD;CG.ptr.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f;b=this;if(a.properties===false){a.properties={};}c=(d=a.properties[$String.keyFor(b.name)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[1];if(e){$panic(new $String(\"Duplicate property: \"+b.name));}f=b.name;(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(f)]={k:f,v:b.value};};CG.prototype.Modify=function(a){return this.$val.Modify(a);};CH=function(a,b){var $ptr,a,b;return new CG.ptr(a,b);};$pkg.Prop=CH;CC.prototype.Modify=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this;c=(d=a.properties[$String.keyFor(\"className\")],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=1;continue;}$s=2;continue;case 1:g=\"className\";(a.properties||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(g)]={k:g,v:new $String($assertType(e,$String)+\" \"+C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))};$s=3;continue;case 2:$r=CH(\"className\",new $String(C.Join($subslice(new CZ(b.$array),b.$offset,b.$offset+b.$length),\" \"))).Modify(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}if($f===undefined){$f={$blk:CC.prototype.Modify};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CC).prototype.Modify=function(a){return this.$get().Modify(a);};CJ.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;};$ptrType(CJ).prototype.Modify=function(a){return new CJ(this.$get()).Modify(a);};CI.ptr.prototype.Modify=function(a){var $ptr,a,b,c;b=this;if(a.style===false){a.style={};}c=b.name;(a.style||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(c)]={k:c,v:b.value};};CI.prototype.Modify=function(a){return this.$val.Modify(a);};CK=function(a,b){var $ptr,a,b;return new CI.ptr(a,b);};$pkg.Style=CK;CL.prototype.Modify=function(a){var $ptr,a,b;b=this.$val;a.dynamic=true;};$ptrType(CL).prototype.Modify=function(a){return new CL(this.$get()).Modify(a);};CN.ptr.prototype.SetThis=function(a){var $ptr,a,b;b=this;b.This=a;};CN.prototype.SetThis=function(a){return this.$val.SetThis(a);};CN.ptr.prototype.Props=function(){var $ptr,a;a=this;return BL(a.This.props);};CN.prototype.Props=function(){return this.$val.Props();};CN.ptr.prototype.Context=function(){var $ptr,a;a=this;return BL(a.This.context);};CN.prototype.Context=function(){return this.$val.Context();};CN.ptr.prototype.Component=function(a){var $ptr,a,b,c,d,e,f,g;b=this;c=b.Props();d=(e=c[$String.keyFor(a)],e!==undefined?[e.v,true]:[$ifaceNil,false]);f=d[0];g=d[1];if(g){return BB($assertType(f,DH));}return $pkg.Discard;};CN.prototype.Component=function(a){return this.$val.Component(a);};CN.ptr.prototype.IsMounted=function(){var $ptr,a;a=this;return!!(a.This.isMounted());};CN.prototype.IsMounted=function(){return this.$val.IsMounted();};CN.ptr.prototype.State=function(){var $ptr,a;a=this;return BL(a.This.state);};CN.prototype.State=function(){return this.$val.State();};CS.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CS).prototype.Int=function(a){return new CS(this.$get()).Int(a);};CS.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"State variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.Bool=function(a){return new CS(this.$get()).Bool(a);};CS.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CS).prototype.String=function(a){return new CS(this.$get()).String(a);};CS.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CS).prototype.Interface=function(a){return new CS(this.$get()).Interface(a);};CN.ptr.prototype.SetState=function(a){var $ptr,a,b;b=this;b.This.setState($externalize(a,CS));};CN.prototype.SetState=function(a){return this.$val.SetState(a);};CN.ptr.prototype.Refs=function(){var $ptr,a;a=this;return BL(a.This.refs);};CN.prototype.Refs=function(){return this.$val.Refs();};CT.prototype.GetDOMNode=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return J.findDOMNode($externalize(e,$emptyInterface));}return null;};$ptrType(CT).prototype.GetDOMNode=function(a){return new CT(this.$get()).GetDOMNode(a);};CN.ptr.prototype.ForceUpdate=function(){var $ptr,a;a=this;a.This.forceUpdate();};CN.prototype.ForceUpdate=function(){return this.$val.ForceUpdate();};CP=function(a){var $ptr,a;return new CN.ptr(a);};$pkg.NewThis=CP;CR.prototype.Copy=function(){var $ptr,a,b,c,d,e,f,g,h,i;a=this.$val;b=$makeMap($String.keyFor,[]);c=a;d=0;e=$keys(c);while(true){if(!(d<e.length)){break;}f=c[e[d]];if(f===undefined){d++;continue;}g=f.k;h=f.v;i=g;(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(i)]={k:i,v:h};d++;}return b;};$ptrType(CR).prototype.Copy=function(){return new CR(this.$get()).Copy();};CR.prototype.Call=function(a,b){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=new CR(c).Func(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e(b);$s=2;case 2:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}$s=-1;return f;}return;}if($f===undefined){$f={$blk:CR.prototype.Call};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Call=function(a,b){return new CR(this.$get()).Call(a,b);};CR.prototype.Func=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return $assertType($internalize($assertType(e,DH),$emptyInterface),DK);}g=B.Sprintf(\"func %s not found in properties\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return $throwNilPointerError;}return;}if($f===undefined){$f={$blk:CR.prototype.Func};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Func=function(a){return new CR(this.$get()).Func(a);};CR.prototype.Interface=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$emptyInterface);}return $ifaceNil;};$ptrType(CR).prototype.Interface=function(a){return new CR(this.$get()).Interface(a);};CR.prototype.Int=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $parseInt($assertType(e,DH))>>0;}return 0;};$ptrType(CR).prototype.Int=function(a){return new CR(this.$get()).Int(a);};CR.prototype.Bool=function(a){var $ptr,a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){$s=-1;return!!($assertType(e,DH));}g=B.Sprintf(\"Props variable %q not found\",new DA([new $String(a)]));$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}$panic(new $String(g));$s=-1;return false;}return;}if($f===undefined){$f={$blk:CR.prototype.Bool};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CR).prototype.Bool=function(a){return new CR(this.$get()).Bool(a);};CR.prototype.String=function(a){var $ptr,a,b,c,d,e,f;b=this.$val;c=(d=b[$String.keyFor(a)],d!==undefined?[d.v,true]:[$ifaceNil,false]);e=c[0];f=c[1];if(f){return $internalize($assertType(e,DH),$String);}return\"\";};$ptrType(CR).prototype.String=function(a){return new CR(this.$get()).String(a);};CN.ptr.prototype.Children=function(){var $ptr,a,b;a=this;b=a.This.props.children;if(b===undefined){return DL.nil;}return new CU.ptr(b);};CN.prototype.Children=function(){return this.$val.Children();};CU.ptr.prototype.Element=function(){var $ptr,a;a=this;return BB(a.Object);};CU.prototype.Element=function(){return this.$val.Element();};CR.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CR).prototype.HasChanged=function(a,b){return new CR(this.$get()).HasChanged(a,b);};CS.prototype.HasChanged=function(a,b){var $ptr,a,b,c;c=this.$val;return CV(c,a,b);};$ptrType(CS).prototype.HasChanged=function(a,b){return new CS(this.$get()).HasChanged(a,b);};CV=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h;d=c;e=0;while(true){if(!(e<d.$length)){break;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);if(!($interfaceIsEqual((g=a[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=b[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil)))){return true;}e++;}return false;};CS.prototype.HasChangedDeeply=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this.$val;d=b;e=0;case 1:if(!(e<d.$length)){$s=2;continue;}f=((e<0||e>=d.$length)?($throwRuntimeError(\"index out of range\"),undefined):d.$array[d.$offset+e]);i=D.DeepEqual((g=c[$String.keyFor(f)],g!==undefined?g.v:$ifaceNil),(h=a[$String.keyFor(f)],h!==undefined?h.v:$ifaceNil));$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if(!i){$s=3;continue;}$s=4;continue;case 3:$s=-1;return true;case 4:e++;$s=1;continue;case 2:$s=-1;return false;}return;}if($f===undefined){$f={$blk:CS.prototype.HasChangedDeeply};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};$ptrType(CS).prototype.HasChangedDeeply=function(a,b){return new CS(this.$get()).HasChangedDeeply(a,b);};DM.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([$String,CR],[],false)},{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"CloneElement\",name:\"CloneElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"handleOptionsOnCreate\",name:\"handleOptionsOnCreate\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)},{prop:\"handleOptionsOnPrepare\",name:\"handleOptionsOnPrepare\",pkg:\"github.com/bep/gr\",typ:$funcType([],[],false)}];X.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}];DP.methods=[{prop:\"next\",name:\"next\",pkg:\"github.com/bep/gr\",typ:$funcType([],[$Int],false)}];CW.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"createElement\",name:\"createElement\",pkg:\"github.com/bep/gr\",typ:$funcType([],[DH],false)}];BC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DQ.methods=[{prop:\"Persist\",name:\"Persist\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Target\",name:\"Target\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"TargetValue\",name:\"TargetValue\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"CurrentTarget\",name:\"CurrentTarget\",pkg:\"\",typ:$funcType([],[DH],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)}];DD.methods=[{prop:\"PreventDefault\",name:\"PreventDefault\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"StopPropagation\",name:\"StopPropagation\",pkg:\"\",typ:$funcType([],[DD],false)},{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DS.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}];CC.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DT.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DU.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CJ.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];CL.methods=[{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}];DG.methods=[{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)},{prop:\"Props\",name:\"Props\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Context\",name:\"Context\",pkg:\"\",typ:$funcType([],[CQ],false)},{prop:\"Component\",name:\"Component\",pkg:\"\",typ:$funcType([$String],[AV],false)},{prop:\"IsMounted\",name:\"IsMounted\",pkg:\"\",typ:$funcType([],[$Bool],false)},{prop:\"State\",name:\"State\",pkg:\"\",typ:$funcType([],[CS],false)},{prop:\"SetState\",name:\"SetState\",pkg:\"\",typ:$funcType([CS],[],false)},{prop:\"Refs\",name:\"Refs\",pkg:\"\",typ:$funcType([],[CT],false)},{prop:\"ForceUpdate\",name:\"ForceUpdate\",pkg:\"\",typ:$funcType([],[],false)},{prop:\"Children\",name:\"Children\",pkg:\"\",typ:$funcType([],[DL],false)}];CR.methods=[{prop:\"Copy\",name:\"Copy\",pkg:\"\",typ:$funcType([],[CR],false)},{prop:\"Call\",name:\"Call\",pkg:\"\",typ:$funcType([$String,DA],[DH],true)},{prop:\"Func\",name:\"Func\",pkg:\"\",typ:$funcType([$String],[DK],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CR,CZ],[$Bool],true)}];CS.methods=[{prop:\"Int\",name:\"Int\",pkg:\"\",typ:$funcType([$String],[$Int],false)},{prop:\"Bool\",name:\"Bool\",pkg:\"\",typ:$funcType([$String],[$Bool],false)},{prop:\"String\",name:\"String\",pkg:\"\",typ:$funcType([$String],[$String],false)},{prop:\"Interface\",name:\"Interface\",pkg:\"\",typ:$funcType([$String],[$emptyInterface],false)},{prop:\"HasChanged\",name:\"HasChanged\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)},{prop:\"HasChangedDeeply\",name:\"HasChangedDeeply\",pkg:\"\",typ:$funcType([CS,CZ],[$Bool],true)}];CT.methods=[{prop:\"GetDOMNode\",name:\"GetDOMNode\",pkg:\"\",typ:$funcType([$String],[DH],false)}];DL.methods=[{prop:\"Element\",name:\"Element\",pkg:\"\",typ:$funcType([],[CW],false)}];L.init([{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);M.init([{prop:\"CreateElement\",name:\"CreateElement\",pkg:\"\",typ:$funcType([CR,DC],[CW],true)},{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[DH],false)}]);N.init(\"github.com/bep/gr\",[{prop:\"node\",name:\"node\",exported:false,typ:DH,tag:\"\"},{prop:\"elementPrototype\",name:\"elementPrototype\",exported:false,typ:DH,tag:\"\"},{prop:\"r\",name:\"r\",exported:false,typ:BQ,tag:\"\"},{prop:\"reactClass\",name:\"reactClass\",exported:false,typ:DB,tag:\"\"},{prop:\"exportName\",name:\"exportName\",exported:false,typ:$String,tag:\"\"},{prop:\"globalName\",name:\"globalName\",exported:false,typ:$String,tag:\"\"},{prop:\"componentConfig\",name:\"componentConfig\",exported:false,typ:Q,tag:\"\"},{prop:\"needsCreate\",name:\"needsCreate\",exported:false,typ:$Bool,tag:\"\"}]);Q.init(\"\",[{prop:\"ContextTypesTemplate\",name:\"ContextTypesTemplate\",exported:true,typ:CQ,tag:\"\"}]);R.init(\"github.com/bep/gr\",[{prop:\"action\",name:\"action\",exported:false,typ:DN,tag:\"\"},{prop:\"preparePhase\",name:\"preparePhase\",exported:false,typ:$Bool,tag:\"\"}]);X.init(\"github.com/bep/gr\",[{prop:\"c\",name:\"c\",exported:false,typ:L,tag:\"\"}]);Z.init(\"github.com/bep/gr\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"displayName\",name:\"displayName\",exported:false,typ:$String,tag:\"js:\\\"displayName\\\"\"},{prop:\"render\",name:\"render\",exported:false,typ:DH,tag:\"js:\\\"render\\\"\"},{prop:\"getDefaultProps\",name:\"getDefaultProps\",exported:false,typ:DH,tag:\"js:\\\"getDefaultProps\\\"\"},{prop:\"getInitialState\",name:\"getInitialState\",exported:false,typ:DH,tag:\"js:\\\"getInitialState\\\"\"},{prop:\"getChildContext\",name:\"getChildContext\",exported:false,typ:DH,tag:\"js:\\\"getChildContext\\\"\"},{prop:\"childContextTypes\",name:\"childContextTypes\",exported:false,typ:F.M,tag:\"js:\\\"childContextTypes\\\"\"},{prop:\"contextTypes\",name:\"contextTypes\",exported:false,typ:F.M,tag:\"js:\\\"contextTypes\\\"\"},{prop:\"shouldComponentUpdate\",name:\"shouldComponentUpdate\",exported:false,typ:DH,tag:\"js:\\\"shouldComponentUpdate\\\"\"},{prop:\"componentWillUpdate\",name:\"componentWillUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentWillUpdate\\\"\"},{prop:\"componentDidUpdate\",name:\"componentDidUpdate\",exported:false,typ:DH,tag:\"js:\\\"componentDidUpdate\\\"\"},{prop:\"componentWillReceiveProps\",name:\"componentWillReceiveProps\",exported:false,typ:DH,tag:\"js:\\\"componentWillReceiveProps\\\"\"},{prop:\"componentWillMount\",name:\"componentWillMount\",exported:false,typ:DH,tag:\"js:\\\"componentWillMount\\\"\"},{prop:\"componentDidMount\",name:\"componentDidMount\",exported:false,typ:DH,tag:\"js:\\\"componentDidMount\\\"\"},{prop:\"componentWillUnmount\",name:\"componentWillUnmount\",exported:false,typ:DH,tag:\"js:\\\"componentWillUnmount\\\"\"}]);AR.init(\"github.com/bep/gr\",[{prop:\"counter\",name:\"counter\",exported:false,typ:$Int,tag:\"\"}]);AV.init([{prop:\"Modify\",name:\"Modify\",pkg:\"\",typ:$funcType([CW],[],false)}]);AW.init([CW],[DH],false);AZ.init(\"github.com/bep/gr\",[{prop:\"tag\",name:\"tag\",exported:false,typ:$String,tag:\"\"},{prop:\"properties\",name:\"properties\",exported:false,typ:DF,tag:\"\"},{prop:\"style\",name:\"style\",exported:false,typ:DF,tag:\"\"},{prop:\"eventListeners\",name:\"eventListeners\",exported:false,typ:DE,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:DC,tag:\"\"},{prop:\"elFactory\",name:\"elFactory\",exported:false,typ:AW,tag:\"\"},{prop:\"dynamic\",name:\"dynamic\",exported:false,typ:$Bool,tag:\"\"},{prop:\"element\",name:\"element\",exported:false,typ:DH,tag:\"\"}]);BC.init(AV);BE.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"},{prop:\"This\",name:\"This\",exported:true,typ:DG,tag:\"\"}]);BF.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"listener\",name:\"listener\",exported:false,typ:DR,tag:\"\"},{prop:\"preventDefault\",name:\"preventDefault\",exported:false,typ:$Bool,tag:\"\"},{prop:\"stopPropagation\",name:\"stopPropagation\",exported:false,typ:$Bool,tag:\"\"},{prop:\"delegate\",name:\"delegate\",exported:false,typ:DI,tag:\"\"}]);BP.init(\"\",[{prop:\"Context\",name:\"Context\",exported:true,typ:CQ,tag:\"\"},{prop:\"Props\",name:\"Props\",exported:true,typ:CR,tag:\"\"},{prop:\"State\",name:\"State\",exported:true,typ:CS,tag:\"\"}]);BQ.init([{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[L],false)}]);BR.init([{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[CS],false)}]);BS.init([{prop:\"GetChildContext\",name:\"GetChildContext\",pkg:\"\",typ:$funcType([],[CQ],false)}]);BT.init([{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([BP],[$Bool],false)}]);BU.init([{prop:\"ComponentWillUpdate\",name:\"ComponentWillUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BV.init([{prop:\"ComponentWillReceiveProps\",name:\"ComponentWillReceiveProps\",pkg:\"\",typ:$funcType([BP],[],false)}]);BW.init([{prop:\"ComponentDidUpdate\",name:\"ComponentDidUpdate\",pkg:\"\",typ:$funcType([BP],[],false)}]);BX.init([{prop:\"ComponentWillMount\",name:\"ComponentWillMount\",pkg:\"\",typ:$funcType([],[],false)}]);BY.init([{prop:\"ComponentWillUnmount\",name:\"ComponentWillUnmount\",pkg:\"\",typ:$funcType([],[],false)}]);BZ.init([{prop:\"ComponentDidMount\",name:\"ComponentDidMount\",pkg:\"\",typ:$funcType([],[],false)}]);CA.init(\"github.com/bep/gr\",[{prop:\"text\",name:\"text\",exported:false,typ:$String,tag:\"\"}]);CC.init($String);CG.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CI.init(\"github.com/bep/gr\",[{prop:\"name\",name:\"name\",exported:false,typ:$String,tag:\"\"},{prop:\"value\",name:\"value\",exported:false,typ:$emptyInterface,tag:\"\"}]);CN.init(\"\",[{prop:\"This\",name:\"This\",exported:true,typ:DH,tag:\"\"}]);CO.init([{prop:\"SetThis\",name:\"SetThis\",pkg:\"\",typ:$funcType([DH],[],false)}]);CQ.init($String,$emptyInterface);CR.init($String,$emptyInterface);CS.init($String,$emptyInterface);CT.init($String,$emptyInterface);CU.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:DH,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}I=$global.React;J=$global.ReactDOM;AX=$methodExpr(CW,\"createElement\");AY=(function(a){var $ptr,a;return a.element;});$pkg.Discard=$newDataPointer(0,CX);$pkg.Dynamic=$newDataPointer(0,CY);$r=K();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/attr\"]=(function(){var $pkg={},$init,A,BF,DF;A=$packages[\"github.com/bep/gr\"];BF=function(a){var $ptr,a;return A.Prop(\"href\",a);};$pkg.HRef=BF;DF=function(a){var $ptr,a;return A.Prop(\"role\",a);};$pkg.Role=DF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/el\"]=(function(){var $pkg={},$init,A,B,O,AC,AG,AY,DB,DF;A=$packages[\"github.com/bep/gr\"];B=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"a\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:B};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Anchor=B;O=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"button\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Button=O;AC=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"div\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AC};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Div=AC;AG=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"em\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AG};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Emphasis=AG;AY=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"li\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:AY};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.ListItem=AY;DB=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"ul\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:DB};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.UnorderedList=DB;DF=function(a){var $ptr,a,b,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=A.NewElement(\"h1\");$r=($subslice(new A.Modifiers(a.$array),a.$offset,a.$offset+a.$length)).Modify(b);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b;}return;}if($f===undefined){$f={$blk:DF};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Header1=DF;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/evt\"]=(function(){var $pkg={},$init,A,W;A=$packages[\"github.com/bep/gr\"];W=function(a){var $ptr,a;return A.NewEventListener(\"onClick\",a);};$pkg.Click=W;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples\"]=(function(){var $pkg={},$init,A,C,D,E,F,B,L,M,G;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];B=$packages[\"strings\"];L=$sliceType($String);M=$sliceType(C.Modifier);G=function(a,b){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=($subslice(new C.Modifiers(b.$array),b.$offset,b.$offset+b.$length));d=C.CSS(new L([\"panel\",\"panel-primary\"]));e=E.Div(new M([C.CSS(new L([\"panel-body\"])),c]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;g=C.CSS(new L([\"panel-footer\"]));h=C.Text(new $String(\"Facebook React in Go: \"));$s=2;case 2:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=E.Emphasis(new M([h]));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;k=D.HRef(new $String(\"https://github.com/bep/gr/\"));l=C.Text(new $String(\"https://github.com/bep/gr/\"));$s=4;case 4:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;n=E.Anchor(new M([k,m]));$s=5;case 5:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;p=E.Div(new M([j,o]));$s=6;case 6:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=E.Div(new M([g,q]));$s=7;case 7:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}s=r;t=E.Div(new M([d,f,s]));$s=8;case 8:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=-1;return u;}return;}if($f===undefined){$f={$blk:G};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.$s=$s;$f.$r=$r;return $f;};$pkg.Example=G;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/grouter\"]=(function(){var $pkg={},$init,A,B,C,D,E,G,H,AA,AB,AC,AD,AE,AF,AG,S,T,U,V,W,X,Y,I,J,K,L,M,N,O,P,Q,Z;A=$packages[\"github.com/bep/gr\"];B=$packages[\"github.com/bep/gr/support\"];C=$packages[\"github.com/gopherjs/gopherjs/js\"];D=$pkg.Router=$newType(0,$kindStruct,\"grouter.Router\",true,\"github.com/bep/grouter\",true,function(Object_,root_,history_){this.$val=this;if(arguments.length===0){this.Object=null;this.root=new G.ptr(\"\",false,$ifaceNil,AA.nil);this.history=new E.ptr(null);return;}this.Object=Object_;this.root=root_;this.history=history_;});E=$pkg.History=$newType(0,$kindStruct,\"grouter.History\",true,\"github.com/bep/grouter\",true,function(Object_){this.$val=this;if(arguments.length===0){this.Object=null;return;}this.Object=Object_;});G=$pkg.Route=$newType(0,$kindStruct,\"grouter.Route\",true,\"github.com/bep/grouter\",true,function(path_,components_,component_,children_){this.$val=this;if(arguments.length===0){this.path=\"\";this.components=false;this.component=$ifaceNil;this.children=AA.nil;return;}this.path=path_;this.components=components_;this.component=component_;this.children=children_;});H=$pkg.Components=$newType(4,$kindMap,\"grouter.Components\",true,\"github.com/bep/grouter\",true,null);AA=$sliceType(G);AB=$mapType($String,$emptyInterface);AC=$sliceType($emptyInterface);AD=$sliceType($String);AE=$ptrType(C.Object);AF=$funcType([AC],[AE],true);AG=$ptrType(D);I=function(a,b,c){var $ptr,a,b,c;return new G.ptr(a,b,$ifaceNil,c);};$pkg.NewRoute=I;J=function(a){var $ptr,a;return new G.ptr(\"\",a,$ifaceNil,AA.nil);};$pkg.NewIndexRoute=J;K=function(a,b,c){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:d=new G.ptr(a,false,b,AA.nil);e=new D.ptr(null,$clone(d,G),new E.ptr(null));E.copy(e.history,X);f=c;g=0;case 1:if(!(g<f.$length)){$s=2;continue;}h=((g<0||g>=f.$length)?($throwRuntimeError(\"index out of range\"),undefined):f.$array[f.$offset+g]);i=h(e);$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(j,$ifaceNil))){$panic(j);}g++;$s=1;continue;case 2:$s=-1;return e;}return;}if($f===undefined){$f={$blk:K};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};$pkg.New=K;D.ptr.prototype.With=function(a){var $ptr,a,b;b=this;b.Object=null;b.root.children=a;return b;};D.prototype.With=function(a){return this.$val.With(a);};D.ptr.prototype.Node=function(){var $ptr,a,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(a.Object===null){$s=1;continue;}$s=2;continue;case 1:$r=a.initObject();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 2:$s=-1;return a.Object;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.Node};}$f.$ptr=$ptr;$f.a=a;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.Node=function(){return this.$val.Node();};D.ptr.prototype.initObject=function(){var $ptr,a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;b={};c=\"history\";(b||$throwRuntimeError(\"assignment to entry in nil map\"))[$String.keyFor(c)]={k:c,v:(d=a.history,new d.constructor.elem(d))};e=new($global.Object)();f=a.root.component.Node();$s=1;case 1:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e.component=f;e.path=$externalize(a.root.path,$String);e.key=$externalize(\"root\",$String);g=L(a.root.children);$s=2;case 2:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=T(e,h);j=V($externalize(b,AB),i);if(j===null||j===undefined){$panic(new $String(\"Failed to create routes\"));}a.Object=j;$s=-1;return;}return;}if($f===undefined){$f={$blk:D.ptr.prototype.initObject};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.$s=$s;$f.$r=$r;return $f;};D.prototype.initObject=function(){return this.$val.initObject();};L=function(a){var $ptr,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=new($global.Array)($externalize(a,AA));c=a;d=0;case 1:if(!(d<c.$length)){$s=2;continue;}e=d;f=$clone(((d<0||d>=c.$length)?($throwRuntimeError(\"index out of range\"),undefined):c.$array[c.$offset+d]),G);g=new($global.Object)();g.key=e;if(!(f.path===\"\")){g.path=$externalize(f.path,$String);}h=new($global.Object)();i=f.components;j=0;k=$keys(i);case 3:if(!(j<k.length)){$s=4;continue;}l=i[k[j]];if(l===undefined){j++;$s=3;continue;}m=l.k;n=l.v;o=n.Node();$s=5;case 5:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}h[$externalize(m,$String)]=o;j++;$s=3;continue;case 4:g.components=h;p=null;if(f.children.$length>0){$s=6;continue;}$s=7;continue;case 6:q=L(f.children);$s=8;case 8:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}p=q;case 7:r=T;if(f.path===\"\"){r=U;}b[e]=r(g,p);d++;$s=1;continue;case 2:$s=-1;return b;}return;}if($f===undefined){$f={$blk:L};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.$s=$s;$f.$r=$r;return $f;};M=function(a,b){var $ptr,a,b,c,d;c=$makeMap($String.keyFor,[{k:\"to\",v:new $String(a)},{k:\"activeClassName\",v:new $String(\"active\")}]);d=W($externalize(c,A.Props),$externalize(b,$String));return A.NewPreparedElement(d);};$pkg.Link=M;N=function(a,b){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=Q(a,\"isActive\")(new AC([new $String(b)]));$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return!!(c);}return;}if($f===undefined){$f={$blk:N};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.IsActive=N;O=function(a,b){var $ptr,a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=N(a,b);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}if(c){$s=1;continue;}$s=2;continue;case 1:$s=-1;return A.CSS(new AD([\"active\"]));case 2:$s=-1;return A.Discard;}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.MarkIfActive=O;P=function(a){var $ptr,a;return Y(a);};$pkg.WithRouter=P;Q=function(a,b){var $ptr,a,b,c,d,e,f,g,h;c=new A.Props(a).Interface(\"router\");if(!($interfaceIsEqual(c,$ifaceNil))){d=$assertType(c,AB);e=(f=d[$String.keyFor(b)],f!==undefined?[f.v,true]:[$ifaceNil,false]);g=e[0];h=e[1];if(h){return $assertType(g,AF);}$panic(new $String(b+\" not found\"));}$panic(new $String(\"router not found in props, make sure to decorate your component with WithRouter.\"));};Z=function(){var $ptr,a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=$global.React;b=$ifaceNil;if(a===undefined){$s=1;continue;}$s=2;continue;case 1:d=B.Require(new AD([\"react\"]));$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;a=c[0];b=c[1];if(!($interfaceIsEqual(b,$ifaceNil))){$panic(new $String(\"Facebook React not found, make sure it is loaded.\"));}case 2:S=$global.ReactRouter;if(S===undefined){$s=4;continue;}$s=5;continue;case 4:f=B.Require(new AD([\"react-router\"]));$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;a=e[0];b=e[1];if(!($interfaceIsEqual(b,$ifaceNil))){$panic(new $String(\"Make sure that react-router is loaded, see https://github.com/reactjs/react-router\"));}case 5:T=a.createFactory(S.Route);if(T===undefined){$panic(new $String(\"ReactRouter.Route not found.\"));}U=a.createFactory(S.IndexRoute);if(U===undefined){$panic(new $String(\"ReactRouter.IndexRoute not found.\"));}V=a.createFactory(S.Router);if(V===undefined){$panic(new $String(\"ReactRouter.Router not found.\"));}W=a.createFactory(S.Link);if(W===undefined){$panic(new $String(\"ReactRouter.Link not found.\"));}Y=S.withRouter;if(Y===undefined){$panic(new $String(\"ReactRouter.withRouter not found.\"));}E.copy(X,new E.ptr(S.hashHistory));$s=-1;return;}return;}if($f===undefined){$f={$blk:Z};}$f.$ptr=$ptr;$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};D.methods=[{prop:\"With\",name:\"With\",pkg:\"\",typ:$funcType([AA],[AG],true)}];AG.methods=[{prop:\"Node\",name:\"Node\",pkg:\"\",typ:$funcType([],[AE],false)},{prop:\"initObject\",name:\"initObject\",pkg:\"github.com/bep/grouter\",typ:$funcType([],[],false)}];D.init(\"github.com/bep/grouter\",[{prop:\"Object\",name:\"\",exported:true,typ:AE,tag:\"\"},{prop:\"root\",name:\"root\",exported:false,typ:G,tag:\"\"},{prop:\"history\",name:\"history\",exported:false,typ:E,tag:\"\"}]);E.init(\"\",[{prop:\"Object\",name:\"\",exported:true,typ:AE,tag:\"\"}]);G.init(\"github.com/bep/grouter\",[{prop:\"path\",name:\"path\",exported:false,typ:$String,tag:\"\"},{prop:\"components\",name:\"components\",exported:false,typ:H,tag:\"\"},{prop:\"component\",name:\"component\",exported:false,typ:A.Component,tag:\"\"},{prop:\"children\",name:\"children\",exported:false,typ:AA,tag:\"\"}]);H.init($String,A.Component);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}S=null;T=null;U=null;V=null;W=null;X=new E.ptr(null);Y=null;$r=Z();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$packages[\"github.com/bep/gr/examples/router\"]=(function(){var $pkg={},$init,A,C,D,E,F,G,H,B,P,Q,R,S,T,U,V,W,X,Y,Z,AA,I,J,K,L,M,N,a,b,c,d,e,f,g,O;A=$packages[\"fmt\"];C=$packages[\"github.com/bep/gr\"];D=$packages[\"github.com/bep/gr/attr\"];E=$packages[\"github.com/bep/gr/el\"];F=$packages[\"github.com/bep/gr/evt\"];G=$packages[\"github.com/bep/gr/examples\"];H=$packages[\"github.com/bep/grouter\"];B=$packages[\"strings\"];P=$pkg.app=$newType(0,$kindStruct,\"main.app\",true,\"github.com/bep/gr/examples/router\",false,function(This_){this.$val=this;if(arguments.length===0){this.This=R.nil;return;}this.This=This_;});Q=$pkg.clickCounter=$newType(0,$kindStruct,\"main.clickCounter\",true,\"github.com/bep/gr/examples/router\",false,function(This_,title_,color_){this.$val=this;if(arguments.length===0){this.This=R.nil;this.title=\"\";this.color=\"\";return;}this.This=This_;this.title=title_;this.color=color_;});R=$ptrType(C.This);S=$sliceType(C.Option);T=$ptrType(H.Router);U=$funcType([T],[$error],false);V=$sliceType(U);W=$sliceType(H.Route);X=$sliceType(C.Modifier);Y=$sliceType($String);Z=$sliceType($emptyInterface);AA=$ptrType(C.Event);O=function(){var $ptr,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=C.New(C.NewSimpleRenderer(N),new S([]));$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$r=i.Render(\"react\",$makeMap($String.keyFor,[]));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}if($f===undefined){$f={$blk:O};}$f.$ptr=$ptr;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};P.ptr.prototype.Render=function(){var $ptr,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;i=C.Text(new $String(\"Router\"));$s=1;case 1:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=E.Header1(new X([i]));$s=2;case 2:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;l=C.CSS(new Y([\"nav\",\"nav-tabs\"]));m=$clone(h,P).createLinkListItem(\"/c1\",\"Tab #1\");$s=3;case 3:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;o=$clone(h,P).createLinkListItem(\"/c2\",\"Tab #2\");$s=4;case 4:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=$clone(h,P).createLinkListItem(\"/c3\",\"Tab #3\");$s=5;case 5:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}r=q;s=E.UnorderedList(new X([l,n,p,r]));$s=6;case 6:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;u=h.This.Component(\"main\");v=h.This.Component(\"sub\");w=E.Div(new X([k,t,u,v]));$s=7;case 7:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.Render};}$f.$ptr=$ptr;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.Render=function(){return this.$val.Render();};P.ptr.prototype.createLinkListItem=function(h,i){var $ptr,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:j=this;k=H.MarkIfActive(j.This.Props(),h);$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=E.ListItem(new X([k,D.Role(new $String(\"presentation\")),H.Link(h,i)]));$s=2;case 2:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$s=-1;return l;}return;}if($f===undefined){$f={$blk:P.ptr.prototype.createLinkListItem};}$f.$ptr=$ptr;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.$s=$s;$f.$r=$r;return $f;};P.prototype.createLinkListItem=function(h,i){return this.$val.createLinkListItem(h,i);};Q.ptr.prototype.GetInitialState=function(){var $ptr,h;h=this;console.log(h.title,\"GetInitialState\");return $makeMap($String.keyFor,[{k:\"counter\",v:new $Int(0)}]);};Q.prototype.GetInitialState=function(){return this.$val.GetInitialState();};Q.ptr.prototype.Render=function(){var $ptr,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$ptr=$f.$ptr;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;p=$f.p;q=$f.q;r=$f.r;s=$f.s;t=$f.t;u=$f.u;v=$f.v;w=$f.w;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:h=this;j=(i=h.This.State()[$String.keyFor(\"counter\")],i!==undefined?i.v:$ifaceNil);k=A.Sprintf(\"%s: %v\",new Z([new $String(h.title),j]));$s=1;case 1:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=C.CSS(new Y([\"btn\",\"btn-lg\",\"btn-warning\"]));n=C.Style(\"color\",new $String(h.color));o=C.Style(\"fontWeight\",new $String(\"bold\"));p=C.Text(new $String(l));$s=2;case 2:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}q=p;r=F.Click($methodVal($clone(h,Q),\"onClick\"));s=E.Button(new X([m,n,o,q,r]));$s=3;case 3:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=E.Div(new X([s]));$s=4;case 4:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;v=B.Title(l);$s=5;case 5:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}w=G.Example(v,new X([u]));$s=6;case 6:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}$s=-1;return w;}return;}if($f===undefined){$f={$blk:Q.ptr.prototype.Render};}$f.$ptr=$ptr;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.p=p;$f.q=q;$f.r=r;$f.s=s;$f.t=t;$f.u=u;$f.v=v;$f.w=w;$f.$s=$s;$f.$r=$r;return $f;};Q.prototype.Render=function(){return this.$val.Render();};Q.ptr.prototype.onClick=function(h){var $ptr,h,i;i=this;i.This.SetState($makeMap($String.keyFor,[{k:\"counter\",v:new $Int((new C.State(i.This.State()).Int(\"counter\")+1>>0))}]));};Q.prototype.onClick=function(h){return this.$val.onClick(h);};Q.ptr.prototype.ShouldComponentUpdate=function(h){var $ptr,h,i;i=this;return new C.State(i.This.State()).HasChanged(h.State,new Y([\"counter\"]));};Q.prototype.ShouldComponentUpdate=function(h){return this.$val.ShouldComponentUpdate(h);};P.methods=[{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"createLinkListItem\",name:\"createLinkListItem\",pkg:\"github.com/bep/gr/examples/router\",typ:$funcType([$String,$String],[C.Modifier],false)}];Q.methods=[{prop:\"GetInitialState\",name:\"GetInitialState\",pkg:\"\",typ:$funcType([],[C.State],false)},{prop:\"Render\",name:\"Render\",pkg:\"\",typ:$funcType([],[C.Component],false)},{prop:\"onClick\",name:\"onClick\",pkg:\"github.com/bep/gr/examples/router\",typ:$funcType([AA],[],false)},{prop:\"ShouldComponentUpdate\",name:\"ShouldComponentUpdate\",pkg:\"\",typ:$funcType([C.Cops],[$Bool],false)}];P.init(\"\",[{prop:\"This\",name:\"\",exported:true,typ:R,tag:\"\"}]);Q.init(\"github.com/bep/gr/examples/router\",[{prop:\"This\",name:\"\",exported:true,typ:R,tag:\"\"},{prop:\"title\",name:\"title\",exported:false,typ:$String,tag:\"\"},{prop:\"color\",name:\"color\",exported:false,typ:$String,tag:\"\"}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a=C.New(new Q.ptr(R.nil,\"Counter 1\",\"#ff0066\"),new S([]));$s=9;case 9:if($c){$c=false;a=a.$blk();}if(a&&a.$blk!==undefined){break s;}I=a;b=C.New(new Q.ptr(R.nil,\"Counter 2\",\"#339966\"),new S([]));$s=10;case 10:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}J=b;c=C.New(new Q.ptr(R.nil,\"Counter 3\",\"#0099cc\"),new S([]));$s=11;case 11:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}K=c;d=C.New(new Q.ptr(R.nil,\"Counter 3_2\",\"#ffcc66\"),new S([]));$s=12;case 12:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}L=d;e=C.New(new P.ptr(R.nil),new S([$clone(C.Apply(H.WithRouter),C.Option)]));$s=13;case 13:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}M=e;f=H.New(\"/\",M,new V([]));$s=14;case 14:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=$clone(f,H.Router).With(new W([$clone(H.NewIndexRoute($makeMap($String.keyFor,[{k:\"main\",v:I}])),H.Route),$clone(H.NewRoute(\"c1\",$makeMap($String.keyFor,[{k:\"main\",v:I}]),new W([])),H.Route),$clone(H.NewRoute(\"c2\",$makeMap($String.keyFor,[{k:\"main\",v:J}]),new W([])),H.Route),$clone(H.NewRoute(\"c3\",$makeMap($String.keyFor,[{k:\"main\",v:K},{k:\"sub\",v:L}]),new W([])),H.Route)]));$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}N=g;if($pkg===$mainPkg){$s=16;continue;}$s=17;continue;case 16:$r=O();$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$mainFinished=true;case 17:}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})();\n$synthesizeMethods();\nvar $mainPkg = $packages[\"github.com/bep/gr/examples/router\"];\n$packages[\"runtime\"].$init();\n$go($mainPkg.$init, []);\n$flushConsole();\n\n}).call(this);\n//# sourceMappingURL=router.js.map\n"
  },
  {
    "path": "helpers.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\nimport (\n\t\"fmt\"\n\n\t\"strconv\"\n\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\n//TODO make this work so the examples can be made without an index.html\n/*func AddReactJS(version string) {\n\tfor _, lib := range []string{\"react-dom.js\", \"react.js\"} {\n\t\tlink := js.Global.Get(\"document\").Call(\"createElement\", \"script\")\n\t\tlink.Set(\"src\", fmt.Sprintf(\"//cdnjs.cloudflare.com/ajax/libs/react/%s/%s\", version, lib))\n\t\t//js.Global.Get(\"document\").Get(\"head\").Call(\"appendChild\", link)\n\t\thead := js.Global.Get(\"document\").Get(\"head\")\n\t\thead.Call(\"insertBefore\", link, head.Get(\"firstChild\"))\n\t}\n}*/\n\n// UnmountComponentAtNode unmounts the DOM element at the given ID.\nfunc UnmountComponentAtNode(elementID string) bool {\n\t// TODO(bep) maybe incorporate this DOM element into the component\n\tcontainer := js.Global.Get(\"document\").Call(\"getElementById\", elementID)\n\treturn reactDOM.Call(\"unmountComponentAtNode\", container).Bool()\n}\n\n// TODO(bep)\nfunc toString(i interface{}) string {\n\tswitch v := i.(type) {\n\tcase string:\n\t\treturn i.(string)\n\tcase *js.Object:\n\t\tif v == js.Undefined {\n\t\t\treturn \"\"\n\t\t}\n\t\t// TODO(bep) v.Interface() fails with a infinite loop here for strings returned from React.\n\t\t// TODO(bep)  Try to make a standalone test that fails.\n\t\to := v.Get(\"object\")\n\t\treturn o.String()\n\t}\n\treturn fmt.Sprint(i)\n}\n\nfunc toInt(i interface{}) int {\n\tswitch v := i.(type) {\n\tcase int:\n\t\treturn v\n\tcase float32:\n\t\treturn int(v)\n\tcase float64:\n\t\treturn int(v)\n\tcase string:\n\t\tif v == \"\" {\n\t\t\treturn 0\n\t\t}\n\t\tiv, err := strconv.ParseInt(v, 0, 0)\n\t\tif err == nil {\n\t\t\treturn int(iv)\n\t\t}\n\t\tpanic(err)\n\tdefault:\n\t\tpanic(fmt.Sprintf(\"Unhandled number type: %T\", v))\n\t}\n}\n\nfunc objectToMap(o *js.Object) map[string]interface{} {\n\n\tm := make(map[string]interface{})\n\n\tif o == js.Undefined {\n\t\treturn m\n\t}\n\n\tfor _, k := range js.Keys(o) {\n\t\tkv := o.Get(k)\n\n\t\tm[k] = kv\n\n\t}\n\n\treturn m\n}\n\n// HostInfo represents the location info from the browser window.\n// TODO(bep) get rid of all below.\ntype HostInfo struct {\n\tPath     string\n\tPort     int\n\tHost     string\n\tHref     string\n\tProtocol string\n\tOrigin   string\n}\n\n// Location returns info about the current browser location.\nfunc Location() HostInfo {\n\tl := js.Global.Get(\"window\").Get(\"location\").Interface().(map[string]interface{})\n\tloc := HostInfo{\n\t\tPath:     toString(l[\"pathname\"]),\n\t\tPort:     toInt(l[\"port\"]),\n\t\tHost:     toString(l[\"hostname\"]),\n\t\tHref:     toString(l[\"href\"]),\n\t\tProtocol: toString(l[\"protocol\"]),\n\t\tOrigin:   toString(l[\"origin\"])}\n\n\treturn loc\n}\n"
  },
  {
    "path": "lifecycle.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\n// Lifecycle interfaces\n//\n// See http://facebook.github.io/react/docs/component-specs.html#lifecycle-methods\n\n// Lifecycler contains all the lifecycle callback interfaces. Mostly useful for testing.\ntype Lifecycler interface {\n\tRenderer\n\tStateInitializer\n\tChildContextProvider\n\tShouldComponentUpdate\n\tComponentWillUpdate\n\tComponentWillReceiveProps\n\tComponentDidUpdate\n\tComponentWillMount\n\tComponentWillUnmount\n\tComponentDidMount\n}\n\n// Cops holds COntext, Props and State received in the lifecycle methods.\n// Note that any of these can be nil, depending on the context.\ntype Cops struct {\n\tContext Context\n\tProps   Props\n\tState   State\n}\n\n// Renderer is the core interface used to render a Element.\ntype Renderer interface {\n\tRender() Component\n}\n\n// StateInitializer sets up the initial state.\ntype StateInitializer interface {\n\tGetInitialState() State\n}\n\n// ChildContextProvider provides the context for the children.\n//\n// The GetChildContext function will be called when the state or props changes.\n// In order to update data in the context, trigger a local state update with this.SetState.\n// This will trigger a new context and changes will be received by the children.\n//\n// GetChildContext will also be called once in the init phase, to determine the types for\n// the context properties. The this will be nil in this single invocation, and there is no need to return\n// real data as long as the types are real (in cases where this is an expensive operation).\n//\n// See https://facebook.github.io/react/docs/context.html\ntype ChildContextProvider interface {\n\tGetChildContext() Context\n}\n\n// ShouldComponentUpdate gets invoked before rendering when new props or state are being received.\n// This is not called for the initial render or when forceUpdate is used.\ntype ShouldComponentUpdate interface {\n\tShouldComponentUpdate(next Cops) bool\n}\n\n// ComponentWillUpdate gets invoked immediately before rendering when new props or state are being received.\n// This is not called for the initial render.\ntype ComponentWillUpdate interface {\n\tComponentWillUpdate(next Cops)\n}\n\n// ComponentWillReceiveProps gets invoked when a component is receiving new props.\n// This method is not called for the initial render.\ntype ComponentWillReceiveProps interface {\n\tComponentWillReceiveProps(next Cops)\n}\n\n// ComponentDidUpdate gets invoked immediately after the component's updates are flushed to the DOM.\n// This method is not called for the initial render.\ntype ComponentDidUpdate interface {\n\tComponentDidUpdate(prev Cops)\n}\n\n// ComponentWillMount get invoked once, both on the client and server, immediately before the initial rendering occurs.\ntype ComponentWillMount interface {\n\tComponentWillMount()\n}\n\n// ComponentWillUnmount gets invoked immediately before a component is unmounted from the DOM.\ntype ComponentWillUnmount interface {\n\tComponentWillUnmount()\n}\n\n// ComponentDidMount gets invoked once, only on the client (not on the server),\n// immediately after the initial rendering occurs.\ntype ComponentDidMount interface {\n\tComponentDidMount()\n}\n"
  },
  {
    "path": "modifiers.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\nimport (\n\t\"github.com/gopherjs/gopherjs/js\"\n\t\"strings\"\n)\n\ntype textEl struct {\n\ttext string\n}\n\n// Text creates a text element.\nfunc Text(i interface{}) Modifier {\n\ttext := toString(i)\n\treturn &textEl{text: text}\n}\n\n// Modify implements the Modifier interface.\nfunc (s *textEl) Modify(in *Element) {\n\tin.children = append(in.children, s)\n}\n\n// Node implements the component interface.\nfunc (s *textEl) Node() *js.Object {\n\treturn js.Global.Get(\"Object\").New(s.text)\n}\n\ntype cssClasses []string\n\n// CSS creates a CSS element with the provided classes.\n// Note that duplicates are happily accepted.\nfunc CSS(classes ...string) Modifier {\n\treturn cssClasses(classes)\n}\n\n// Data creates a data attribute, e.g. data-columns=\"3\"\n// See https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes\nfunc Data(name, val string) Modifier {\n\treturn Prop(\"data-\"+name, val)\n}\n\n// Aria creates an accessibility attributes.\n// See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA\nfunc Aria(name, val string) Modifier {\n\treturn Prop(\"aria-\"+name, val)\n}\n\ntype prop struct {\n\tname  string\n\tvalue interface{}\n}\n\n// Modify implements the Modifier interface.\nfunc (p *prop) Modify(element *Element) {\n\tif element.properties == nil {\n\t\telement.properties = make(map[string]interface{})\n\t}\n\tif _, ok := element.properties[p.name]; ok {\n\t\tpanic(\"Duplicate property: \" + p.name)\n\t}\n\telement.properties[p.name] = p.value\n}\n\n// Prop adds a custom attribute.\nfunc Prop(name string, value interface{}) Modifier {\n\treturn &prop{name: name, value: value}\n}\n\n// Modify implements the Modifier interface.\nfunc (m cssClasses) Modify(element *Element) {\n\tif existing, ok := element.properties[\"className\"]; ok {\n\t\t//merge with existing\n\t\telement.properties[\"className\"] = existing.(string) + \" \" + strings.Join(m, \" \")\n\t} else {\n\t\tProp(\"className\", strings.Join(m, \" \")).Modify(element)\n\t}\n}\n\ntype style struct {\n\tname  string\n\tvalue interface{}\n}\n\ntype discard int\n\n// Modify implements the Modifier interface with a no-op.\nfunc (d discard) Modify(element *Element) {\n\t// Do nothing!\n}\n\n// Discard is a Modifier that does nothing.\nvar Discard = new(discard)\n\n// Modify implements the Modifier interface.\nfunc (s *style) Modify(element *Element) {\n\tif element.style == nil {\n\t\telement.style = make(map[string]interface{})\n\t}\n\t// last style with a given name wins\n\telement.style[s.name] = s.value\n}\n\n// Style adds a inline CSS style.\nfunc Style(name string, value interface{}) Modifier {\n\treturn &style{name: name, value: value}\n}\n\ntype dynamicModifier int\n\n// Dynamic is a Modifier that marks the element as dynamic,\n// i.e. not static. This will turn off static features such as adding\n// missing keys.\nvar Dynamic = new(dynamicModifier)\n\nfunc (d dynamicModifier) Modify(element *Element) {\n\telement.dynamic = true\n}\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"gr\",\n  \"version\": \"0.0.1\",\n  \"description\": \"Facebook React bindings for Go\",\n  \"main\": \"index.js\",\n  \"directories\": {\n    \"example\": \"examples\",\n    \"test\": \"tests\"\n  },\n  \"dependencies\": {\n    \"react-dom\": \"^15.4.2\",\n    \"react\": \"^15.4.2\"\n  },\n  \"devDependencies\": {\n    \"react-addons-test-utils\": \"^15.4.2\",\n    \"react-bootstrap\": \"^0.30.7\",\n    \"react-element-to-string\": \"^1.0.2\",\n    \"skin-deep\": \"1.0.0-alpha2\"\n  },\n  \"scripts\": {\n    \"test\": \"gopherjs test github.com/bep/gr/tests\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"git+https://github.com/bep/gr.git\"\n  },\n  \"keywords\": [\n    \"GopherJS\"\n  ],\n  \"author\": \"Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>\",\n  \"license\": \"TBA\",\n  \"bugs\": {\n    \"url\": \"https://github.com/bep/gr/issues\"\n  },\n  \"homepage\": \"https://github.com/bep/gr#README.md\"\n}\n"
  },
  {
    "path": "render.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\nimport (\n\t\"time\"\n\t//\"github.com/gopherjs/gopherjs/js\"\n)\n\nconst (\n\tdefaultFramesPerSecond = 3 // 24\n\tdefaultWaitTime        = 1000 / defaultFramesPerSecond\n)\n\n// RenderLoop runs the given render func in a loop at the given interval.\n// It can be stopped by closing the returned channel.\nfunc RenderLoop(render func(), interval ...time.Duration) chan struct{} {\n\n\trenderInterval := defaultWaitTime * time.Millisecond\n\n\tif len(interval) > 0 {\n\t\trenderInterval = interval[0]\n\t}\n\n\tquit := make(chan struct{})\n\n\tgo func() {\n\t\tfor {\n\t\t\t// TODO(bep): Use this in browsers that supports it.\n\t\t\t//ran := js.Global.Get(\"requestAnimationFrame\")\n\t\t\tselect {\n\t\t\tcase <-time.After(renderInterval):\n\t\t\t\trender()\n\t\t\tcase <-quit:\n\t\t\t\treturn\n\t\t\t}\n\t\t}\n\t}()\n\n\treturn quit\n}\n"
  },
  {
    "path": "support/support.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage support\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\n// Require loads a JS object the Node.js way.\n// Note that this requires that the require function is present; if in the browser,\n// and not in Node.js, try Browserify.\nfunc Require(path ...string) (*js.Object, error) {\n\trequire := js.Global.Get(\"require\")\n\n\tif require == js.Undefined {\n\t\treturn nil, errors.New(\"require() not defined; if this is not Node.js, give Browserify a try\")\n\t}\n\n\tvar component *js.Object\n\n\tfor _, p := range path {\n\t\tif component != nil {\n\t\t\tcomponent = component.Get(p)\n\t\t} else {\n\t\t\tcomponent = require.Invoke(p)\n\t\t}\n\t}\n\n\tif component == js.Undefined {\n\t\treturn nil, fmt.Errorf(\"Module %q not found\", path)\n\t}\n\n\treturn component, nil\n}\n"
  },
  {
    "path": "tests/component_test.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage tests\n\nimport (\n\t\"fmt\"\n\t\"sort\"\n\t\"testing\"\n\n\t\"time\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/attr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/tests/grt\"\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\nconst exportedTestComponent = \"GrtTest\"\n\nfunc TestNewSimpleRenderer(t *testing.T) {\n\tbutton := el.Button(gr.Text(\"Shiny Button\"))\n\trenderer := gr.NewSimpleRenderer(button)\n\tgrt.Equal(t, button, renderer.Render())\n}\n\nfunc TestNewSimpleComponent(t *testing.T) {\n\tbutton := el.Button(gr.Text(\"Simple Button\"))\n\trc := gr.NewSimpleComponent(button)\n\telem := rc.CreateElement(nil)\n\tr := grt.ShallowRender(elem)\n\tgrt.Equal(t, \"<button>Simple Button</button>\", r.String())\n}\n\nfunc TestCreateIfNeeded(t *testing.T) {\n\n\t// 3 variants:\n\tbutton := el.Button(gr.Text(\"Shiny Button\"))\n\trc := gr.NewSimpleComponent(button)\n\tcustom := newTestCustomComponent()\n\n\tbuttonEl := gr.CreateIfNeeded(button)\n\trcEl := gr.CreateIfNeeded(rc)\n\tcustomEl := gr.CreateIfNeeded(custom)\n\n\tgrt.Equal(t, button, buttonEl)\n\tgrt.NotNil(t, rcEl.Node())\n\tgrt.Equal(t, custom.Node(), customEl.Node())\n\n\tr := grt.ShallowRender(rcEl)\n\n\tgrt.Equal(t, \"<button>Shiny Button</button>\", r.String())\n\n}\n\nfunc TestNew(t *testing.T) {\n\tcomponent := createLifecycler()\n\n\treactComponent := gr.New(component)\n\telem := reactComponent.CreateElement(gr.Props{\"text\": \"Initial Button\"})\n\n\tr := grt.ShallowRender(elem)\n\n\t// We have no desire to test Facebook's React, those people can be trusted\n\t// to do the right thing.\n\t// But we use React's behavior to verify that we have set up the components correctly.\n\t//\n\n\tgrt.Equal(t, `<div><button style={{\"color\": \"blue\"}}>Initial Button</button></div>`,\n\t\tr.String())\n\n\tthis := r.This()\n\n\tgrt.Equal(t, \"blue\", this.State().String(\"color\"))\n\n\t// Rerender with new props\n\tnewProps := gr.Props{\"text\": \"Updated Button\"}\n\tr.ReRender(newProps)\n\n\tgrt.Equal(t, `<div><button style={{\"color\": \"blue\"}}>Updated Button</button></div>`,\n\t\tr.String())\n\n\t// Try to rerender with same props. No rerender should happen.\n\t// Will trigger:\n\t// 1) ComponentWillReceiveProps\n\t// 2) ShouldComponentUpdate\n\tr.ReRender(newProps)\n\n\ttime.Sleep(200 * time.Millisecond)\n\t//component.printVisits()\n\t// TODO(bep) Verify that this is the expected behavior in this case.\n\t// TODO(bep) Find a way to check the other methods.\n\tgrt.Equal(t, 12, component.totalVisits())\n\n}\n\nfunc TestCloneElement(t *testing.T) {\n\tc := gr.New(&testTwoButtons{})\n\n\tfirstElement := c.CreateElement(gr.Props{\"b1\": \"b1-1\", \"b2\": \"b2-1\"})\n\n\tr := grt.ShallowRender(firstElement)\n\tgrt.Equal(t, \"<div><button>b1-1</button><button>b2-1</button></div>\", r.String())\n\n\tfor i := 0; i < 3; i++ {\n\t\tb2New := fmt.Sprintf(\"b2-1%d\", i)\n\t\texpect := fmt.Sprintf(\"<div><button>b1-1</button><button>b2-1%d</button></div>\", i)\n\n\t\tclonedElement := c.CloneElement(gr.Props{\"b2\": b2New})\n\n\t\tr = grt.ShallowRender(clonedElement)\n\t\tgrt.Equal(t, expect, r.String())\n\t}\n}\n\nfunc TestCompositeComponents(t *testing.T) {\n\tc := newTestCompositeComponent()\n\trc := gr.New(c)\n\n\telem := rc.CreateElement(gr.Props{\"text\": \"Composite Test\"})\n\tr := grt.ShallowRender(elem)\n\n\tgrt.Equal(t, `<div><h1>Composite Test</h1><tests.testLifecycler text=\"c1\"></tests.testLifecycler><tests.testLifecycler text=\"c2\"></tests.testLifecycler><tests.testLifecycler text=\"c3\"></tests.testLifecycler></div>`,\n\t\tr.String())\n\n\t// dive into the first subcomponent\n\tfirstSub := r.Dive(\"tests.testLifecycler\")\n\n\tgrt.Equal(t, `<div><button style={{\"color\": \"red\"}}>c1</button></div>`, firstSub.String())\n\n}\n\nfunc TestNewWithExport(t *testing.T) {\n\tdefer resetComponentState()\n\n\tvar component gr.Lifecycler = createLifecycler()\n\n\tgr.New(component, gr.Export(exportedTestComponent))\n\n\treloaded := js.Module.Get(\"exports\").Get(exportedTestComponent)\n\n\tgrt.NotNil(t, reloaded)\n}\n\nfunc TestNewWithGlobal(t *testing.T) {\n\tdefer resetComponentState()\n\n\tvar component gr.Lifecycler = createLifecycler()\n\n\tgr.New(component, gr.Global(exportedTestComponent))\n\n\treloaded := js.Global.Get(exportedTestComponent)\n\n\tgrt.NotNil(t, reloaded)\n}\n\nfunc TestNewWithApply(t *testing.T) {\n\tapplied := js.Global.Get(\"Object\").New()\n\n\tapplier := func(o *js.Object) *js.Object {\n\t\treturn applied\n\t}\n\n\tcomponent := createLifecycler()\n\n\treactComponent := gr.New(component, gr.Apply(applier))\n\n\tgrt.Equal(t, applied, reactComponent.Node())\n}\n\nfunc TestComponentFromGlobal(t *testing.T) {\n\trc := gr.FromGlobal(\"Hello\")\n\n\tgrt.NotNil(t, rc)\n\n\telem := rc.CreateElement(gr.Props{\"message\": \"Go Go React!\"})\n\tr := grt.ShallowRender(elem)\n\n\tgrt.Equal(t, \"<h1>Go Go React!</h1>\", r.String())\n}\n\nfunc TestRequire(t *testing.T) {\n\trc := gr.Require(\"react-bootstrap/lib/Alert\")\n\n\tgrt.NotNil(t, rc.Node())\n\n\telem := rc.CreateElement(nil)\n\n\tr := grt.ShallowRender(elem)\n\n\tgrt.Equal(t, `<div role=\"alert\" className=\"alert alert-info\"></div>`, r.String())\n\n}\n\nfunc TestForceUpdate(t *testing.T) {\n\tcomponent := createLifecycler()\n\n\treactComponent := gr.New(component)\n\telem := reactComponent.CreateElement(gr.Props{\"text\": \"Initial Button\"})\n\n\tr := grt.ShallowRender(elem)\n\n\tgrt.Equal(t, `<div><button style={{\"color\": \"blue\"}}>Initial Button</button></div>`,\n\t\tr.String())\n\n\tthis := r.This()\n\tthis.SetState(gr.State{\"color\": \"indigo\"})\n\n\tthis.ForceUpdate()\n\n\ttime.Sleep(200 * time.Millisecond)\n\n\tgrt.Equal(t, `<div><button style={{\"color\": \"indigo\"}}>Initial Button</button></div>`,\n\t\tr.String())\n\n\t//component.printVisits()\n\tgrt.Equal(t, 10, component.totalVisits())\n\tgrt.Equal(t, 1, component.visitCounter(\"ComponentWillUpdate\"))\n\tgrt.Equal(t, 2, component.visitCounter(\"Render\"))\n\tgrt.Equal(t, 1, component.visitCounter(\"ComponentDidUpdate\"))\n\tgrt.Equal(t, 2, component.visitCounter(\"GetChildContext\"))\n\tgrt.Equal(t, 1, component.visitCounter(\"GetChildContext-init\"))\n\n}\n\nfunc TestContext(t *testing.T) {\n\n\tctx := gr.Context{\"color\": \"green\", \"id\": 42}\n\n\tconfig := gr.ComponentConfig{ContextTypesTemplate: ctx}\n\n\trc := gr.New(&testParentWithContext{child: gr.New(new(testChildWithContext), gr.WithConfig(config))})\n\n\telem := rc.CreateElement(nil)\n\n\tr := grt.ShallowRenderWithContext(elem, ctx)\n\n\tc := r.Dive(\"tests.testChildWithContext\")\n\n\tgrt.Equal(t, `<button id={42} style={{\"color\": \"green\"}} />`, c.String())\n}\n\nfunc resetComponentState() {\n\tjs.Global.Set(exportedTestComponent, nil)\n\tjs.Module.Get(\"exports\").Set(exportedTestComponent, nil)\n}\n\nfunc newTestCustomComponent() *testCustomComponent {\n\treturn &testCustomComponent{Object: js.Global.Get(\"Object\").New()}\n}\n\ntype testCustomComponent struct {\n\t*js.Object\n}\n\nfunc (c *testCustomComponent) Node() *js.Object {\n\treturn c.Object\n}\n\ntype testCompositeComponent struct {\n\t*gr.This\n\tc1, c2, c3 gr.Factory\n}\n\nfunc newTestCompositeComponent() *testCompositeComponent {\n\treturn &testCompositeComponent{\n\t\tc1: createLifecyclerWithColor(\"red\"),\n\t\tc2: createLifecyclerWithColor(\"green\"),\n\t\tc3: createLifecyclerWithColor(\"blue\"),\n\t}\n}\n\nfunc (c *testCompositeComponent) Render() gr.Component {\n\treturn el.Div(\n\t\tel.Header1(gr.Text(c.This.Props()[\"text\"])),\n\t\tc.c1.CreateElement(gr.Props{\"text\": \"c1\"}),\n\t\tc.c2.CreateElement(gr.Props{\"text\": \"c2\"}),\n\t\tc.c3.CreateElement(gr.Props{\"text\": \"c3\"}),\n\t)\n}\n\nfunc createLifecycler() *testLifecycler {\n\treturn &testLifecycler{color: \"blue\", visits: make(map[string]int)}\n}\n\nfunc createLifecyclerWithColor(color string) gr.Factory {\n\treturn gr.New(&testLifecycler{color: color, visits: make(map[string]int)})\n}\n\ntype testParentWithContext struct {\n\tchild gr.Factory\n}\n\nfunc (l *testParentWithContext) Render() gr.Component {\n\treturn el.Div(\n\t\tl.child.CreateElement(nil),\n\t)\n}\n\nfunc (l *testParentWithContext) GetChildContext() gr.Context {\n\treturn gr.Context{\"color\": \"blue\", \"id\": 62}\n}\n\ntype testChildWithContext struct {\n\t*gr.This\n}\n\nfunc (l *testChildWithContext) Render() gr.Component {\n\treturn el.Button(\n\t\tgr.Style(\"color\", l.This.Context()[\"color\"]),\n\t\tattr.ID(l.This.Context()[\"id\"]),\n\t)\n}\n\ntype testLifecycler struct {\n\t*gr.This\n\tcolor  string\n\tvisits map[string]int\n}\n\nfunc (l *testLifecycler) visited(m string) {\n\tif v, ok := l.visits[m]; ok {\n\t\tl.visits[m] = v + 1\n\t} else {\n\t\tl.visits[m] = 1\n\t}\n}\n\nfunc (l *testLifecycler) totalVisits() int {\n\tc := 0\n\n\tfor _, v := range l.visits {\n\t\tc += v\n\t}\n\treturn c\n}\n\nfunc (l *testLifecycler) printVisits() {\n\tvar keys []string\n\tfor k := range l.visits {\n\t\tkeys = append(keys, k)\n\t}\n\n\tsort.Strings(keys)\n\tfor _, key := range keys {\n\t\tprintln(fmt.Sprintf(\"%s: %d\", key, l.visitCounter(key)))\n\t}\n\n}\n\nfunc (l *testLifecycler) visitCounter(m string) int {\n\tif v, ok := l.visits[m]; ok {\n\t\treturn v\n\t}\n\treturn 0\n}\n\nfunc (l *testLifecycler) Render() gr.Component {\n\tl.visited(\"Render\")\n\tthis := l.This\n\tcolor := this.State()[\"color\"]\n\ttext := this.Props()[\"text\"]\n\telem := el.Div(\n\t\tel.Button(gr.Style(\"color\", color),\n\t\t\tgr.Text(text),\n\t\t))\n\treturn elem\n}\n\nfunc (l *testLifecycler) GetInitialState() gr.State {\n\tl.visited(\"GetInitialState\")\n\treturn gr.State{\"color\": l.color}\n}\n\nfunc (l *testLifecycler) GetChildContext() gr.Context {\n\tlabel := \"GetChildContext\"\n\tif l.This.This == nil {\n\t\tlabel += \"-init\"\n\t}\n\tl.visited(label)\n\treturn gr.Context{\"color\": l.color}\n}\n\nfunc (l *testLifecycler) ShouldComponentUpdate(next gr.Cops) bool {\n\tl.visited(\"ShouldComponentUpdate\")\n\treturn l.This.Props().HasChanged(next.Props, \"text\")\n}\nfunc (l *testLifecycler) ComponentWillUpdate(next gr.Cops) {\n\tl.visited(\"ComponentWillUpdate\")\n}\nfunc (l *testLifecycler) ComponentWillReceiveProps(data gr.Cops) {\n\tl.visited(\"ComponentWillReceiveProps\")\n}\nfunc (l *testLifecycler) ComponentDidUpdate(prev gr.Cops) {\n\tl.visited(\"ComponentDidUpdate\")\n}\nfunc (l *testLifecycler) ComponentWillMount() {\n\tl.visited(\"ComponentWillMount\")\n}\nfunc (l *testLifecycler) ComponentWillUnmount() {\n\tl.visited(\"ComponentWillUnmount\")\n}\nfunc (l *testLifecycler) ComponentDidMount() {\n\tl.visited(\"ComponentDidMount\")\n\treturn\n}\n\ntype testTwoButtons struct {\n\t*gr.This\n}\n\nfunc (c *testTwoButtons) Render() gr.Component {\n\tb1Text := c.Props().String(\"b1\")\n\tb2Text := c.Props().String(\"b2\")\n\treturn el.Div(\n\t\tel.Button(gr.Text(b1Text)),\n\t\tel.Button(gr.Text(b2Text)),\n\t)\n}\n"
  },
  {
    "path": "tests/component_tests.inc.js",
    "content": "\nglobal.Hello = React.createClass({\n    render: function () {\n\t\tvar message = this.props.message\n        return React.DOM.h1(null, message)\n    }\n\n});\n"
  },
  {
    "path": "tests/doc.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n// Package tests contains tests.\npackage tests\n"
  },
  {
    "path": "tests/element_test.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage tests\n\nimport (\n\t\"testing\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/tests/grt\"\n)\n\nfunc TestRenderButton(t *testing.T) {\n\tbutton := el.Button(gr.Text(\"Shiny Button\"))\n\ttree := grt.ShallowRender(button)\n\n\tgrt.Equal(t, \"<button>Shiny Button</button>\", tree.String())\n}\n\nfunc TestRenderNestedSimple(t *testing.T) {\n\tdiv := el.Div(\n\t\tel.Button(gr.Text(\"Button in Div\")),\n\t)\n\ttree := grt.ShallowRender(div)\n\n\tgrt.Equal(t, \"<div><button>Button in Div</button></div>\", tree.String())\n}\n\nfunc TestRenderNestedComplex(t *testing.T) {\n\tdiv := el.Div(\n\t\tel.Div(\n\t\t\tel.Paragraph(gr.Text(\"P1\")),\n\t\t),\n\t\tel.Div(\n\t\t\tel.Paragraph(gr.Text(\"P2\")),\n\t\t\tel.Div(\n\t\t\t\tel.Paragraph(gr.Text(\"P3\")),\n\t\t\t\tel.Div(),\n\t\t\t),\n\t\t),\n\t\tel.Div(),\n\t)\n\ttree := grt.ShallowRender(div)\n\n\tgrt.Equal(t,\n\t\t\"<div><div><p>P1</p></div><div><p>P2</p><div><p>P3</p><div /></div></div><div /></div>\",\n\t\ttree.String())\n}\n\nfunc TestRenderRegularTextLast(t *testing.T) {\n\tdiv := el.Div(\n\t\tel.Bold(gr.Text(\"Bold\")),\n\t\tel.Italic(gr.Text(\"Italic\")),\n\t\tgr.Text(\"Regular\"),\n\t)\n\ttree := grt.ShallowRender(div)\n\n\tgrt.Equal(t, \"<div><b>Bold</b><i>Italic</i>Regular</div>\", tree.String())\n}\n"
  },
  {
    "path": "tests/event_test.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage tests\n\nimport (\n\t\"testing\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/evt\"\n\t\"github.com/bep/gr/tests/grt\"\n)\n\nfunc TestClickableButton(t *testing.T) {\n\n\tclickCount := 0\n\tclickListener := func(event *gr.Event) {\n\t\tclickCount++\n\t}\n\n\tbutton := el.Button(\n\t\tgr.Text(\"Clickable Button\"),\n\t\tevt.Click(clickListener),\n\t)\n\n\tcomponent := gr.NewSimpleComponent(button)\n\telem := component.CreateElement(nil)\n\ttree := grt.ShallowRender(elem)\n\n\tfor i := 0; i < 42; i++ {\n\t\ttree.CallEventListener(\"onClick\")\n\t}\n\n\tgrt.Equal(t, \"<button onClick={function()}>Clickable Button</button>\", tree.String())\n\tgrt.Equal(t, 42, clickCount)\n\n}\n"
  },
  {
    "path": "tests/grt/test_helpers.go",
    "content": "// Package grt contains utilities used to test React components.\n// TODO(bep)\n// Move this to its own repo maybe when it is more mature.\npackage grt\n\nimport (\n\t\"fmt\"\n\t\"reflect\"\n\t\"strings\"\n\t\"testing\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\n// Equal is a test assertion used to check equality.\nfunc Equal(t *testing.T, expected, actual interface{}) {\n\tif expected != actual {\n\t\t// TODO(bep) figure a way to get caller info\n\t\tt.Errorf(\"Assert mismatch:\\n%v\\n%v\", expected, actual)\n\t}\n}\n\n// NotEqual is a test assertion used to check non-equality.\nfunc NotEqual(t *testing.T, v1, v2 interface{}) {\n\tif v1 == v2 {\n\t\tt.Errorf(\"Assert mismatch:\\n%v\\n%v\", v1, v2)\n\t}\n}\n\n// NotNil is a test assertion that checks for both nil values and js.Undefined.\nfunc NotNil(t *testing.T, val interface{}) {\n\tif isNil(val) {\n\t\tFail(t, fmt.Sprintf(\"Got <nil> for %T\", val))\n\t}\n\tif val == js.Undefined {\n\t\tFail(t, fmt.Sprintf(\"Got undefined for %T\", val))\n\t}\n}\n\n// Fail fails the test with the given message.\nfunc Fail(t *testing.T, args ...interface{}) {\n\tt.Fatal(args)\n}\n\n// ShallowRenderWithContext performs a shallow render with the given context.\nfunc ShallowRenderWithContext(c gr.Component, ctx gr.Context) *RenderedTree {\n\tif _, ok := c.(gr.Factory); ok {\n\t\tpanic(\"Cannot render factories, create an Element first\")\n\t}\n\ttree := sd.Call(\"shallowRender\", c.Node(), ctx)\n\treturn &RenderedTree{Object: tree, context: ctx}\n}\n\n// ShallowRender performs a shallow render of the given component.\nfunc ShallowRender(c gr.Component) *RenderedTree {\n\treturn ShallowRenderWithContext(c, gr.Context{})\n}\n\n// ReRender rerenders a component with new properties.\nfunc (t *RenderedTree) ReRender(props gr.Props) {\n\tt.reRender(props, t.context)\n}\n\n// Dive can be used to render a sub-component.\nfunc (t *RenderedTree) Dive(path ...string) *RenderedTree {\n\ttree := t.dive(path, t.context)\n\treturn &RenderedTree{Object: tree, context: t.context}\n}\n\n// RenderedTree represents a shallow render.\ntype RenderedTree struct {\n\t*js.Object\n\treRender           func(gr.Props, gr.Context)                      `js:\"reRender\"`\n\tGetMountedInstance func() *js.Object                               `js:\"getMountedInstance\"`\n\tsubTree            func(string, map[string]interface{}) *js.Object `js:\"subTree\"`\n\tdive               func([]string, gr.Context) *js.Object           `js:\"dive\"`\n\tText               func() string                                   `js:\"text\"`\n\t// fillField: [Function],\n\t//findComponent: [Function],\n\t//findComponentLike: [Function],\n\tGetRenderOutput func() map[string]interface{} `js:\"getRenderOutput\"`\n\ttoString        func() string                 `js:\"toString\"`\n\tProps           *js.Object                    `js:\"props\"`\n\tType            string                        `js:\"type\"`\n\n\tcontext gr.Context\n}\n\n// Matcher used to find a component in the component tree.\ntype Matcher struct {\n\tkey, value string\n}\n\n// CallEventListener is a convenience func to simulate button clicks etc.\n// by calling the listener methods by name.\nfunc (t *RenderedTree) CallEventListener(name string, args ...interface{}) *js.Object {\n\treturn t.Props.Call(name, args...)\n}\n\n// NewMatcher creates a new matcher.\nfunc NewMatcher(key, value string) Matcher {\n\treturn Matcher{key: key, value: value}\n}\n\nvar renderStringReplacers = strings.NewReplacer(\"  \", \"\", \"\\n\", \"\")\n\n// String represents a shallow rendered component.\n// This is in heavy use in assertions, so we try to keep it stable.\nfunc (t *RenderedTree) String() string {\n\ts := t.toString()\n\treturn renderStringReplacers.Replace(s)\n}\n\n// Sub returns a sub component matching the matchers.\nfunc (t *RenderedTree) Sub(selector string, matchers ...Matcher) *RenderedTree {\n\n\tm := make(map[string]interface{})\n\n\tfor _, matcher := range matchers {\n\t\tm[matcher.key] = matcher.value\n\t}\n\n\tvar args = []interface{}{selector}\n\n\tif len(m) > 0 {\n\t\targs = append(args, m)\n\t}\n\n\tsubTree := t.Call(\"subTree\", args)\n\n\tif !subTree.Bool() {\n\t\treturn nil\n\t}\n\n\treturn &RenderedTree{Object: subTree}\n}\n\n// This returns the this context of a shallow render.\nfunc (t *RenderedTree) This() *gr.This {\n\treturn gr.NewThis(t.GetMountedInstance())\n}\n\nvar (\n\treact *js.Object\n\tsd    *js.Object\n)\n\nfunc init() {\n\n\treact = js.Global.Get(\"React\")\n\n\tif react == js.Undefined {\n\t\tpanic(\"Facebook React not found, make sure it is loaded.\")\n\t}\n\n\t// Skin deep\n\tsd = js.Global.Get(\"sd\")\n\n\tif sd == js.Undefined {\n\t\tpanic(\"Skin deep not found, make sure it is loaded.\")\n\t}\n\n}\n\n// Code below copied from testify, MIT licensed\n// Copyright (c) 2012 - 2013 Mat Ryer and Tyler Bunnell\n// https://github.com/stretchr/testify/blob/master/LICENSE\nfunc isNil(object interface{}) bool {\n\tif object == nil {\n\t\treturn true\n\t}\n\n\tvalue := reflect.ValueOf(object)\n\tkind := value.Kind()\n\tif kind >= reflect.Chan && kind <= reflect.Slice && value.IsNil() {\n\t\treturn true\n\t}\n\n\treturn false\n}\n"
  },
  {
    "path": "tests/grt/test_helpers.inc.js",
    "content": "global.React = require('react');\nglobal.ReactElementToString = require('react-element-to-string')\nglobal.sd = require('skin-deep');\n\n"
  },
  {
    "path": "tests/grt/test_helpers_test.go",
    "content": "package grt\n\nimport (\n\t\"testing\"\n)\n\nfunc TestPlaceholder(t *testing.T) {\n}\n"
  },
  {
    "path": "tests/modifier_test.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage tests\n\nimport (\n\t\"testing\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/attr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/tests/grt\"\n)\n\nfunc TestRenderWithAttribute(t *testing.T) {\n\timg := el.Image(\n\t\tattr.Alt(\"Shiny Image\"),\n\t\tattr.Src(\"image.jpg\"),\n\t)\n\n\ttree := grt.ShallowRender(img)\n\n\tgrt.Equal(t, `<img alt=\"Shiny Image\" src=\"image.jpg\" />`, tree.String())\n}\n\nfunc TestDiscard(t *testing.T) {\n\timg := el.Image(\n\t\tgr.Discard,\n\t\tattr.Src(\"image.jpg\"),\n\t\tgr.Discard,\n\t)\n\n\ttree := grt.ShallowRender(img)\n\n\tgrt.Equal(t, `<img src=\"image.jpg\" />`, tree.String())\n}\n\nfunc TestRenderWithCSS(t *testing.T) {\n\n\tfor _, test := range []struct {\n\t\telement *gr.Element\n\t\texpect  string\n\t}{\n\t\t{el.Paragraph(gr.Text(\"GopherJS is pretty cool!\"), gr.CSS(\"important\")),\n\t\t\t`<p className=\"important\">GopherJS is pretty cool!</p>`},\n\t\t{el.Header1(gr.CSS(\"important\", \"headline\")),\n\t\t\t`<h1 className=\"important headline\" />`},\n\t\t{el.Header2(gr.CSS(\"c1\", \"c2\"), gr.CSS(\"c3\"), gr.CSS(\"c2\")),\n\t\t\t`<h2 className=\"c1 c2 c3 c2\" />`},\n\t\t{el.Header2(gr.CSS(\"c1\", \"c2\"), gr.CSS(\"c3 c4\")),\n\t\t\t`<h2 className=\"c1 c2 c3 c4\" />`},\n\t} {\n\t\ttree := grt.ShallowRender(test.element)\n\t\tgrt.Equal(t, test.expect, tree.String())\n\t}\n}\n\nfunc TestRenderWithStyle(t *testing.T) {\n\n\tfor _, test := range []struct {\n\t\telement *gr.Element\n\t\texpect  string\n\t}{\n\t\t{el.Header2(gr.Style(\"color\", \"blue\")),\n\t\t\t`<h2 style={{\"color\": \"blue\"}} />`},\n\t\t{el.Header2(gr.Style(\"color\", \"blue\"), gr.Style(\"color\", \"red\")),\n\t\t\t`<h2 style={{\"color\": \"red\"}} />`},\n\t\t{el.Paragraph(gr.Style(\"color\", \"red\"), gr.Style(\"fontWeight\", \"bold\")),\n\t\t\t`<p style={{\"color\": \"red\", \"fontWeight\": \"bold\"}} />`},\n\t} {\n\t\ttree := grt.ShallowRender(test.element)\n\t\tgrt.Equal(t, test.expect, tree.String())\n\t}\n}\n\nfunc TestRenderWithAria(t *testing.T) {\n\tfor _, test := range []struct {\n\t\telement *gr.Element\n\t\texpect  string\n\t}{\n\t\t{el.Header2(gr.Aria(\"a1\", \"a1-v\")),\n\t\t\t`<h2 aria-a1=\"a1-v\" />`},\n\t\t{el.Header2(gr.Aria(\"a1\", \"a1-v\"), gr.Aria(\"a2\", \"a2-v\"), gr.Aria(\"a3\", \"a3-v\")),\n\t\t\t`<h2 aria-a1=\"a1-v\" aria-a2=\"a2-v\" aria-a3=\"a3-v\" />`},\n\t} {\n\t\ttree := grt.ShallowRender(test.element)\n\t\tgrt.Equal(t, test.expect, tree.String())\n\t}\n}\n\nfunc TestRenderWithData(t *testing.T) {\n\tfor _, test := range []struct {\n\t\telement *gr.Element\n\t\texpect  string\n\t}{\n\t\t{el.Header2(gr.Data(\"d1\", \"d1-v\")),\n\t\t\t`<h2 data-d1=\"d1-v\" />`},\n\t\t{el.Header2(gr.Data(\"d1\", \"d1-v\"), gr.Data(\"d2\", \"d2-v\"), gr.Data(\"d3\", \"d3-v\")),\n\t\t\t`<h2 data-d1=\"d1-v\" data-d2=\"d2-v\" data-d3=\"d3-v\" />`},\n\t} {\n\t\ttree := grt.ShallowRender(test.element)\n\t\tgrt.Equal(t, test.expect, tree.String())\n\t}\n}\n\nfunc TestRenderWithProp(t *testing.T) {\n\timg := el.Image(\n\t\tattr.Src(\"image.jpg\"),\n\t\tgr.Prop(\"cp1\", \"p1\"),\n\t\tgr.Prop(\"cp2\", \"p2\"),\n\t)\n\n\ttree := grt.ShallowRender(img)\n\n\tgrt.Equal(t, `<img src=\"image.jpg\" cp1=\"p1\" cp2=\"p2\" />`, tree.String())\n\n}\n"
  },
  {
    "path": "tests/this_test.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage tests\n\nimport (\n\t\"testing\"\n\n\t\"fmt\"\n\t\"sync\"\n\n\t\"github.com/bep/gr\"\n\t\"github.com/bep/gr/el\"\n\t\"github.com/bep/gr/evt\"\n\t\"github.com/bep/gr/tests/grt\"\n)\n\nfunc TestPropsFunc(t *testing.T) {\n\tclickVal := 0\n\n\tpropsFunc := func(val int) {\n\t\tclickVal += val\n\t}\n\n\tcb := &testClickableButtons{}\n\tcomponent := gr.New(cb)\n\telem := component.CreateElement(gr.Props{\"propsFunc\": propsFunc})\n\n\ttree := grt.ShallowRender(elem)\n\n\tfirstButton := tree.Dive(\"p\", \"button\")\n\n\t// 2 x 3\n\tfor i := 0; i < 2; i++ {\n\t\tfirstButton.CallEventListener(\"onClick\")\n\t}\n\n\tsecondButton := tree.Dive(\"footer\", \"button\")\n\n\t// 3 x 8\n\tfor i := 0; i < 3; i++ {\n\t\tsecondButton.CallEventListener(\"onClick\")\n\t}\n\n\tgrt.Equal(t, \"<div><p><button onClick={function()}>Clickable Button 1</button></p><footer><button onClick={function()}>Clickable Button 2</button></footer></div>\", tree.String())\n\tgrt.Equal(t, 30, clickVal)\n\n}\n\nfunc TestPropsChildren(t *testing.T) {\n\tbuttons := make([]gr.Component, 3)\n\n\tfor i := 0; i < len(buttons); i++ {\n\t\tbuttons[i] = el.Button(gr.Text(fmt.Sprintf(\"B%d\", i)))\n\t}\n\n\tcomp := gr.New(&thisCompChildren{})\n\n\telem := comp.CreateElement(nil, buttons...)\n\ttree := grt.ShallowRender(elem)\n\n\tgrt.Equal(t, \"<div><button>B0</button><button>B1</button><button>B2</button></div>\", tree.String())\n\n}\n\nfunc TestBindThis(t *testing.T) {\n\n\tcompPtr := gr.New(&thisCompEmbed{})\n\tcompNamed := gr.New(&thisCompNamed{})\n\n\tgrt.Equal(t, \"<div>embed</div>\", grt.ShallowRender(compPtr.CreateElement(gr.Props{\"id\": \"embed\"})).String())\n\tgrt.Equal(t, \"<div>named</div>\", grt.ShallowRender(compNamed.CreateElement(gr.Props{\"id\": \"named\"})).String())\n}\n\nfunc TestBindThisVariations(t *testing.T) {\n\n\tvar wg sync.WaitGroup\n\ttc := &thisCompEmbed{}\n\tcomp := gr.New(tc)\n\n\tfor i := 0; i < 20; i++ {\n\t\twg.Add(1)\n\t\tgo func(ii int) {\n\t\t\tdefer wg.Done()\n\t\t\tprops := gr.Props{}\n\n\t\t\tif ii%2 == 0 {\n\t\t\t\tprops = gr.Props{\"id\": fmt.Sprintf(\"%d\", ii), \"idFunc\": tc.ID}\n\t\t\t}\n\t\t\tif ii > 0 && ii%4 == 0 {\n\t\t\t\tprops = gr.Props{\"id\": fmt.Sprintf(\"%d\", ii), \"foo\": \"bar\"}\n\t\t\t}\n\t\t\telem := comp.CreateElement(props)\n\t\t\ttree := grt.ShallowRender(elem)\n\t\t\texpect := \"<div></div>\"\n\t\t\tif ii > 0 && ii%4 == 0 {\n\t\t\t\texpect = fmt.Sprintf(\"<div>%dbar</div>\", ii)\n\t\t\t} else if ii%2 == 0 {\n\t\t\t\texpect = fmt.Sprintf(\"<div>%d%d</div>\", ii, ii)\n\t\t\t}\n\n\t\t\tgrt.Equal(t, expect, tree.String())\n\t\t}(i)\n\t}\n\n\twg.Wait()\n\n}\n\ntype thisCompEmbed struct {\n\t*gr.This\n}\n\nfunc (c *thisCompEmbed) Render() gr.Component {\n\tthisStr := c.Props().String(\"id\")\n\tthisStr += c.Props().String(\"foo\")\n\tif _, ok := c.Props()[\"idFunc\"]; ok {\n\t\tthisStr += c.Props().Call(\"idFunc\").String()\n\t}\n\treturn el.Div(gr.Text(thisStr))\n}\n\nfunc (c *thisCompEmbed) ID() string {\n\treturn c.Props().String(\"id\")\n}\n\ntype thisCompNamed struct {\n\tThat *gr.This\n}\n\nfunc (c *thisCompNamed) Render() gr.Component {\n\tthisStr := fmt.Sprintf(\"%v\", c.That.Props()[\"id\"])\n\treturn el.Div(gr.Text(thisStr))\n}\n\ntype thisCompChildren struct {\n\t*gr.This\n}\n\nfunc (c *thisCompChildren) Render() gr.Component {\n\treturn el.Div(c.This.Children().Element())\n}\n\ntype testClickableButtons struct {\n\t*gr.This\n}\n\nfunc (c *testClickableButtons) Render() gr.Component {\n\tclickListener := func(event *gr.Event) {\n\t\tc.Props().Call(\"propsFunc\", 3)\n\n\t}\n\n\tbutton1 := el.Button(\n\t\tgr.Text(\"Clickable Button 1\"),\n\t\tevt.Click(clickListener),\n\t)\n\n\tbutton2 := el.Button(\n\t\tgr.Text(\"Clickable Button 2\"),\n\t\tevt.Click(c.createClickListener(4)),\n\t)\n\n\treturn el.Div(\n\t\tel.Paragraph(button1),\n\t\tel.Footer(button2),\n\t)\n}\n\nfunc (c *testClickableButtons) createClickListener(increment int) gr.Listener {\n\treturn func(event *gr.Event) {\n\t\tevent.This.Props().Call(\"propsFunc\", increment)\n\t\tc.Props().Call(\"propsFunc\", increment)\n\t}\n}\n"
  },
  {
    "path": "this.go",
    "content": "/*\nCopyright 2016 Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage gr\n\nimport (\n\t\"fmt\"\n\n\t\"reflect\"\n\n\t\"github.com/gopherjs/gopherjs/js\"\n)\n\n// This is named for what it represents: The this context representation from the\n// JavaScript side of the fence.\ntype This struct {\n\tThis *js.Object\n}\n\n// SetThis implements the ThisSetter interface.\nfunc (t *This) SetThis(that *js.Object) {\n\tt.This = that\n}\n\n// ThisSetter must be implemented by a component if JavaScript's this is needed.\n// The simplest way of doing this is to just embed a This on the component struct.\ntype ThisSetter interface {\n\tSetThis(this *js.Object)\n}\n\n// Props returns the properties set; this is what you would expect to find in\n// this.props in React.\nfunc (t *This) Props() Props {\n\treturn objectToMap(t.This.Get(\"props\"))\n}\n\n// Context returns the context set; what you would expect to find in\n// this.context in React.\nfunc (t *This) Context() Context {\n\treturn objectToMap(t.This.Get(\"context\"))\n}\n\n// Component returns a component stored in props by its name.\nfunc (t *This) Component(name string) Modifier {\n\tprops := t.Props()\n\tif main, ok := props[name]; ok {\n\t\treturn NewPreparedElement(main.(*js.Object))\n\t}\n\treturn Discard\n}\n\n// IsMounted reports whether this component is mounted.\nfunc (t *This) IsMounted() bool {\n\treturn t.This.Call(\"isMounted\").Bool()\n}\n\n// State returns the state; what you would expect to find in\n// this.properties in React.\nfunc (t *This) State() State {\n\treturn objectToMap(t.This.Get(\"state\"))\n}\n\n// Int is convenience method to lookup a int value from state.\nfunc (s State) Int(key string) int {\n\tif val, ok := s[key]; ok {\n\t\treturn val.(*js.Object).Int()\n\t}\n\treturn 0\n}\n\n// Bool is convenience method to lookup a bool value from state.\nfunc (s State) Bool(key string) bool {\n\tif val, ok := s[key]; ok {\n\t\treturn val.(*js.Object).Bool()\n\t}\n\tpanic(fmt.Sprintf(\"State variable %q not found\", key))\n}\n\n// String is convenience method to lookup a bool value from state.\nfunc (s State) String(key string) string {\n\tif val, ok := s[key]; ok {\n\t\treturn val.(*js.Object).String()\n\t}\n\treturn \"\"\n}\n\n// Interface is a convenience method to lookup an interface value from state.\nfunc (s State) Interface(key string) interface{} {\n\tif val, ok := s[key]; ok {\n\t\treturn val.(*js.Object).Interface()\n\t}\n\treturn nil\n}\n\n// SetState sets the state with a map of Go interface{} values.\nfunc (t *This) SetState(s State) {\n\tt.This.Call(\"setState\", s)\n}\n\n// Refs returns the component references.\n// See https://facebook.github.io/react/docs/more-about-refs.html\nfunc (t *This) Refs() Refs {\n\treturn objectToMap(t.This.Get(\"refs\"))\n}\n\n// GetDOMNode returns the component from refs if it has been mounted into the DOM.\nfunc (r Refs) GetDOMNode(key string) *js.Object {\n\tif o, ok := r[key]; ok {\n\t\treturn reactDOM.Call(\"findDOMNode\", o)\n\t}\n\treturn nil\n}\n\n// ForceUpdate forces a re-render of the component.\nfunc (t *This) ForceUpdate() {\n\tt.This.Call(\"forceUpdate\")\n}\n\n// NewThis creates a new This based on a JavaScript object representation.\nfunc NewThis(that *js.Object) *This {\n\treturn &This{This: that}\n}\n\n// Context holds the React context.\ntype Context map[string]interface{}\n\n// Props holds the React properties.\ntype Props map[string]interface{}\n\n// State holds the React state.\ntype State map[string]interface{}\n\n// Refs holds a reference to component references.\n// See https://facebook.github.io/react/docs/more-about-refs.html\ntype Refs map[string]interface{}\n\n// Copy creates a copy of this Props.\nfunc (p Props) Copy() Props {\n\tcopy := Props{}\n\tfor k, v := range p {\n\t\tcopy[k] = v\n\t}\n\treturn copy\n}\n\n// Call calls a func with the given name in Props with the given args.\nfunc (p Props) Call(name string, args ...interface{}) *js.Object {\n\tf := p.Func(name)\n\treturn f(args...)\n}\n\n// Func returns the func with the given name in Props.\nfunc (p Props) Func(name string) func(args ...interface{}) *js.Object {\n\tif o, ok := p[name]; ok {\n\t\treturn o.(*js.Object).Interface().(func(args ...interface{}) *js.Object)\n\t}\n\tpanic(fmt.Sprintf(\"func %s not found in properties\", name))\n}\n\n// Interface is a convenience method to lookup an interface value from props.\nfunc (p Props) Interface(key string) interface{} {\n\tif val, ok := p[key]; ok {\n\t\treturn val.(*js.Object).Interface()\n\t}\n\treturn nil\n}\n\n// Int is convenience method to lookup a int value from props.\nfunc (p Props) Int(key string) int {\n\tif val, ok := p[key]; ok {\n\t\treturn val.(*js.Object).Int()\n\t}\n\treturn 0\n}\n\n// Bool is convenience method to lookup a bool value from props.\nfunc (p Props) Bool(key string) bool {\n\tif val, ok := p[key]; ok {\n\t\treturn val.(*js.Object).Bool()\n\t}\n\tpanic(fmt.Sprintf(\"Props variable %q not found\", key))\n}\n\n// String is convenience method to lookup a bool value from props.\nfunc (p Props) String(key string) string {\n\tif val, ok := p[key]; ok {\n\t\treturn val.(*js.Object).String()\n\t}\n\treturn \"\"\n}\n\n// Children represents a component's child component(s).\n// This is a fairly complex topic in Facebook's React, and more support may arrive here, eventually.\n// See https://facebook.github.io/react/tips/children-props-type.html\ntype Children struct {\n\t*js.Object\n}\n\n// Children returns this component's children, if any.\nfunc (t *This) Children() *Children {\n\to := t.This.Get(\"props\").Get(\"children\")\n\n\tif o == js.Undefined {\n\t\treturn nil\n\t}\n\n\treturn &Children{o}\n}\n\n// Element returns the children as an Element ready to render.\nfunc (c *Children) Element() *Element {\n\treturn NewPreparedElement(c.Object)\n}\n\n// HasChanged reports whether the value of the property with any of the given keys has changed.\nfunc (p Props) HasChanged(nextProps Props, keys ...string) bool {\n\treturn hasChanged(p, nextProps, keys...)\n}\n\n// HasChanged reports whether the value of the state with any of the given keys has changed.\n// Note: This does only reference checking, so no deep equality.\n// See https://github.com/gopherjs/gopherjs/issues/473\nfunc (s State) HasChanged(nextState State, keys ...string) bool {\n\treturn hasChanged(s, nextState, keys...)\n}\n\nfunc hasChanged(m1, m2 map[string]interface{}, keys ...string) bool {\n\tfor _, key := range keys {\n\t\t// TODO(bep) DeepEqual\n\t\tif m1[key] != m2[key] {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n\n// HasChangedDeeply reports whether the value of the state with any of the given keys has changed.\n// This uses reflect.DeepEqual. For shallow equality checking, see HasChanged.\nfunc (s State) HasChangedDeeply(nextState State, keys ...string) bool {\n\tfor _, key := range keys {\n\t\tif !reflect.DeepEqual(s[key], nextState[key]) {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n"
  }
]